Hi Folks,
I have a lot of hardware lying around, as you all might, too. I asked myself: what would be a way to turn an Arduino into a device that hassio can read sensor data from and that can revieve commands from hassio? WiFi would be relatively easy I guess, with a shield or so. But that would be perconsuming, so what would be another way? I particularly thought about it because I would like to build some small devices by myself that can work remotely.
I also have a pizero here, what softwares are there to use the pizero as a hassio device?
Cheers, greetings, happy new year.
Dotcomhype
Any specific genres?
What sort of stuff do you want to use it for? Is it an Uno or something else?
It’s not too hard to write some Python code to interface via MQTT.
Hi,
Thanks for your reply
Yes, it is an uno or a similar device. I also have a pi2b lying around. The tip with mqtt via python is very good. I thought about “simply” strapping a bunch of sensors for temperature, humidity and so on so the gpios and see what I can do with it. The ideas will come during the tinkering I think
For the Uno I thought there might be something like a cheap ZigBee bridge, bit I did not find such stuff.
Cheers
If you want an easy way, try ESPHome, which you can just configure via YAML. As for your Unos, try a WiFi shield. You can also use MQTT libraries on Unos.
rpieasy for the pizero. best thing since sliced bread. as for the arduino, i recently went through hell trying to figure out how to use the usb cable to serialport interface, to transfer commands to and from. but at the end of the day it worked, well, end of many months. i did post the code on the forums if youd like for me to link ya.