@mfalkvidd Hi, just for completeness, how do you actually select another channel? The article that was linked to didn't cover how to do it.
I don't need to use an extra channel, I just thought it would be interesting for people to know.
Posts made by pop
-
RE: ESP8266 MQTT Gateway and setting NODE_ID
-
RE: ESP8266 MQTT Gateway and setting NODE_ID
@mfalkvidd Oh right, thanks. I think I get it now.
So I just add more ESPs and the MQTT messages will be identified by the MQTT prefix which will be unique to each gateway.
Duh! I was thinking the node id identified the MQTT stream.Thanks for putting me right.
-
RE: ESP8266 MQTT Gateway and setting NODE_ID
@pop said:
@mfalkvidd hi. I thought I could build several ESP8266 devices with their own sensors and place them (within wifi range) then have several nano-based sensors calling in to each ESP8266.
How would I make sensors using the ESP8266 without hitting gateway limitations?I should have added, I'm using openhab and as far as I understand, we have to use MQTT to talk to it. Hance the ESP8266 MQTT Gateway.
-
RE: ESP8266 MQTT Gateway and setting NODE_ID
@mfalkvidd hi. I thought I could build several ESP8266 devices with their own sensors and place them (within wifi range) then have several nano-based sensors calling in to each ESP8266.
How would I make sensors using the ESP8266 without hitting gateway limitations? -
ESP8266 MQTT Gateway and setting NODE_ID
Re: Connecting first node to new gateway - what am I missing?
Hi, I have a working setup now thanks to the above thread with an ESP8266 acting as gateway and a nano acting as a sensor.
Regarding the node id of the gateway, is there something special you have to do to set the node id?
Because I added #define MY_NODE_ID 1 to my gateway sketch but the gateway always reports node id 0. -
RE: 💬 Building a WiFi Gateway using ESP8266
Can the esp8266Gateway be used as an MQTT gateway too? Is it a config issue or does more code need porting first?