Hi,
I have 10 of this NEO Coolcam z-wave powerplugs.
They are communiating with Samsung Smartthings V2 HUBS and Samsung cloud.
I am using Python 3.8 MSC 1916 (15.9) under windows server 2016.
Every components got updated to the latest (pip, setuptools, homekit, homeassistant)
I could manage HA integration of Samsung smartthing only when I logged in accidentally to home assistant could - nothing else did work, regardless the SSL cert had been appropriate (validated by multiple public ssl providers).
Now, by the integration is working I can see that these NEO Cool z-wave powerplugs are synced down from Samsung clound over the binding but I cannot figure out how to add these entities to my own view.
I see these push messages from Samsung on the console:
2020-09-02 13:14:40 DEBUG (MainThread) [homeassistant.components.smartthings] Push update received: {'location_id': '[id]', 'device_id': '[id]', 'component_id': 'main', 'capability': 'energyMeter', 'attribute': 'energy', 'value': 300.62, 'data': {}} 2020-09-02 13:14:41 DEBUG (MainThread) [homeassistant.components.smartthings] Push update received: {'location_id': '[id]', 'device_id': '[id]', 'component_id': 'main', 'capability': 'powerMeter', 'attribute': 'power', 'value': 87.58, 'data': {}}
according to it the attributes are: energy or power
According to the developer tools of HA, the entity has these attributes:
current_power_w
today_energy_kwh
friendly_name
I would like to create my own view, but cannot figure it out.
I have added utility meter entries with :
101_daily_power:
source: switch.[name]_current_power
cycle: daily
102_daily_power:
source: switch.[name]_current_power_w
cycle: daily
103_daily_power:
source: switch.[name]_power
cycle: daily
104_daily_power:
source: switch.[name]_power_w
cycle: daily
none of them are working (returns 0 value, says it is paused or sometimes collecting)
I could figure out a new entity card onto my view with the following attribute: current_power_w
It is working, but how could I define it in the configuration.yaml ?
I also noticed that so many people over the forum is mentioning sensors, but I do not have such sensors - should not they be here even over Smartthings cloud ?
My finaly goal would be to collect these metrics cumulated (already found a public script) but I would need te be able to create my own entities (or maybe sensors) for this.
Isn’t there an AIO addon/app for collecting and presenting historical power consumption metrics and statuses ?
Please help