Welcome to Powerwall-Dashboard Discussions! #13
Replies: 9 comments 8 replies
-
I am considering adding a graph to the Dashboard to chart frequency metrics (and drift) over time (e.g. 60Hz/50Hz) as well as house voltages. Would this be helpful? Going Off-GridI decided to test the behavior of the system in manual off-grid (Island mode) for an extended period of time. Below is a graph showing the frequency changes that occured when going off-Grid (Island mode). As we can see, it resulted in a drop in Powerwall and House frequency: Here is a graph also shows voltage differences during the same time period: We see the drop in frequence from nominal, 60 Hz to 59.5 Hz during Island (off grid) mode. There was also a significant separation in voltage on the two phases (118V on one leg and 125V on the other). Powerwall ChargedOnce the Powerwall filled up to 75%, I saw the frequency jumped from 59.5 Hz to 60 Hz. As the charge continued, up to 95%, the frequency jump again, this time to 60.5 Hz and I noticed the solar generation started to drop. It seems that it tries to hold the Powerwall battery level at 98%. It seems to alternate between draining the Powerwall battery until it drops below 98% and then ramps up solar generation to charge it back up to 98%: |
Beta Was this translation helpful? Give feedback.
-
Very cool! I need to try this out. |
Beta Was this translation helpful? Give feedback.
-
I added this to the default dashboard.json setup: This requires InfluxDB updates to downsample the frequency and voltage data for long term display: # make sure you have a good backup first
# to get new influxdb.sql dashboard.json and telegraf.conf files
git pull
# add downsample
docker exec -it influxdb influx -import -path=/var/lib/influxdb/influxdb.sql
# update telegraf to pull freq and voltage data
docker-compose -f powerwall.yml up -d |
Beta Was this translation helpful? Give feedback.
-
I have a pair of Powerwall 2's, but not the + version, and when I tried to implement the latest changes I didn't get any new data. Since I don't have the strings data I commented that line out of the telegraf.conf and ignored the related database queries for strings. For the frequency and voltage data, I see "http://pypowerwall:8675/freq" in the Telegraf conf. When I try to run that in a browser, I get a return of "ERROR!". I see in the docs however that there is a URL for http://pypowerwall:8675/vitals. That does return some data in what looks like JSON format. I tried using that URL in the telegraf.conf but it made a mess of my data, creating columns (or are they field keys? I'm not proficient with InfluxDB yet) for each of the nodes of the JSON, but they don't seem to be the right fields based on what I see in the dashboard.json. I'm going to try to drop the retention policy and see if that cleans up the database. So is the /freq URL and the extra data for Powerwall+ only? |
Beta Was this translation helpful? Give feedback.
-
That was it. I'm not sure why it didn't update when I did a git pull, but I just recreated it with the 'pull latest image' option using Portainer and it is now on 0.4.0 t5. Thanks! My setup is a bit customized so I have to either pull the latest changes into my config files manually, or edit the newly released files each time to get it set up right. My containers and hosts have different names and use some alternate ports because I already have other InfluxDB and Telegraf hosts running, and I'm using an existing Grafana container for the graphs. It looks like the extra columns (tags? keys? Influx confuses me) from pulling /vitals into the DB are gone from the latest shard, so I guess no harm done. |
Beta Was this translation helpful? Give feedback.
-
That's great news @youzer-name ! Thanks for the confirmation and insight. Yes, unless you created downsampling I have been thinking about the best way to offer up an easier upgrade path for anyone wanting to get the latest dashboard and features. I haven't considered the custom port config that you mention but that may be a popular setup that could be accomodated. If we update the setup.sh to prompt for those ports and write it to a state file, it could be reused in an 'upgrade.sh' script to pull latest. Would that be a worthwhile investment or do you think most people would manually upgrade anyway? |
Beta Was this translation helpful? Give feedback.
-
That would definitely be useful to me, and I'm probably not the only one running multiple databases or telegraf instances. I'd need the hostname, container name, and ports to be configurable either in the setup.sh or using a .env file where the values could be set. |
Beta Was this translation helpful? Give feedback.
-
I got my docker instance all updated with the latest release, and the new Dashboard with freq support. |
Beta Was this translation helpful? Give feedback.
-
Current Solar Generation - 27 Mar 2022: |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome Tesla Energy and Powerwall Enthusiast!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
Beta Was this translation helpful? Give feedback.
All reactions