softwarecrash / Daly2MQTT

ESP8266 Connector to get Daly / XENES / HI-BMS / BullTron BMS Data into MQTT systems
Other
139 stars 30 forks source link

Failed to connect to mqtt server #18

Closed he77PC011 closed 1 year ago

he77PC011 commented 1 year ago

360截图20221204174611381 1024-2276 2 1024-2276 (1) https://github.com/emqx/MQTTX

softwarecrash commented 1 year ago

only can see you have set different ports on esp and mqtt broker

he77PC011 commented 1 year ago

my mqtt servre m.fdj.ltd 61883 web http://m.fdj.ltd:58083/ demo demo123

softwarecrash commented 1 year ago

set your mqtt adress/port and user/pass korrekt

he77PC011 commented 1 year ago

local area network[interconnected network](javascript: void(0)) 360截图20221204181147024 1024-2279 Failed to connect to mqtt server

softwarecrash commented 1 year ago

never tested or used it with external domain/ip settings. go to the mqtt broker to check connecting fails.

he77PC011 commented 1 year ago

360截图20221204182913811 360截图20221204182930090 Testing with client is normal.

softwarecrash commented 1 year ago

try it with local ip....

he77PC011 commented 1 year ago

DALY-BMS-to-MQTT.V0.4.9.bin I've tried one thing. I can't.

he77PC011 commented 1 year ago

Main.ino failed to compile. Maybe the library is wrong.

he77PC011 commented 1 year ago

If you have time to test it my mqtt servre m.fdj.ltd 61883 web http://m.fdj.ltd:58083/ demo demo123

softwarecrash commented 1 year ago

Main.ino failed to compile. Maybe the library is wrong.

no, freshly tested, no problems with the librays, so i think you use odd arduino IDE, use vscode or make sure you have the matching libray versions from the platform.io file installed.

dont understand what you are doing! all users dont have any issue with the mqtt connection, so its a problem on your broker or port/network settings, or wrong configuration!

so i test with your data grafik grafik

only a bug is shown with the mqtt port, with more than 4 digits, it will fixed with the next release

dont see any problems