mr-manuel / venus-os_dbus-enphase-envoy

This Venus OS driver gets the data from the Enphase Envoy-S and displays it as PV Inverter. It works for all phase combinations. Additionally it's possible to post the data to multiple MQTT topics to get more detailed informations/monitoring for the Enphase system and single inverters.
MIT License
15 stars 2 forks source link

no data received #7

Closed svenholman closed 1 year ago

svenholman commented 1 year ago

Hello,

script installed according your install notes. Now I receive this in console;

2023-11-27 14:44:47.433530500 *** starting dbus-enphase-envoy ***
2023-11-27 14:44:51.400052500 ERROR:root:D7 firmware selected
2023-11-27 14:44:51.414963500 INFO:root:step: tokenManager
2023-11-27 14:44:51.416468500 INFO:root:--> token still empty
2023-11-27 14:44:51.419106500 INFO:root:EnphaseToken: Token still valid. Creation date 2023-11-27 07:55:49 UTC
2023-11-27 14:44:52.420219500 INFO:root:step: fetch_handler
2023-11-27 14:44:52.422053500 INFO:root:--> data_production_historic not yet ready
2023-11-27 14:44:52.422477500 INFO:root:step: fetch_production_historic
2023-11-27 14:44:53.424203500 INFO:root:--> data_production_historic not yet ready
2023-11-27 14:44:54.432183500 INFO:root:--> data_production_historic not yet ready
2023-11-27 14:44:55.433401500 INFO:root:--> data_production_historic not yet ready
2023-11-27 14:44:55.852502500 INFO:root:--> fetch_handler() --> fetch_production_historic(): JSON data feched. Wait 3600 seconds for next run
2023-11-27 14:44:55.853228500 INFO:root:step: fetch_devices
2023-11-27 14:44:56.459465500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:44:56.476125500 INFO:root:step: fetch_meter_stream
2023-11-27 14:44:57.461491500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:44:58.463566500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:44:59.465614500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:00.468033500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:01.470043500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:01.772627500 ERROR:root:--> fetch_meter_stream(): ReadTimeout occurred: HTTPSConnectionPool(host='192.168.178.105', port=443): Read timed out. (read timeout=5)
2023-11-27 14:45:02.472533500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:03.474531500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:04.476063500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:05.478174500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:06.480369500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:07.482503500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:08.093709500 ERROR:root:--> fetch_meter_stream(): ReadTimeout occurred: HTTPSConnectionPool(host='192.168.178.105', port=443): Read timed out. (read timeout=5)
2023-11-27 14:45:08.484849500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:09.486853500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 14:45:09.514240500 WARNING:root:--> fetch_devices(): HTTP request took longer than 5 seconds: 13.64589 seconds
2023-11-27 14:45:09.518317500 INFO:root:--> fetch_handler() --> fetch_devices(): JSON data feched. Wait 3600 seconds for next run
2023-11-27 14:45:09.519082500 INFO:root:step: fetch_inverters
2023-11-27 14:45:09.874449500 INFO:root:--> fetch_handler() --> fetch_inverters(): JSON data feched. Wait 300 seconds for next run

Can you assist? I don't receive data in my Cerbo GX now.

Regards,

mr-manuel commented 1 year ago

What for a Enphase Envoy do you have? Do you have consumption and production CT?

svenholman commented 1 year ago

I have Envoy S-Metered, 3x production CT and 3x consumption CT

mr-manuel commented 1 year ago

Please set the logging to DEBUG and post the log again.

svenholman commented 1 year ago

Hello,

Logging set to DEBUG, see log;

