Commit Graph

320 Commits (41b97f2b771a5dc63e77a2f342a44acbd4e79690)

Author SHA1 Message Date
jenkins 41b97f2b77 Jenkins release build 1.8.0 2023-05-05 11:15:42 +02:00
jenkins cdb2891aa2 Merge PR #84: Add window covering cluster 2023-05-05 11:15:41 +02:00
Michael Zanetti 7395695173 Add window covering cluster 2023-03-27 15:52:01 +02:00
Michael Zanetti 359fc305f3 Provide access to formatting settings for electrical measurement cluster 2023-03-14 19:59:07 +01:00
jenkins d584d30f8d Jenkins release build 1.7.0 2023-02-21 17:42:47 +01:00
jenkins b7fe5a624e Merge PR #82: PowerConfiguration cluster: Add battery voltage 2023-02-21 17:42:47 +01:00
jenkins 2e307ae268 Merge PR #81: Align command signal names in clusters 2023-02-21 17:42:45 +01:00
jenkins d5df291bf3 Merge PR #80: Rework the reachable refreshing and manual LQI/RTG fetching 2023-02-21 17:42:44 +01:00
jenkins 366414776b Merge PR #79: TI: fix reconncting the controller at runtime 2023-02-21 17:42:43 +01:00
jenkins 2f4ee53287 Merge PR #77: Fix a typo in ClusterIdOnOffConfiguration 2023-02-21 17:42:41 +01:00
jenkins c073b0a0c3 Jenkins release build 1.6.3 2023-02-01 12:17:22 +01:00
jenkins 6195cc37d8 Jenkins release build 1.6.2 2023-01-16 14:35:03 +01:00
Michael Zanetti 9306d15c92 PowerConfiguration cluster: Add battery voltage 2022-12-30 23:22:41 +01:00
Michael Zanetti 22837865f1 Fixes reconnecting the ZigBee controller after a reset during runtime
Resets may occur by unplugging the stick or calling a softReset() from
the software side.

Additionally resets the stick when 5 subsequent timeouts happen
as there are firmwares of the CC2652 available which tend to
crash occationally.
2022-12-30 20:49:45 +01:00
Michael Zanetti eb833edee9 Align command signal names
Originally the intention was to add the commandReceived() signal to
the ColorControl cluster but noticing differences in various clusters
wrt commandSent() and commandReceived() namings of those signals.

Decided to commandReceived() as it feels more natural to use
and also the Zigbee cluster spec uses that wording.
2022-12-30 20:13:50 +01:00
jenkins 0f18424d6d Jenkins release build 1.6.1 2022-12-23 11:31:45 +01:00
Michael Zanetti 5b7ac09236 Rework the reachable refreshing
This decouples the cyclic refreshing of reachability from the
manual reading of the LQI tables:

Changes the reachable refresh to only poll once a minute, cycling
devices that need polling. Also checking for reachable will now
only read the LQI table. Also removes the coordinator node from
the cyclic checks.

