basnijholt / miflora

☘️🌑🌼πŸ₯€πŸ‘ Mi Flora Plant sensor Python package
MIT License
362 stars 99 forks source link

WANFEI Xiaomi Flower compatibility and non blocking poll demo #146

Open afer92 opened 4 years ago

ChristianKuehnel commented 4 years ago

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?

MalteHillmann commented 3 years ago

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.

basnijholt commented 3 years ago

I have just added that in https://github.com/basnijholt/miflora/commit/e62f0cde8225f2d53648373493e779fae1a3bc31.

afer92 commented 3 years ago

I have just added that in e62f0cd.

Thanks