2023-11-27 19:11:47.526061500 *** starting dbus-enphase-envoy ***
2023-11-27 19:11:51.889667500 ERROR:root:D7 firmware selected
2023-11-27 19:11:51.905775500 INFO:root:MQTT client: Connecting to broker 127.0.0.1 on port 1883
2023-11-27 19:11:51.914666500 INFO:root:MQTT client: Connected to MQTT broker!
2023-11-27 19:11:51.916610500 INFO:root:step: tokenManager
2023-11-27 19:11:51.917607500 INFO:root:--> token still empty
2023-11-27 19:11:51.920186500 INFO:root:EnphaseToken: Token still valid. Creation date 2023-11-27 07:55:49 UTC
2023-11-27 19:11:52.921733500 INFO:root:step: fetch_handler
2023-11-27 19:11:52.923508500 INFO:root:--> data_production_historic not yet ready
2023-11-27 19:11:52.928872500 INFO:root:step: fetch_production_historic
2023-11-27 19:11:52.952858500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:11:53.567449500 DEBUG:urllib3.connectionpool:https://192.168.178.105:443 "GET /production.json?details=1 HTTP/1.1" 200 None
2023-11-27 19:11:53.595314500 INFO:root:--> fetch_handler() --> fetch_production_historic(): JSON data feched. Wait 3600 seconds for next run
2023-11-27 19:11:53.596485500 INFO:root:step: fetch_devices
2023-11-27 19:11:53.609966500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:11:53.926785500 INFO:root:step: fetch_meter_stream
2023-11-27 19:11:53.927974500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:11:53.941967500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:11:54.930409500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:11:55.932175500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:11:56.934081500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:11:57.195043500 DEBUG:urllib3.connectionpool:https://192.168.178.105:443 "GET /inventory.json HTTP/1.1" 200 None
2023-11-27 19:11:57.211923500 INFO:root:--> fetch_handler() --> fetch_devices(): JSON data feched. Wait 3600 seconds for next run
2023-11-27 19:11:57.212977500 INFO:root:step: fetch_inverters
2023-11-27 19:11:57.226694500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:11:57.530241500 DEBUG:urllib3.connectionpool:https://192.168.178.105:443 "GET /api/v1/production/inverters HTTP/1.1" 200 3678
2023-11-27 19:11:57.615573500 INFO:root:--> fetch_handler() --> fetch_inverters(): JSON data feched. Wait 300 seconds for next run
2023-11-27 19:11:57.935931500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:11:58.937963500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:11:59.219309500 ERROR:root:--> fetch_meter_stream(): ReadTimeout occurred: HTTPSConnectionPool(host='192.168.178.105', port=443): Read timed out. (read timeout=5)
2023-11-27 19:11:59.940114500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:00.234150500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:12:00.942226500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:01.944474500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:02.946546500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:03.948318500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:04.950214500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:05.517375500 ERROR:root:--> fetch_meter_stream(): ReadTimeout occurred: HTTPSConnectionPool(host='192.168.178.105', port=443): Read timed out. (read timeout=5)
2023-11-27 19:12:05.951698500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:06.549014500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:12:06.953477500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:07.955537500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:08.957576500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:09.959638500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:10.961697500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:11.768740500 ERROR:root:--> fetch_meter_stream(): ReadTimeout occurred: HTTPSConnectionPool(host='192.168.178.105', port=443): Read timed out. (read timeout=5)
2023-11-27 19:12:11.963735500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:12.814374500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:12:12.966137500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:13.968067500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:14.972221500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:15.972324500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:16.973861500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:17.975795500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:18.046889500 ERROR:root:--> fetch_meter_stream(): ReadTimeout occurred: HTTPSConnectionPool(host='192.168.178.105', port=443): Read timed out. (read timeout=5)
2023-11-27 19:12:18.978162500 INFO:root:--> data_meter_stream not yet ready
2023-11-27 19:12:19.064354500 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 192.168.178.105:443
2023-11-27 19:12:19.979572500 INFO:root:--> data_meter_stream not yet ready

Enphase is currently not running? No solar anymore at this moment, but hopefully you can still work with the logfile.

mr-manuel commented 1 year ago

What you get, when you open this URL's in the browser?

https://192.168.178.105/production.json?details=1

https://192.168.178.105/stream/meter (it streams the data, therefore you have to interrupt the download to see the data)

svenholman commented 1 year ago

image

image

mr-manuel commented 1 year ago

You find the token on the GX device under /data/etc/dbus-enphase-envoy/auth_token.json or via MQTT.

svenholman commented 1 year ago

image

after about 20seconds: image

svenholman commented 1 year ago

image

this is the first link now

svenholman commented 1 year ago

image

and this is the second link now

mr-manuel commented 1 year ago

Could you please copy and past the data here? So I can simulate it on my system. Else I have to write down the data from the screenshot.

svenholman commented 1 year ago

Goodmorning, as requested code of first link:

