Republish MySensors Messages via MQTT
-
@cslauritsen Than you for your intrest with MyController.org
Do you want to publish
Serial
,Ethernet
gateway messages to MQTT? -
Yes. I currently have a serial gateway.
I like the functionality of mycontroller.org, but I like the automation/rules engine/extensibility of openhab.I'd like to expose the mysensors data to other systems like openhab using mqtt.
I'm open to other ways of doing it, this is just what occurred to me first.
-
@cslauritsen I believe we can achieve this with node-red.
If we have real need of this functionality with MyController.org we may include any gateway(
Serial
,Ethernet
,MQTT
) to MQTT in MyController.org style. Note MyContorller maintaining it is own message style and variables. we will get MQTT output in MyController style. -
@jkandasa is there a way in myc to connect a serial gateway to an mqtt gateway, such that a message arriving on the serial interface could be republished to the mqtt interface?
-
@cslauritsen right now there is no way to do that.
-
@jkandasa said:
If we have real need of this functionality with MyController.org we may include any gateway(
Serial
,Ethernet
,MQTT
) to MQTT in MyController.org style. Note MyContorller maintaining it is own message style and variables. we will get MQTT output in MyController style.@jkandasa,
have you been looking into this feature any further? I would also like to subscribe and publish 'clean' (named) mysensor messages.
My reasons are similar to what cslauritsen wrote above.An alternative feature would be the possibility to add an generic 'External Server' in order to make HTTP posts or connect to an web hook. Although I would also miss the possibility to control things in the other direction (ie. relays, rbg light, etc.)
In any case - thanks for this nice tool!
-
@mibu I will look in to implementation details. I will come back with the level of easiness implementation.
-
Hi, same request for me. I would like to update WUnderground with http post. I think with generic External Server functionalities, it will be a great new feature.
Carl
-
@chuneault said:
WUnderground
Please create new feature request on https://github.com/mycontroller-org/mycontroller/issues with support api documentation. Thank you!
-
MySensors serial message will be converted to MQTT via serial2mqtt