mqtt mapping #498
Replies: 3 comments 1 reply
-
Could make a lot of sense, would allow different plates to update from the same published value, rather than republishing the value X times on different topics. |
Beta Was this translation helpful? Give feedback.
-
I understand the danger of scope creep, especially as haspmota exists. Although I haven't been able to use it yet as I cannot get my screen working with it. And as I'm new here I don't want to step on anyone's toes ;-) But a more flexible way of handling MQTT would be a bonus to many. I use Node-Red myself so I can handle the required logic, but a couple of things came to mind today. There are specific topics for some things like /state/backlight and /state/page but to get button feedback I have to subscribe to /state/# Related to the OG post, a none breaking change that might be useful would be to add publish to the available commands. So the action could publish something to a specified topic eg Directly switch on a MQTT device without need to go via any external logic. Just my random thoughts ;-) |
Beta Was this translation helpful? Give feedback.
-
Hello, I am looking for the same feature or an alternative to make this functionality work. Regards, |
Beta Was this translation helpful? Give feedback.
-
I know I currently need an external handler, but I have the following scenario:
I have three devices.
Suppose we would have the following file : mqttsubscriptions.json
This would imply that the openHASP would be subscribed to the sourcetopic on the sourcebroker, and that any change in the sensor value of mydevice would lead to an updated value in p1b1
I would like to run the mapping on openHASP itself instead of adding another dependency that does no more than republishing a subsribed topic to another topic.
Since we already have the full web/mqtt/json stack available, is there a technical impediment to perform such function ?
It would be very nice to have the openHAB act as an independent subscriber to an MQTT topic.
What are your thoughts?
Beta Was this translation helpful? Give feedback.
All reactions