Open BrainbugN1 opened 10 months ago
Hello, This dali-gateway probably has a function-id that is new to this integration. You can try to make a dump of your free@home configuration as described in as 1 in the debugging section of the startpage. With this xml we can figure out if this dali-gateway works the sames as all the other light devices
Hello, I have a similar problem for some time now, as I can no longer see various devices in Home Assistant.
In my configuration I have 2x DALI controllers, 1x dimming actuator 6-way, 1x sensor/switch actuator 8-way, and a sensor unit 12-way, 1x SysAP controller. To differentiate in the GUI from BuschJaeger, I have assigned different names for the devices. Example: DALI-GW-02, DALI_GW_01, the actuators also have customized names for the light panels Haupt_P11 (A0 TC), Flur_P01 (A4 TC), Kueche_P01 (A6 TC).
When I look into the integration I can only see one device and that is the sensor/switch actuator 8-way, but in the dump file I can see all devices and panels.
Can someone help me here? Please find attached the XML file, I had to Zip it.
Hello @aty19 , could you adjust the logging level in your configuration.yaml like this?
logger:
default: warning
logs:
custom_components.freeathome: info
This could give you extra information why you don't see the other devices.
Hello @jheling thank you for the fast response, I had a look to the log file but I am still not able to find the problem. Do you have a hint?
Hello, The integration now ignores devices that are not assigned to a room in the standard free@home app. If you give those devices a room a lot more of them will appear in home assistant.
Thanks for the tip, I´ve managed to add the Dimming actor, but the Dali Gateways and the lights still not visible in the Devices or Entities, in the FreeatHome Acces Point I can not assign the DALI Gateways to a Room, but the Lights yes (and I still not able to see them in Home Assistant)
Do you have an id of one of the lights that do not appear?
I have the same issue. The differentiating factor appears to be whether the driver behind DALI gateway is TC capable or not.
This channel/light IS NOT visible:
<channel maxScenes="10" channelId="06E2" isActive="true" mask="00000001" nameId="004F" persistentId="0000" i="ch0000" cid="ABB706E2">
<attribute name="displayName">YK Oleskelu Lednauha Vasen</attribute>
<attribute name="floor">02</attribute>
<attribute name="functionId">40</attribute>
<attribute name="hardwareIdentifier">A0 TC</attribute>
This channel/light IS visible (and controllable):
<channel maxScenes="10" channelId="06E2" isActive="true" mask="00000002" nameId="0050" persistentId="0001" i="ch0001" cid="ABB706E2">
<attribute name="displayName">YK Oleskelu Lednauha Oikea</attribute>
<attribute name="floor">02</attribute>
<attribute name="functionId">12</attribute>
<attribute name="hardwareIdentifier">A1 </attribute>
This is the DALI GW data:
<device deviceFlavor="00" interface="TP" minConfigVersion="0001" protocolVersion="0004" deviceId="1023" isTp="true" softwareVersion="2.1510" softwareId="15E6" iconId="0034" buildNumber="000005E6" compilerVersion="007AD559" shortSerialNumber="RCC" nameId="FFAB" maxAPDULength="37" profile="0E00" individualAddress="015D" domainAddress="0D39" name="DALI Gateway" serialNumber="ABB702630F2F" commissioningState="ready" consistencyTag="c133" copyId="d" progress="100">
Functions under the channel are defined as:
<functions>
<function bestMatch="false" fixed="false" isDefault="true" actuatorMatchCode="00000001" sensorMatchCode="00000000" accessLevel="Enduser" functionId="0012" nameId="00EC" preconfigured="true" name="Dim actuator"/>
<function bestMatch="false" fixed="false" isDefault="false" actuatorMatchCode="00000002" sensorMatchCode="00000000" accessLevel="Enduser" functionId="0040" nameId="023B" preconfigured="true" name="Warm white/cold white lamp"/>
<function bestMatch="false" fixed="false" isDefault="false" actuatorMatchCode="00000004" sensorMatchCode="00000000" accessLevel="Enduser" functionId="002F" nameId="F108" preconfigured="true" name="RGB color"/>
<function bestMatch="false" fixed="false" isDefault="false" actuatorMatchCode="00000000" sensorMatchCode="00000000" accessLevel="Enduser" functionId="0000" nameId="0000" preconfigured="false" name="invalid string id"/>
</functions>
@docjones0. I cannot find much documentation relating TC capable. Is this the switching between warm white and cold white?
@jheling - yes, tunable white (or TC = Temperature Control) is part of Dali-2. Today IEC specification 62386, part 209.
@jheling - what information is needed to make this work?
@docjones0 . It's just some spare time i have to find. I have already looked at the dump aty19 made and this shows there is a new functionId for TC capable lights. Do you have a link to a free@home dali manual where is explained how to set the light temperature? And looking at the configuration dump Dali should also handle RGB values.
Would it help to provide more data dumps? I also have a DALI controller and RGB lights as well as TC capable ones. I've implemented them already in my own Rust-based automation tool (just for fun) and it would be great to see that working here, too. So if you need more dumps, let me know.
Hello, i have made #182 . This will turn on/off the dali devices and dim the devices. @cweyer . I have searched the free@home dali manuals for any information about how to setup the color temperature. Is this a new feature?
If I remember correctly the colour settings for the DALI lights are the same as for connected Hue lights, I'll check tomorrow.
Hello @jheling - would this answer some of the questions: https://electronics.stackexchange.com/questions/604979/dali-209-device-type-8-cct-control
Attached is an example of my DALI device output.
The function IDs are indeed different than for Phillips Hue. For DALI they seem to be:
2f
RGBW lights
40
Dimmable, white-tone adjustable lights
The colour can be set via 0x0017
(pairing ID 23, AL_HSV) according to https://developer.eu.mybuildings.abb.com/fah_local/reference/pairingids/
I have updated #182 with temperature controlled lights and rgb lights. As I don't have a Dali actuator, there can appear some errors. Please log these under the pull request.
Hi @jheling . My Dali-Gateway has 5 connected lights. Four led panels are correctly shown by your integration, the turnable whit led strip isn't. Here is the xml dump file. The name of the light is "Schattenfuge Büro". Do you think there might a away to add this one? freeathome_dump_192.168.178.33_2024_07_21_21_53_42.xml.zip
@Alox-K Have you also used the code in #182? It should also handle the turnable white led strip.
Thank you for the hint @jheling. I didn't notice the code there right know but tried it. It's working, thank you! (Feeling like a programmer after the copy and paste operation :-) ) Are you going to merge this thing back to your main code? Otherwise, I will loose this support after an upgrade of your addon...?
Thank you very much!
@Alox-K. I am not merging the code yet. I still need some confirmation that the rgb lights are working. You tested the Dimmable, white-tone adjustable lights, so that is confirmed. Last time i the merge of another pull request went wrong, because it was not fully tested
is there a way to add the light from the Dali-Gateway? i cant find a single one.