Hi everyone,
I wanted to share a small custom integration I built for Home Assistant and LaMetric.
It creates a JSON feed for LaMetric’s My Data DIY app directly from Home Assistant entities, so you can configure the content in Home Assistant instead of maintaining separate scripts.
The idea is pretty simple:
you select a few entities, define how they should be shown on the LaMetric, and the integration writes the feed file for you.
Right now it supports:
- up to 8 rotating frames per feed
- per-frame icon, duration, prefix and suffix
- formats for
power,percent,energy,rawvalues andtime - a dedicated current-time option for clock frames
- automatic refresh when entity states change
- automatic minute refresh for time frames
- output as a static JSON file inside Home Assistant’s
local/wwwarea
I originally built it because I wanted an easy way to show a few values from my own setup on the LaMetric, like solar power, battery level and some energy-related stats, without keeping a custom script around.
This makes it easy to display things like:
- solar power
- battery level
- EV status
- imported or exported energy
- a clock frame
- any other sensor value from Home Assistant
The repository is here:
https://github.com/sgoelz/ha-lametric-mydata-diy
It can be added via HACS as a custom repository.
If anyone here is using a LaMetric with Home Assistant, feel free to try it out. Feedback, ideas or reports from other setups would definitely help.