TimSoethout / goodwe-sems-home-assistant

Sensor for Home Assistant pulling data from the GoodWe SEMS API for solar panel production metrics.
88 stars 37 forks source link

New user Looking for Export Data - is it true this only exposes two sensors? #81

Closed old-square-eyes closed 1 year ago

old-square-eyes commented 1 year ago

Great project BTW!

I'm a bit of a noob so sorry if my termanology is off or I missed something. I was able to add HACS, and then SEMS to my Home Assistant Docker setup and see only "Total Generation" and "Current Generation" from my Goodwe panels.

I would like to automate my GPU mining rig based on Nicehash (yes I know GPU mining is dead) to only mine when I am generating excess energy.

The easiest way to accurately trigger that is to periodiacally monitor at a threshold when I'm pushing to, and pulling from the grid.

How can I bring the grid import/export grid attribute in to further process this info?

old-square-eyes commented 1 year ago

Actually I see some import and export figures under Homekit. What are these? They don't match my Goodwe SEMS mobile app and are measured in kWh.

midadami commented 1 year ago

SEMS works badly from time to time. It has several minutes delay when it works badly. It has months without problems but since yesterday its again failing.

old-square-eyes commented 1 year ago

SEMS works badly from time to time. It has several minutes delay when it works badly. It has months without problems but since yesterday its again failing.

Wait so I should be able to see more data ordinarily?

midadami commented 1 year ago

SEMS works badly from time to time. It has several minutes delay when it works badly. It has months without problems but since yesterday its again failing.

Wait so I should be able to see more data ordinarily?

Under current generation you can see all the inverter attributes when it works correctly. SEMS not working correctly for me now.

TimSoethout commented 1 year ago

What @midadami says indeed. In the readme (https://github.com/TimSoethout/goodwe-sems-home-assistant#screenies) you see a screenshot of some of the attributes. There are more when you scroll down at your own instance. Hopefully there is an attribute there that you can use for your purpose.

old-square-eyes commented 1 year ago

I'm pretty confused then. I see nothing like the screen shot. I see the below.

image

And I'm not sure why it's spread across three widgets either.

old-square-eyes commented 1 year ago

Clicking into the graphs only gives me timelines of the existing metrics,...

image

TimSoethout commented 1 year ago

Clicking into the graphs only gives me timelines of the existing metrics,...

image

Click on Attributes in the lower left of the picture. :)

old-square-eyes commented 1 year ago

I see it now. Not sure if I missed it before or if it wasn't there. Thanks!

pmeter seems to be what I want for import/export :)

image
old-square-eyes commented 1 year ago

FYI for anyone else I used this post to set up a sensor for the attribute values.

image

This is great!