Doubt about a concept in GatewayESP8266
-
Hello, @mfalkvidd ! Thanks to answer.
I'm a Linux user. Could you recommend me another controler which supports my gateway server? -
Hello, @mfalkvidd ! Thanks to answer.
I'm a Linux user. Could you recommend me another controler which supports my gateway server? -
Shouldn't that be 192.168.1.7, not 192,168,1,7?
-
Shouldn't that be 192.168.1.7, not 192,168,1,7?
-
Shouldn't that be 192.168.1.7, not 192,168,1,7?
@wallyllama Yes, I did a mistake when I wrote that.
-
@Djames-Suhanko is there a reason you can't use the gateway in normal mode?
@mfalkvidd I confess you I have a lot of doubts about the data colection. My scenary is Arduinos sending data from sensors. I just need colect this data to insert in a database. Could you suggest some documentation or tutorial related to?
-
@mfalkvidd I confess you I have a lot of doubts about the data colection. My scenary is Arduinos sending data from sensors. I just need colect this data to insert in a database. Could you suggest some documentation or tutorial related to?
@Djames-Suhanko perhaps the MySensors getting started guide? https://www.mysensors.org/about
-
I have been using Domoticz with MySensors nodes in several different configurations.
The closest I have done to what you are asking is to use the GatewayESP8266MQTTClient version, with one or more sensors connected directly to the ESP8266 running the above client software, so there is no separate Arduino. This is of course wifi only transport from the sensor node via the LAN to Domoticz controller, and it requires a MQTT broker (server).
Similarly I also use Domoticz with ESP8266 running ESPEasy which also transports by wifi, no Arduino. I strongly recommend this combination to get started as the only hardware is a ESP8266 like NodeMCU, Wemos Mini, etc. and your controller host (Linux computer or RPi), and the only software is Domoticz and ESPEasy, both of which require configuration but no customizing code. Of course you can as many sensor nodes as you like.
From reading on this site I got the impression that the ESP8266 is NOT an ideal choice for a general purpose MySensors gateway-to-LAN solution using radio-equipped Arduino sensor nodes, and the W5100 Ethernet Gateway is far better. But I am not using this myself.
Finally I also use MySensors with Arduino and attached radio link to a radio-equipped gateway on a RaspBerry Pi. This is a more complicated solution as you are now dealing with two radios, and both sensor node and gateway software you must configure/customize. It works well, however, and there is the opportunity to wire custom code at the sensor node if you require this.
If you do not have an existing working Domoticz or Mysensors installation, and you simply need data from common sensors, I strongly recommend trying Domoticz + ESPEasy. It is MUCH easier to set up and get running with supported software, as you simply install it on the ESP and configure via a webpage. It is a great help to learn Domoticz without too much complication.
Domoticz is a pretty easy package to get working compared to the others I looked at.
-
I have been using Domoticz with MySensors nodes in several different configurations.
The closest I have done to what you are asking is to use the GatewayESP8266MQTTClient version, with one or more sensors connected directly to the ESP8266 running the above client software, so there is no separate Arduino. This is of course wifi only transport from the sensor node via the LAN to Domoticz controller, and it requires a MQTT broker (server).
Similarly I also use Domoticz with ESP8266 running ESPEasy which also transports by wifi, no Arduino. I strongly recommend this combination to get started as the only hardware is a ESP8266 like NodeMCU, Wemos Mini, etc. and your controller host (Linux computer or RPi), and the only software is Domoticz and ESPEasy, both of which require configuration but no customizing code. Of course you can as many sensor nodes as you like.
From reading on this site I got the impression that the ESP8266 is NOT an ideal choice for a general purpose MySensors gateway-to-LAN solution using radio-equipped Arduino sensor nodes, and the W5100 Ethernet Gateway is far better. But I am not using this myself.
Finally I also use MySensors with Arduino and attached radio link to a radio-equipped gateway on a RaspBerry Pi. This is a more complicated solution as you are now dealing with two radios, and both sensor node and gateway software you must configure/customize. It works well, however, and there is the opportunity to wire custom code at the sensor node if you require this.
If you do not have an existing working Domoticz or Mysensors installation, and you simply need data from common sensors, I strongly recommend trying Domoticz + ESPEasy. It is MUCH easier to set up and get running with supported software, as you simply install it on the ESP and configure via a webpage. It is a great help to learn Domoticz without too much complication.
Domoticz is a pretty easy package to get working compared to the others I looked at.
@Grubstake Hello! I thank you to this tip.
I already have a broker MQTT to many other tasks and I'm trying to collect data to automatically decisions. I would like to have the data so simple as possible and I thinking that MQTT would be like a bridge to my own interaction. I can see already data incoming in my MQTT broker, but it's no so clear as I want. In true, the only thing that i want is the mesh network and data sending as a string json or something like that - for this reason I choose MQTT, but MySensors has a protocol behind and nor MQTT messages are clear to me.
I will think a bit more about what I can do, but if you have some suggestion to only use mesh without other layers, please, let me know.