forked from Koenkk/zigbee-herdsman-converters
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated zclFrameToBuffer (Koenkk#177)
* Don't throw promise.reject() when permit joins fails. But try again. * Set network paramters according to configuration.yaml * Speed up command queues * Retry reset watchdog if it fails once * Force RaspBee and ConBee to use 16bit NWK addr in data indications * Fix wrong handling of 64bit src addresses in received data responses * Remove unnecessary debug output * Use given zclFrame.toBuffer() function instead of own implementation * Don't throw error when unknown parameter is received * Added writeparameter request to permit join request * Removed unnecessary console.log * Start on conbee * Updates. * conbee -> deconz. Koenkk/zigbee-herdsman#72 * Initial suppport for reading parameters - Add basic frame parser - Handle slip protocol and crc calculation - Add queue for read and write parameters * Add dummy function DeconzAdapter.supportsLED() * Start working on write parameters * supportsLED() returns false * Implemented getCoordinator() * Added deCONZ adapter dummy functions * Implemented getCoordinatorVersion() * Implemented getNetworkParameters() * Added constants for APS layer * Startet APS layer Added readReceivedStateRequest, deviceStateRequest, deviceStateResponse, readReceivedDataRequest * Added APS layer parser functions parseDeviceStateResponse, parseReadReceivedDataResponse, parseReceivedDataNotification, * Added parser for APS responses * Refactored some deCONZ adapter functions * Added sendZclFrameNetworkAddress, sendZclFrameNetworkAddressWithResponse and sendZclFrameGroup * Added constants for deCONZ adapter * Added deCONZ driver functions for sending APS commands * Added discoverRoute, supportsDiscoverRoute dummy functions * Implemented NodeDescriptor * Added constants * Reworked debug messages and fixed send unnecessary device state requests * Some smal fixes * Implemented permit join * Fixed check DeviceStatus variables * implemented Active Endpoint request * Implemented simple descriptor * Removed reading request_id if data confirm fail * Fixed reading payload of data indication * Fix nodedescriptor devicetype * Added waitFor dummy function * Implemented lqi() * Implemented routingTable() * implemented bind() * implmented unbind() * Implemented removeDevice() * Changes at driver.ts * Fix for resolve aps request error * ieeeAddr to String now add '0x' prefix * Get correct APS data payload * Fixes for some adapter functions * Delete old code * Added constant * Added support of timeout for aps requests * Refactored deCONZ adapter functions * Added constants * Refactored driver functions and debug logs * Refactored frameparser debug logs * Updated deCONZ adapter to newest adapter version * Added device state intervall wand tweaked watchdog * Removed unused code * Removed unused code * Added received msg event, removed discoverRoute * Added catch for devicestaterequest * Handle default response when sending zcl message * Refactored debug print * Added /* istanbul ignore file */ * Fixed/ implemented zclFrame.payload to Array (for dim and color commands) * Implemented waitFor() and some changes for OTA update * Update deconzAdapter.ts * Fixed sending manufacturere specific commands * Added some attributes to zclpayloadToArray conversion needed for e.g. configure reporting TODO: this has to be reworked completely * Fixed zclPayload to array function (used by configureReporting) handle arrays of objects correctly Co-authored-by: Koen Kanters <[email protected]>
- Loading branch information
Showing
2 changed files
with
47 additions
and
191 deletions.
There are no files selected for viewing
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