Skip to content
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

myStrom Wifi Switch photovoltaic #41

Open
Pythonaire opened this issue Apr 27, 2023 · 3 comments
Open

myStrom Wifi Switch photovoltaic #41

Pythonaire opened this issue Apr 27, 2023 · 3 comments

Comments

@Pythonaire
Copy link

the switch has the ability be used for photovoltaic unit. In this case, i want to read the earned Watt. I just find power consumption.
How can i read the power delivery value?

@fabaff
Copy link
Member

fabaff commented Apr 28, 2023

I don't know as the documentation doesn't mention this. It's probably only available in the myStrom App.

@Pythonaire
Copy link
Author

Pythonaire commented Apr 29, 2023

by using wireshark i see, the "homekit certification label" is just a simple Outlet switch and temperature sensor. To see energy, the separate app is needed. Feeling duped by the marketing. :-(

@dbrgn
Copy link
Contributor

dbrgn commented Jun 23, 2024

If you call the /report endpoint, you get the following output:

{
    "Ws": 26.43,
    "boot_id": "85A81EF3",
    "energy_since_boot": 278809314.67,
    "power": 27.29,
    "relay": true,
    "temperature": 20.58,
    "time_since_boot": 2612678
}

-> energy_since_boot should be what you need (#48). The endpoint needs to be called periodically to get the statistics you want.

If you use HomeAssistant, you can also use an integration instead to calculate energy production (or consumption).

sensor:  - platform: integration
    source: sensor.mystrom_solar_leistung
    unique_id: balkonsolar_production
    name: "myStrom Solar Production"
    unit_prefix: k
    round: 3

(Source sensor must be adjusted of course.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants