Netatmo Wind Gauge

Well, that’s all good news except for the cold weather.) You can pick up your favourite icon from a couple of posts back. If I recall, the wind direction, etc, is also in the child device variables, but I need to change the code to add wind direction to the display variable.

I noticed yesterday that some values were not updating to the vera devices. At least the outdoor sensor does not update. If I do a loop restar I get new values from Netatmo but not after that. Is there some aditional file (s) I would need to update?

Oh yes, I missed that you only picked up some files, you need all the latest .lua files. Sorry.

Ok, I uploaded all files from here → http://forum.micasaverde.com/index.php/topic,30478.msg247304.html#msg247304

except the L_Netatmo.lua

I?ll let you know if I still have problems.

I also grabbed one of the Icons from the previous post and renamed it to NetatmoWind.png and used WinSCP to put it here → /www/cmh/skins/default/icons/ and the icon showed up nicely.

Thanks for everything so far.

Still no values are updated for me. Not sure what my next move is.

Well, that would be for me to fix it! Not so easy since I don’t have one. I know that @dsroberts1945 has one and, indeed, gave me access to develop this - I don’t know if he’s having the same problems?

Do you have any errors in the log?

I did not see any errors in the Vera log but it seemed like it only updated the values for the main unit and then said it was done.

I uploaded the L_Netatmo.lua from the zip archive just to see if that one works. Is seems like it does.

Now trying the latest from this thread again.

here is what I see in the log file during an update.

Just seen these latest posts. Im having no problems with values being seen from all modules, both indoor and outdoor. I am however only running netatmo on openLuup and not on my UI7 vera edges. the only problems with the wind gauge is finding the right position in my garden!!!

