thanks. Can you please open the first issue in a new topic? This one is getting long. If you can reproduce and send me the logs with dynalite_devices_lib set to debug, would be great. There is another similar thread that i am working on a similar topic but not sure if it is the same.
For the second issue, is it happening when you move them to a position or simply up / down? if it is by setting the position, i believe i know where the problem is and can fix it. In my setup i use mostly up/down and i can certainly move them in parallel.
The issue with the component is that i found several bugs and pretty much had to rewrite the library to make it stable. will get the missing features / broken functionality fixed quickly
2nd issue
Yes, i mostly use set cover position, and not up down. But what confuses me is that in automations it mostly works (not allway) and from lovelace it never works, always one at the time.
Hey all, Iâm a Dynalite programmer but new to HASS.
RE: issues with feedback from your Dyanlite network ie you press a physical switch but the channels arenât updated in HASS - Iâm using a PDEG which auto configs the port to Dynet 2 and wasnât getting feedback. I configured a new TCP server port using Dynet 1 and it is now working.
Cheers
Thanks. Good to hear. If you are a Dynalite programmer, any chance that you have the binary protocol for dynet 2? i couldnât find it online so the component only supports dynet 1
This is just how Dynalite works - sending Presets will change the state of Channels within the Area, however changing Channel levels wonât affect the current Preset. Ie if you have an Area with 3 x Channels in it, sending a Preset 1 may turn on all 3 x Channels - you can individually turn all 3 x Channels off and the Area will still be in Preset 1.
The only way to get Presets to follow Channels is using conditional tasking in a device which will keep track of channel status and change the preset once they are all off - its a bit of work.
To solve this issue, I created light group in HASS using this guide:
I added the channel lights to the group and named it âAll Lightsâ. Now I have virtual dimmable Area Entity in HASS. So, I can use it in cards as a light.
When I change âAll Lightsâ, the channel lights under it get that value. Also, if I change the channel lights separately, âAll Lightsâ takes their average. Itâs very useful.
Hi Ziv,
first of all this is a great project , thanks .
i just setup HA with Dynalite over docker on mac and looks like everything works great except of one issue , when i click on the real switch (on the wall) the status of light is NOT updated in the HA panel.
but i can see on the logs that preset is changed :
I am getting devices added in HA now as lights are turned on and off.
If I turn lights on at the wall then HA updates the state.
If I toggle a switch in HA then the converterâs activity led flickers.
The probIem is I cannot yet control any lights in HA. Added the Areas to the YAML but no response on the lights. I canât seem to figure out the minimum config for a basic turn on/off.
Here is my entry in configuration.yaml:
dynalite:
bridges:
- host: 10.0.0.150
port: 12345
autodiscover: true #Turn this off when you have things working
name: dynalite
active: on
polltimer: 1
area:
'5':
name: Kitchen
'6':
name: Range
'10':
name: Study
preset:
'2':
name: Faded
'15':
name: Dining
'80':
name: Balcony