{"production":[{"type":"inverters","activeCount":25,"readingTime":1701151251,"wNow":0,"whLifetime":1158768},{"type":"eim","activeCount":1,"measurementType":"production","readingTime":1701151460,"wNow":0.62,"whLifetime":3559003.082,"varhLeadLifetime":217.216,"varhLagLifetime":1252256.952,"vahLifetime":4482757.657,"rmsCurrent":1.682,"rmsVoltage":674.021,"reactPwr":365.936,"apprntPwr":378.157,"pwrFactor":-0.02,"whToday":9.082,"whLastSevenDays":36073.082,"vahToday":2750.657,"varhLeadToday":0.216,"varhLagToday":2683.952,"lines":[{"wNow":-0.604,"whLifetime":1121603.283,"varhLeadLifetime":0.004,"varhLagLifetime":409548.39,"vahLifetime":1426587.37,"rmsCurrent":0.545,"rmsVoltage":222.841,"reactPwr":115.806,"apprntPwr":121.586,"pwrFactor":-0.06,"whToday":0.283,"whLastSevenDays":10388.283,"vahToday":900.37,"varhLeadToday":0.004,"varhLagToday":860.39},{"wNow":-0.0,"whLifetime":1119308.425,"varhLeadLifetime":171.058,"varhLagLifetime":401736.748,"vahLifetime":1404741.236,"rmsCurrent":0.511,"rmsVoltage":224.053,"reactPwr":114.522,"apprntPwr":114.706,"pwrFactor":0.0,"whToday":0.425,"whLastSevenDays":11007.425,"vahToday":834.236,"varhLeadToday":0.058,"varhLagToday":850.748},{"wNow":1.225,"whLifetime":1318091.374,"varhLeadLifetime":46.153,"varhLagLifetime":440971.814,"vahLifetime":1651429.051,"rmsCurrent":0.626,"rmsVoltage":227.126,"reactPwr":135.607,"apprntPwr":141.865,"pwrFactor":0.0,"whToday":8.374,"whLastSevenDays":14677.374,"vahToday":1016.051,"varhLeadToday":0.153,"varhLagToday":972.814}]}],"consumption":[{"type":"eim","activeCount":1,"measurementType":"total-consumption","readingTime":1701151460,"wNow":588.547,"whLifetime":2890044.215,"varhLeadLifetime":2851124.125,"varhLagLifetime":1260927.885,"vahLifetime":6571892.929,"rmsCurrent":7.096,"rmsVoltage":673.964,"reactPwr":-1205.098,"apprntPwr":4782.447,"pwrFactor":0.12,"whToday":2953.215,"whLastSevenDays":243287.215,"vahToday":7922.929,"varhLeadToday":5773.125,"varhLagToday":2684.885,"lines":[{"wNow":90.916,"whLifetime":329840.173,"varhLeadLifetime":488210.702,"varhLagLifetime":417413.2,"vahLifetime":1524803.145,"rmsCurrent":1.679,"rmsVoltage":222.812,"reactPwr":-234.331,"apprntPwr":374.063,"pwrFactor":0.24,"whToday":729.173,"whLastSevenDays":28111.173,"vahToday":1828.145,"varhLeadToday":772.702,"varhLagToday":860.2},{"wNow":204.847,"whLifetime":1687324.521,"varhLeadLifetime":1273432.741,"varhLagLifetime":401739.133,"vahLifetime":2803760.294,"rmsCurrent":2.749,"rmsVoltage":224.081,"reactPwr":-535.1,"apprntPwr":615.967,"pwrFactor":0.33,"whToday":718.521,"whLastSevenDays":154575.521,"vahToday":3120.294,"varhLeadToday":2704.741,"varhLagToday":851.133},{"wNow":292.784,"whLifetime":872879.521,"varhLeadLifetime":1089480.682,"varhLagLifetime":441775.552,"vahLifetime":2243329.49,"rmsCurrent":2.668,"rmsVoltage":227.071,"reactPwr":-435.668,"apprntPwr":605.897,"pwrFactor":0.48,"whToday":1505.521,"whLastSevenDays":60600.521,"vahToday":2974.49,"varhLeadToday":2295.682,"varhLagToday":973.552}]},{"type":"eim","activeCount":1,"measurementType":"net-consumption","readingTime":1701151460,"wNow":587.927,"whLifetime":2144199.162,"varhLeadLifetime":2850906.909,"varhLagLifetime":8670.933,"vahLifetime":6571892.929,"rmsCurrent":5.414,"rmsVoltage":673.907,"reactPwr":-839.163,"apprntPwr":1206.226,"pwrFactor":0.51,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0,"lines":[{"wNow":91.52,"whLifetime":242857.093,"varhLeadLifetime":488210.698,"varhLagLifetime":7864.81,"vahLifetime":1524803.145,"rmsCurrent":1.134,"rmsVoltage":222.782,"reactPwr":-118.525,"apprntPwr":247.837,"pwrFactor":0.41,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0},{"wNow":204.847,"whLifetime":1320113.553,"varhLeadLifetime":1273261.683,"varhLagLifetime":2.385,"vahLifetime":2803760.294,"rmsCurrent":2.237,"rmsVoltage":224.11,"reactPwr":-420.578,"apprntPwr":497.652,"pwrFactor":0.44,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0},{"wNow":291.56,"whLifetime":581228.516,"varhLeadLifetime":1089434.529,"varhLagLifetime":803.738,"vahLifetime":2243329.49,"rmsCurrent":2.042,"rmsVoltage":227.015,"reactPwr":-300.061,"apprntPwr":460.737,"pwrFactor":0.65,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0}]}],"storage":[{"type":"acb","activeCount":0,"readingTime":0,"wNow":0,"whNow":0,"state":"idle"}]}

svenholman commented 1 year ago

code of second link:

