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
Simon Stürz
58de1d5715
Limit shutdown timeout of systemd service to 30 seconds
2020-12-15 10:47:50 +01:00
Simon Stürz
02edd475eb
Remove SIGSEGV handling and backtrace printing for proper coredump creation
2020-12-15 10:32:07 +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
a11a219bbf
Prevent multiple finish calls on API objects
...
Bad plugin implementations might call finish() more than once
which is not expected by receivers of the finished() signal and
may cause weird side effects.
2020-12-14 23:38:17 +01:00
Michael Zanetti
c31b99b04e
Add a rudimentary mechanism for plugins to provide service data
2020-12-14 23:37:59 +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
0cf7679341
revert newline change to avoid conflicts
2020-12-14 23:32:11 +01:00
Boernsman
2299a5eb27
added tag optional to account interfaces
2020-12-14 10:39:00 +01:00
Michael Zanetti
30f69e619b
Add a UnitMilliSeconds
2020-12-11 17:30:58 +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
12eef39013
Fix potential wrong state signal
...
Make sure to emit the very same value we store
2020-12-06 23:33:23 +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
4ce5d773b0
remove broken images
2020-12-02 20:22:16 +01:00
Michael Zanetti
7be805aa2b
Fix Discord link
2020-12-02 19:54: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
Michael Zanetti
b1ede004b3
Improve parameter validation for interface actions and events
2020-11-28 14:51:28 +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
73f4321e3e
0.25 version bump
2020-11-27 11:10:44 +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
Michael Zanetti
a8453418cc
Add paramValue() convenience functions to be in line with stateValue() api
2020-11-21 20:17:14 +01:00
Simon Stürz
527989fe7c
Ignore the coordinator node in the zigbee resource
2020-11-19 14:37:44 +01:00
Michael Zanetti
de5fec5950
Add a note for including extern-plugininfo.h for plugin developers
2020-11-18 17:07:59 +01:00
Simon Stürz
929ef2fb5d
Update API json
2020-11-18 12:23:02 +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
Simon Stürz
0c4a23a487
Bump JSON ROC API version
2020-11-16 16:29:45 +01:00
Simon Stürz
897b49b1f3
Add zigbee notifications to enable/disable JSONRPC tests
2020-11-16 16:07:54 +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
400239fc6c
Add libnymea-zigbee-dev package to the build dependencies
2020-11-16 11:07:01 +01:00
Simon Stürz
562e3235d8
Add nymea-zigbee as build dependency to libnymea
2020-11-16 10:51:31 +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