Closed Vybralk closed 3 months ago
Hey there @julius2342, @deermaximum, mind taking a look at this issue as it has been labeled with an integration (velux
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
velux documentation velux source (message by IssueLinks)
Same issue for me. It is a real problem in homeassistant because we cannot associate theses somfy devices to rooms. This issue was already discussed in pyvlx requirement and the conclusion was that it has to be fixed on HA velux component side, not pyvlx side.
Looks indeed that the integration uses that serial number as the unique ID: https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/velux/__init__.py#L114
Guess that should stay the same to not break stuff. But what to use instead? I guess the node ID might be an option, although that can be renamed.
same here with Velux integration but only with 2024.5.1.. with 2024.5.0 worked fine for a day until this morning when the integration stopped to work and no way to restart
same here on a new installation
Core 2024.5.3 Supervisor 2024.05.1 Operating System 12.3 Interface utilisateur 20240501.1
it's working but you cannot configure it
Cette entité ("cover.bureau") n'a pas d'identifiant unique, par conséquent ses paramètres ne peuvent pas être gérés depuis l'interface utilisateur.
I have manualy updated mentioned 3x python files, and test it with somfy/velux motors and it works! From my point of view it is fixed and could be merged into main trunk.
I have also the problem with a Shading cover with a somfy motor and unique ID. I have integrated ist with my velux gateway into HA. My Velux gateway shows my only 1 entity which is a rolling shutter from Velux. My shading cover i can integrate in my dashboard, but i can't use it for automation. I think the problem is, that the shading cover have no unique id.
Is there a workaround to set the unique id manually?
The problem
Velux integration use KLF-200 to control blinds which are compatible with io-homecontrol protocol. I am using it currently with somfy and velux blinds. Using klf-200 and his web interface i am able to register and control all velux'/somfy blinds.
Unfortunately when i add velux integration into HA i see somfy devices only in readonly mode (as it doesnt have ID).
I have checked the log, and it seemed that somfy blinds doesn't have serial id.
SOMFY
2024-05-03 12:49:35.032 DEBUG (MainThread) [pyvlx] REC: <FrameGetAllNodesInformationNotification node_id="3" order="3" placement="0" name="Obyvak" velocity="Velocity.SILENT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="0" product_type="0" node_variation="NodeVariation.NOT_SET" power_mode="0" build_number="0" serial_number="None" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-03 12:45:45" alias_array=""/>
VELUX2024-05-03 12:49:35.004 DEBUG (MainThread) [pyvlx] NodeUpdater process frame: <FrameGetAllNodesInformationNotification node_id="0" order="0" placement="0" name="PracovnaLevaInput34" velocity="Velocity.DEFAULT" node_type="NodeTypeWithSubtype.ROLLER_SHUTTER" product_group="1" product_type="5" node_variation="NodeVariation.NOT_SET" power_mode="1" build_number="9" serial_number="53:2a:5d:32:14:0f:20:9e" state="UNKNOWN" current_position="UNKNOWN" target="UNKNOWN" current_position_fp1="UNKNOWN" current_position_fp2="UNKNOWN" current_position_fp3="UNKNOWN" current_position_fp4="UNKNOWN" remaining_time="0" time="2024-05-03 12:45:45" alias_array=""/>
it seemed to be same issua as 77928
Can we utilize the device names as serial IDs, if we're unable to obtain proper serial numbers? Or is there any other option ?
What version of Home Assistant Core has the issue?
core-2024.5.0
What was the last working version of Home Assistant Core?
core-2024.5.0
What type of installation are you running?
Home Assistant Core
Integration causing the issue
velux
Link to integration documentation on our website
https://www.home-assistant.io/integrations/velux
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response