grafana Image

grafana

Read out MPPT or Ve Smart Network State/Mode for Grafana
I wonder how to read out the VE.SmartNetwork state for the devices like the MPPT, Shunt and so on... for Grafana.

All i got is : No Data when querying: 
SELECT last("value") FROM "solarcharger/NetworkMode" WHERE ("instanceNumber" = '289') AND $timeFilter GROUP BY time($__interval) fill(previous)

Doesnt matter if i use an explicit instance or based on the whole name. Or even when using the "solarcharger/NetworkState"

Thanks for your help :)

k0s asked
matt1309 commented ·

1 Answer

Drei MPPT 250/100 von Cerbo GX getrennt aaf Grafana zeigen

Ich beschäftige mich gerade mit InfluxDB und Grafana um den Cerbo GX auszulesen.
Ich betreibe drei 250/100 MPPT Victron Laderegler zusammen mit einer Multiplus am Cerbo GX.
Ich sehe die gesammte Solarleistung problemlos auf Grafana. Doch ich möchte die drei Regler einzeln sehen. Ist das möglich? Und wenn ja, wie?

[image]

Der Cerbo GX sieht ja drei MPPT 250/100. Siehe Bild

[image]

Aktueller Stand der Grafana Anzeige. Leider erst mit Gesammtleistung der drei MPPT250/100
Ich verwende aktuell: system/Dc/Pv/Power

Was ich auch nicht finde ist der Temperatursensor. LM335. Den für die Batterie sehe ich.

Danke für Unterstützung.

Thomas Rigert asked
k0s answered ·

1 Answer

Feedback wanted: Grafana dashboard with InfluxDB and Raspberry Pi

Project Overview

Ve.Direct.InfluxDB.Collector is a dedicated data collector that bridges the gap between Victron SmartSolar MPPT devices and InfluxDB. The primary aim of this project is to collect, process, and store data from Victron SmartSolar MPPT devices using the Ve.Direct protocol into an InfluxDB database. The resulting dataset can then be visualized using a Grafana dashboard, providing users with a detailed, real-time overview of their solar energy system's performance.

Features

  1. Data Collection: The collector efficiently gathers data from Victron SmartSolar MPPT devices using the Ve.Direct protocol.
  2. Data Processing: The collected data is processed and formatted to be suitable for storage in a time-series database like InfluxDB.
  3. Data Storage: The processed data is stored in InfluxDB, which supports effective querying and data manipulation.
  4. Data Visualization: The stored data can be visualized using Grafana, allowing users to view and analyze their system's performance in real-time.
  5. Compatibility: The collector is designed to run on a Raspberry Pi with .NET or MONO, or any PC that operates 24/7 and has a serial port. A Ve.Direct cable is also required for connection.

Requirements

To run the Ve.Direct.InfluxDB.Collector, you will need:

  • Grafana and InfluxDB docker images
  • A Victron SmartSolar charge controller
  • A Raspberry Pi or a 24/7 running PC with .NET or MONO and a serial port
  • A Ve.Direct cable for connecting the Victron device to the Raspberry Pi or PC

Future Plans

I am always working on improving Ve.Direct.InfluxDB.Collector and adding more features, so I welcome contributions and suggestions from the community to improve the functionality of this tool and make it even more useful for all users.


https://github.com/DocBrown101/Ve.Direct.InfluxDB.Collector

docbrown asked
sunnyb commented ·

0 Answers

No data on Venus OS on Raspberry Pi 4

Hi,

Hardware: Raspberry Pi, battery, and SmartSolar charge controller.I have a Raspberry Pi 4B and a Raspi CM4 with an I/O board.

Installation:For testing purposes, I have only connected a battery to a SmartSolar charge controller MPPT 100/30, which is in turn connected to the Raspberry Pi via VE.direct to USB.

Goal:My goal is to obtain metrics from the solar charge controller using a Python script and periodically send them to a Grafana server.

