-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gateway without CT's - Error when using D5 firmware #5
Comments
Thanks for reporting the error. I will take a look at it at saturday. |
Please install release v0.2.0-beta3. |
Thank you for the quick response. I installed this release and now it loads. But I get a timeout here: 023-09-18 17:15:16.174535500 *** starting dbus-enphase-envoy ***
2023-09-18 17:15:19.376984500 ERROR:root:D5 firmware selected
2023-09-18 17:16:19.468577500 WARNING:root:--> data_production_historic not yet ready after 60 seconds.
2023-09-18 17:16:19.468586500 Try accessing http://172.16.0.115/production.json?details=1 from your PC and see,
2023-09-18 17:16:19.468590500 if it downloads a file with JSON content.
2023-09-18 17:17:19.538566500 WARNING:root:--> data_production_historic not yet ready after 120 seconds.
2023-09-18 17:17:19.538578500 Try accessing http://172.16.0.115/production.json?details=1 from your PC and see,
2023-09-18 17:17:19.538582500 if it downloads a file with JSON content.
2023-09-18 17:18:19.612555500 WARNING:root:--> data_production_historic not yet ready after 180 seconds.
2023-09-18 17:18:19.612563500 Try accessing http://172.16.0.115/production.json?details=1 from your PC and see,
2023-09-18 17:18:19.612567500 if it downloads a file with JSON content.
2023-09-18 17:19:19.683101500 WARNING:root:--> data_production_historic not yet ready after 240 seconds.
2023-09-18 17:19:19.683110500 Try accessing http://172.16.0.115/production.json?details=1 from your PC and see,
2023-09-18 17:19:19.683114500 if it downloads a file with JSON content.
2023-09-18 17:20:19.753838500 WARNING:root:--> data_production_historic not yet ready after 300 seconds.
2023-09-18 17:20:19.753848500 Try accessing http://172.16.0.115/production.json?details=1 from your PC and see,
2023-09-18 17:20:19.753851500 if it downloads a file with JSON content.
2023-09-18 17:20:20.755969500 ERROR:root:Maximum of 300 seconds wait time reached. Restarting the driver. The JSON file is accessible and shows my inverters |
Can you increase the logging level in the config file to |
Yes of course: 2023-09-18 17:48:30.500194500 *** starting dbus-enphase-envoy ***
2023-09-18 17:48:33.579571500 ERROR:root:D5 firmware selected
2023-09-18 17:48:33.594543500 INFO:root:step: fetch_handler
2023-09-18 17:48:33.596151500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:33.596554500 INFO:root:step: fetch_production_historic
2023-09-18 17:48:33.615175500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 172.16.0.115:80
2023-09-18 17:48:34.094929500 DEBUG:urllib3.connectionpool:http://172.16.0.115:80 "GET /production.json?details=1 HTTP/1.1" 200 None
2023-09-18 17:48:34.102451500 INFO:root:--> fetch_handler() --> fetch_production_historic(): JSON data feched. Wait 3600 seconds for next run
2023-09-18 17:48:34.103175500 INFO:root:step: fetch_devices
2023-09-18 17:48:34.117847500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 172.16.0.115:80
2023-09-18 17:48:34.598382500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:35.600488500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:36.283800500 DEBUG:urllib3.connectionpool:http://172.16.0.115:80 "GET /inventory.json HTTP/1.1" 200 None
2023-09-18 17:48:36.310433500 INFO:root:--> fetch_handler() --> fetch_devices(): JSON data feched. Wait 3600 seconds for next run
2023-09-18 17:48:36.311363500 INFO:root:step: fetch_inverters
2023-09-18 17:48:36.323890500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 172.16.0.115:80
2023-09-18 17:48:36.343763500 DEBUG:urllib3.connectionpool:http://172.16.0.115:80 "GET /api/v1/production/inverters HTTP/1.1" 401 90
2023-09-18 17:48:36.355639500 DEBUG:urllib3.connectionpool:Resetting dropped connection: 172.16.0.115
2023-09-18 17:48:36.468970500 DEBUG:urllib3.connectionpool:http://172.16.0.115:80 "GET /api/v1/production/inverters HTTP/1.1" 200 2674
2023-09-18 17:48:36.477124500 INFO:root:--> fetch_handler() --> fetch_inverters(): JSON data feched. Wait 300 seconds for next run
2023-09-18 17:48:36.477992500 INFO:root:step: fetch_events
2023-09-18 17:48:36.490921500 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 172.16.0.115:80
2023-09-18 17:48:36.602646500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:37.604751500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:38.606863500 INFO:root:--> data_production_historic not yet ready
2023-09-18 17:48:39.608969500 INFO:root:--> data_production_historic not yet ready This is my JSON: {
"production": [
{
"type": "inverters",
"activeCount": 17,
"readingTime": 1695059186,
"wNow": 1,
"whLifetime": 18347663
}
],
"storage": [
{
"type": "acb",
"activeCount": 0,
"readingTime": 0,
"wNow": 0,
"whNow": 0,
"state": "idle"
}
]
} |
Very strange. 2023-09-18 17:48:34.094929500 DEBUG:urllib3.connectionpool:http://172.16.0.115:80 "GET /production.json?details=1 HTTP/1.1" 200 None It does receive a response but the response is empty. Do you have production and consumption CT's installed? From your JSON this data is missing. Could you please provide this data of your Envoy?
|
I do not have those CT's installed. |
Therefore it does not work. What do you get when you open http://172.16.0.115/stream/meter? It should start download a file, then you have to stop it manually. Open it with a text editor and post the content. |
I followed your readme. What did I miss? |
Can you post a picture of your Gateway? You missed nothing. I was convinced that every installation has at least one CT installed. It should be possible to retrofit them. https://enphase.com/store/communication/consumption-ct |
Is your system maybe in the Netherlands? I heard from a few people that have teir system in the Netherlands that the installers never install the CT's. I updated the README with a requirement section. |
Yes and it is an Envoy standard, so no CT's as I read now. Does this mean it will never work? In the app I can perfectly see what the panels are producing, so it should be possible to read that value. |
For monitoring maybe, but for real application surely not. The data is refreshed maybe all 5-15 minutes. |
Monitoring is fine. I need to tell Cerbo the production of my solar panels. Would that still be possible and how? |
For this I have to rewrite a great part of the driver. This is not planned since it would take more time and costs for me than installing the CT's for you. Fell free to fork this repo and do the change on your own :-) |
Thank you for looking into it. Btw CT's are not possible with Envoy S Standard. I hope someone with more expertise than me can make such a fork. |
You could check Enphase-API, get the data with Node-RED (which is included in Venus OS Large) and then send the data via MQTT to dbus-mqtt-pv. You may use this endpints:
If you have no expertise and you Google a bit you will take about a day to achieve this. Eventually check the issues of the dbus-mqtt-pv driver. There are some examples. |
I installed and set firmware to d%, however I get this error:
The text was updated successfully, but these errors were encountered: