akbooer - Great work, looking forward to Beta 2!
[quote=“akbooer, post:80, topic:174148”]
Perhaps I didn’t see it, but it would be nice to have a Fahrenheit or Celsius toggle.
My temps are showing in Celsius and, as an American, it confuses me
The plugin is totally units agnostic, but this can certainly be added. I am away for the next few days but will get back to this.[/quote]
it’s probably better to relay on Vera’s settings for temperature unit…
[quote=“akbooer, post:80, topic:174148”]
Any luck on finding CO[sub]2[/sub], Pressure (perhaps choice for atmospheres vs. millibars?) and Noise?
Not yet. This is part of the reason that all the module measurements are reported as variables in the master device. Easy enough (if you program) to pull these out and do what you will with them in a scene.[/quote]
so all modules report up to the master device (the one with noise level)? No way to deconstruct that to add the other variables in? Would be nice to use this for all variables and feed to dataMine
Not sufficient, I think, because there is also pressure to consider, and people have asked for mixed units (F, C, mmHg, inches, mbar, atmospheres, …)
I have a flexible option in mind.
All the readings are under the Netatmo master plugin device already, and can be read by DataMine.
Would the noise meter be suitable for intrusion?
I was wondering that too. Looks fairly reliable from my own measurements, but prone, of course, to false alarms (external noise). Also, not quick in terms of response time.
Perhaps more useful as an adjunct to other presence indication technologies.
Yes, would use it in combination with eg a doorsensor or indoor cam
I have made a second beta version of the Netatmo plugin. The changes are:
- units handling – the plugin now presents child temperature measurements in the units selected in the Netatmo configuration itself.
- raw data[/b] – following Chris’s (DataMine) philosophy [url=http://forum.micasaverde.com/index.php/topic,14692.msg111455.html#msg111455]http://forum.micasaverde.com/index.php/topic,14692.msg111455.html#msg111455[/url] of “recording the raw data without modification”, the basic data received from the web server is in ‘native’ units of Celcius, %, mbar, ppm, dB. These are all stored under the ‘master’ plugin device (as before), but under the serviceId of “urn:micasaverde-com:serviceId:GenericSensor1” which seems the most appropriate place to group them all and works nicely when selecting data to record in DataMine.
- calibration – the temperature and humidity child devices now have their own individual ‘calibration’ offset parameter. This is found under the Advanced tab of the child device and is simply an offset value which is added to the data (after units conversion) as a crude way of calibrating the sensor measurement (especially humidity.) All I can say is caveat emptor, or actually since the plugin is free, caveat utilitor (let the user beware). Use it with care when necessary.
- blog file – the location of the file to which the raw data are ‘blogged’ is now user-selectable in a variable set under the Advanced tab of the ‘master’ plugin device.
-
device icon – the plugin now has an icon. I obtained permission from the good folk at Netatmo.com. Yes indeed, this means I bit the bullet and wrote a JSON file.
-
last update – the time of the last measurement update is displayed on the plugin device panel.[/li]
[li]default polling rate - has been changed to 10 minutes. Although the native sampling of the Netatmo is 5 minutes, the web API doesn’t seem to refresh more quickly than 10 minutes. - accelerated startup –made quicker by delaying the first access token rotation and measurement poll by a few tens of seconds so it doesn’t block the initialisation process.
If you installed the previous version, you shouldn’t just update the files but you need to delete the Netatmo plugin and reinstall from scratch.
Seeing as I have wandered too far from the original intent of this thread (Scene Scripting), I will start a new one under Plugins with the code files posted there… [url=http://forum.micasaverde.com/index.php/topic,16276.0.html]http://forum.micasaverde.com/index.php/topic,16276.0.html[/url]
Sounds fantastic, but sorry, where is the code? Can’t find it anywhere!
Great job!!!
The Netatmo plugin is now available from the App Store.
Great news! I’ve installed it and set the clientx2, user and password fields, but the virtual devices have no values in them. Do I need to do more? Surely I don’t need an IP address?
Also, a feature request, the outside temp & humidity are labelled Garden, can you pick up the station name instead?
Thanks for some great work!
Did you try another restart and refresh of your browser ?
Also, a feature request, the outside temp & humidity are labelled Garden, can you pick up the station name instead?I thought a fair bit about how to label the variables and child devices. It seemed that picking the module name was a better choice than the station name because it gave finer granularity. These are only default names - you do have, of course, the ability to rename these child devices individually in the Vera UI.
Thanks for some great work!
Well, it may be once it’s working for you.
Hope these comments fix things.
Feel free to add a rating and review to the plugin!
Thx, will write a review. I’ve reloaded, closed the tab and started a new tab for MIOS and now have some very pretty icons which I didn’t see before. But, no values, I’m getting startup LUA failed at the top of the screen for Netatmo. Just to check, the client pair of values I have put in without quotes, is that right? Then I have my user name and password, but that is all I coded in the main Netatmo device. The values are the ones I have been successfully using in the original scene based code. Off to reset the Vera now to see if that helps.
Yes, that’s right - no quotes around any of the user value fields. I just cut and paste from the Netatmo application page.
If the plugin is picking up your device names and configuration then it must be logging in OK, and you must have the json-dm library (or whichever you chose) too. If it fails in authorisation or device configuration then it says so.
Can you send the Netatmo lines from the log?
Sorry for the inconvenience.
At the beginning of our journey with netatmo we had to ensure that the user ID (which certainly for me was an email address) is modified so that the @ is changed to %40, don’t know whether this is still the case. This would probably give an authorisation fail, so can’t say that this would affect. I have used every iteration of this script and agree that this is brilliant and I have had no problems with v1 of the plugin.
David
I use an “@” sign myself.
Can we move this discussion to the Plugin thread, because it’s nothing to do with the script?
http://forum.micasaverde.com/index.php/topic,16276
The log would be very useful - I will post the entries that a healthy plugin makes there.
Hi!
Tha plugin is fantastic!
I buyed the Rain gauge to my Netatmo.
Can you add to plugin this rain level option ?