Attached are the files for the fourth major release candidate of the Netatmo plugin. If there’s no negative feedback then I’ll push it to the App Store. A Github repository already exists at https://github.com/akbooer/Netatmo.
Although this should all look very familiar, there’s been some major reworking under the covers, so perhaps some new bugs introduced. However, it’s been tested on UI5, UI7, AltUI and openLuup (under Debian, OpenWRT, and Mac OS.)
New features include:
[ul][li]single new device type for non-standard metrics - previously there was a different device type for each metric presented as a separate child: CO[sub]2[/sub], Pressure, Noise, Rain, Wind. Now there’s only one generic device type, but they all have their own custom icons and text display, so the result ends up looking very similar.[/li]
[li]battery level indication on child devices - for those child devices whose measurements come from a battery powered module, the battery state of that module is displayed with a small battery icon in the usual fashion. So if you have, for example Temperature and Humidity both split out as separate child devices from the same module, then they will both refer to the same battery level.[/li]
[li]pressure trend text for atmospheric pressure - as a by-product of using the new API, the pressure trend for atmospheric pressure is now displayed.[/li]
[li]support for new wind gauge - now properly supported, a child device displays both speed and angle. Additional metrics such as gust strength and direction are also available as device variables.[/li]
[li]extra measurement variables in master device - the new API brings a number of new metrics, most of which are transferred to device variables of the master Netatmo plugin device. Recall that all variables here are in raw units, as received from the API. Metrics in child devices, however, are converted into the units specified by the various options in the actual Netatmo configuration.[/li]
[li]fewer files, and smaller footprint both on disc and in memory - this also makes deployment in the App Store easier.[/li]
[li]full support for UI5, UI7, AltUI - an AltUI snapshot from a Vera running UI7 is attached.[/li][/ul]
You can install this on top of a previously installed version if the install was NOT originally done from the App Store (this might just be a UI7 constraint, I’m unsure.) Just upload the code files in the usual way and put the icons into the relevant directories for your system version. If your previous install came from the App Store, then I’d recommend that you remove the plugin and start again manually (this will require you to re-enter you username, password, clientID, and clientSecret credential, so remember to note them down before deleting.) Once I’ve moved this release to the App Store, then installing from there should work as expected.
There will be an amount of file clean-up to do: the icon files are named somewhat differently, and a lot on .xml and .json files are now redundant. What you need to retain are the files in these zipped archives, anything else with Netatmo in the name can go.
Shamefully, I’ve never produced a User Guide for the Netatmo, it having grown somewhat organically over the last three years. I will pull together the notes and posts that I have made and try to get them into some shape, but from a user point of view, it’s just about the same as ever.
I’m keen to hear feedback before I push it to the App Store. Thanks.