CFenner / PyViCare

Python Library to access Viessmann ViCare API
Apache License 2.0
2 stars 1 forks source link

Platform vicare does not generate unique IDs. On every start up of Home Assistant #27

Open Saarlothri opened 2 months ago

Saarlothri commented 2 months ago

One example of the Problem. I get this warnings on every start up of Home Assistant

Logger: homeassistant.components.binary_sensor Quelle: helpers/entity_platform.py:764 Integration: Binärsensor (Dokumentation, Probleme) Erstmals aufgetreten: 21. August 2024 um 22:04:34 (3 Vorkommnisse) Zuletzt protokolliert: 21. August 2024 um 22:04:34

Platform vicare does not generate unique IDs. ID xxx-circulationpump_active-0 already exists - ignoring binary_sensor.e3_vitocal_zirkulationspumpe Platform vicare does not generate unique IDs. ID xxx-frost_protection_active-0 already exists - ignoring binary_sensor.e3_vitocal_frostschutz Platform vicare does not generate unique IDs. ID xxx-compressor_active-0 already exists - ignoring binary_sensor.e3_vitocal_kompressor

CFenner commented 2 months ago

Can you share your diagnostics file?

How is your setup? Do you run multiple devices?

Saarlothri commented 2 months ago

I just have a Vital 252 Heat Pump. Nothing else from Viessmann. Here the Diagnositcs json File. config_entry-vicare-50ce18844ebb6b3b629c5147851e8828.json

Saarlothri commented 2 months ago

I hope it ist the file that you want. Here an actual warning.

Logger: homeassistant.components.button Quelle: helpers/entity_platform.py:764 Integration: Button (Dokumentation, Probleme) Erstmals aufgetreten: 12:02:30 (1 Vorkommnisse) Zuletzt protokolliert: 12:02:30

Platform vicare does not generate unique IDs. ID 7736172049389228-activate_onetimecharge already exists - ignoring button.e3_vitocal_einmalige_aufladung_aktivieren

CFenner commented 2 months ago

You have two devices listed. Can you share what's in the log?

2024-09-02 10:30:48.205 INFO (SyncWorker_8) [ViCare] Token renewed successfully
2024-09-02 10:30:48.462 INFO (SyncWorker_17) [ViCare] Device found: VScotHO1_40
2024-09-02 10:30:48.463 INFO (SyncWorker_17) [ViCare] Device found: Heatbox1
2024-09-02 10:30:48.463 INFO (SyncWorker_17) [ViCare] Device found: Heatbox1
2024-09-02 10:30:48.463 INFO (SyncWorker_17) [ViCare] Device found: VScotHO1_72

I would be interested in what your gateway is. Basically you have two devices, a heating and a gateway that provides the access to the heating. For some reason the features of the heating are passed through the gateway which makes home assistant think that you have two heatings.

Saarlothri commented 2 months ago

Here ist the log File. It's right. There are 2 Devices. But I have just one of that I Know. home-assistant_2024-09-02T11-31-35.448Z.log

CFenner commented 2 months ago

Can you please wait till the next release of HA on Wednesday and see if the issue persists after the update? This may already be fixed.

Saarlothri commented 1 month ago

Seems like it ist fixed. I do not have any warnings since the Release 2024.9.0 Thanks a lot. Great Job.