In case a manual refresh is triggered, both LQI and RTG tables
will be read of all non-sleepy nodes, including the coordinator
and without any delays in between polls.
2022-12-18 22:52:17 +01:00
jenkins 782a96bb2f Jenkins release build 1.6.0 2022-12-10 14:52:21 +01:00
jenkins 0639a35750 Merge PR #78: Electrical measurement: Fix data parsing 2022-12-10 14:52:21 +01:00
jenkins d8598e18b2 Merge PR #75: Fix an occational crash in the deconz backend 2022-12-10 14:52:19 +01:00
jenkins def973fc58 Merge PR #74: Expose raw dataIndications and allow sending raw commands on ZigbeeCluster 2022-12-10 14:52:18 +01:00
Michael Zanetti 684e0dc53d Electrical measurement: Fix data parsing
Read individual entries instead of a whole list from the input stream
2022-12-02 11:29:34 +01:00
Michael Zanetti 303caf04e7 Fix a typo in ClusterIdOnOffConfiguration 2022-11-28 23:45:45 +01:00
Michael Zanetti b797b883e5 Fix an occational crash in the deconz backend
May happen if the queue runs full and controller requests time out
2022-11-19 00:36:05 +01:00
jenkins 295418c92f Jenkins release build 1.5.1 2022-11-07 16:24:59 +01:00
Michael Zanetti 75d286b29a Expose raw dataIndications and allow sending raw commands on ZigbeeCluster 2022-11-04 18:25:05 +01:00
jenkins cdc60ad00f Jenkins release build 1.5.0 2022-10-17 11:20:06 +02:00
jenkins d18b0a1be9 Merge PR #73: Fix parsing of floating point data types 2022-10-17 11:20:05 +02:00
jenkins 16b9ea03eb Merge PR #72: Register the OTA server cluster on the TI backend 2022-10-17 11:20:04 +02:00
jenkins 705bf28cc3 Merge PR #71: Silence a warning about unhandled callbacks 2022-10-17 11:20:02 +02:00
jenkins 4ea83aa44c Merge PR #70: Update all debug operators and make use of state saver 2022-10-17 11:20:00 +02:00
jenkins 761877fea2 Merge PR #68: Add Fan Control cluster implementation 2022-10-17 11:19:59 +02:00
jenkins 6200856678 Merge PR #67: Deconz: Fixes for command queuing 2022-10-17 11:19:57 +02:00
jenkins b427648eb0 Merge PR #66: Implement timeout settings for occupancy sensing cluster 2022-10-17 11:19:56 +02:00
jenkins bbbbbbc521 Merge PR #65: Complete the OTA cluster implementation 2022-10-17 11:19:55 +02:00
Michael Zanetti 5bc57b89c7 Fix parsing of floating point data types 2022-10-17 00:50:52 +02:00
Michael Zanetti 7ebe593379 Register the OTA server cluster on the TI backend
This is required by some devices (at least Tradfri) in order to
query us for images.
2022-10-15 01:28:43 +02:00
Michael Zanetti 9f96e2cc2c Handle controller busy states properly 2022-10-15 01:22:54 +02:00
Michael Zanetti f0c7172755 Silence a warning about unhandled callbacks
The firmware provides parsed messages for those responses but
we don't use them as nymea-zigbee parses this on its own.
2022-10-14 22:40:35 +02:00
Simon Stürz 2aa22ee262 Update all debug operators and make use of state saver 2022-10-13 12:48:43 +02:00
Michael Zanetti 33d3ad10e9 Add API to interact with bindings 2022-10-13 10:11:11 +02:00
Michael Zanetti acfd73c271 Obtain LQI neighbor and routing tables from the network 2022-10-13 10:10:57 +02:00
Michael Zanetti ac7972df35 Complete the OTA cluster implementation 2022-10-12 12:17:30 +02:00
Michael Zanetti 4141de2200 Implement timeout settings for occupancy sensing cluster 2022-10-12 12:16:53 +02:00
Michael Zanetti e16e04d79e queue requests that are sent before the stack is ready 2022-10-12 12:16:10 +02:00
Michael Zanetti f2511a9b25 Add Fan Control cluster implementation 2022-10-12 12:15:25 +02:00
jenkins a70afb965d Jenkins release build 1.4.1 2022-09-23 16:33:18 +02:00
jenkins 32316dd43c Merge PR #63: Fix permit joining in deconz backend 2022-09-23 16:33:18 +02:00
Michael Zanetti 23f53f38ee Fix permit joining in deconz backend
The router broadcast address 0xFFFC is not a group addres, but a
"regular" address. Setting the destinationAddressMode to GroupAddress
caused the message to not be broadcastet and permit joining was only
enabled on the coordinator.

This caused mainly the issue that joining a network would not work
if the coordinator is out of reach.
In addition to that, there are quite a bit of end devices out there
which behave badly in finding new parents and will stick to the node
they joined in the first place forever, causing them to have bad
signal if further away from the coordinator, even though there
would be routers with much better LQI.

Additionally it fixes a permit joining issue in the TI backend which would
prevent a call to setPermitJoining(0) to explicitly allow joining
only on the coordinator.

The change of radius from 10 to 30 probably isn't needed for 99% of the
networks, however, it may still help for that one percent that does
indeed have a network depth of > 10. Looking at other implementations
out there, 30 seems to be the common sense.
2022-09-10 20:12:17 +02:00
Michael Zanetti ea73d28213 Fix node type parsing
Parsing of NodeTypeEndDevice and NodeTypeRouter were swapped.
2022-08-30 22:48:19 +02:00