cernoch / venus-server

See https://github.com/victronenergy/venus-docker-grafana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

venus-docker-grafana-images

See https://github.com/victronenergy/venus-docker-grafana for usage and a lot of other information.

This repo has two docker images:

  • Grafana, the Grafana Dashboard, code in /Grafana; very minimal
  • Server, the dashboard as well as data-transmitter, both written in nodejs.

Server

The entry point for docker is in /server/docker/Dockerfile, which first installs the venus-docker-grafana-server, a nodejs package, by downloading it from www.npmjs.com (!).

Thereafter it starts it, by starting venus-server.

To learn more, read there.

Functions of the Server

  • Dashboard, running at 0.0.0.0:8088
  • API, also used by a JSON panel in Grafana, at 0.0.0.0:8088/grafana-api
  • data-transmitter

Some info to help trouble shooting

The log of venus-server looks like this when its running ok:

[info] [influxdb] Attempting connection to v-7c242b35567af6a044fcaae432a98bb7f25cdf68-influxdb:8086/venus
[info] [vrm] Getting installations
[info] [venus-server] running at 0.0.0.0:8088
[info] [influxdb] Connected
[info] [vrm] Installations Retrieved
[info] [influxdb] Set retention policy to 30d
[info] [loader] connecting to mqtt95.victronenergy.com:8883
[info] [vrm] Connected
[info] [loader] connected to mqtt95.victronenergy.com
[info] [loader] Subscribing to portalId c0847dc9a3a4

About

See https://github.com/victronenergy/venus-docker-grafana

License:MIT License


Languages

Language:JavaScript 56.4%Language:SCSS 40.8%Language:Shell 1.1%Language:HTML 0.9%Language:CSS 0.4%Language:Dockerfile 0.4%