554 Commits

Author SHA1 Message Date
Jenkins nymea
ee911e2824 Merge PR #349: Add state based value comparison in rules 2020-12-21 18:00:43 +01:00
Jenkins nymea
2d132ab57e Merge PR #346: Add ZigBee hardware resource and network management 2020-12-21 18:00:42 +01:00
Jenkins nymea
48bbe244a7 Merge PR #344: Add a command line argument for additional server interfaces 2020-12-21 18:00:41 +01:00
Simon Stürz
5ab371afdc Implement auto setup platform mechanism and add uart serialnumber verification 2020-12-18 15:35:57 +01:00
Simon Stürz
d51327b97a Update JSON RPC descriptions and rename Zigbee to ZigBee 2020-12-16 12:59:00 +01:00
Simon Stürz
402ba069a1 Improve debug prints for better reading of joining nodes 2020-12-09 17:20:04 +01:00
Michael Zanetti
b9be92df2e Add state based value comparison in rules 2020-12-04 16:16:55 +01:00
Simon Stürz
bbc03066b4 Remove node reachable evaluation and move it to the network itself 2020-11-30 17:43:29 +01:00
Simon Stürz
66dbcc03af Remove node initializer since init process will be handled by the plugins 2020-11-28 14:28:23 +01:00
Simon Stürz
8749789322 Give plugins access to the coordinator IEEE address for unicast bindings 2020-11-25 13:05:27 +01:00
Simon Stürz
527989fe7c Ignore the coordinator node in the zigbee resource 2020-11-19 14:37:44 +01:00
Simon Stürz
e2cbffeebd Make backend type dynamic and introduce GetAvailableBackends 2020-11-18 12:23:02 +01:00
Simon Stürz
2e6f68bc41 Fix typo in alert interface 2020-11-18 12:23:02 +01:00
Simon Stürz
97b1623e27 Add platform network creation 2020-11-18 12:23:02 +01:00
Michael Zanetti
bfc4476019 allow the same plugin fetching a zigbeenode multiple times
inform the zigbeemanager about things finishing loading
2020-11-16 22:18:19 +01:00
Michael Zanetti
57ec37712a tell the zigbee resource when we're done loading things 2020-11-16 17:58:13 +01:00
Michael Zanetti
7ab98f65f7 Improve the plugin <-> node matching mechanism
* A ZigbeeNode can now only be claimed by 1 plugin.

* Unhandled nodes will now be re-evaluated on restart as there might
  have been new plugins installed which could handle this node now.
2020-11-16 15:15:28 +01:00
Simon Stürz
255a6dc090 Move zigbeemanager include into the cpp 2020-11-16 14:50:16 +01:00
Simon Stürz
3ae8baaa40 Remove serialport module since not required any more in nymea 2020-11-16 12:50:56 +01:00
Simon Stürz
ab9a497df8 Bump api version containing new Zigbee namespace 2020-11-16 10:20:58 +01:00
Simon Stürz
16bc4684e1 Experiment with binding and attribute report configuration 2020-11-16 07:55:33 +01:00
Simon Stürz
18d607319e Ping rx on when idle devices after network running 2020-11-12 17:48:53 +01:00
Simon Stürz
e9b5b618b2 Implement remove node into the resource and missing network state changed signal handling 2020-11-12 13:26:55 +01:00
Simon Stürz
685948f8c8 Merge branch 'zigbee-hardware-resource' of github.com:guh/nymea into zigbee-hardware-resource 2020-11-12 11:42:04 +01:00
Simon Stürz
a3ba16d111 Add node debugging and load network before starting it in any case 2020-11-12 11:33:06 +01:00
Michael Zanetti
4b493ac51d provisoric handling for node removal 2020-11-12 11:27:31 +01:00
Jenkins nymea
0879d379e7 Merge PR #350: Allow second level domains in email addresses 2020-11-11 10:55:28 +01:00
Michael Zanetti
b1173a3c35 Enable missing signal, fix lib exports 2020-11-07 00:24:54 +01:00
Michael Zanetti
af09702c31 first stab on the adding a plugin api 2020-11-06 19:22:19 +01:00
Simon Stürz
033d62a98d Fix double header and cpp definition due to rebase error 2020-11-06 19:04:52 +01:00
Simon Stürz
5d467de47d Introduce centralized node initializer for unified network behaviour 2020-11-06 18:36:22 +01:00
Simon Stürz
b6a6371021 Add enabled property for network as dummy for future implementation 2020-11-06 18:36:22 +01:00
Simon Stürz
203badf0c7 Improve zigbee api and add serial number 2020-11-06 18:36:22 +01:00
Simon Stürz
5ed9769427 Fix network added/removed notification parameter name 2020-11-06 18:36:22 +01:00
Simon Stürz
ee00d31ce5 Add node added and removed signals into the zigbee manager without the coordinator node 2020-11-06 18:36:22 +01:00
Simon Stürz
c3508acc23 Pass nodes into the zigbee resource and implement available for resource 2020-11-06 18:36:22 +01:00
Simon Stürz
cdf8b171f9 Finish zigbee network joining as first version 2020-11-06 18:36:22 +01:00
Simon Stürz
6edf6977a4 Add factory reset network and start implementing permit join mechanism 2020-11-06 18:36:21 +01:00
Simon Stürz
7585f30639 Basic network adding and removing working 2020-11-06 18:36:21 +01:00
Simon Stürz
a7cb0e4e26 Add network settings loading and saving 2020-11-06 18:36:21 +01:00
Simon Stürz
19216b5f04 Add Zigbee settings and prepare network creation and loading 2020-11-06 18:36:21 +01:00
Simon Stürz
61d0b96b42 Add GetAvailableAdapters to zigbee handler 2020-11-06 18:36:21 +01:00
Simon Stürz
4a520d8ba1 Rename Backend type and define ZigbeeNetworkState within the manager 2020-11-06 18:36:21 +01:00
Simon Stürz
afc97fd244 Renabe libnymea-zigbee debug category for better understanding from where this category comes from 2020-11-06 18:36:21 +01:00
Simon Stürz
6e72689c56 Make use of nymea logging categories and offer libnymea-zigbee ZigbeeNetwork logging category within nymea to enable 2020-11-06 18:36:21 +01:00
Simon Stürz
915cd25a7d Update zigbee resource logging category 2020-11-06 18:35:50 +01:00
Simon Stürz
0f0b903af8 Clean up source and dependencies and make build against libnymea-zigbee 2020-11-06 18:35:50 +01:00
Michael Zanetti
228a4f9f9c fixx da build 2020-11-06 18:35:50 +01:00
Simon Stürz
9052472150 Sort source and header file for core lib 2020-11-06 18:35:50 +01:00
Simon Stürz
7cb995767c Add zigbee serial port for api 2020-11-06 18:34:54 +01:00