data: {"production":{"ph-a":{"p":-0.729,"q":116.23,"s":121.628,"v":222.873,"i":0.545,"pf":0.0,"f":50.0},"ph-b":{"p":-0.0,"q":112.43,"s":112.609,"v":222.176,"i":0.506,"pf":0.0,"f":50.0},"ph-c":{"p":1.781,"q":135.876,"s":140.876,"v":226.485,"i":0.622,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":59.615,"q":-114.368,"s":226.17,"v":222.702,"i":1.017,"pf":0.26,"f":50.0},"ph-b":{"p":144.75,"q":-405.663,"s":456.571,"v":222.25,"i":2.055,"pf":0.33,"f":50.0},"ph-c":{"p":283.636,"q":-297.963,"s":438.195,"v":226.466,"i":1.944,"pf":0.64,"f":50.0}},"total-consumption":{"ph-a":{"p":58.886,"q":-230.598,"s":348.139,"v":222.788,"i":1.563,"pf":0.17,"f":50.0},"ph-b":{"p":144.75,"q":-518.093,"s":568.952,"v":222.213,"i":2.56,"pf":0.25,"f":50.0},"ph-c":{"p":285.417,"q":-433.839,"s":580.931,"v":226.476,"i":2.565,"pf":0.49,"f":50.0}}}

data: {"production":{"ph-a":{"p":-0.729,"q":116.23,"s":121.628,"v":222.873,"i":0.545,"pf":0.0,"f":50.0},"ph-b":{"p":-0.0,"q":112.43,"s":112.609,"v":222.176,"i":0.506,"pf":0.0,"f":50.0},"ph-c":{"p":1.781,"q":135.876,"s":140.876,"v":226.485,"i":0.622,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":59.615,"q":-114.368,"s":226.17,"v":222.702,"i":1.017,"pf":0.26,"f":50.0},"ph-b":{"p":144.75,"q":-405.663,"s":456.571,"v":222.25,"i":2.055,"pf":0.33,"f":50.0},"ph-c":{"p":283.636,"q":-297.963,"s":438.195,"v":226.466,"i":1.944,"pf":0.64,"f":50.0}},"total-consumption":{"ph-a":{"p":58.886,"q":-230.598,"s":348.139,"v":222.788,"i":1.563,"pf":0.17,"f":50.0},"ph-b":{"p":144.75,"q":-518.093,"s":568.952,"v":222.213,"i":2.56,"pf":0.25,"f":50.0},"ph-c":{"p":285.417,"q":-433.839,"s":580.931,"v":226.476,"i":2.565,"pf":0.49,"f":50.0}}}

data: {"production":{"ph-a":{"p":-0.782,"q":115.541,"s":121.061,"v":222.796,"i":0.542,"pf":0.0,"f":50.0},"ph-b":{"p":-0.0,"q":112.276,"s":112.721,"v":222.422,"i":0.508,"pf":0.0,"f":50.0},"ph-c":{"p":0.994,"q":135.548,"s":140.962,"v":226.382,"i":0.623,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":63.543,"q":-116.228,"s":226.156,"v":222.645,"i":1.012,"pf":0.3,"f":50.0},"ph-b":{"p":146.397,"q":-406.201,"s":456.989,"v":222.508,"i":2.058,"pf":0.35,"f":50.0},"ph-c":{"p":282.831,"q":-300.227,"s":438.5,"v":226.328,"i":1.93,"pf":0.63,"f":50.0}},"total-consumption":{"ph-a":{"p":62.761,"q":-231.769,"s":346.218,"v":222.72,"i":1.554,"pf":0.18,"f":50.0},"ph-b":{"p":146.397,"q":-518.477,"s":570.737,"v":222.465,"i":2.566,"pf":0.26,"f":50.0},"ph-c":{"p":283.825,"q":-435.775,"s":577.737,"v":226.355,"i":2.552,"pf":0.49,"f":50.0}}}

data: {"production":{"ph-a":{"p":-0.508,"q":114.72,"s":120.959,"v":222.679,"i":0.543,"pf":0.0,"f":50.06},"ph-b":{"p":-0.736,"q":112.52,"s":112.964,"v":222.366,"i":0.509,"pf":0.0,"f":50.06},"ph-c":{"p":1.977,"q":135.445,"s":140.654,"v":226.296,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":61.769,"q":-116.16,"s":224.562,"v":222.548,"i":1.005,"pf":0.29,"f":50.0},"ph-b":{"p":146.836,"q":-405.524,"s":456.448,"v":222.452,"i":2.05,"pf":0.24,"f":50.0},"ph-c":{"p":278.833,"q":-300.774,"s":435.418,"v":226.215,"i":1.918,"pf":0.63,"f":50.0}},"total-consumption":{"ph-a":{"p":61.261,"q":-230.88,"s":344.697,"v":222.614,"i":1.548,"pf":0.18,"f":50.03},"ph-b":{"p":146.1,"q":-518.044,"s":569.197,"v":222.409,"i":2.559,"pf":0.26,"f":50.03},"ph-c":{"p":280.81,"q":-436.218,"s":574.6,"v":226.255,"i":2.54,"pf":0.49,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.0,"q":115.302,"s":121.142,"v":222.644,"i":0.545,"pf":0.0,"f":50.0},"ph-b":{"p":-0.736,"q":112.795,"s":112.986,"v":222.143,"i":0.508,"pf":0.0,"f":50.0},"ph-c":{"p":0.983,"q":135.055,"s":140.644,"v":226.34,"i":0.62,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":65.281,"q":-116.073,"s":225.261,"v":222.531,"i":1.014,"pf":0.33,"f":50.0},"ph-b":{"p":138.634,"q":-406.365,"s":453.888,"v":222.226,"i":2.035,"pf":0.28,"f":50.0},"ph-c":{"p":279.816,"q":-296.982,"s":434.08,"v":226.242,"i":1.918,"pf":0.66,"f":50.0}},"total-consumption":{"ph-a":{"p":65.281,"q":-231.374,"s":346.92,"v":222.588,"i":1.559,"pf":0.19,"f":50.0},"ph-b":{"p":137.898,"q":-519.16,"s":564.961,"v":222.185,"i":2.543,"pf":0.24,"f":50.0},"ph-c":{"p":280.799,"q":-432.037,"s":574.324,"v":226.291,"i":2.538,"pf":0.49,"f":50.0}}}

data: {"production":{"ph-a":{"p":-0.811,"q":116.537,"s":121.321,"v":222.744,"i":0.545,"pf":0.0,"f":50.06},"ph-b":{"p":-0.687,"q":111.715,"s":112.544,"v":222.056,"i":0.506,"pf":0.0,"f":50.06},"ph-c":{"p":1.816,"q":135.622,"s":140.65,"v":226.44,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":70.328,"q":-115.779,"s":227.217,"v":222.658,"i":1.03,"pf":0.37,"f":50.0},"ph-b":{"p":130.637,"q":-405.617,"s":451.482,"v":222.135,"i":2.026,"pf":0.3,"f":50.0},"ph-c":{"p":282.963,"q":-297.588,"s":436.556,"v":226.33,"i":1.937,"pf":0.63,"f":50.0}},"total-consumption":{"ph-a":{"p":69.517,"q":-232.316,"s":350.79,"v":222.701,"i":1.575,"pf":0.2,"f":50.03},"ph-b":{"p":129.95,"q":-517.332,"s":562.246,"v":222.095,"i":2.532,"pf":0.23,"f":50.03},"ph-c":{"p":284.779,"q":-433.21,"s":579.295,"v":226.385,"i":2.559,"pf":0.49,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.811,"q":117.225,"s":121.643,"v":222.901,"i":0.546,"pf":0.0,"f":50.06},"ph-b":{"p":-0.0,"q":111.475,"s":112.125,"v":222.047,"i":0.504,"pf":0.0,"f":50.06},"ph-c":{"p":0.899,"q":135.308,"s":140.87,"v":226.456,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":81.04,"q":-116.125,"s":230.965,"v":222.845,"i":1.042,"pf":0.41,"f":50.06},"ph-b":{"p":124.036,"q":-405.878,"s":449.297,"v":222.109,"i":2.022,"pf":0.26,"f":50.06},"ph-c":{"p":286.882,"q":-297.332,"s":440.115,"v":226.34,"i":1.958,"pf":0.67,"f":50.06}},"total-consumption":{"ph-a":{"p":80.229,"q":-233.35,"s":354.092,"v":222.873,"i":1.589,"pf":0.23,"f":50.06},"ph-b":{"p":124.036,"q":-517.353,"s":560.858,"v":222.078,"i":2.526,"pf":0.22,"f":50.06},"ph-c":{"p":287.78,"q":-432.639,"s":584.113,"v":226.398,"i":2.58,"pf":0.49,"f":50.06}}}

data: {"production":{"ph-a":{"p":-0.785,"q":117.109,"s":121.644,"v":222.86,"i":0.547,"pf":0.0,"f":50.0},"ph-b":{"p":-0.538,"q":111.075,"s":111.704,"v":221.888,"i":0.503,"pf":0.0,"f":50.0},"ph-c":{"p":1.385,"q":135.504,"s":140.881,"v":226.48,"i":0.621,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":83.999,"q":-117.527,"s":231.949,"v":222.83,"i":1.044,"pf":0.31,"f":50.06},"ph-b":{"p":116.81,"q":-404.24,"s":446.994,"v":221.921,"i":2.008,"pf":0.25,"f":50.06},"ph-c":{"p":289.51,"q":-298.774,"s":442.935,"v":226.366,"i":1.959,"pf":0.68,"f":50.06}},"total-consumption":{"ph-a":{"p":83.214,"q":-234.637,"s":354.495,"v":222.845,"i":1.591,"pf":0.23,"f":50.03},"ph-b":{"p":116.271,"q":-515.315,"s":557.069,"v":221.905,"i":2.51,"pf":0.21,"f":50.03},"ph-c":{"p":290.895,"q":-434.279,"s":584.283,"v":226.423,"i":2.58,"pf":0.5,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.0,"q":116.49,"s":121.382,"v":222.761,"i":0.543,"pf":0.0,"f":50.0},"ph-b":{"p":-0.596,"q":110.995,"s":111.631,"v":221.931,"i":0.503,"pf":0.0,"f":50.0},"ph-c":{"p":0.57,"q":134.373,"s":140.875,"v":226.414,"i":0.622,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":83.567,"q":-117.16,"s":232.891,"v":222.759,"i":1.044,"pf":0.38,"f":50.0},"ph-b":{"p":113.375,"q":-404.462,"s":446.223,"v":221.927,"i":2.007,"pf":0.26,"f":50.0},"ph-c":{"p":290.795,"q":-299.57,"s":443.985,"v":226.312,"i":1.961,"pf":0.66,"f":50.0}},"total-consumption":{"ph-a":{"p":83.567,"q":-233.65,"s":353.465,"v":222.76,"i":1.587,"pf":0.24,"f":50.0},"ph-b":{"p":112.779,"q":-515.458,"s":556.914,"v":221.929,"i":2.509,"pf":0.2,"f":50.0},"ph-c":{"p":291.365,"q":-433.942,"s":584.796,"v":226.363,"i":2.583,"pf":0.5,"f":50.0}}}

data: {"production":{"ph-a":{"p":-0.0,"q":116.417,"s":121.222,"v":222.845,"i":0.545,"pf":0.0,"f":50.06},"ph-b":{"p":-0.596,"q":111.134,"s":111.77,"v":221.865,"i":0.505,"pf":0.0,"f":50.06},"ph-c":{"p":1.225,"q":135.181,"s":141.039,"v":226.275,"i":0.624,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":82.737,"q":-117.528,"s":233.723,"v":222.878,"i":1.054,"pf":0.35,"f":50.06},"ph-b":{"p":108.051,"q":-403.149,"s":444.549,"v":221.81,"i":2.007,"pf":0.23,"f":50.06},"ph-c":{"p":290.79,"q":-296.664,"s":442.997,"v":226.194,"i":1.957,"pf":0.67,"f":50.06}},"total-consumption":{"ph-a":{"p":82.737,"q":-233.945,"s":356.404,"v":222.861,"i":1.599,"pf":0.23,"f":50.06},"ph-b":{"p":107.455,"q":-514.283,"s":557.11,"v":221.838,"i":2.511,"pf":0.19,"f":50.06},"ph-c":{"p":292.015,"q":-431.844,"s":583.926,"v":226.234,"i":2.581,"pf":0.5,"f":50.06}}}

data: {"production":{"ph-a":{"p":-0.631,"q":116.709,"s":121.547,"v":222.847,"i":0.547,"pf":-0.06,"f":50.0},"ph-b":{"p":-0.0,"q":111.138,"s":111.99,"v":221.73,"i":0.505,"pf":0.0,"f":50.0},"ph-c":{"p":0.633,"q":134.818,"s":141.169,"v":226.26,"i":0.624,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":83.054,"q":-116.672,"s":233.779,"v":222.9,"i":1.048,"pf":0.34,"f":50.06},"ph-b":{"p":111.222,"q":-403.33,"s":445.678,"v":221.632,"i":2.008,"pf":0.27,"f":50.06},"ph-c":{"p":291.202,"q":-298.172,"s":444.084,"v":226.196,"i":1.961,"pf":0.66,"f":50.06}},"total-consumption":{"ph-a":{"p":82.423,"q":-233.381,"s":355.379,"v":222.874,"i":1.595,"pf":0.23,"f":50.03},"ph-b":{"p":111.222,"q":-514.467,"s":557.183,"v":221.681,"i":2.513,"pf":0.2,"f":50.03},"ph-c":{"p":291.835,"q":-432.99,"s":584.773,"v":226.228,"i":2.585,"pf":0.5,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.59,"q":117.099,"s":121.871,"v":222.846,"i":0.548,"pf":0.0,"f":50.06},"ph-b":{"p":-0.0,"q":111.876,"s":112.099,"v":221.745,"i":0.505,"pf":0.0,"f":50.06},"ph-c":{"p":0.592,"q":135.433,"s":141.041,"v":226.214,"i":0.623,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":83.106,"q":-116.553,"s":232.582,"v":222.916,"i":1.037,"pf":0.37,"f":50.0},"ph-b":{"p":110.475,"q":-401.948,"s":444.446,"v":221.604,"i":2.012,"pf":0.23,"f":50.0},"ph-c":{"p":291.445,"q":-295.173,"s":442.253,"v":226.172,"i":1.954,"pf":0.65,"f":50.0}},"total-consumption":{"ph-a":{"p":82.516,"q":-233.652,"s":353.1,"v":222.881,"i":1.584,"pf":0.23,"f":50.03},"ph-b":{"p":110.475,"q":-513.825,"s":557.919,"v":221.675,"i":2.517,"pf":0.2,"f":50.03},"ph-c":{"p":292.037,"q":-430.606,"s":582.81,"v":226.193,"i":2.577,"pf":0.5,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.59,"q":116.725,"s":121.735,"v":222.925,"i":0.546,"pf":0.0,"f":50.0},"ph-b":{"p":-0.0,"q":111.91,"s":112.36,"v":221.967,"i":0.507,"pf":0.0,"f":50.0},"ph-c":{"p":0.647,"q":134.981,"s":140.499,"v":226.106,"i":0.62,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":82.715,"q":-115.364,"s":232.247,"v":223.007,"i":1.043,"pf":0.37,"f":50.12},"ph-b":{"p":119.407,"q":-402.753,"s":446.709,"v":221.795,"i":2.012,"pf":0.27,"f":50.12},"ph-c":{"p":289.666,"q":-295.921,"s":441.531,"v":226.081,"i":1.943,"pf":0.65,"f":50.12}},"total-consumption":{"ph-a":{"p":82.125,"q":-232.09,"s":354.35,"v":222.966,"i":1.589,"pf":0.23,"f":50.06},"ph-b":{"p":119.407,"q":-514.663,"s":559.012,"v":221.881,"i":2.519,"pf":0.21,"f":50.06},"ph-c":{"p":290.313,"q":-430.902,"s":579.432,"v":226.094,"i":2.563,"pf":0.5,"f":50.06}}}

data: {"production":{"ph-a":{"p":-0.0,"q":116.711,"s":121.586,"v":222.991,"i":0.544,"pf":0.0,"f":50.0},"ph-b":{"p":-0.0,"q":111.646,"s":112.323,"v":221.875,"i":0.506,"pf":0.0,"f":50.0},"ph-c":{"p":0.884,"q":135.175,"s":140.397,"v":226.09,"i":0.62,"pf":0.05,"f":50.0}},"net-consumption":{"ph-a":{"p":84.748,"q":-115.177,"s":232.692,"v":223.078,"i":1.046,"pf":0.38,"f":50.06},"ph-b":{"p":113.971,"q":-402.273,"s":445.433,"v":221.678,"i":2.015,"pf":0.18,"f":50.06},"ph-c":{"p":289.092,"q":-295.936,"s":440.715,"v":226.086,"i":1.952,"pf":0.67,"f":50.06}},"total-consumption":{"ph-a":{"p":84.748,"q":-231.888,"s":354.601,"v":223.035,"i":1.59,"pf":0.24,"f":50.03},"ph-b":{"p":113.971,"q":-513.919,"s":559.176,"v":221.777,"i":2.521,"pf":0.2,"f":50.03},"ph-c":{"p":289.976,"q":-431.111,"s":581.649,"v":226.088,"i":2.573,"pf":0.5,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.0,"q":116.806,"s":121.443,"v":223.06,"i":0.545,"pf":0.0,"f":50.06},"ph-b":{"p":-0.382,"q":111.282,"s":112.284,"v":221.468,"i":0.505,"pf":-0.05,"f":50.06},"ph-c":{"p":0.84,"q":134.629,"s":140.337,"v":226.193,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":85.947,"q":-113.924,"s":232.766,"v":223.146,"i":1.041,"pf":0.37,"f":50.0},"ph-b":{"p":107.172,"q":-402.787,"s":444.822,"v":221.256,"i":1.995,"pf":0.25,"f":50.0},"ph-c":{"p":295.199,"q":-297.458,"s":445.518,"v":226.203,"i":1.985,"pf":0.67,"f":50.0}},"total-consumption":{"ph-a":{"p":85.947,"q":-230.73,"s":353.862,"v":223.103,"i":1.586,"pf":0.24,"f":50.03},"ph-b":{"p":106.79,"q":-514.069,"s":553.371,"v":221.362,"i":2.5,"pf":0.19,"f":50.03},"ph-c":{"p":296.039,"q":-432.087,"s":589.704,"v":226.198,"i":2.607,"pf":0.5,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.0,"q":117.065,"s":121.452,"v":223.179,"i":0.544,"pf":0.0,"f":50.06},"ph-b":{"p":-0.652,"q":111.095,"s":111.846,"v":221.557,"i":0.505,"pf":0.0,"f":50.06},"ph-c":{"p":1.486,"q":135.03,"s":140.746,"v":226.16,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":87.53,"q":-113.757,"s":232.298,"v":223.263,"i":1.04,"pf":0.39,"f":50.0},"ph-b":{"p":98.577,"q":-401.829,"s":441.142,"v":221.337,"i":1.991,"pf":0.25,"f":50.0},"ph-c":{"p":302.194,"q":-297.405,"s":449.747,"v":226.186,"i":2.0,"pf":0.68,"f":50.0}},"total-consumption":{"ph-a":{"p":87.53,"q":-230.822,"s":353.624,"v":223.221,"i":1.584,"pf":0.25,"f":50.03},"ph-b":{"p":97.925,"q":-512.924,"s":552.757,"v":221.447,"i":2.496,"pf":0.18,"f":50.03},"ph-c":{"p":303.681,"q":-432.435,"s":593.045,"v":226.173,"i":2.622,"pf":0.51,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.0,"q":117.265,"s":121.749,"v":223.306,"i":0.545,"pf":0.0,"f":50.06},"ph-b":{"p":-0.608,"q":111.222,"s":111.866,"v":221.639,"i":0.504,"pf":0.0,"f":50.06},"ph-c":{"p":1.142,"q":134.319,"s":140.656,"v":226.083,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":90.316,"q":-113.278,"s":233.112,"v":223.391,"i":1.045,"pf":0.42,"f":50.0},"ph-b":{"p":99.841,"q":-401.758,"s":441.08,"v":221.414,"i":1.993,"pf":0.23,"f":50.0},"ph-c":{"p":304.08,"q":-298.598,"s":451.682,"v":226.122,"i":1.993,"pf":0.63,"f":50.0}},"total-consumption":{"ph-a":{"p":90.316,"q":-230.543,"s":355.296,"v":223.349,"i":1.591,"pf":0.25,"f":50.03},"ph-b":{"p":99.233,"q":-512.98,"s":553.257,"v":221.526,"i":2.497,"pf":0.18,"f":50.03},"ph-c":{"p":305.223,"q":-432.918,"s":591.443,"v":226.103,"i":2.616,"pf":0.52,"f":50.03}}}

data: {"production":{"ph-a":{"p":-0.0,"q":117.018,"s":121.679,"v":223.471,"i":0.546,"pf":0.0,"f":50.06},"ph-b":{"p":-0.0,"q":111.258,"s":111.653,"v":221.644,"i":0.504,"pf":0.0,"f":50.06},"ph-c":{"p":1.349,"q":134.335,"s":140.522,"v":225.684,"i":0.622,"pf":0.0,"f":50.06}},"net-consumption":{"ph-a":{"p":94.885,"q":-114.709,"s":235.194,"v":223.55,"i":1.06,"pf":0.38,"f":50.06},"ph-b":{"p":103.908,"q":-402.154,"s":441.319,"v":221.415,"i":1.995,"pf":0.25,"f":50.06},"ph-c":{"p":294.532,"q":-296.579,"s":443.972,"v":225.734,"i":1.948,"pf":0.69,"f":50.06}},"total-consumption":{"ph-a":{"p":94.885,"q":-231.727,"s":358.791,"v":223.51,"i":1.605,"pf":0.26,"f":50.06},"ph-b":{"p":103.908,"q":-513.412,"s":553.702,"v":221.53,"i":2.499,"pf":0.19,"f":50.06},"ph-c":{"p":295.881,"q":-430.914,"s":580.196,"v":225.709,"i":2.571,"pf":0.51,"f":50.06}}}

data: {"production":{"ph-a":{"p":-0.729,"q":116.991,"s":121.887,"v":223.457,"i":0.544,"pf":0.0,"f":50.0},"ph-b":{"p":-0.0,"q":111.035,"s":111.677,"v":221.615,"i":0.504,"pf":0.0,"f":50.0},"ph-c":{"p":0.612,"q":134.618,"s":140.622,"v":225.809,"i":0.623,"pf":0.0,"f":50.0}},"net-consumption":{"ph-a":{"p":95.797,"q":-114.949,"s":235.694,"v":223.524,"i":1.054,"pf":0.42,"f":50.12},"ph-b":{"p":101.821,"q":-402.262,"s":441.522,"v":221.386,"i":1.991,"pf":0.23,"f":50.12},"ph-c":{"p":295.12,"q":-297.275,"s":444.786,"v":225.872,"i":1.963,"pf":0.67,"f":50.12}},"total-consumption":{"ph-a":{"p":95.068,"q":-231.941,"s":357.065,"v":223.49,"i":1.598,"pf":0.27,"f":50.06},"ph-b":{"p":101.821,"q":-513.296,"s":552.626,"v":221.501,"i":2.495,"pf":0.18,"f":50.06},"ph-c":{"p":295.732,"q":-431.893,"s":584.106,"v":225.841,"i":2.586,"pf":0.51,"f":50.06}}}
svenholman commented 1 year ago

the token refreshes evey day... that script seems to work

mr-manuel commented 1 year ago

The token refreshes every 12 hours. It's something with the data recognition. Have you the possibility to write me on Discord and give me SSH access to your GX device?

svenholman commented 1 year ago

I try Discord.