NetAtmo items configuration

634 views
Skip to first unread message

Gaël L'hopital

unread,
Feb 7, 2014, 10:21:08 AM2/7/14
to ope...@googlegroups.com
After I succeeded in configuring the netatmo  binding, I have two issues left :

- Values of the internal module are correctly read, configured like this :
Number netatmo_in_co2             "Carbon dioxide [%d ppm]"     (netatmo) {netatmo="70:xx:50:xx:xx:72#Co2"}

But how do I need to configure the outside module ?

I tried happending the serial number of the module to the mac address of the internal but it doesn't seem to work. I don't have the mac address of the outside module.

Number netatmo_out_humidity     "Humidité [%d]"             (netatmo) {netatmo="70:xx:50:00:xx:xx#h00bcdc#Humidity"}

ending with this error :
16:19:18.754 ERROR o.o.c.s.AbstractActiveService[:175] - Error while executing background thread Netatmo Refresh Service
java.lang.NullPointerException: null
    at org.openhab.binding.netatmo.internal.NetatmoBinding.execute(NetatmoBinding.java:170)


- What are the keywords to get wifi signal and battery level ?

Andreas Brenk

unread,
Feb 7, 2014, 1:18:15 PM2/7/14
to ope...@googlegroups.com
Getting WiFi signal and battery level is not supported at the moment but that's going to be the next feature I'll implement.

The module id is part of the "devicelist" which you can't easily access without manually getting an access token. The binding once had an autoconfiguration mode that automatically created an items file but I removed that option (see the issue for details: https://github.com/openhab/openhab/pull/30). Maybe I should add that in again as a command line tool.

Could you please try to calculate the module id from the serial number displayed in the settings dialog of the Netatmo app and report back if it works?

First serial character is "h":  start with "02",
first serial character is "i": start with "03",

append ":00:00:",

split the rest into three parts of two characters and append with a colon as delimeter.

For example your serial number "h00bcdc" should end up as "02:00:00:00:bc:dc".

Good luck!

Gaël L'hopital

unread,
Feb 8, 2014, 3:21:37 AM2/8/14
to ope...@googlegroups.com
Thanks for your help. This worked fine.

ari...@nesys.it

unread,
Jul 27, 2014, 1:38:28 PM7/27/14
to ope...@googlegroups.com
HI Andreas,

first of all, thank you very much for your support, much appreciated.

When you think these both features will be implemented (wifi signal and battery level)?

Thanks again

Andrea
Reply all
Reply to author
Forward
0 new messages