by jcims · 6y ago · 0 comments
I had an esp8266 sitting around, so I flashed it with tasmota, configured it to run four thermocouples, and then tied it back to the raspberry pi via MQTT message bus. It's absolutely fantastic. I put a second one together to run a small portable load cell setup for measuring output rate of the process and pipe all of those measurements through MQTT as well. Plan is to create a flash/configure pipeline so i can swap out the ESP boards and/or easily tack more on over time. Ultimately would like to get all of the hardware off of the PI and have spare ESP8266 boards around so i have a bit of redundancy.
Tons of capability for the money and the process of getting Tasmota up and running with a standard sensor couldn't have been easier. Lots of fun!!!
TLDR; Tasmota is great for bespoke devices, but IMO ESPHome is better because it's modular and supports OTA updates.
When I hit a limit I went to Arduino and then hooked that into Home Assistant via and MQTT broker - Mosquitto.
BTW I can’t say enough good stuff about node-red for automation. It has been great. I tie it into into influxdb for telemetry and it has a nice little dashboard feature for process monitoring. All with almost zero code.
I run Home Assistant (on their Hassio OS) on a raspberry pi2, which includes integration for Tasmota, ESPHome, Node-red, MQTT server, influxdb, plex server, presence detection, and more, all through a polished web ui. I highly recommend it if you're looking to tie together a bunch of IoT devices. For me it has become my central location to manage all my "smart" home devices, and is essentially the glue that holds it all together while providing a pleasant UX for managing it all. With the integration of Node-red, it provides nodes that represent your Home Assistant based sensors/switches so you can easily read/write their values within your Node-red flow.
https://www.malachisoord.com/2019/12/05/esphome-based-pir-mo...
Tasmota I use just like said for switches and for that it works very well too.