Comments (8)
Yes, it works with both Wh and kWh, if you have problem it’s likely something else however I had the same problem as you until I changed like I wrote above. Have you tried it?
@Spitfire69 in fact, you are right. I have suggested with this information in parentheses that energy should be in kWh without checking this. Even when it is - as in this case - in Wh, everything is converted correctly by HA.
So I'am closing the issue - because I also do not care about displaying this value in a specific unit. I didn't have to customize anything and everything is fine.
I just made a wrong suggestion on what was written without checking this. Sorry
from ha-sunspec.
Just change it in your customize.yaml file:
sensor.inverter_ac_energy:
unit_of_measurement: 'Wh'
from ha-sunspec.
Just change it in your customize.yaml file:
sensor.inverter_ac_energy:
unit_of_measurement: 'Wh'
The value and the unit is displayed correctly, until today I have produced 12.941668MWh, i.e. 12 941.668kWh, i.e. 12 941 668Wh. So everything is correct. But it should be displayed in HA in kWh units only (not in Wh) that the energy module could correctly interpret the value of energy produced.
If the value is taken from inverter in Wh, it should be divided by 1000 and displayed in kWh. These is the problem
from ha-sunspec.
[...] As You can see here.
Solar production energy (kWh) - but my sensor is in Wh
from ha-sunspec.
My inverter also has solar energy in Wh and that works fine with the energy dashboard, can you look at the entity you expected to use there in the developer tools and look at what attributes it has?
from ha-sunspec.
Yes, it works with both Wh and kWh, if you have problem it’s likely something else however I had the same problem as you until I changed like I wrote above. Have you tried it?
from ha-sunspec.
I'm not agains changing to kWh, it's just that it might not be the issue. Ideally you shouldn't have to do the customization step so perhaps there is something that needs to be changed.
from ha-sunspec.
No worries :)
from ha-sunspec.
Related Issues (20)
- Feature Request: Inverter Output Control
- Not finding new parameters without restart.
- Request different times for polling each sunspec model.
- keep entities when they vanish from SMA TriPower X12 inverters HOT 5
- Failed to connect to SMA Tripower X 15 ('H' format requires 0) HOT 1
- no connection to TRIPOWER X 25 HOT 1
- Failed to connect to SMA SUNNY TRIPOWER X 15 HOT 16
- Many entities are no longer supported adter upgrade to HAOS 2024.1.2 HOT 3
- `ac_meter Total Watt-hours Exported` sign issue HOT 3
- Home Assistant log entries, deprecated device class used HOT 1
- Question: is it possible to read modbus data over wifi? HOT 2
- Deprecation warning since 2024.5.0b0 HOT 2
- Another deprecation Warning HOT 2
- TypeError: 'SunSpecModbusClientGroup' object is not iterable
- Problem with energy-sensors-init when value is 0 (Fronius Gen24 + Battery)
- Cannot connect to SUNNY TRIPOWER 10.0 SE HOT 3
- Sungrow SH10RT few sensors HOT 1
- deprecation Warning 2024.6.3/2024.06.0
- Another deprecation warning HOT 1
- Sun Spec no longer working after HA update to 2024.7.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-sunspec.