widapro / wledPixel

Dot matrix panel management
MIT License
73 stars 12 forks source link

mqtt concerns #47

Open Grey-Lancaster opened 1 year ago

Grey-Lancaster commented 1 year ago

On a clean install I set zone0 for the ds18b20 and apply. temp works Tthe first time I enable MQTT settings it gets stuck in a loop

MQTT pub state func{"status":"online","power":true,"brightness":7,"wifiSsid":"shop2","zone0":{"workMode":"intTempSensor","charspacing":1,"scrollAlign":"PA_CENTER","scrollPause":3,"scrollSpeed":35,"scrollEffectIn":"PA_SCROLL_DOWN","scrollEffectOut":"PA_NO_EFFECT"}}MQTT publish device state: fail MQTT pub state func{"status":"online","power":true,"brightness":7,"wifiSsid":"shop2","zone0":{"workMode":"intTempSensor","charspacing":1,"scrollAlign":"PA_CENTER","scrollPause":3,"scrollSpeed":35,"scrollEffectIn":"PA_SCROLL_DOWN","scrollEffectOut":"PA_NO_EFFECT"}}MQTT publish device state: fail MQTT pub state func{"status":"online","power":true,"brightness":7,"wifiSsid":"shop2","zone0":{"workMode":"intTempSensor","charspacing":1,"scrollAlign":"PA_CENTER","scrollPause":3,"scrollSpeed":35,"scrollEffectIn":"PA_SCROLL_DOWN","scrollEffectOut":"PA_NO_EFFECT"}}MQTT publish device state: fail

If I click apply and reboot (simply to get it rebooted) it comes up with this and appears to be working Wifi connected to SSID: shop2 Local ip: 192.168.1.180 Gateway: 192.168.1.1 Subnet: 255.255.255.0 DNS: 192.168.1.1 HostName: wledPixel-5AAE MQTT Device Prefix: wledPixel-5AAE

ERROR: NTP time synchronization failed zone0 Message availabel: 8888

zone0 Message availabel: ip: 192.168.1.180 Init configuration MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK

MQTT publish HA device state: OK MQTT pub state func{"status":"online","power":true,"brightness":7,"wifiSsid":"shop2","zone0":{"workMode":"intTempSensor","charspacing":1,"scrollAlign":"PA_CENTER","scrollPause":3,"scrollSpeed":35,"scrollEffecOWN","scrollEffecOWN","scrollEffectOut":"PA_NO_EFFECT"}}MQTT publish device state: OK MQTT subscribe objects

ds18b20 measurement temperature: 78.2 F zone0 Message availabel: 78.2

MQTT new message arrived Topic: wledPixel-5AAE/intensity 3 MQTT new message arrived Topic: wledPixel-5AAE/power ON ds18b20 measurement temperature: 78.2 F zone0 Message availabel: 78.2

mats-nk commented 1 year ago

You know that you can format code and messages with image So it is easier to read.

Grey-Lancaster commented 1 year ago

yeah, I did that on html code and it made it worse lol Thanks Grey

Grey-Lancaster commented 1 year ago

Still funky