Pity you are experiencing this issue.
I’m very busy at work lately so don’t have time to deep dive atm.
But could you try this service please?
https://docs.powercalc.nl/actions/calibrate-energy/
Could you have a look into the HA logs? that might provide insights.
Otherwise please create an issue on Github.
I’ve just tried it again and it worked okay this time.
A question about how to handle devices that have another device upstream.
Is it better to use the subtract group option or insert the upstream device in the power source configuration, or can the two options coexist together?
I cannot create the tracked/untracked group as i cannot see this option inside the GUI. How to create it with YAML or why i don’t have that option?
It should be available under Group
. You can only setup a single instance of that group.
When not available please create issue in Github and we can investigate.
Thanks, it was my fault…
Now, can you tell me why i get ‘not tracked’ words near these sensors?
As you see i am still not so expert about powercalc, and i thank everyone who can help me to improve it…
I’m not sure, seems to be something from the energy dashboard.
Did not see that before. It’s not something powercalc adds.
Maybe someone else knows…
It happens since i put some upstream devices into the add device configuration.
Here is where i changed the upstream device, but really don’t know if it’s correct…
As you can see the ‘Dispositivo a Monte’ is what i mean and Presa 3 is one of those who have ‘not tracked’…
Some days ago i asked if it’s correct to use the Upstream devices or i must use the Subtract Group.
there’s some posts around the new upstream devices and the resultant untracked energy in the release thread for this month (2025.4) that might explain what you are seeing if that helps…
Thanks, i read all those messages in that thread, but for me not so expert in energy things and also for my poor english, my question now is:
Am i doing it correct to use upstream devices for all the child devices linked to that upstream? And more, if i use that hyerarchy, i can delete the subtract groups (i think they do the same) or not?
Are HVAC devices supported?
I have an ecobee thermostat that I would like to configure a virtual sensor for. I can use the hvac_action
attribute on the climate.[ecobee_name]
entity - it’ll tell me if my system is heating, cooling, or idle. From there, I can look up power usage data in my system’s owner’s manual. HA will keep track of the heating/cooling status.
Hi all,
I’m using the Powercalc integration with a smart plug (plug_pow_pc). The plug provides real-time power measurement via sensor.plug_pow_pc_power. Powercalc also creates its own device_power entity
What I want is for Powercalc to combine both device_power and power internally, so that:
The total power = device_power + power
The energy (kWh) is calculated based on this combined value over time
I don’t want to use a template sensor to add the values manually — I’m looking for a native Powercalc solution (if possible) that merges the real power from the plug with the estimated/defined power from Powercalc itself.
Is there a way to configure Powercalc to do this? Maybe through an advanced config or hidden option?
Thanks a lot!
Hey,
I have a stupid question: where exactly do I have to put the playbook csv’s?
The documentation says “config/powercalc/playbooks”
I did not find an existing config-Folder in my installation, is that expected?
I created a playbook sensor from the gui based on a source entity, but it doesn’t start when the entity turns “on”.
I can see the state change being registered in the debug log, but no further message and no change in the power sensor.
The entry in the playbook section of the gui is:
“on”: jetstroem.csv
Playbook csv is:
0.5,40
10,20
20,30
Log:
2025-04-15 14:14:27.766 DEBUG (MainThread) [custom_components.powercalc.sensors.power] light.jetstroemkeller: State changed to “on”. Power:0.00
Cheers
PeterPan
I didn’t upgrade yet to latest version of HA, so didn’t see that upstream devices part yet in energy dashboard. So cannot advice yet how this works in conjuntion with powercalc substract groups. Will have a look when I have some more time.
@dmoore44 Yes you can use states power for that. There are some examples to be found when searching for hvac_action
in this forum topic, or in the github issues / discussions.
You should cross reference (by measuring) if there is a 1 on 1 relation to be found when heating / cooling and the power consumption. owner manual will probably only report max power consumption.
There is no option yet to combine both in one sensor with one toggle when setting up the device power
sensor. I might have a look into that in the future.
You could setup a powercalc group to combine both in one sensor and hide members.
You should have a config
directory in your HA instance.
It’s the same directory where configuration.yaml
resides.
When you have File editor
addon or Visual Studio Code
addon you should be able to access it.
Did you setup state trigger
. By default no playbook will be executed, only when toggling autostart or state trigger.
That’s exactly how I did it ‘the roundabout way’, but I thought it was so obvious that this function exists that I started to wonder if I was doing something wrong. I would be happy if I could see such functionality in the future. Thanks
Thank you!
The state trigger was missing. I thought the playbook I’d has to be named like the state and that is enough.
Works now!
Excellent integration!!