question

km6slf avatar image
km6slf asked

Docker Venus/Grafana on Raspberry Pi 4 installed, but not reading serial from /dev/ttyUSB0

Good morning,

I've cruised this and other forums for resources but can't seem to get un-stuck. When Venus OS is loaded to the Pi it works fine, but I'm hoping to use the Pi for more than just that purpose, so I'm trying to use the docker container with Grafana.

The containers install fine, but no measurements are picked up:

1673978518032.png


When I run cat /dev/ttyUSB0 I get this result, so it looks like the MPPT 75|15 is outputting as it should:

1673978597623.png

I've tried a few options but none seem to achieve the desired effect:

1673978645297.png


The log isn't reporting any errors, but when debug us turned on, it looks like its rapidly connecting and closing connections through the USB cable.

1673978725016.png

Any advice would be greatly appreciated.


Here's my .yaml file:

version: '3.4'

services:

server:

image: "victronenergy/venus-docker-server:armhf-latest"

ports:

- "8088:8088"

volumes:

- "config-storage:/config"

restart: always

upnp:

image: "victronenergy/venus-docker-upnp:armhf-latest"

network_mode: host

restart: always

influxdb:

image: "influxdb:1.7"

ports:

- "8086:8086"

volumes:

- "influxdb-storage:/var/lib/influxdb"

environment:

- INFLUXDB_HTTP_LOG_ENABLED=false

restart: always

graphing:

image: "victronenergy/venus-docker-grafana:armhf-2.0.0"

volumes:

- "grafana-storage:/var/lib/grafana"

ports:

- "3000:3000"

restart: always

volumes:

influxdb-storage:

grafana-storage:

config-storage:

Venus OSRaspberry Pigrafanadocker
1673978518032.png (35.2 KiB)
1673978597623.png (177.3 KiB)
1673978645297.png (111.2 KiB)
1673978725016.png (183.4 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
bathnm avatar image
bathnm answered ·

It is designed to have an IP address of the Cerbo/VenusOS, and an MQTT broker. The Venus.server, talks with the MQTT broker, pulls data and inserts it into InfluxDB.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.