mycontroller-org / mycontroller-v1-legacy

The Open Source Controller
http://www.MyController.org
Apache License 2.0
148 stars 90 forks source link

[Feature Request] custom MQTT Gateway #367

Closed pgollor closed 7 years ago

pgollor commented 7 years ago

It would be great to connect to an MQTT gateway and using an custom topic to interact with or add this as sensor. For example: if you have an custom sensor with use the mqtt topic "/customSensor/temperature" or so and you are not able to change this topic.

jkandasa commented 7 years ago

@pgollor It is will not be good, to introduce without any protocol. However, you can achieve this by using MySensors or MyController MQTT format.

Example:

MySensors MQTT: topic/nodeId/child-sensor-id/command/ack/type
MyController MQTT: topic/nodeEui/sensorId/messageType/subType/ack
pgollor commented 7 years ago

Sorry but I have another opinion for that. For example in openHAB you can define a string, binary or temperature sensor with any possible source (for this example a custom MQTT topic). But if this concept does not fit in MyController it's okay. You did a great job here @jkandasa :) But currently my time is very limited, so I can't help you with this system.

I like the Dashboard from MyController and at this time I am thinking about to change my system from openHAB to MyController. But for this I need custom MQTT topics and a feature which can disable the login page. I will wait for a stable version and try it again ;)