miflora
miflora copied to clipboard
WANFEI Xiaomi Flower compatibility and non blocking poll demo
So I understand you want to extend the range of MAC addresses to support other devices. I see the benefits of that.
What's the purpose of demo_timeout.py? At first glance the code looks quite similar to demo.py except for the timout parameter. Why not integrate the feature in demo.py?
I've got a new MiFlora, too. My old ones MACs starting with C4:7C:8D, the new one with 80:EA:CA, so I think that should updated in demo.py.
I have just added that in https://github.com/basnijholt/miflora/commit/e62f0cde8225f2d53648373493e779fae1a3bc31.