Hi everybody,
I have multiple raspberry pi
s around the house, doing different things. One in the garage, for example, is only doing two things:
- connected to audio speakers (running
mpd
, already controlled via Home Assistant throughsnapclient
andmpd
) - running a
motion
server, this providing anmjpeg
video feed from a connected USB webcam (fed to Home Assistant and tinyCam on my Android)
I have read through remote_rpi_gpio, but if I understand correctly, it can only work with binary_sensor
and switch
components. Let’s say I have a BME280 sensor, which I’d usually use with ESPHome
connected to the raspberry pi. Can I somehow natively integrate it into Home Assistant as well?
By natively, I mean that I am aware that I could connect the sensor, write a python script to read from it every x seconds, then pipe it to another script that sends these values to Home Assistant via mqtt
(or have one single script deal with it, but I like to work modular).
The only alternative that comes to mind is node-red
on the raspberry pi(s) combined with the node-red companion on my Home Assistant server.
While both these solutions are fine, perhaps there is an even better way…? Connect whatever compatible device/sensor/actor to the raspberry pi and automatically have it discovered by Home Assistant / announce itself to Home Assistant and be done with it?
I don’t have any important projects planned, so I would not want to go another way (for example, my-sensors). If there is a way to do this with all the things I already have (sensors, raspberry pis), I’d love to try it.
Thanks in advance for your ideas