for the Plus Plug s, and non scientific… I used another Shelly. those readings were consistent over various devices though, and also consistent with the Plug s readings in the library. Those are seen here too, so I figured the Plus Plug s measurement to be correct too.
But… it might depend on other settings in the device as the Plus Plug S is also a Bt extender. depending on the configuration that could make a difference:
I don’t have one myself, so can’t do some testing or verify. Maybe I will purchase one.
I have a Zhurui PR10 meter which is very accurate also on low power levels, so than I also can do some verifications.
This error originated from a custom integration.
Logger: custom_components.powercalc.power_profile.loader.remote
Source: custom_components/powercalc/power_profile/loader/remote.py:51
integration: Powercalc (documentation, issues)
First occurred: 4:32:20 PM (1 occurrences)
Last logged: 4:32:20 PM
Failed to download library.json from github, falling back to local copy
Logger: homeassistant.setup
Source: setup.py:398
First occurred: 4:32:20 PM (1 occurrences)
Last logged: 4:32:20 PM
Error during setup of component powercalc
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 398, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/powercalc/__init__.py", line 238, in async_setup
await discovery_manager.start_discovery()
File "/config/custom_components/powercalc/discovery.py", line 123, in start_discovery
power_profile = await self.get_power_profile(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powercalc/discovery.py", line 144, in get_power_profile
self.power_profiles[entity_id] = await get_power_profile(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powercalc/power_profile/factory.py", line 39, in get_power_profile
library = await ProfileLibrary.factory(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powercalc/power_profile/library.py", line 64, in factory
await library.initialize()
File "/config/custom_components/powercalc/power_profile/library.py", line 35, in initialize
await self._loader.initialize()
File "/config/custom_components/powercalc/power_profile/loader/composite.py", line 14, in initialize
[await loader.initialize() for loader in self.loaders] # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 31, in initialize
self.library_contents = await self.load_library_json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powercalc/power_profile/loader/remote.py", line 52, in load_library_json
with open(get_library_json_path()) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/config/custom_components/powercalc/../../profile_library/library.json'
But that’s a different entity you are talking about than? Not the climate.living_ac entity?
Not sure what you mean by But the more reliable is the digital that I can getting directly from MQTT.. You’ll need that data in an entity to make it part of HA state machine and let powercalc bind to it.
Just wanted to let you all know I have worked on a new GUI for the library listing.
Where you can easily search for a given model to see if it is supported by powercalc.
Happy to hear any feedback.
I know what is power consumption for each bulb I use. It’s specified by bulb manufacturer or I am able to measure it and power consumption is constant - bulb is not smart and it’s connected to socket switch, so we don’t need to measure/guess power consumption, it’s known and never changes.
Can I provide exact power consumption in your integration settings to make it calculating using that value?
I can’t add integration Powercalc, I’m getting error message: : “Invalid handler specified”. My HA version is 2024.3.3 - is this HA version supported?
Debug message:
Source: config_entries.py:2444
Error occurred loading flow for integration powercalc: cannot import name ‘ConfigFlowResult’ from ‘homeassistant.config_entries’ (/home/orangepi/.local/share/pipx/venvs/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py)
Is my Python version too old, or some Python lib is missing? Currently, I have no easy way to upgrade Python on my device, because I will need to use Debian Experimental repos, which I don’t really want to do.
Latest Python version available in Debian is 3.11.8 and 3.12.1 is experimental.