A home monitoring solution for your MUST (or other modus-compatible) home inverter.
How to use:
- Prepare a raspberry PI 4 (or any other single-board computer)
- Connect a USB-B cable to your Inverter USB port
- Go root (
sudo su
) - Install docker & docker-compose on it
curl -fsSL https://get.docker.com -o get-docker.sh chmod +x get-docker.sh ./get-docker.sh pip3 install docker-compose
- Clone this repo
git clone https://github.com/desertkun/home-inverter-grafana-monitor.git cd home-inverter-grafana-monitor
- Change
INVERTER_MODEL
on the compose file according to your model. - Go into the repo folder and do
docker-compose up -d
- Give it 20m to install everything and boot
- Open
http://<rasperry-ip>:3000
and login withadmin/admin
- You should be redirected to an empty list of dashboards. Click New -> Import
- Select this file
- MUST PV1800
must-pv1800
- MUST EP3000
must-ep3000
- MUST PH18-5248
must-ph18-5248
- Figure out the MODBUS device ID of your model, and the BAUD rate.
- Look up the datasheet for register IDS that correspond to voltages etc, as specified in monitor.py (see offsets, e.g. 25200 + register ids)
- Use help/modbus.py script to figure out the register values as they work for you
help/modbus.py <device id> <baud rate> <register from> <register to> # eg, pv1800 help/modbus.py 4 19200 25200 25275 # ep3000 help/modbus.py 10 9600 30000 30025
- Modify monitor.py to support your
INVERTER_MODEL
, deploy as usual. ChangeINVERTER_MODEL
in the compose file. - Open a Pul Request so others can benefit from your work.
- Create a bot on Telegram using https://t.me/BotFather
- Create a new group with only you and that bot
- Copy the group Id
- Open http://:3000/alerting/notifications
- Select telegram as type, fill in token and group id, save the contact point. Select Notification policies, Select Default, click Edit, change contact point to Telegram
- Edit e.g. the Input AC Panel: click Alerts -> Create Alert
- Change Threshold to BELOW 100.
- Click SAVE on the Dashboard