Open riksarchen opened 5 years ago
Tried to checkout and use the v1_original branch? Do you use Mosquitto as broker software? If you do, try running it from the command line with the -d parameter.
Tried v1. It does not seems to even try MQTT connection. I also tried -d and -v to see log.
V1 does not connect at all, v2 connect and CONNACK is sent but then it's disconnected with Socket error.
I'll try to swap the Amico ESP8266 to a wemos d1 mini.
Tried with wemos D1 mini also now but still gets socket error as soon as it connects.
Got this too now, with a circuit that's been working good before. Calls for further investigation.
sudo cat /var/log/mosquitto/mosquitto.log
1570009721: New connection from 192.168.1.235 on port 1883.
1570009721: New client connected from 192.168.1.235 as mosqsub|18035-PatrikAth (c1, k60, u'emonpi').
1570009785: Socket error on client mosqsub|18035-PatrikAth, disconnecting.
Got the same problem.
@riksarchen, you don't have this problem with your pubsub-version?
MQTT connects and then disconnects within a second.
Hardware i use is a nodemcu esp8266, same as the one described in the guide.