An iroh powered smart fan

154 points52 comments4 days ago
unsolved73

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?).

Liftyee

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 comments
devttyeu

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 comments
Alien1Being

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....

skybrian

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 comments
sunshine-o

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.

Teknomadix

Why.

show comments
shermantanktop

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 comments
drnick1

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

show comments