Comments (11)
This is actually working as expected.
The discovered smart plugs only provide a virtual power sensor for the self usage of the smart plug. They all consume a littlebit of energy, and Powercalc creates a power and energy sensor to get insights in these. These are called "Device power" by convention.
Entities for the actual power used by the connected appliance are already applied by the integration providing the smart plug.
To also include the existing power and energy sensors in your group (not the virtual "device power" ones) you can add the in Additional power sensors
and Additional energy sensors
options.
Hope this helps and clarifies things up for you.
from homeassistant-powercalc.
Okay Thanks. then I guess I just use the Additional sensors for the non virtual Plugs..
My thought was, when I enable Utility Meter after adding the Shelly Plug through discovey dont I have Powercalc power sensor then?
Does this not work because the Shelly Integration power sensor still exist in Background?
from homeassistant-powercalc.
When you toggle utility meter for the "discovered" shelly plug profile, it only applies to the virtual power and energy sensor created by powercalc.
As that whole GUI configuration entry is purely for the self usage / device power of the smart plug.
When you also would like to create the utility meters for the existing power and energy sensors provided by the smart plug itself you can use the "Real power" option, see here: https://homeassistant-powercalc.readthedocs.io/en/latest/sensor-types/real-power-sensor.html.
When you've done that you can also add it as a member
sensor to the group, and you don't have to use Additional power sensors
and Additional energy sensors
options in that case.
from homeassistant-powercalc.
I recreated 2 Sensors in GUI using Energy from real power sensor. One with utility meter enabled and one without.
When i create a group they both dont show up in the list of available members
.
I also reloaded hassio
from homeassistant-powercalc.
By recreated you mean you removed the ones added by powercalc and created manually using "Energy from real power" option?
That means you'll lose the sensors listing the self usage of the plugs, as I can also see in your screenshot. The Device power
sensors are not there anymore. I meant to say in my comment to add the "Energy from real power" additionally to the existing sensors from powercalc library.
But if you are not interested in the self consumption of the plugs you can of course remove them.
You mean they are not selectable here?
from homeassistant-powercalc.
By recreated you mean you removed the ones added by powercalc and created manually using "Energy from real power" option?
Yes. I removed them and used this one:
I meant to say in my comment to add the "Energy from real power" additionally to the existing sensors from powercalc library.
Then i got one from library
and one from real power
Then I can select the one from library but this does not change behaivour.
or did I get it wrong?
You mean they are not selectable here?
Correct, the Energy from real power sensor ones from the screenshot dont show up there.
from homeassistant-powercalc.
Could you share the diagnostics from the two integration entries you added?
And screenshot of what you see in the Member entities
dropdown?
That might help finding the issue.
from homeassistant-powercalc.
Sure
Plug 1: config_entry-powercalc-b911aa47e27e28bf6abee4b0828c60f9.json
Plug 4: config_entry-powercalc-a26ffec2a83a8a9f923ba3ca27a94a2d.json
PlusPlugS4 is the discovered one / from library : config_entry-powercalc-310939cde88624e10fadf695cadb5270.json
from homeassistant-powercalc.
I have looked into the code and only powercalc entries created with "Virtual power (manual or library)" are listed here.
I'll have a look if I can also add the "Energy from real power" to be selected. Will need to do some testing and verification. Will come back on it soon.
from homeassistant-powercalc.
Fixed with #2187.
You can install the master branch with HACS to test.
Or wait until next release, but that will probably be next weekend.
from homeassistant-powercalc.
Great 👍 I'm gonna test with next release update.
from homeassistant-powercalc.
Related Issues (20)
- Apple Homepod Gen2 not discovered HOT 2
- None of my virtual manual fixed sensors are loading anymore HOT 9
- Waiting on integrations to complete setup HOT 9
- versione 1.11.8 doenst work HOT 3
- Global search not working anymore in library GUI HOT 1
- LCA007 lookup not working with 1.12.0 HOT 5
- FileNotFoundError - model.json HOT 10
- Use Nanoleaf A19 Matter Bulbs for HomeKit Bulbs HOT 3
- add to group for daily energy HOT 3
- wrong energy when using template HOT 3
- No lookup file found for mode: color_temp HOT 9
- Group problem HOT 9
- Unexpected device attributes HOT 5
- Ikea LED1537R6 is not recognized. HOT 1
- Blocking call to open inside the event loop in Home Assistant 2024.6.0 beta
- Daily energy entities disappear from powercalc UI after reboot HOT 10
- OFF consumption > min ON consumption with TRADFRI bulb E27 WS globe 1055lm (LED2201G8) HOT 1
- PowerCalc: Cannot connect to powercalc.lauwbier.nl:443 HOT 2
- None entities HOT 7
- After every reboot integration automatically creates a None device HOT 32
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 homeassistant-powercalc.