Questions:

  1. Is there any project that provides a step-by-step guide for achieving my goal?
  2. I have tried testing Venus OS by installing its image from https://updates.victronenergy.com/feeds/venus/candidate/images/raspberrypi4/. However, when I access venus.local on my PC, it shows the connection graphically but does not display any data from the battery. How can I troubleshoot this issue?

soroush asked
soroush commented ·

0 Answers

Need help with Grafana on pi 4 -

Hi

I'm trying to setup Grafana on Raspberry Pi 4 but keep having different issues. Based on the GitHub link, when composing the file I get the following output;

Basically the issue is the compose is seeing it as non-windows PC I believe?

 ! server The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested   0.0s 
 ! graphing The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 0.0s 

Can anyone help. Thanks.


pi@raspberrypi:~/victron $ docker compose up -d
[+] Running 43/26
 ✔ graphing 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                   95.5s 
 ✔ server 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                    336.7s 
 ✔ upnp 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                         334.8s 
 ✔ influxdb 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                      172.8s 
                                                                                                                                                                                                                        
                                                                                                                   
[+] Running 6/8
 ✔ Network victron_default                                                                                                                             Created0.8s                                                               0.1s 
 ✔ Volume "victron_grafana-storage"                                                                                                                    Created0.1s                                                               0.0s 
 ✔ Volume "victron_config-storage"                                                                                                                     Created0.0s                                                               4.8s 
 ✔ Volume "victron_influxdb-storage"                                                                                                                   Created0.0s                                                               4.8s 
[+] Running 6/9ctron-influxdb-1                                                                                     ✔ Network victron_default                                                                                                                             Created0.8s                                                                     ✔ Volume "victron_grafana-storage"                                                                                                                    Created0.1s                                                                     ✔ Volume "victron_config-storage"                                                                                                                     Created0.0s                                                                     ✔ Volume "victron_influxdb-storage"                                                                                                                   Created0.0s amd64) does not match the detected host platform (linux/arm/v7) and[+] Running 6/9ctron-influxdb-1                                                                                     ✔ Network victron_default                                                                                                                               Created0.8s                                                                   ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s                                                                   ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s                                                                   ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s d64) does not match the detected host platform (linux/arm/v7) and ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.1s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.2s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.3s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.4s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.5s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.6s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.7s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting5.9s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.0s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.1s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.2s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.3s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.4s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.5s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.6s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.7s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting6.9s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.0s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.1s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.2s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.3s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.4s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.5s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.6s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 6/10                      Starting7.7s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting7.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s  
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting7.9s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.0s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.1s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.2s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.3s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.4s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.5s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.6s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.7s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting8.9s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.0s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.1s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.2s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.3s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.4s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.5s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 7/10                      Starting9.6s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 8/10                      Starting9.7s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s  
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ⠿ Container victron-influxdb-1                                                                                    [+] Running 9/10                      Starting9.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s 
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ✔ Container victron-influxdb-1                                                                                    [+] Running 9/10                      Started9.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s  
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s 
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ✔ Container victron-influxdb-1                                                                                    [+] Running 10/10                     Started9.8s 
 ✔ Network victron_default                                                                                                                               Created0.8s s 
 ✔ Volume "victron_grafana-storage"                                                                                                                      Created0.1s 
 ✔ Volume "victron_config-storage"                                                                                                                       Created0.0s 
 ✔ Volume "victron_influxdb-storage"                                                                                                                     Created0.0s 
 ✔ Container victron-influxdb-1                                                                                                                          Started9.8s 
 ✔ Container victron-server-1                                                                                                                            Started10.0s 
 ✔ Container victron-upnp-1                                                                                                                              Started7.9s 
 ✔ Container victron-graphing-1                                                                                                                          Started9.7s 
 ! server The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested   0.0s 
 ! graphing The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 0.0s 

h2009 asked
kevgermany answered ·

2 Answers

Grafana dashboard - Ideas

Hi.
I have finally got my VICTRON-Grafana dashboard running :-)

The devices in use are:
Venus GX
Quattro 48/8000
2x SmartSolar Charger MPPT 150/85 &
BYD Battery & BMS

