[RELEASE] Simple MQTT Client Driver

I made tweaks to the Driver code, to better support my use-case (PowerMeter data) and the rules I needed to support my graphs, and the WT graphs themselves.

I needed to add my Solar circuits to find the total-solar and, with the data-as-strings, this was painful to do in RM.

The changes were basic:

Simple MQTT Topic

  • Add declaration for PowerMeter capability, similar to how you support Switch (etc)

Simple MQTT Client

  • Added support in the else case to test if the payload isNumber, and set the power value

You mentioned this in your Known limitations, so I haven't submitted a PR to change it (but can if you'd like).

The rest of the mods were isolated to my Watchtower [visual] tweaks. These also got simpler with the numeric Timeseries

The relevant parts now look like:

and Solar/Generation Summation rule is simply:

2 Likes