dresden-elektronik / deconz-rest-plugin-v2

deCONZ REST-API version 2 development repository.
BSD 3-Clause "New" or "Revised" License
17 stars 0 forks source link

Device Description Files (DDF) #3

Open manup opened 4 years ago

manup commented 4 years ago

In order to simplify the code, I'm currently looking into the many places where device specific code paths are implemented. I've created a small wiki page to gather some ideas for device description files in hindsight to improve device support and make ResourceItem and device specifics less depended on C++ code.

Be aware this may look a bit cumbersome and too complex currently ;)

https://github.com/dresden-elektronik/deconz-rest-plugin-v2/wiki/Device-Descriptions-Draft

There are a lot of missing pieces, I have some ideas for generic device support for common devices like IAS devices and lights as well as similar devices (and same devices under different name). I think for the most part we'll end up with very small device descriptions and can simplyfy the C++ side a lot.

manup commented 4 years ago

My development branch for this topic is: https://github.com/manup/deconz-rest-plugin/tree/device_descriptions