I am using a Raspberry Pi4 running DietPi, InfluxDB, Telegraph plugin and Grafana Server.

I also installed the following plugins on grafana:

SUN and Moon (data source)

and

Carpet Plot


It is still work in progress but I am quite happy with outcome so far.
I have created a "Overview" dashboard where basically everything should be "green" - when OK.
So a quick look should tell me that everything is OK.

[image]

There are more detailed dashboards for other things like the inverter:

[image]

or Battery

[image]

or charger - current data & history

[image]


I borrowed some ideas from other dashboards and added some of my ideas.

This is just to give you some additional ideas for the layouts

Cheers


juergen pflug asked
thiemoh answered ·

6 Answers

Grafana problem - 3 phase data

Hi,

I have a problem how to display data from 3 phase system ? ac loads or pv production ? The formula NumberOfPhases dosn't work or I 'm doing some mistake, anyone can help with that ?


[image]

Michał Kata asked
Michał Kata commented ·

2 Answers

Grafana Docker

Hi all,

I got the docker containers up and running thanks to the following posts:

Excellent Post on how to install on Raspberry Pi

To get it to work on a 64Bit Image of Raspberry PI 4 I had to use the following image:

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


I noticed it still run's Grafana version:

Grafana v6.1.6


I would like to upgrade the Grafana version to latest so I can use the newer features and plugins.

Questions:

1. Has anyone done an in place upgrade of Grafana in the docker image? I have tried using the normal Grafana upgrade methods within the docker image but haven't had success.

The normal processes I have used to try upgrade.

Upgrade Grafana wiki

Would be interesting if anyone has done an inplace upgrade and how you did it.

2. I have had a look at all the docker containers available for "victronenergy/venus-docker-server" here: Docker Images

Wasnt sure which one is the latests to use for Raspberry PI (64bit)



myvicrocks asked
hominidae commented ·

2 Answers

dbus Path for Multiple MPPTs

Hi all,

I have two MPPTs 450/200's they each have 4 trackers totaling 8 trackers.

Questions:

1. Based on the documentation below you should be able to access the *PV* values for the MPPT through solarcharger/PV/x+1. However which ever value(s) I look at it seems to be reporting (this is where I need clarification) either:

1. Combined values for both e.g. if I use solarcharger/Pv/0/P - Don't think its combined e.g. Production is 15KW of PV and on all 4 trackers I can see its producing 50% of that meaning the other 4 should be doing the other 50% of the 15KW

OR

2. It is not listing the second MPPT in the values example of what I can see:

solarcharger/Pv list the following for me:

[image]


If I check the influxdb structure it is also confirming that its only seeing one of the MPPT's and 4 of the 8 trackers:

[image]

I understand its storing it as an array so 0 = 1 tracker and so on. However it does not show me MPPT2 that has another 4 trackers on it. Am I missing something as below documentation seems to indicate I should be seeing all trackers.

Also if I use solarcharger/NrOfTrackers it is only reporting 4 not 8 (as my system is configured)

[image]


2. Is there a way to get the MPPT names from the InfluxDB? So I can relate the trackers to the names?

This is the documentation I am following:

dbus · victronenergy/venus Wiki · GitHub specifically at

Number of trackers:
/NrOfTrackers: Number of trackers, usually 1 for all common MPPTs, and 2 or 4 for MPPT RS.

PV Array voltages and currents:
/Pv/V             <- PV array voltage, path exists only for single tracker product (all common MPPTs)
/Pv/0/V           <- PV array voltage from 1st tracker
/Pv/x/V           <- PV array voltage from tracker x+1; today's max number of trackers in a single Victron product is 4.
/Pv/0/P           <- PV array power (Watts) from 1st tracker
/Pv/x/P           <- PV array power from tracker no. x+1. 
/Yield/Power      <- Total PV power (Watts).

  Two examples:
  1) a solar charger with one tracker has 2 paths:
  /Pv/V
  /Yield/Power

  2) a solar charger with two trackers has 5 paths:
  /Pv/0/V
  /Pv/0/P
  /Pv/1/V
  /Pv/1/P
  /Yield Power


