d0ugal / python-rfxcom

A Python 3.3+ library for working with your RFXTrx and automating your home.
BSD 3-Clause "New" or "Revised" License
8 stars 9 forks source link

Fix : 100% load due to writer callback #21

Closed bamthomas closed 9 years ago

bamthomas commented 9 years ago

For serial device there is no need to wait for write availability

bamthomas commented 9 years ago

oups sorry for the broken build on flake8, when I ran the tests on my PC it was ok. ©works_on_my_computer

d0ugal commented 9 years ago

Seems reasonable, this can be merged once the build is fixed.

RouquinBlanc commented 9 years ago

Hi Bruno, I took your changes in my fork and confirm it works like a charm. Exit the 100% CPU loop!

bamthomas commented 9 years ago

Thank you Rouquin Blanc for your feedback. Yes I'm running it on a raspberry pi and since then the little machine is 99% idle

d0ugal commented 9 years ago

Thanks for the fix @bamthomas and your verification @RouquinBlanc!

bamthomas commented 9 years ago

Would it be possible to release a 0.4 or another tag ?

d0ugal commented 9 years ago

Sure, I'll aim to do this tomorrow.

bamthomas commented 9 years ago

Thanks !