Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDF add Ubisys C4 #5661

Merged
merged 8 commits into from Jan 22, 2022
Merged

DDF add Ubisys C4 #5661

merged 8 commits into from Jan 22, 2022

Conversation

manup
Copy link
Member

@manup manup commented Jan 13, 2022

The C4 is currently broken for various reasons. The DDF is meant to replace the C++ implementation while being backward compatible. Group binding and reconfiguration of these works as for Kobold with the "auto" config.group support for all 4 endpoints.

Initially with the DDF the C4 wil create 4 device groups and binds to them so that x002 button events are received right away.
The controlled groups can be reconfigured via REST API or within the Phoscon App switch details view. It might take a minute or two until the changes are applied.

TODO

The PR seems good to go, luckily could remove some unholy C++ stuff.

Tested with C4 firmware versions:

10F2-7B09-0000-0004-0107015E-ubisys-C4.ota
10F2-7B09-0000-0004-0192020D-spo-fmi4.ota1 → this version needs to be loaded before the next one!
10F2-7B29-0000-0004-01930221-spo-fmi4.ota

Final note the firmware now also supports a nice Sw Version attribute, Date Code is still 20170531-DE-FB1.

Call checkSensorBindingsForClientClusters() only after the value has been updated.
Support "auto" group handling like for Kobold.
Todo:
[] check if device setup attribute needs to be written. The C++ version looks incomplete.
@manup manup added this to the v2.14.0-beta milestone Jan 13, 2022
@manup manup marked this pull request as draft January 13, 2022 03:00
@manup manup marked this pull request as ready for review January 16, 2022 00:34
@manup manup merged commit 32499b1 into dresden-elektronik:master Jan 22, 2022
@manup manup deleted the ubisys_c4 branch January 3, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant