[mh] MQTT LOCALITEM topic names
Brian M <[email protected]> Fri, 8 Sep 2023 16:24:26 -0700
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
I'd planned to publish my local MH items to MQTT with topic names of the form ha/mh/<room>/<item>, such as "ha/mh/office/light". The current state would then be published as ha/mh/office/light/state. The current version of mqtt_items.pm limits the topics to two levels, though, so the state actually gets published as "ha/mh/state". I've tried out a patch to allow more levels in the topic, and it seems to publish as I had hoped, though I haven't tested whether incoming commands work yet. Before I continue testing and consider a pull request, is there a reason why the topics are currently limited to two levels above the actual state value? -Brian M ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users