Comments (7)
Yes, i will try in few days.
from hoymiles.
Thanks
Janusz
from hoymiles.
Hi @januszwoj ,
I'm looking it now. I just add device_class: power and state_class: measurement to real_power template. (v.22, not uploaded yet).
But, real_power_measuremend and real_power_total_increasing are in Wh
that should be use with "device_class":"energy".
Could you see https://www.home-assistant.io/integrations/sensor/#device-class.
Any help will be great.
from hoymiles.
Yes you are right, I wrote faster than I thought.
I guess it should look like this:
device_class: power
state_class: measurement
_capacitor
_real_power
_capacitor_kw
device_class: energy
state_class: measurement <- I think that "state_class" for energy should be "total" [
](https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes)
_real_power_measurement
_real_power_total_increasing
_today_eq
_today_eq_Wh
_total_eq
_month_eq
I have one more question / request. In my installation, I have a meter plugged in on the network side connected to the Hoymiles gateway.
While looking at the data that your plugin receives, I would be interested in: grid_power. I was wondering if it would be possible to extend it to the next entities? Below I am enclosing the most recently received message.
Temporarily after connecting meter to the Hoymiles gateway, I cannot download data from it at the same time.
Received 10:32:57
QoS: 0
Payload:
today_eq: '0.34'
month_eq: '77 .07 '
year_eq: '77073'
total_eq: '77 .07 '
real_power: '439'
co2_emission_reduction: '0.08'
plant_tree: '43'
last_data_time: '2021-12-30 10:31:18'
capacitor: '5070'
is_balance: 0
is_reflux: 1
reflux_station_data:
start_date: null
end_date: null
pv_power: '439.4'
grid_power: '1160' <------------------- device_class: power state_class: measurement
load_power: '0'
bms_power: null
bms_soc: null
meter_location: 2
pv_to_load_eq: null
load_from_pv_eq: null
meter_b_in_eq: '0'
meter_b_out_eq: '35960'
bms_in_eq: null
bms_out_eq: null
self_eq: '41113'
pv_eq_total: null
use_eq_total: null
flows:
- out: 2
in: 1
- out: 4
in: 1
- out: 4
in: 2
real_power_measurement: '439'
real_power_total_increasing: '439'
power_ratio: '8.7'
capacitor_kW: '5.07'
today_eq_Wh: '338.0'
reset_today_eq: '2021-12-30T00: 00: 00 + 00: 00'
reset_month_eq: '2021-12-01T00: 00: 00 + 00: 00'
Thank you again for this great plugin 👍👍👍.
Janusz
from hoymiles.
@januszwoj it will be not so easy. Do you still want this feature? If yes please contact me via discord. I'm on HA channel, because this will required more details to implement.
from hoymiles.
Hi.
Not particularly anymore, I have invested in two energy meters with modbus interfaces so I will have an excess of data :-).
I just need to figure out what to do with them.
Thank you for this great plugin 👍👍👍.
Regards Janusz
from hoymiles.
@januszwoj ok, no problem, I was asking because there is possibility to get this value by adding custom sensor in config. Also there was big upade which could required removing mqtt device due to big changes in addon
from hoymiles.
Related Issues (20)
- Addon sometimes reporting negative values HOT 4
- Entity Unavailable - 2 units HOT 23
- Ingress - WebUI - remove button HOT 2
- login details HOT 6
- KeyError: 'LOG_TO_FILE': Addon crashes on startup HOT 2
- Standalone container HOT 3
- missing 1 required positional argument: / AttributeError: 'Client' object has no attribute '_sock' HOT 4
- Addon errors HOT 4
- Second plant HOT 1
- Data collection stops after an internet cut
- Support for hybrid inverters from hoymiles HOT 7
- DTU with status Connect put not connect... HOT 4
- SSL: CERTIFICATE_VERIFY_FAILED HOT 3
- alarm code HOT 6
- HYT: Integrate temperature values HOT 7
- [Help] Docs HOT 1
- 'ERROR - User has no access to plant id' on running add-on HOT 8
- Could it be possible to get 2 more Grid information HOT 9
- HoyMiles Solar Gateway Stable Addon - Installation failed HOT 9
- Since latest HA Core Update HOT 1
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 hoymiles.