ESP8266 MQTT Client Node ID
tchoblond59 last edited by
My goal is to make a sensor node on a wemos D1 mini on ESP8266 with MQTT directly on WIFI.
I can push and receive message from the MQTT broker but when i send something (like a relay status) the node id of my sensor is 0 and i can't change it even with
#define MY_NODE_ID 5.
I use GatewayESP8266MQTTClient sketch and i comment
So how can i force it ? Thanks.
@tchoblond59 a gateway always has node ID 0. It can use sensor IDs from 0 to 254 though.