539 Commits

Author SHA1 Message Date
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
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
Simon Stürz
fb74df8f81 Start integrating zigbee into nymea 2020-11-06 18:34:54 +01:00
Jenkins nymea
a9c4717bfb Merge PR #343: Suppress recurring warning about missing user agents in http requests 2020-10-28 19:07:41 +01:00
Jenkins nymea
c956988f32 Merge PR #341: Add an API keys provider plugin mechanism 2020-10-28 19:07:39 +01:00
Jenkins nymea
e6b8d31d8d Merge PR #339: Add support for interface based script events and actions 2020-10-28 19:07:37 +01:00
Jenkins nymea
49e4c1caae Merge PR #338: Fix the webserver for serving static files 2020-10-28 19:07:36 +01:00
Jenkins nymea
82c347c3a3 Merge PR #336: Add caching information to client API 2020-10-28 19:07:35 +01:00
Jenkins nymea
0f442abe43 Merge PR #335: Fix a potential crash in logging handlers 2020-10-28 19:07:34 +01:00
Jenkins nymea
694b070f05 Merge PR #310: Add support for Python plugins 2020-10-28 19:07:25 +01:00
Jenkins nymea
db98f60556 Merge PR #309: Don't call thingRemoved() on the plugin in case of reconfiguring 2020-10-28 19:07:24 +01:00
Michael Zanetti
dcae305625 Add an API keys provider plugin mechanism 2020-10-20 19:44:47 +02:00
Michael Zanetti
e53beffb4a Suppress recurring warning about missing user agents in http requests 2020-10-19 18:47:01 +02:00
Michael Zanetti
befda2ec00 Revert back to qDebug, we're not ready for qInfo yet 2020-10-15 22:34:06 +02:00
Michael Zanetti
8aa2feb7c6 Make python plugins appear in the logging categories list 2020-10-15 22:34:06 +02:00