-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Split storage ... because controller persisted data are many states * Update matter.js * We can use more current version to publish (es2022 is Node.js 16+) * DeviceManagement use classes ... instead of states. wy better that way and also allows to directly execute logic on instances * Make state change callbacks async * StateObject Bi-Directional and Unit conversion Introducing a flag "isIoBrokerDevice" defined if the device originates in ioBroker vs "outside device". SOme changes are not the nicest, here I need to cleanup later. Additionally added unit conversion logic when provided. Also includes some refactoring * Update Devicetype classes Mainly adding "update*" methods that are used if the device is no ioBroekr device and value normally is not writable but a new value is pushed from the outside. Additionally I started to splitup "actual" states into own types because the double usage made funny issues. * Needed adjustment ... class unused and will be removed soon anyway, but needed change * Renamed/Updated "To Matter" classes Renamed structure and classes and needed updated from former changes. * Introduce "To Iobroker" device classes Logic to map Matter devi es for the current types into ioBroker direction. ALso includes Lock (which is yet missing for the other direction. Will get in Readme next. ALso includes a "UtilityOnly" type which for now uses a socket device as basis, needs to be discussed or added on iobroker side. * Matter.js related changes and logging * Rework GeneralMatterNode Enhance the GeneralMatterNode Logic. * Adjust Controller Node and expose some inforation for DeviceManagement * Adjust main logic * ENhance controller config type * Adjust tests ... we still miss tests for "non ioBroker devices". * Update matter.js * address review feedback
- Loading branch information
Showing
42 changed files
with
8,965 additions
and
18,545 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.