logoalt Hacker News

An iroh powered smart fan

153 pointsby surprisetalklast Tuesday at 1:30 PM51 commentsview on HN

Comments

unsolved73today at 2:08 PM

Iroh is probably one of the best shots we have at making IoT finally secure with the built-in endpoint-to-endpoint encryption. The only thing that is missing is an embedded QUIC stack, the setup described in this article sees a little bit too hacky (4 MiB of PSRAM, really?).

Liftyeetoday at 1:52 PM

While this is neat, it strikes me as the software developer's idea of a "smart fan". The engineer in me says that an actual "smart fan" would be one whose blades are designed to produce maximum airflow with minimum noise (variable pitch? avoiding turbulence?)

show 2 replies
devttyeutoday at 11:53 AM

Any plans to standardize Iroh IoT protocols, e.g. Matter over Iroh / Some other standard that would be plug-able to things like Home Assistant?

show 1 reply
Alien1Beingtoday at 5:48 AM

I use a inexpensive 36 AUD Tapo infrared hub to control my fan reliably.

It links to my Google Home installation and responds to voice commands.

https://us.store.tapo.com/products/tapo-h110-smart-ir-iot-hu...

Someone with too much time on their hands might benefit from the iroh solution....

skybriantoday at 2:28 AM

It's unclear to me why they needed to compile Rust to WebAssembly to write a website. It looks like iroh has a JavaScript API:

https://docs.iroh.computer/languages/javascript

Edit: actually, that's a Node.js-specific API. For browsers, it seems like they should have a platform-independent JavaScript/TypeScript API that includes a WebAssembly file (if needed) instead of expecting you to compile WebAssembly yourself.

show 1 reply
sunshine-otoday at 8:26 AM

iroh is very interesting and in many way it could get traction for IoT.

Now I am not sure it is feasible but it would be interesting to have it available in esphome. I feel this is really where real adoption happens.

Teknomadixtoday at 5:25 AM

Why.

show 3 replies
shermantanktoptoday at 2:19 AM

This is interesting as an example of just how complicated and elaborate a toolchain you can use to build something dead simple.

There’s a lot that comes for free by adding all these libraries and crates and steps. But from what I can tell it comes down to:

let _ = if fan_on { fan.set_high() } else { fan.set_low() };

show 2 replies
drnick1today at 3:42 PM

In a heatwave, you need AC, not a fan. Moving hot air around without cooling it is pretty much useless.

show 5 replies