NimmLor / esp8266-fastled-iot-webserver

A universal software for all my LED projects, with many awesome features

Home Page:https://www.thingiverse.com/surrbradl08/designs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT - Homeassistant : disconnected due to malformed packet

huberse opened this issue · comments

Thanks for that great project. Got it working with MQTT support from the in-dev branch.
Leds are working fine, control via WebUI as well. So i wanted to connect to Homeassistant (2023.11.3) with Mosquitto Broker (6.4.0)
But I'm getting Client LED-TEST disconnected due to malformed packet. What i found is that Zigbee2MQTT seems to have a similar issue with the broker version later than 6.2.1

023-11-28 21:52:20: New connection from 192.168.0.158:58175 on port 1883.
time="2023-11-28T21:52:20+01:00" level=debug msg="checking auth cache for mosquitto"
time="2023-11-28T21:52:20+01:00" level=debug msg="to auth record: [xxxxxxxxxxxxxxxxxxx 175 216 7 9]\n"
time="2023-11-28T21:52:20+01:00" level=debug msg="found in cache: mosquitto"
2023-11-28 21:52:20: New client connected from 192.168.0.158:58175 as LED-TEST (p2, c1, k10, u'mosquitto').
2023-11-28 21:52:20: No will message specified.
2023-11-28 21:52:20: Sending CONNACK to LED-TEST (0, 0)
time="2023-11-28T21:52:20+01:00" level=debug msg="checking acl cache for mosquitto"
time="2023-11-28T21:52:20+01:00" level=debug msg="to auth record: [XXXXXXXXXXXXXXXXXXXX175 216 7 9]\n"
time="2023-11-28T21:52:20+01:00" level=debug msg="found in cache: mosquitto"
2023-11-28 21:52:20: Received SUBSCRIBE from LED-TEST
2023-11-28 21:52:20: homeassistant/light/hotpot/set (QoS 0)
2023-11-28 21:52:20: LED-TEST 0 homeassistant/light/hotpot/set
2023-11-28 21:52:20: Sending SUBACK to LED-TEST
2023-11-28 21:52:20: Client LED-TEST disconnected due to malformed packet

any help appriciated

Same here :/

Mosquitto broker: 6.4.0
HASS Core: 2023.12.3
HASS Supervisor: 2023.12.0
esp8266-fastled-iot-webserver: 4.5

2023-12-31 01:50:16: New connection from 192.168.1.181:60169 on port 1883.
2023-12-31 01:50:16: New client connected from 192.168.1.181:60169 as LEDs (p2, c1, k10, u'mqtt').
2023-12-31 01:50:16: Client LEDs disconnected due to malformed packet.
2023-12-31 01:50:26: New connection from 192.168.1.181:56492 on port 1883.
2023-12-31 01:50:26: New client connected from 192.168.1.181:56492 as LEDs (p2, c1, k10, u'mqtt').
2023-12-31 01:50:26: Client LEDs disconnected due to malformed packet.