jens-maus / RaspberryMatic

:house: A feature-rich but lightweight, buildroot-based Linux operating system alternative for your CloudFree CCU3/ELV-Charly 'homematicIP CCU' IoT smarthome central. Running as a pure virtual appliance (ProxmoxVE, Home Assistant, LXC, Docker/OCI, Kubernetes/K8s, etc.) on a dedicated embedded device (RaspberryPi, etc.) or generic x86/ARM hardware.
https://raspberrymatic.de
Apache License 2.0
1.53k stars 186 forks source link

Deleting of not used Hue Devices is not possible #1001

Open PottiMc opened 3 years ago

PottiMc commented 3 years ago

Describe the bug I added a connection to my Hue Bridge and the light devices were added automatically. After deleting the connection to the Hue Bridge the lights still remain in the Device list. I was able to delete most of then. But some still remain in the list.

When using the delete button, the WebUI is confirming a delete but after some seconds the devices appear in the list again.

Steps to reproduce the behavior

  1. Conenct to Hue Bridge
  2. Delete Hue Bridge
  3. Try to delete all Hue devices
  4. ...

Expected behavior All lights should be deleted

Screenshots

Here is one device for example: grafik

System information:

Additional context Example here: https://homematic-forum.de/forum/viewtopic.php?t=55714 and here: https://homematic-forum.de/forum/viewtopic.php?t=43690

illnr commented 3 years ago

Any solution for this?

Zippochonda commented 3 years ago

Having the same problem...

HMside commented 3 years ago

https://homematic-forum.de/forum/viewtopic.php?f=26&t=42023&p=519942#p519942

PottiMc commented 3 years ago

https://homematic-forum.de/forum/viewtopic.php?f=26&t=42023&p=519942#p519942

That is a workaround and not more. You could destroy your whole device list when not done right. If there is a delete button I expect it to work.

jens-maus commented 3 years ago

https://homematic-forum.de/forum/viewtopic.php?f=26&t=42023&p=519942#p519942

That is a workaround and not more. You could destroy your whole device list when not done right. If there is a delete button I expect it to work.

Well, as said, this is an upstream problem in the closed-source HMIPServer component of the OCCU framework which RaspberryMatic just uses. Thus, there is no way for the RaspberryMatic project to improve/fix here something. So you will have to get this fixed by the vendor (eQ3) instead or use alternatives. In fact, the Hue and Osram implementation in the CCU/OCCU framework is known to be flawed, so you are suggested to use alternatives like:

https://github.com/j-a-n/homematic-addon-hue

PottiMc commented 2 years ago

@jens-maus This issue is still open and still not fixed. But I don't think it will be fixed by the RaspMatic team (which is not possible) nor the eQ3 team. You want me to close it?

jens-maus commented 1 year ago

Does this issue still exists with latest RaspberryMatic versions since eQ3 optimized certain things in the Hue interconnection/support?

PottiMc commented 1 year ago

Actually I can't tell you, I deleted the devices via script like mentioned in other forum threads and never used the Hue connection again.

Zippochonda commented 1 year ago

I have on "Device" left. Can't delete it still

hendrikmaus commented 7 months ago

I changed the IP of the Hue bridge so that the CCU cannot reach it anymore. Then went in and deleted all virtual devices from the CCU while doing the bridge device last. Seems to have worked as expected.

bandimuc commented 5 months ago

I have another issue with the Hue Adapter, I have deleted all Hue elements with success but the rega API crashed and I can't connect to ioB properly "hm-rega.0 error Cannot parse answer for devices: {" if I run a search script on elements the script stops with { as output ?? This is very annoying as names won't get synchronized :( Any idea how I can fix this parse issue ?? Thanks