Skip to content

Comment on Rethinking temperature, sensors, and Raspberry Piparent

Comments

Howdy! Author here.

I definitely wanted to do all parts in Python but am somewhat allergic to the `while True:` pattern necessary in Python for changfeeds. I haven't brought myself up-to-date on the more recent asyncio library to write the more Pythonic `yield from` for a changefeeds example.

Would you know how to do this in Python elegantly? Because I would love to rip out the Node/Javascript parts.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.