Open tofurky opened 2 months ago
The location tag can be up to 100 characters long, but Home Assistant may not fully support names of that length. It's recommended to keep names shorter for better compatibility.
They're actually being corrupted when being sent via MQTT, so maybe it's an intermediate buffer. The garbage control characters prevent the data from even being accepted by Home Assistant.
what is the Length of your name including the location tag?
I don't see any option to give a name besides just the location tag; living-roomsense
causes the issue with garbage characters being sent over MQTT. living
is fine.
living
andliving room
worked,living-roomsense
is always sending:So it seems perhaps it's overflowing a buffer so the NULL terminating byte is missing and it's reading nearby data, hence the garbage.
Suggest the following: