Michael Zanetti
2b9b8cf725
Fix a threading related crash in python plugin param handling
2021-05-11 16:34:36 +02:00
Michael Zanetti
e7a5cf854b
Add more param getter functions to the python api
2021-05-08 20:43:59 +02:00
Michael Zanetti
5964bfc598
Fix AWS reconnect if connecting stalls unexpectedly
2021-05-06 22:40:26 +02:00
Jenkins nymea
12d83242e6
Merge PR #414 : Use pkgconfig for libnymea-remoteproxyclient
2021-04-19 11:38:35 +02:00
Jenkins nymea
e43af9a49d
Merge PR #411 : Add parentId member to pyThingDescriptor
2021-04-19 11:38:31 +02:00
Jenkins nymea
c9af1280aa
Merge PR #410 : Add support for storing application data on the core
2021-04-19 11:38:30 +02:00
Jenkins nymea
10ae50cf53
Merge PR #408 : Add device serial number to system api
2021-04-19 11:38:29 +02:00
Jenkins nymea
6f6bce5dae
Merge PR #407 : Rename forgotten deviceParams in ThingDescriptor
2021-04-19 11:38:28 +02:00
Jenkins nymea
07327b8bb4
Merge PR #406 : Add browsing support to python plugin API
2021-04-19 11:38:27 +02:00
Jenkins nymea
d35765cb72
Merge PR #404 : Clean up PyStdoutHandler on shutdown
2021-04-19 11:38:25 +02:00
Jenkins nymea
84fe40b3e3
Merge PR #401 : Add support for the plugin and api key storage to python plugins
2021-04-19 11:38:21 +02:00
Jenkins nymea
a81b484635
Merge PR #396 : Don't call thingRemoved() when a thing didn't complete the setup
2021-04-19 11:38:17 +02:00
Michael Zanetti
a3e3d9a974
Use pkgconfig for libnymea-remoteproxyclient
2021-04-18 21:47:27 +02:00
Michael Zanetti
8887e13d2e
Add parentId member to pyThingDescriptor
2021-04-08 00:57:35 +02:00
Michael Zanetti
60de0a3eed
Add support for storing application data on the core
2021-04-07 00:23:19 +02:00
Michael Zanetti
e6780d947d
Add support for browsing in the python plugin api
2021-04-06 23:56:31 +02:00
Michael Zanetti
fb90efb1de
Add device serial number to system api
2021-03-19 20:11:52 +01:00
Michael Zanetti
394e3cc615
Rename forgotten deviceParams in ThingDescriptor
2021-03-17 23:26:23 +01:00
Michael Zanetti
193c647dc6
Also add api key storage api to python
2021-03-14 20:41:30 +01:00
Michael Zanetti
317467a05b
Clean up PyStdoutHandler on shutdown
2021-03-14 20:20:59 +01:00
Michael Zanetti
9d30be2568
Add support for the plugin storage to python plugins
2021-03-08 00:47:12 +01:00
Jenkins nymea
52b8d478a7
Merge PR #395 : Fix loading of JS plugins
2021-02-25 11:27:15 +01:00
Jenkins nymea
a0abaa192d
Merge PR #393 : Allow disabling python via CONFIG+=withoutpython
2021-02-25 11:27:14 +01:00
Jenkins nymea
832a0de9bd
Merge PR #391 : Allow calling ScriptAction::execute() without parameters
2021-02-25 11:27:11 +01:00
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
dab8764584
Refresh setup status before proceeding
2021-02-24 17:42:16 +01:00
Michael Zanetti
b2f9e911ad
Don't cal thingRemoved() when a thing didn't complete the setup
2021-02-20 22:56:57 +01:00
Michael Zanetti
8274550eed
Fix loading of JS plugins
2021-02-20 22:11:11 +01:00
Boernsman
3afdc2243c
incorporated changes from reviewer
2021-02-09 16:30:36 +01:00
Boernsman
6e57f1ee20
added withoutpyhton config to libnymea-core
2021-02-08 22:11:45 +01:00
Michael Zanetti
e3bba0534e
Allow calling ScriptAction::execute() without parameters
2021-02-08 12:29:15 +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
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