markruys / gw2pvo

GoodWe to PVOutput
MIT License
45 stars 29 forks source link

Is repo still maintained? #66

Closed lyricnz closed 1 year ago

lyricnz commented 2 years ago

There are a bunch of forks of this repo, that add things like consumption data (from powerpal, or from Goodwe Homekit), remove Dark Sky API, etc. Is the maintainer planning to accept PRs moving forward?

elRadix commented 2 years ago

indeed, which is the one to use ?

lyricnz commented 1 year ago

I've switched to using Home Assistant, so no longer use gw2pvo.

markruys commented 1 year ago

I've switched to Home Assistant too and don't use this project anymore. So I guess we need another maintainer, or archive this project.

elRadix commented 1 year ago

I've switched to Home Assistant too and don't use this project anymore. So I guess we need another maintainer, or archive this project.

How do you send data to pvoutput.org through home assistant can you share your config example please

markruys commented 1 year ago

How do you send data to pvoutput.org through home assistant can you share your config example please

I've stopped using PVOutput. Home Assistant does have a PVOutput integration. Haven't tried it myself.

lyricnz commented 1 year ago

This is completely off-topic, but...

I don't use any "integration" as such. In HA configuration.yaml I created a custom REST command that POSTs the data to pvoutput API. See https://pvoutput.org/help/api_specification.html#add-status-service for docs.

The command copies a few HA sensors (which you set up before) into a few of the pvoutput values. It also uses a couple of "secrets" so I don't have to put my pvo user/password in there.

rest_command:
  pvoutput_generation:
    method: POST
    url: https://pvoutput.org/service/r2/addstatus.jsp
    headers:
      X-Pvoutput-Apikey: !secret pvo_api_key
      X-Pvoutput-SystemId: !secret pvo_system_id
    payload: 'd={{now().strftime("%Y%m%d")}}&t={{now().strftime("%H:%M")}}&v1={{states("sensor.today_s_pv_generation") |round(1)*1000}}&v2={{states("sensor.pv_power") |round(0)}}&v3={{states("sensor.main_wh") |round(0)}}&v4={{states("sensor.main") |round(0)}}&v5={{states("sensor.openweathermap_temperature")}}&v6={{states("sensor.on_grid_l1_voltage")}}&v7={{states("sensor.inverter_temperature")}}'
    content_type: "application/x-www-form-urlencoded"

My secrets.yaml contains:

# Use this file to store secrets like usernames and passwords.
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/
some_password: welcome
pvo_api_key: long_hex_thing
pvo_system_id: pv_system_id

HTH

lyricnz commented 1 year ago

Closing this issue with a resolution of "nope"

vijghph commented 1 year ago

How do you send data to pvoutput.org through home assistant can you share your config example please

I've stopped using PVOutput. Home Assistant does have a PVOutput integration. Haven't tried it myself.

Unfortunately PVOutput integration requires a local access to the Goodwe inverters ...which themselves need to be upgraded to the last firmware or otherwise are not supported. Not a trivial thing.

I preferred a lot the gw2pvo approach which worked seamlessly until very recently.

@markruys it would be great if you could validate the OpenWeather integration that some have contributed to among the PullRequests.