585 Commits

Author SHA1 Message Date
Jenkins nymea
2050ac23cb Merge PR #382: Silence plugin dir debug print 2021-02-25 11:27:05 +01:00
Jenkins nymea
4348390d50 Merge PR #381: Don't crash when a python plugin fails to load 2021-02-25 11:27:04 +01:00
Jenkins nymea
01e9ad8916 Merge PR #337: Support for configuring logging and filtering states/events 2021-02-25 11:26:56 +01:00
Michael Zanetti
a95b2de303 Silence plugin dir debug print
This is printed before logging filters are set because it's needed
for generating the --help text. There shouldn't be a debug print at
this place yet.
2021-01-09 11:48:59 +01:00
Michael Zanetti
3f0321f195 Don't crash when a python plugin fails to load 2021-01-09 11:38:26 +01:00
Michael Zanetti
e52b45c815 fix tests 2021-01-04 18:02:26 +01:00
Michael Zanetti
3fb74cc9e4 Add API to configure logging/filtering by the client 2021-01-04 16:43:28 +01:00
Michael Zanetti
32eb6d6dd7 tune filter 2021-01-03 21:58:10 +01:00
Michael Zanetti
eeb1feade0 Add a jitter filtering mechanism 2021-01-02 14:33:15 +01:00
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
Simon Stürz
64a5ffbd37 Fix warning and pointer initialization 2020-12-30 00:15:08 +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