Vitals All Working But One (No Data) #625
Unanswered
wiltocking
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Thanks @wiltocking - I'm wondering where the issue could be. Basically the data flows: Powerwall <- pyPowerwall <- Telegraph -> Influxdb <- Grafana My guess is that it is an issue with Influxdb not creating the CQs. I'm not sure why. But just to check, look at the logs to see if you see anything odd: # Use ^C to cancel log output
docker logs pypowerwall -f
docker logs telegraf -f
docker logs influxdb -f
docker logs grafana -f The string data comes from this: http://localhost:8675/strings The influxdb CQ that stores this for Grafana and long term storage: CREATE CONTINUOUS QUERY cq_inverters ON powerwall
BEGIN
SELECT
mean(Inverter1) AS Inverter1,
mean(Inverter2) AS Inverter2,
mean(Inverter3) AS Inverter3,
mean(Inverter4) AS Inverter4
INTO powerwall.strings.:MEASUREMENT
FROM (
SELECT
A_Power + B_Power + C_Power + D_Power + E_Power + F_Power AS Inverter1,
A1_Power + B1_Power + C1_Power + D1_Power + E1_Power + F1_Power AS Inverter2,
A2_Power + B2_Power + C2_Power + D2_Power + E2_Power + F2_Power AS Inverter3,
A3_Power + B3_Power + C3_Power + D3_Power + E3_Power + F3_Power AS Inverter4
FROM raw.http
)
GROUP BY time(1m), month, year
FILL(linear)
END
CREATE CONTINUOUS QUERY cq_inverters1 ON powerwall
BEGIN
SELECT
mean(Inverter5) AS Inverter5,
mean(Inverter6) AS Inverter6
INTO powerwall.strings.:MEASUREMENT
FROM (
SELECT
A4_Power + B4_Power + C4_Power + D4_Power + E4_Power + F4_Power AS Inverter5,
A5_Power + B5_Power + C5_Power + D5_Power + E5_Power + F5_Power AS Inverter6
FROM raw.http
)
GROUP BY time(1m), month, year
FILL(linear)
END The dashboard.json is set to display these InterverX values (you can select Edit on the panel to see this): ![]() |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently my Pi4 crashed and had to do a clean install. Got everything back up and running but one spot in the Dashboard doesn't populate "Inverter Power", I've rerun setup.sh a couple of times, reloaded the json file, and start/stop pypowerwall but nothing seems to bring it back. Any ideas why just one vital would be missing? Had it before the crash with Powerwall+
Checking pypowerwall
Checking telegraf
Checking influxdb
Checking grafana
Checking weather411
Beta Was this translation helpful? Give feedback.
All reactions