myvicrocks asked
myvicrocks commented ·

2 Answers

Show three MPPT 250/100 from Cerbo GX separately on Grafana
I'm currently working with InfluxDB and Grafana to read the Cerbo GX.
I run three 250/100 MPPT Victron charge controllers together with a Multiplus on the Cerbo GX.
I can easily see the total solar power on Grafana. But I would like to see the three controls individually. Is this possible? And if so, how?

[image]

the Cerbo GX sees three MPPT 250/100. See image

[image]

Current status of the Grafana display. Unfortunately only with the combined performance of the three MPPT250/100 I'm currently using: system/Dc/Pv/Power What I can't find is the temp sensor. LM335. I see the one for the battery.

I have already asked this question in the German forum. Unfortunately I don't get an answer there. Now I'm trying here. Sorry for the bad translation.

thanks for support

Thomas Rigert asked
Thomas Rigert answered ·

2 Answers

Victron BLE Dashboard using Pi/Signalk/Grafana

I read some announcements here about Victron BLE protocol being opened up:

https://community.victronenergy.com/questions/187303/victron-bluetooth-advertising-protocol.html


https://community.victronenergy.com/questions/137214/victronconnect-see-readings-immediately-on-the-dev.html


So as I have the following devices in my van:

Victron Smart Orion DC-DC Charger

Victron Smart MPPT Solar

Victron Smart Shunt


... and as there is no support in Venus OS for Victron BLE as yet, still need cables I believe, I decided to fire up my pi 4 and touchscreen and installed:

signalk

influxdb

grafana


Next I installed the plugin for signalk victron ble

There is some great work being done here to read in the values from the victron devices over BLE, no cables needed - nice!!

https://github.com/stefanor/signalk-victron-ble


It is based upon following library which you will need install to be able get the mac addresses and keys you need for the Victron BLE devices.

https://github.com/keshavdv/victron-ble



It is still work in progress and had to fix some issues with my local copy of the code, plus I added some extra fields for Solar Power and Yield, I have not followed any Signalk data tree spec, but the fields are still imported and sent to Grafana via InfluxDB - so all good from my point of view :

Add dcdc converter #1

https://github.com/stefanor/signalk-victron-ble/pull/1

Issue : DcDc Off Reason

https://github.com/keshavdv/victron-ble/issues/20


I am sure these will all be addressed soon, but here is a preview of what my Grafana dashboard looks like in my van. I am super pleased, did I mention no cables required it is all over BLE and the other advantage is it can support Orion DC charges also so I can show charge status and Van Starter Battery voltage.


[image]


Steve



steveuk71 asked
Stefanie (Victron Energy Staff) commented ·

0 Answers

Feature Request: Monitor MultiplusII Temperatures and Fan?

There are many values to monitor over MQTT, but I can not find any reading of the Multiplus II Temperatures?


Have I missed this or is there maybe a reason why the temperature can not be monitored?
How to monitor if the Fan is healthy?

solarlion asked
Mike Dorsett answered ·

3 Answers

MQTT or Influx DB schema

Hi all,

I have searched but clearly not well enough, is there a wiki or documentation that explains the Influx DB schema (what each measurement means) or what each topic in MQTT stores?

Trying to understand the data first. Most the fields are prety self-explanatory by their name but want to make sure when I am building dashboards I am actually using the right value.

For example on the default "AC Loads" panel i see two default queries:

[image]

myvicrocks asked
myvicrocks commented ·

1 Answer

Grafana CCGX Win10 - no data collection

I have installed Grafana/Docker on my Windows 10 laptop using the detailed installation instructions. I added the local IP address of my CCGX device as shown in Option B of the instructions. It all seems to work as described except I have no data being collected in the Home/Dashboard screen . I can access and control my CCGX via my browser at the inputted address.

I enabled the two MQTT services on the CCGX.

Is there another setting on the CCGX that enabled data output?

mresman asked
tinyvan answered ·

2 Answers

60 Posts
41 Users
4 Followers

Topic Experts

nickdb
123 Points
h2009
4 Points