Home Assistant drives our BYD battery over Modbus TCP: night-tariff timing, forecast-paced charging, a summer ceiling, balance charges. Code in a gist.
Driving our BYD battery from Home Assistant over Modbus TCP


Home Assistant drives our BYD battery over Modbus TCP: night-tariff timing, forecast-paced charging, a summer ceiling, balance charges. Code in a gist.

Three DIY attempts could only read our Paradox alarm. The IP150 brought arm/disarm to Home Assistant, with a firmware trick to keep it off the cloud.

My electricity provider publishes planned outages as a daily PDF. Home Assistant now reads it, plus a year of announcements vs what reached our house.

Local AI failure detection for my 2020 Ender-3 V2: Obico’s open-source model as a Home Assistant add-on, no cloud and no subscription.

My Roborock S7 in Home Assistant: the map card, an Empty button for the auto-empty dock, and why the cloud map needed a new login every few weeks.

Swapping Frigate’s SSD MobileDet for YOLOv9 on a Coral USB TPU: why 512 was too heavy for the Pi 5, why 320 stayed, and 120 checked detections.

Six Sonoff Zigbee valves, a master valve with a flow meter, two soil probes and a rain forecast gate one 03:00 Home Assistant irrigation run.

The filter and the 200 m roof-coil heater now run on the PV forecast instead of a fixed schedule. Four weeks of numbers from a 13 m³ pool: 104 solar-pump hours for 46 kWh, a 2.8 °C lift in five days, and what a 650 € pool costs to keep for ten summers.

Mitsubishi Ecodan in Home Assistant: MELCloud, then an ESP32 on CN105, then ESPHome. What a winter of counters showed and the automations they drive.

A Sofia hail storm dented cars and flooded ground floors. Now a script decodes RainViewer radar into hail and lightning ETAs, pushed from Home Assistant.

Tesla Model 3 dead overnight with a false “High Voltage Fuse A Blown” alert – reconstructed to the second with Home Assistant, TeslaMate and BLE.

Home Assistant dashboard on Tesla’s screen. Convenient.

Our heat pump spent 103 minutes defrosting today, with two more hours to go. Not ideal, but such days are rare. It's foggy outside, with temperatures around freezing.

Impressive Frigate performance optimization using Gemini. My Raspberry Pi 5 + Coral TPU setup handling 8 cameras has seen a 38% drop in CPU usage, despite increasing the detection frame rate from 4 to 5. Gemini made several smart suggestions, including generating a shell script to ffprobe camera streams and determine their characteristics, splitting and…

Our Mitsubishi Ecodan heat pump’s COP vs outside temperature:

New in Home Assistant 2025.8: AI Tasks. My outdoor cameras now scan the lawn for obstacles before activating irrigation sprinklers. See how they spotted a beanbag left on the lawn and skipped the irrigation cycle. Pretty neat

Replaced 5 of my old mechanical irrigation timers with Sonoff zigbee ones. Should have done that much earlier. Integration in home assistant was painless.

How does one admit they need help to stop adding Zigbee devices to their network? Asking for a friend..

Interesting new Zigbee soil moisture sensor by Third Realty. Looks well built, capacitive sensing, single AA battery powered. Also measures temperature, integrates in Home Assistant through Z2M

Got some Third Reality ZigBee T&H sensors to sprinkle around the house. Home Assistant integration through z2m is straight forward, looking good so far. Quite big, but run on couple AAAs

Updated our Ecodan FTC6 firmware from 18.01 to 20.01, using these instructions https://drive.google.com/drive/folders/18RT9mcwQj4Ro-d09x-T1mGcMWAl2tR2e Can’t notice significant difference so far.

IKEA’s INSPELNING is finally available here, grabbed three to test. Integrated in home assistant, and now monitoring a dishwasher, dryer and a washing machine. Great product
@stefanraschbach My Node-RED Modbus comms flows: https://gist.github.com/mharizanov/a7370cb778cc1f185776da8d3180610c

TIL that Frigate can analyze the audio stream of RTSP cameras for certain sound types and expose these as Home Assistant sensors. Configured mine to detect barking, yelling, alarms, etc and will create automations based on these https://docs.frigate.video/configuration/audio_detectors/

Bought the new IKEA TRETAKT zigbee smart plug to test. Design is better than their previous smart plugs, integrates well in Zigbee2MQTT. I only wish it had power monitoring capability

Heat pump annual maintenance done, “before” and “after” pump flow rate pictured below. I assume this affected performance significantly. Lesson learned 🙂

Upgraded my Home Assistant to RPI 5 hardware recently mainly, so it better handles cameras in Frigate + Google Coral TPU. I am now monitoring 5 security cams at 10 FPS with ~25%-ish CPU load, the RPI 4 wasn't able to handle half of that without overheating, and 75%-ish CPU load

IKEA’s new zigbee motion sensor, the VALLHORN, finally arrives here. Grabbed couple pcs to test with Zigbee2MQTT in home assistant. No ETA about the PARASOLL and BADRING yet. These seem to expose illuminance as well, interesting

Adding (finally) a logic level converter between our Ecodan ASHP UART port and the ESP32 interface to Home Assistant. Don’t ask why I don’t have it in place to begin with…

My DEV.BG tech talk on making the heat pump, the PV system and Home Assistant work together – slides and video, in Bulgarian.

Zigbee2MQTT time
Да поговорим за интегрирането на термопомпа с фотоволтаична система и Home Assistant. Очаквам ви на: https://dev.bg/event/intelligent-synergy-heat-pump-pv-home-assistant/