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

Daily Consumption #24

Open
tobenski opened this issue Nov 14, 2023 · 3 comments
Open

Daily Consumption #24

tobenski opened this issue Nov 14, 2023 · 3 comments

Comments

@tobenski
Copy link

Hi There,

I was trying to create a Daily consumption sensor, and i believe the modbus adress is 526 but it seams the messurment is of by quite a bit. (a least compared to the Solarman Logger interface)

My sensor code is this:

 - platform: modbus_controller #Daily Consumption
    modbus_controller_id: ${modbus_controller_id}
    skip_updates: 10
    name: ${device_type}-Daily Consumption
    id: ${device_type}_Daily_consumption
    register_type: holding
    address: 526
    unit_of_measurement: "kWh"
    state_class: "total_increasing"
    device_class: energy
    accuracy_decimals: 2
    value_type: U_WORD
    filters:
      - multiply: 0.1

Have you tried getting this sensor to work?

@klatremis
Copy link
Owner

I just use to the total, and let home assistant tell me how high the daily was. When using a daily sensor, its then the inverter that decide when the time reach 00. And not home assistant. Deye inverters tent to drift in clock over time. 5-10min/month have i seen. Therefor the daily is less accurate than a total and let HA controll the daily instead.

Without trying, i would just make it like i did for 527
How much is it off?

@tobenski
Copy link
Author

tobenski commented Nov 15, 2023

Hi again,
I actually made an utility sensor for the daily production bassed on the "total_consumption".
It is showing the same messurement as the "Daily_consumption"

but both numbers ar eof by quite a bit.

Solarman: ESP
15.1 11.7
17.1 14.5
14.8 11.6

This is my (small) data sample. as you can see its off every day.

@tobenski tobenski reopened this Nov 15, 2023
@klatremis
Copy link
Owner

What does the energy dashboard in HA say?

If the solarman use a different timezone, it will be different.

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

2 participants