mclaassen/p1mon
P1 monitor/P1monitor container version based on ZTATZ smart energy meter monitoring software
50K+
This is a summarised description for the container version of P1 Monitor. For a detailed description visit: check P1-Monitor docker container for smart meters
Docker container based on the P1Monitor built by 'Security Brother' (https://www.ztatz.nl/). When using with below docker-compose script the container will be persistent at rebooting your server. Data will be saved outside the container and will be maintained when updating. Not all functionality is available but for most monitoring options it is functioning fine. Just connect your P1 port to a free port on your computer and modify accordingly. This docker image allows you to run the P1 Monitor software on a 'normal' Linux server as well as on Pi based OS.
Create a docker-compose.yml file as below and start using docker compose up -d.
The volumes section ensures data is persistent so at stopping, starting, recreating the container data is preserved. docker-compose also ensures your container is restarted in case of a server reboot.
services:
p1monitor:
hostname: p1mon
image: mclaassen/p1mon
ports:
- 80:80
volumes:
- ./alldata/data:/p1mon/data
- ./alldata/usbdisk:/p1mon/mnt/usb
- ./alldata/mnt/ramdisk:/p1mon/mnt/ramdisk
tmpfs:
- /run
- /tmp
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
restart: unless-stopped
docker pull mclaassen/p1mon