dkjonas / Wavin-AHC-9000-mqtt

Esp8266 mqtt interface for Wavin AHC-9000/Jablotron AC-116
MIT License
86 stars 36 forks source link

Socket error #10

Closed Mugge66 closed 5 years ago

Mugge66 commented 5 years ago

Hey And sry for asking. Im trying to get this to work but it keeps saying socket error disconnecting.

Im thinking it could be related to user/password.

Im running my mqtt in docker on synology and im not using user or password.

in the private.sh config file in your script what should the user and password text be. do i just delete you text and leave it like "" // username <-- like this ?

dkjonas commented 5 years ago

Try setting the username/password to "" or to String(NULL) (no quotes).

If that is not working remove "MQTT_USER.c_str(), MQTT_PASS.c_str()," from line 239 in main.cpp.

Mugge66 commented 5 years ago

"" Works. :-) Nice Job. :-)