2 Questions:
1.Im trying to change from default icons to the one provided in the “icon” pack earlier in this thread.(http://forum.micasaverde.com/index.php/topic,30478.msg247304.html#msg247304)
I can?t get the icon to show in my vera edge V7.

“plugin updated”
2.I get info from the wind Gauge - but only Wind Str to show in Vera.

Im using the L_Netatmo.lua 04-Dec-2015, add support for new wind module
Also added:
D_NetatmoWind.json
D_NetatmoWind.xml

But no “child device” is showing up ( see image ) - added W to devices

I

[ol][li]you need to put the icons, uncompressed, into [tt]/www/cmh/skins/default/img/devices/device_states/[/tt][/li]
[li]have you added W to your ChildSensors device variable in the parent Netatmo plugin?[/li][/ol]

Can you pm me your configuration page?

@crielv

You will need the L_Netatmo.lua from 07-Dec-2015 to get the child device for wind.
Also try LoopRestart a few times and then refresh your browser.

@akbooer nice to see you back in action :wink: hope you had a nice holiday.
Since no one else is having trouble geting data updates with the latest L_Netatmo.lua I’m givning it another go, I’ll report back in a bit.

I stil have no luck with the latest L_Netatmo.lua

Only the values for the Main unit is updated.

[code]50 01/12/16 14:23:39.642 luup_log:228: Netatmo: {“BarkamoIndoor”:{ “AbsolutePressure”:1003.8, “CO2”:435, “DateMaxTemp”:1452566032, “DateMinTemp”:1452594928, “DewPoint”:6, “Humidity”:40, “MaxTemp”:20.6, “MinTemp”:20.1, “Noise”:35, “Pressure”:1006.1, “PressureTrend”:“stable”,

“TempTrend”:“stable”, “Temperature”:20.1, “TimeUtc”:1452601047}} <0x2dfd3680>
01 01/12/16 14:23:39.645 luup_variable_set interface 0x10e9e50 no date_max_wind_str/(null) <0x2dfd3680>
01 01/12/16 14:23:39.645 luup_variable_set interface 0x10e9e50 no max_wind_angle/(null) <0x2dfd3680>
01 01/12/16 14:23:39.646 luup_variable_set interface 0x10e9e50 no VindWindHistoric/(null) <0x2dfd3680>
06 01/12/16 14:23:39.655 Device_Variable::m_szValue_set device: 228 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: IndoorTimeUtc was: 1452600445 now: 1452601047 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dfd3680>
06 01/12/16 14:23:39.659 Device_Variable::m_szValue_set device: 228 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: IndoorCO2 was: 444 now: 435 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dfd3680>
06 01/12/16 14:23:39.659 Device_Variable::m_szValue_set device: 233 service: urn:micasaverde-com:serviceId:GenericSensor1 variable: CurrentLevel was: 444 now: 435 #hooks: 1 upnp: 0 v:0xcc3468/NONE duplicate:0 <0x2dfd3680>
06 01/12/16 14:23:39.774 Device_Variable::m_szValue_set device: 233 service: urn:upnp-org:serviceId:altui1 variable: DisplayLine1 was: 444 ppm now: 435 ppm #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 LEAK this:16384 start:6242304 to 0x1c1a000 <0x2dfd3680>
06 01/12/16 14:23:39.775 Device_Variable::m_szValue_set device: 228 service: urn:akbooer-com:serviceId:Netatmo1 variable: Timestamp was: Tue 14:13 now: Tue 14:23 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dfd3680>
06 01/12/16 14:23:39.776 Device_Variable::m_szValue_set device: 228 service: urn:upnp-org:serviceId:altui1 variable: DisplayLine1 was: Tue 14:13 now: Tue 14:23 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dfd3680>
06 01/12/16 14:23:39.778 Device_Variable::m_szValue_set device: 228 service: urn:akbooer-com:serviceId:Netatmo1 variable: AppMemoryUsed was: 1001 now: 819 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2dfd3680>[/code]

If I do a LuupRestart all values will be updated.

Please tel me what you need from me to find the cause.

[quote=“korttoma, post:33, topic:190030”]I stil have no luck with the latest L_Netatmo.lua
[…]
Please tel me what you need from me to find the cause.[/quote]

You DO have the files D_NetatmoWind.json and D_NetatmoWind.xml ?

Yes I do. I now uploaded them again just to be sure they are OK.

Stil no luck with data update. Only main unit (Indoor) data gets updated.

Station Module Sensor Raw Value Raw Units Local Value Local Units Barkamo Regn SumRain24 0 mm 0 mm Barkamo Regn SumRain1 0 mm 0 mm Barkamo Regn Rain 0 mm 0 mm Barkamo Vind MinTemp 0 ?C 0 ?C Barkamo Vind MaxTemp 0 ?C 0 ?C Barkamo Vind WindStrength 6 kph 1.7 ms Barkamo VR MinTemp 20.3 ?C 20.3 ?C Barkamo VR Humidity 33 % 33 % Barkamo VR Temperature 20.3 ?C 20.3 ?C Barkamo VR DewPoint 3.5 ?C 3.5 ?C Barkamo VR CO2 374 ppm 374 ppm Barkamo VR MaxTemp 20.8 ?C 20.8 ?C Barkamo AR MinTemp 19.8 ?C 19.8 ?C Barkamo AR Humidity 32 % 32 % Barkamo AR Temperature 19.9 ?C 19.9 ?C Barkamo AR DewPoint 2.7 ?C 2.7 ?C Barkamo AR CO2 439 ppm 439 ppm Barkamo AR MaxTemp 20.2 ?C 20.2 ?C Barkamo Ute MinTemp -10 ?C -10 ?C Barkamo Ute MaxTemp -8.7 ?C -8.7 ?C Barkamo Ute Humidity 82 % 82 % Barkamo Ute Temperature -8.9 ?C -8.9 ?C Barkamo Ute DewPoint -11.5 ?C -11.5 ?C Barkamo Indoor MinTemp 20 ?C 20 ?C Barkamo Indoor Humidity 40 % 40 % Barkamo Indoor AbsolutePressure 1004 mbar 1004 mbar Barkamo Indoor DewPoint 5.9 ?C 5.9 ?C Barkamo Indoor Temperature 20 ?C 20 ?C Barkamo Indoor Pressure 1006.3 mbar 1006.3 mbar Barkamo Indoor MaxTemp 20.6 ?C 20.6 ?C Barkamo Indoor Noise 35 dB re ? 35 dB re ? Barkamo Indoor CO2 440 ppm 440 ppm

[quote=“akbooer, post:31, topic:190030”][ol][li]you need to put the icons, uncompressed, into [tt]/www/cmh/skins/default/img/devices/device_states/[/tt][/li]
[li]have you added W to your ChildSensors device variable in the parent Netatmo plugin?[/li][/ol]

Can you pm me your configuration page?[/quote]

Sendt :slight_smile: -

…and nothing in the log to show a problem?

I can only imagine an unreported error that I catch in the code. I’ll take a look and see if there’s room for better error reporting.

@akbooer

maybe I can give you access to my netatmo or Vera somehow? Would that help?

Yes, access to the Netatmo would do it. @dsroberts1945 was kind enough to do this to enable me to develop the wind module in the first place. Why it’s just you having problems, I don’t know, but access will let me tidy things up,anyway.

So you need all of these then?:
ClientID
ClientSecret
Username
Password

or just some of them?