575 Commits

Author SHA1 Message Date
Michael Zanetti
ae38e185b6 more work... not really working yet 2021-01-02 14:33:15 +01:00
Michael Zanetti
30a0469212 Update tests 2021-01-02 14:33:15 +01:00
Michael Zanetti
5f1855ff44 Don't log all states by default any more 2021-01-02 14:33:15 +01:00
Jenkins nymea
8f27d36698 Merge PR #375: Reorder shutdown 2020-12-21 18:01:07 +01:00
Jenkins nymea
56871ad7fd Merge PR #374: Cleanup scripts on shutdown 2020-12-21 18:01:06 +01:00
Jenkins nymea
5d6ca5a45a Merge PR #373: Fix memory off-by-one overflow 2020-12-21 18:01:04 +01:00
Jenkins nymea
9b076a9873 Merge PR #370: Prevent multiple finish calls on API objects 2020-12-21 18:00:59 +01:00
Jenkins nymea
42af51fc11 Merge PR #366: Silence the webserver even more 2020-12-21 18:00:57 +01:00
Jenkins nymea
fab755f9af Merge PR #364: Allow filtering GetThingClasses for thingClassIds 2020-12-21 18:00:56 +01:00
Jenkins nymea
58ba2c9733 Merge PR #360: Allow building the plugininfocompiler standalone 2020-12-21 18:00:54 +01:00
Jenkins nymea
abf5011688 Merge PR #359: Make python plugins optional during the build process 2020-12-21 18:00:53 +01:00
Jenkins nymea
8a2d9c7e95 Merge PR #358: Increase the maximum allowed message size in JSONRPC 2020-12-21 18:00:52 +01:00
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
Michael Zanetti
5e409be5b8 Reorder shutdown
The server manager might be used by things, so we need to destroy things first
2020-12-16 01:28:22 +01:00
Michael Zanetti
f42aef106e Cleanup scripts on shutdown 2020-12-16 01:27:13 +01:00
Michael Zanetti
2898a08efd Fix memory off-by-one overflow 2020-12-15 22:30:03 +01:00
Michael Zanetti
f1fa59c535 Fix initialisation of the global logging category variable
Just accessing the raw variable doesn't guarantee the order
of construction and may lead to crashes in certain constellations.
2020-12-14 23:38:17 +01:00
Michael Zanetti
d999d1c715 Allow building the plugininfocompiler standalone
This is required to be able to build a "native" version of the pic
without having to build all the dependencies pulled in by the
HardwareManager.
2020-12-14 23:37:43 +01:00
Michael Zanetti
bf88664d90 Silence the webserver even more
Enough is enough. Now we only print warnings if there is something
wrong on our side, but not any more if the client sends bad
requests.
2020-12-11 13:07:30 +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
Michael Zanetti
4a41df3cf6 Allow filtering GetThingClasses for thingClassIds 2020-12-03 12:00:47 +01:00
Michael Zanetti
d1b57be370 Make python plugins optional during the build process 2020-11-30 20:00:04 +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
Michael Zanetti
504b88eddd Increase the maximum allowed message size in JSONRPC
Turns out 10KB can be exceeded with scripting
2020-11-25 14:08:24 +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