Open Zjaaspoer opened 9 months ago
Hey! This is odd indeed but when I run your log posting from above through he following it correctly accepts your "5C:..." mac address.
I've made sure the strings are correct and not hiding any copy/paste hidden special characters or something of the sorts.
This would have been my guess... Very strange. Temporarily comment out this line and see what happens https://github.com/ThomDietrich/miflora-mqtt-daemon/blob/59cd5abc86c2d4d005a084ebba144ab4c0b73feb/miflora-mqtt-daemon.py#L182
Will try!
Hi, I've been using your daemon successfully for years, thank you for that. A few days ago I bought new MiFlora sensors (same type). But now I'm getting validation errors with the new MAC addresses:
This seems to be related to this piece of code. But the RegExp does match the MAC addresses it trips over.
As you can see it connects properly to my old devices (starting with C4:...) but is tripping over any of the new devices. I've made sure the strings are correct and not hiding any copy/paste hidden special characters or something of the sorts.
I've tried this on several machines, they are all giving the same issues.