question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Platform powercalc does not generate unique IDs

See original GitHub issue

I have for a while been getting error messages regarding one light bulb but haven’t had the time to report it. As you can see in the log below the errors seem to be connected to Zigbee device naming. Stairwell light has the IEEE address 0xccccccfffec78389 in Zigbee2MQTT. sensor.stairwell_light_power and sensor.stairwell_light_energy work as they should but not the rest of the energy sensors. I have several Zigbee bulbs and with the exception to the below bulb, all sensors created by powercalc work as the should.

2022-09-20 10:40:01.793 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee is already used by sensor.stairwell_light_power - ignoring sensor.stairwell_light_power
2022-09-20 10:40:01.794 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy is already used by sensor.stairwell_light_energy - ignoring sensor.stairwell_light_energy
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_daily_peak is already used by sensor.stairwell_light_energy_daily_peak - ignoring sensor.stairwell_light_energy_daily_peak
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_daily_offpeak1 is already used by sensor.stairwell_light_energy_daily_offpeak1 - ignoring sensor.stairwell_light_energy_daily_offpeak1
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_daily_offpeak2 is already used by sensor.stairwell_light_energy_daily_offpeak2 - ignoring sensor.stairwell_light_energy_daily_offpeak2
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_weekly_peak is already used by sensor.stairwell_light_energy_weekly_peak - ignoring sensor.stairwell_light_energy_weekly_peak
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_weekly_offpeak1 is already used by sensor.stairwell_light_energy_weekly_offpeak1 - ignoring sensor.stairwell_light_energy_weekly_offpeak1
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_weekly_offpeak2 is already used by sensor.stairwell_light_energy_weekly_offpeak2 - ignoring sensor.stairwell_light_energy_weekly_offpeak2
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_monthly_peak is already used by sensor.stairwell_light_energy_monthly_peak - ignoring sensor.stairwell_light_energy_monthly_peak
2022-09-20 10:40:01.795 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_monthly_offpeak1 is already used by sensor.stairwell_light_energy_monthly_offpeak1 - ignoring sensor.stairwell_light_energy_monthly_offpeak1
2022-09-20 10:40:01.796 ERROR (MainThread) [homeassistant.components.sensor] Platform powercalc does not generate unique IDs. ID 0xccccccfffec78389_light_zigbee_energy_monthly_offpeak2 is already used by sensor.stairwell_light_energy_monthly_offpeak2 - ignoring sensor.stairwell_light_energy_monthly_offpeak2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
bramstrokercommented, Sep 20, 2022

ok nice, I will see if I can reproduce with this information. As you have defined all the entities yourself in yaml you don’t rely on auto discovery so you can just leave that disabled.

0reactions
bramstrokercommented, Sep 23, 2022

@jake404 yes this was something I also changed yesterday and is unrelated. Could you create a new issue for this, then I will provide some insights.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Platform esphome does not generate unique IDs. · Issue #1637
When there are esphome entities connected with: multiple sensors of the same platform; for platforms which do not have a static unique id....
Read more >
On reload platform does not generate unique IDs - Development
I'm developing a custom component to create time-weighted averages for sensors and I want to add a “reload” service to it.
Read more >
Hue problem - "Platform hue does not generate unique IDs"
Hi! Just recently started to get this error: "Platform hue does not generate unique IDs..." it then says then that it ignores these...
Read more >
COMPLETE power monitoring for your home! - YouTube
PowerCalc HACS component: ⏵https://github.com/bramstroker/homeas. ... They don't cost you anything extra but provide small income to get ...
Read more >
Why PowerCalc, Problem and Solution (Pillar)
1 Line Diagram is automatically, graphically and simultaneously generated. ... Power grid software (outside the facility) just does not work inside the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found