MQTT and Mysensors gateway All in one
- 
					
					
					
					
Best ..
I want to build myself battery powered . I wanted to use the ESP 6288 , but has suffered from battery drain.Now I'm going to try mysensors .
I would like to make an all in one gateway, mysensors and MQTT [ I do not know what it all is, but if I still start .
 ]I have an Arduino envisioned as a gateway.
Could it be one gateway for both protocols ?Can anyone help me on the road as a start ?
Because when I read, it seems like the mysensors gateway , both supported?Thanks advance !!
 - 
					
					
					
					
Hi Dylano!
If you are going to use Domoticz controller mqtt is not officially supported: http://www.mysensors.org/controller/domoticz
You can read this thread: http://forum.mysensors.org/topic/2698/anyone-has-the-setup-domoticz-mqtt-broker-mysensors-up-n-running, http://forum.mysensors.org/topic/1968/domoticz-and-mqtt-connections.
If you are new to MySensors i would read [Getting started].(http://www.mysensors.org/about/) and http://www.mysensors.org/controller/
Good luck!
 - 
					
					
					
					
Thanks...
I gonna try it.. [ and read...
 ]Only i think it should work in Domoticz...

But i try to start with my sensors..
And then mqtt
 - 
					
					
					
					
this will probably not work: domoticz is waiting for mqtt messages not matching the mqtt messages delivered by mysensors. When using domotitz ethernet or serial gateway is preferable
 - 
					
					
					
					
So i must make a gw for my sensors....[ uno is the best option? ]
And make a gateway for MQTT?Thanks
 - 
					
					
					
					
there is only one gateway in your network.
you should proceed the following way:
- decide which controller to use
 - build gateway, which fits to your controller
 - build the nodes
 
 - 
					
					
					
					
Sorry, for my stupids...
My controller is Domoticz...I want to build a gateway for mysensors and mqtt
What should i make....
I prefer 1 hardware for the 2 protocolsOr is the best option to make 2 different gateways?
 - 
					
					
					
					
You can use several gateways in Domoticz (for different protocols), just add them in hardware.
You need to code/create a mqtt gateway for Domoticz since this doesnt excist what i know of.I think thought using two gateways for MySensors paralell might be hard... dont know if anyone done that but I guess you will recieve the message twice if you have two MySensors gateways to same controller.
 - 
					
					
					
					
@sundberg84 said:
I think thought using two gateways for MySensors paralell might be hard... dont know if anyone done that but I guess you will recieve the message twice if you have two MySensors gateways to same controller.
It is possible to have several gateways; Just alter channel or base radio ir (for nrf). But one each node should only be "connected" to one gateway.
 - 
					
					
					
					
I think thought using two gateways for MySensors paralell might be hard... dont know if anyone done that but I guess you will recieve the message twice if you have two MySensors gateways to same controller.```Do you have a how to?
 - 
					
					
					
					
Just set ret frequency/base-id in MyConfig.h before compiling gw/sensors.
 - 
					
					
					
					
Is it possible to use the same sensors with both ethernet and MQTT? I am currently using the ethernet gateway with vera but I would like to try MQTT/OpenHab. I would like to see the same sensors in both environments. Is the possible use the mutt gateway with vera?
Thanks in advance.