MQTT- and Ethernet-Gateway at the same time
-
Is it possible to run the MQTT- and Ethernet-Gateway at the same time?
This would open the possibility to run OpenHab and MYSController at the same time.
-
@strangeoptics Currently not. Having multiple concurrent controller connections would have to be tackled first.
-
Openhab can work on ethernet too if I remember well
-
Too bad
My target infrastructure is OpenHab with MQTT and that is set. But for some features, especially overview and OTA, the MYSControllor looks promissing. But
haven't tested it so far.thx
-
For ota you can use mycontroller
-
@gohan yes but I had to switch to mycontroller and afterwards back to OpenHab every time I would like to use OTA
-
@Yveaux Do you now if "multiple concurrent controller connections" are on the list for future extensions?
I am not a big C++ programmer but in my home language java it would be a quick thing to do.
-
@strangeoptics how often are you updating firmware on nodes?
-
@gohan aktually OTA is just an example. I like the MYSController with everything it can do and would like to switch it on and of whenever I would like to without any hassle.
I thought multi-controller-mode is easy to do and would give the project more flexibility.
-
@strangeoptics said in MQTT- and Ethernet-Gateway at the same time:
@Yveaux Do you now if "multiple concurrent controller connections" are on the list for future extensions?
Well, the issue isn't really to maintain multiple connections, but to handle the flow of data between multiple controllers and the gateway. Data coming from sensors can be distributed over connected controllers, but the question is how to handle data going to the sensors (which controller to listen to), which controller will supply ack's etc.
A lot of choices to be made, that probably also depend on the application...
If you want simultaneous connections it would probably be better to use some middleware like MQTT in between gateway and controllers.
-
@Yveaux Yes you are right, didn't thought about the ack's.
Another question. I would like to intercept the message flow in both directions in the gateway to put my logic in (smart sleep). Could you pinpoint me the method where this happens?