Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 734 Bytes

README.md

File metadata and controls

28 lines (25 loc) · 734 Bytes

pyHPSUmqtt-docker

Docker container for pyHPSU with MQTT daemon, available on Docker Hub at https://hub.docker.com/r/nerdix/pyhpsu_mqtt

$ sudo docker volume create pyHPSU
$ docker run \
        --name pyHPSU \
        -v pyHPSU/:/etc/pyHPSU \
        -d \
        -it \
        --network host \
	      --restart=on-failure:5 \
        nerdix/pyhpsu_mqtt:arm64v8
        #OR nerdix/pyhpsu_mqtt:arm32v7
	#OR nerdix/pyhpsu_mqtt:amd64

HOST preparation

Raspberry Pi

Working adapter: https://www.waveshare.com/rs485-can-hat.htm

adjust /boot/config.txt:

dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000
# Might not be needed any longer
# dtoverlay=spi-bcm2835-overlay