Updates discussion #29
Replies: 6 comments 9 replies
-
Thanks to @arrikhan pointing out a flaw with 'MQTT send receive' cover status in Home Assistant, covers have had a makeover. There are now three alternative modes of operation, including using a basic slider for level, a level translation mode up/down/stop with rather crude HA status, and now a third alternative, which is level translation with status tracking. Check out the readme for the full details, but in short with a bit of simple calibration, a rate can now be set that allows 'MQTT send receive' to update HA in near real time with a quite accurate approximation of where a cover is on its journey up or down. Cheers, |
Beta Was this translation helpful? Give feedback.
-
A blow for simplicity. Event-based scripts are all gone, leaving just residents. This simplifies initial deplyment, plus the number of scripts to configure/update. Using the localbus instead of socket library seems to have lowered Automation Controller load as a bonus. I'm also switching to a create branch/merge discipline on GitHub, so that notifications will get sent to watchers on update. So if you've not yet watched acMqtt then now might be a good time to do so. Steve |
Beta Was this translation helpful? Give feedback.
-
MQTT send receive now features a way to have entities named as their identifier. For example light.kitchen_main_light, instead of light.cbus_mqtt_254_56_1. I think this is a terrific change (thank you @lee-booy), but it will break dashboards that refer to the old entity names if upgrading the script, requiring work to fix them. If you hate this change, or just want to put off the required work, the variable |
Beta Was this translation helpful? Give feedback.
-
Inbound sensors are now added to MQTT send receive (thank you Michael Brooks). An example could be the state of charge of a Tesla Powerwall in Home Assistant being pushed to the automation controller as a user parameter, which could then be monitored to shed C-Bus loads. Or the user parameter could just be displayed for information on a visualisation home page. Set up an automation in HA to publish sensors to MQTT on state change, as noted in an example in README.md. Use keywords like |
Beta Was this translation helpful? Give feedback.
-
Insidious bug fix time. Thanks @sgraystar. The localbus callback in MQTT send receive now correctly converts datahex to almost all values, getting the correct value for all localbus events. In the prior code, grp.getvalue() was used for non-lighting app, and on my NAC (relatively slow compared to @sgraystar's shiny new AC2) would almost always return the correct value. Given a faster processor this was almost never the case. So a heartfelt thanks to @sgraystar for having the patience to work through getting C-Bus event things (hopefully) absolutely right. Good on ya mate. (I gotta get me one of these new generation ACs...) |
Beta Was this translation helpful? Give feedback.
-
FYI, new Automation Controller firmware v1.17.0 was released by Schneider in May, containing a seemingly essential bug fix. 1.15.0/1.16.0 have been removed from downloads. |
Beta Was this translation helpful? Give feedback.
-
Hi y'all.
autoSteve here.
I don't do the whole 'merge commit' thing on github. Rather I just direct commit to master, and this means that no notifications are sent to watchers when this happens. Ugh.
So I'm starting an 'announcements' discussion where I can spruik the latest and greatest changes (and bug fixes) to acMqtt.
Incremental changes seem to happen all the time, whether it's supporting a new application, like Unit Parameter, optimising to reduce load or improve performance, or just fixing something that's been broken for ages, like fan_pct was.
So to my announcement today, where reconnections are just better when a Mosquitto broker goes away and then comes back. While disconnected from the broker, inbound CBus messages now continue to be queued. When the broker connects again the queued messages are delivered in order. Because these messages are no longer lost, a full and unnecessary re-publish of discovery and current state topics is no longer performed after a successful reconnection.
And I think that is a cool improvement.
Cheers.
@lee-booy, @notsomot, @arrikhan, @vworp, @sgraystar, @pbyrne-ms, @ziogref, @Nick-Adams-AU, @gitcoinhello1, @hmousaab, @Hosemans, @srpage, @Warren2006, @sthlmsrille, @mjohnson9, @rjmidau, @nicpullan, @atomic10, @TheSeaCaptn
Beta Was this translation helpful? Give feedback.
All reactions