(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
Hi, thanks for your efforts on the sensor, very cool.
I get all the way through to flashing the board and looking at the serial port. It connects to my WIFI, but then won't connect to my MQTT server. I think the error is a 'can't establish a TCP connection'. I can ping the nodeMCU and it's live on my network and other devices are interacting with the Mosquitto server normally.
Any ideas?
I'm not using any internal security on the MQTT server, and it's set to allow anonymous connections.
The serial port reports:
calibrating sensor Starting Node named sensornode01
Connecting to ********
.......................................................................................................
WiFi connected
IP address:
192.168.0.106
Ready
IPess: 192.168.0.106
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
Attempting MQTT connection...failed, rc=-2 try again in 5 seconds
Hi, thanks for your efforts on the sensor, very cool.
I get all the way through to flashing the board and looking at the serial port. It connects to my WIFI, but then won't connect to my MQTT server. I think the error is a 'can't establish a TCP connection'. I can ping the nodeMCU and it's live on my network and other devices are interacting with the Mosquitto server normally.
Any ideas?
I'm not using any internal security on the MQTT server, and it's set to allow anonymous connections.
The serial port reports: