I am eliminating the MQTT intermediate by installing the HS NodeRED node and talking directly to HS.
The HS node only sends messages if a device changes, if nothing is happening it stays quiet. This is causing issues when restarting NodeRED dashboards because some of the UI elements are not updated until activated. (For example think of a text field STATUS that shows AWAY or AT HOME, the text field is populated by a device value. If the dashboard is restarted the field is not populated until the status of the device changes.)
The MQTT plugin I previously used has an option to send a periodic update(every X minutes) of all associated devices and I am wondering how I can implement this in for the HS node.
It would be nice to be able to trigger a device node to send a status/value message without having to update the associated device. For example, sending a message with payload "currentStatus" triggers a message on the output that provides the current status and value of the device. Using a inject node that fires at startup and regular intervals would solve for the fields that are not populated.
The HS node only sends messages if a device changes, if nothing is happening it stays quiet. This is causing issues when restarting NodeRED dashboards because some of the UI elements are not updated until activated. (For example think of a text field STATUS that shows AWAY or AT HOME, the text field is populated by a device value. If the dashboard is restarted the field is not populated until the status of the device changes.)
The MQTT plugin I previously used has an option to send a periodic update(every X minutes) of all associated devices and I am wondering how I can implement this in for the HS node.
It would be nice to be able to trigger a device node to send a status/value message without having to update the associated device. For example, sending a message with payload "currentStatus" triggers a message on the output that provides the current status and value of the device. Using a inject node that fires at startup and regular intervals would solve for the fields that are not populated.
Comment