Re: Netatmo plugin discussion
Posted:
Fri Jan 29, 2016 3:31 pm
by Jaska
Thank you for the quick reply.
Netatmo web app show following.
gusts 2.8m /s
wind speed 1.1 m/s
Debug log
Reloading plugin "Netatmo Plugin 0.6.0"
Stopping plugin "Netatmo Plugin 0.6.0" (pid 44361)
Netatmo Plugin Stopping Netatmo plugin
Stopped plugin "Netatmo Plugin 0.6.0"
Starting plugin "Netatmo Plugin 0.6.0" (pid 44378)
Netatmo Plugin Log level preferences are set to "Debug".
Started plugin "Netatmo Plugin 0.6.0"
Netatmo Plugin Debug Entered: Funct startup
Netatmo Plugin Debug versionCheck() called
Netatmo Plugin url:http://yikes.com/plugins/Netatmo.html
Netatmo Plugin Your plugin version, v0.6.0, is current.
Netatmo Plugin Debug Entered: Funct runConcurrantThread
Netatmo Plugin Debug Entered: Funct readNetatmo
Netatmo Plugin Debug Entered: ClientAuth init
Netatmo Plugin Debug Found Netatmo device 'Sadeanturi' (Sadeanturi) for station:Kaunisharju
Netatmo Plugin Debug Added Netatmo device 'Sadeanturi' to update list
Netatmo Plugin Debug Found Netatmo device 'Sisäanturi' (Sisällä) for station:Kaunisharju
Netatmo Plugin Debug Added Netatmo device 'Sisäanturi' to update list
Netatmo Plugin Debug Found Netatmo device 'Tuulimittari' (Wind Gauge) for station:Kaunisharju
Netatmo Plugin Debug Added Netatmo device 'Tuulimittari' to update list
Netatmo Plugin Debug Found Netatmo device 'Ulkoanturi' (Ulkona) for station:Kaunisharju
Netatmo Plugin Debug Added Netatmo device 'Ulkoanturi' to update list
Netatmo Plugin Debug DONE: got here wth netatmoDict:{u'Kaunisharju': {u'Sadeanturi': <indigo.Device object at 0x8942570>, u'Wind Gauge': <indigo.Device object at 0x89425b0>, u'Ulkona': <indigo.Device object at 0x89425f0>, u'Sis\xe4ll\xe4': <indigo.Device object at 0x8942430>}}
Netatmo Plugin Debug Queryng Netatmo station:Kaunisharju
Netatmo Plugin Debug Entered: ClientAuth init
Netatmo Plugin Debug Received Netatmo station authorization:<lnetatmo.ClientAuth instance at 0x8919eb8>
Netatmo Plugin Debug Received Netatmo station data:<lnetatmo.DeviceList instance at 0x8919e90>
Netatmo Plugin TTL set to:3600 seconds
Netatmo Plugin Debug Received Netatmo module:Sadeanturi, Value={u'sum_rain_24': 0, 'rf_status': 76, 'When': 1454102406, u'Rain': 0, 'battery_vp': 5668, u'sum_rain_1': 0}
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sadeanturi, ID=1875224653, Sensor=sum_rain_24, Value=0
Netatmo Plugin Debug updating Netatmo device with: Module=Sadeanturi, ID=1875224653, Sensor=sum_rain_24, Value=0
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sadeanturi, ID=1875224653, Sensor=rf_status, Value=76
Netatmo Plugin Debug updating Netatmo device with: Module=Sadeanturi, ID=1875224653, Sensor=rf_status, Value=76
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sadeanturi, ID=1875224653, Sensor=When, Value=1454102406
Netatmo Plugin Debug updating Netatmo device with: Module=Sadeanturi, ID=1875224653, Sensor=When, Value=23:20:06
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sadeanturi, ID=1875224653, Sensor=Rain, Value=0
Netatmo Plugin Debug updating Netatmo device with: Module=Sadeanturi, ID=1875224653, Sensor=Rain, Value=0
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sadeanturi, ID=1875224653, Sensor=battery_vp, Value=5668
Netatmo Plugin Debug updating Netatmo device with: Module=Sadeanturi, ID=1875224653, Sensor=battery_vp, Value=5668
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sadeanturi, ID=1875224653, Sensor=sum_rain_1, Value=0
Netatmo Plugin Debug updating Netatmo device with: Module=Sadeanturi, ID=1875224653, Sensor=sum_rain_1, Value=0
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Received Netatmo module:Ulkona, Value={u'date_min_temp': 1454049926, 'rf_status': 78, u'Temperature': 0.40000000000000002, u'date_max_temp': 1454098933, u'min_temp': -5.7000000000000002, 'battery_vp': 5476, u'max_temp': 0.5, 'When': 1454102367, u'Humidity': 100}
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=date_min_temp, Value=1454049926
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=date_min_temp, Value=08:45:26
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=rf_status, Value=78
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=rf_status, Value=78
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=Temperature, Value=0.4
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=Temperature, Value=0.4
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=date_max_temp, Value=1454098933
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=date_max_temp, Value=22:22:13
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=min_temp, Value=-5.7
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=min_temp, Value=-5.7
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=battery_vp, Value=5476
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=battery_vp, Value=5476
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=max_temp, Value=0.5
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=max_temp, Value=0.5
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=When, Value=1454102367
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=When, Value=23:19:27
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Ulkona, ID=596660901, Sensor=Humidity, Value=100
Netatmo Plugin Debug updating Netatmo device with: Module=Ulkona, ID=596660901, Sensor=Humidity, Value=100
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Received Netatmo module:Sisällä, Value={u'Noise': 52, u'Temperature': 22, 'When': 1454102411, u'Humidity': 35, u'Pressure': 985.60000000000002, u'CO2': 696, u'AbsolutePressure': 972.20000000000005, u'date_max_temp': 1454083241, u'min_temp': 20.199999999999999, u'date_min_temp': 1454040266, 'wifi_status': 60, u'max_temp': 22.100000000000001}
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=Noise, Value=52
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=Noise, Value=52
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=Temperature, Value=22
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=Temperature, Value=22
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=When, Value=1454102411
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=When, Value=23:20:11
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=Humidity, Value=35
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=Humidity, Value=35
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=Pressure, Value=985.6
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=Pressure, Value=985.6
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=CO2, Value=696
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=CO2, Value=696
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=AbsolutePressure, Value=972.2
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=AbsolutePressure, Value=972.2
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=date_max_temp, Value=1454083241
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=date_max_temp, Value=18:00:41
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=min_temp, Value=20.2
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=min_temp, Value=20.2
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=date_min_temp, Value=1454040266
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=date_min_temp, Value=06:04:26
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=wifi_status, Value=60
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=wifi_status, Value=60
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Sisällä, ID=344363074, Sensor=max_temp, Value=22.1
Netatmo Plugin Debug updating Netatmo device with: Module=Sisällä, ID=344363074, Sensor=max_temp, Value=22.1
Netatmo Plugin Debug using default decimal place setting = 1
Netatmo Plugin Debug Received Netatmo module:Wind Gauge, Value={u'date_min_temp': 1454018599, 'rf_status': 68, u'date_max_wind_str': 1454099984, u'WindHistoric': [{u'time_utc': 1454098965, u'WindStrength': 5, u'WindAngle': 33}, {u'time_utc': 1454099266, u'WindStrength': 5, u'WindAngle': 302}, {u'time_utc': 1454099567, u'WindStrength': 7, u'WindAngle': 10}, {u'time_utc': 1454099869, u'WindStrength': 2, u'WindAngle': 26}, {u'time_utc': 1454099984, u'WindStrength': 5, u'WindAngle': 345}, {u'time_utc': 1454100292, u'WindStrength': 5, u'WindAngle': 352}, {u'time_utc': 1454100593, u'WindStrength': 5, u'WindAngle': 358}, {u'time_utc': 1454100894, u'WindStrength': 4, u'WindAngle': 14}, {u'time_utc': 1454101196, u'WindStrength': 4, u'WindAngle': 14}, {u'time_utc': 1454101502, u'WindStrength': 4, u'WindAngle': 355}, {u'time_utc': 1454101804, u'WindStrength': 2, u'WindAngle': 330}, {u'time_utc': 1454102105, u'WindStrength': 4, u'WindAngle': 354}, {u'time_utc': 1454102406, u'WindStrength': 4, u'WindAngle': 336}], u'GustStrength': 10, 'When': 1454102406, u'WindStrength': 4, u'GustAngle': 1, u'min_temp': 0, u'date_max_temp': 1454018599, u'max_wind_str': 16, u'max_wind_angle': 255, 'battery_vp': 5933, u'WindAngle': 336, u'max_temp': 0}
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=date_min_temp, Value=1454018599
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=date_min_temp, Value=00:03:19
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=rf_status, Value=68
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=rf_status, Value=68
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=date_max_wind_str, Value=1454099984
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=date_max_wind_str, Value=1454099984
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=GustStrength, Value=10
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=GustStrength, Value=10
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=When, Value=1454102406
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=When, Value=23:20:06
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=WindStrength, Value=4
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=WindStrength, Value=4
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=GustAngle, Value=1
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=GustAngle, Value=1
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=min_temp, Value=0
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=min_temp, Value=0
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=date_max_temp, Value=1454018599
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=date_max_temp, Value=00:03:19
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=max_wind_str, Value=16
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=max_wind_str, Value=16
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=max_wind_angle, Value=255
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=max_wind_angle, Value=255
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=battery_vp, Value=5933
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=battery_vp, Value=5933
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=WindAngle, Value=336
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=WindAngle, Value=336
Netatmo Plugin Debug using decimal place setting from props = 1
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=max_temp, Value=0
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=max_temp, Value=0
Netatmo Plugin Debug using decimal place setting from props = 1
Re: Netatmo plugin discussion
Posted:
Fri Jan 29, 2016 3:42 pm
by jeremyjjr
Hi Jaska,
Okay so it looks like the Netatmo plugin for Indigo is doing exactly what it's being told by the Netatmo Web service. The following JSON response from the web service shows the information being returned.
Netatmo Plugin Debug Received Netatmo module:Wind Gauge, Value={u'date_min_temp': 1454018599, 'rf_status': 68, u'date_max_wind_str': 1454099984, u'WindHistoric': [{u'time_utc': 1454098965, u'WindStrength': 5, u'WindAngle': 33}, {u'time_utc': 1454099266, u'WindStrength': 5, u'WindAngle': 302}, {u'time_utc': 1454099567, u'WindStrength': 7, u'WindAngle': 10}, {u'time_utc': 1454099869, u'WindStrength': 2, u'WindAngle': 26}, {u'time_utc': 1454099984, u'WindStrength': 5, u'WindAngle': 345}, {u'time_utc': 1454100292, u'WindStrength': 5, u'WindAngle': 352}, {u'time_utc': 1454100593, u'WindStrength': 5, u'WindAngle': 358}, {u'time_utc': 1454100894, u'WindStrength': 4, u'WindAngle': 14}, {u'time_utc': 1454101196, u'WindStrength': 4, u'WindAngle': 14}, {u'time_utc': 1454101502, u'WindStrength': 4, u'WindAngle': 355}, {u'time_utc': 1454101804, u'WindStrength': 2, u'WindAngle': 330}, {u'time_utc': 1454102105, u'WindStrength': 4, u'WindAngle': 354}, {u'time_utc': 1454102406, u'WindStrength': 4, u'WindAngle': 336}], u'GustStrength': 10, 'When': 1454102406, u'WindStrength': 4, u'GustAngle': 1, u'min_temp': 0, u'date_max_temp': 1454018599, u'max_wind_str': 16, u'max_wind_angle': 255, 'battery_vp': 5933, u'WindAngle': 336, u'max_temp': 0}
We can then see these values being correctly put in to the device attributes ...
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=GustStrength, Value=10
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=GustStrength, Value=10
and ...
Netatmo Plugin Debug Starting Netatmo device update with: Module=Wind Gauge, ID=1845362367, Sensor=WindStrength, Value=4
Netatmo Plugin Debug updating Netatmo device with: Module=Wind Gauge, ID=1845362367, Sensor=WindStrength, Value=4
So as long as you are seeing the values 10 and 4 for Gust Strength and Wind Strength respectively, then everything in the plugin is working correctly. It will be a case of understanding why the information being shown by the Netatmo Web Site is so different. Perhaps that's a question that can be asked of Netatmo themselves, as it would seem the issue is with them. Can you ask?
If you get an answer that suggests we're not using the right data, then let me know and I'll modify accordingly.
Thanks for your help!
Jeremy.