tydom2mqtt icon indicating copy to clipboard operation
tydom2mqtt copied to clipboard

refactor: new JSON extraction method and clean rejection of some unnecessary messages.

Open JBSC opened this issue 8 months ago • 4 comments

Hi guys

Here's an improvement to the JSON reading of messages : It's a big change!

It involves adding the import of the re module (regex)

And adding a control to ignore useless messages.

I've noticed the decoding errors myself (without any impact on the indexes in HomeAssistant).

This will correct decoding problems such as https://github.com/tydom2mqtt/tydom2mqtt/issues/245 https://github.com/tydom2mqtt/hassio-addons/issues/4

Thanks to those who can test this PR with their DT equipment (I only have tywatt and delta8000).

  • The first thing to check is the absence of regression.
  • No new functions/supports have been added.

JBSC avatar Mar 02 '25 10:03 JBSC