-
Notifications
You must be signed in to change notification settings - Fork 64
Replies: 1 comment · 7 replies
-
never mind... had a dirty screen and thought it was kWh instead it was Wh on the from grid part... |
Beta Was this translation helpful? Give feedback.
All reactions
-
Are you saying you want to host 3 separate dashboard stacks (one for each home) on the same server? If so, I think there are some options:
The issue with the above is that the data will be in different grafana dashboards. Combining them into one dashboard is possible but very complex. You can see some attempts to figure that out here: #62 |
Beta Was this translation helpful? Give feedback.
All reactions
-
instead of a separate vm's is it possible to create a new dashboard on the 1st instance? for example, my tesla gateway is in the span vlan at ip address 10.42.1.42 and my sister's gateway is ip 192.168.45.152 is it impossible to add this 2nd gateway without merging them as they did in #62? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes, of course, anything is possible! 😁 The complication is related to the namespace overlap and what you would have to rewrite/reconfigure or duplicate. I could be missing something, but here is what I'm thinking you could try:
What else am I missing? I'm sure I am. But maybe this gives you a starting point to try. If you decide to work on this, let us know how it goes! 🙏 |
Beta Was this translation helpful? Give feedback.
All reactions
-
ok going to give it a try used powerwallMR for the 2nd gateway
for powerwallMR.yml I remove the grafana part at the bottom?
do the dependencies need to have the new name? telegraf config
thanks Jason |
Beta Was this translation helpful? Give feedback.
All reactions
-
I suggest you keep just one powerwall.yml file and include both pypowerwall instances. Also for port, you will keep the target port the same (8675) but will map the published port to 9675. I would need to do some research to see how best to set up telegraf for both DBs, but you would reference the new pypowerwall as http://pypowerwallmr:9675 (based on the powerwall.yml below). version: "3.5"
services:
influxdb:
image: influxdb:1.8
container_name: influxdb
hostname: influxdb
restart: always
volumes:
- type: bind
source: ./influxdb.conf
target: /etc/influxdb/influxdb.conf
read_only: true
- type: bind
source: ./influxdb
target: /var/lib/influxdb
ports:
- target: 8086
published: 8086
mode: host
pypowerwall:
image: jasonacox/pypowerwall:0.6.2t26
container_name: pypowerwall
hostname: pypowerwall
restart: always
user: "1000:1000"
ports:
- target: 8675
published: 8675
mode: host
env_file:
- pypowerwall.env
pypowerwallmr:
image: jasonacox/pypowerwall:0.6.2t26
container_name: pypowerwall
hostname: pypowerwall
restart: always
user: "1000:1000"
ports:
- target: 8675
published: 9675
mode: host
env_file:
- pypowerwallMR.env
telegraf:
image: telegraf:1.26.1
container_name: telegraf
hostname: telegraf
restart: always
user: "1000:1000"
command: [
"telegraf",
"--config",
"/etc/telegraf/telegraf.conf",
"--config-directory",
"/etc/telegraf/telegraf.d"
]
volumes:
- type: bind
source: ./telegraf.conf
target: /etc/telegraf/telegraf.conf
read_only: true
- type: bind
source: ./telegraf.local
target: /etc/telegraf/telegraf.d/local.conf
read_only: true
depends_on:
- influxdb
- pypowerwall
- pypowerwallmr
grafana:
image: grafana/grafana:9.1.2-ubuntu
container_name: grafana
hostname: grafana
restart: always
user: "${GRAFANAUSER}"
volumes:
- type: bind
source: ./grafana
target: /var/lib/grafana
ports:
- target: 9000
published: 9000
mode: host
env_file:
- grafana.env
depends_on:
- influxdb
weather411:
image: jasonacox/weather411:0.2.1
container_name: weather411
hostname: weather411
restart: always
user: "1000:1000"
volumes:
- type: bind
source: ./weather
target: /var/lib/weather
read_only: true
ports:
- target: 8676
published: 8676
mode: host
environment:
- WEATHERCONF=/var/lib/weather/weather411.conf
depends_on:
- influxdb
|
Beta Was this translation helpful? Give feedback.
-
Good evening, just wanted to say love this setup thank you so much - the stat buffet is 🤲 amazing!
noticed the grid usage is off though. between span and tesla my grid usage for today is
tesla shows 0 from the grid and 4.1 to the grid
span shows .5 from the grid and 4.1 to the grid
the power meter panel shows 304.6 from the grid
Beta Was this translation helpful? Give feedback.
All reactions