72 Commits

Author SHA1 Message Date
Michael Zanetti
5e3bc2acbd Drop JsonTypes class by distributing logic to json handlers
This is required in order to be able to be more flexible in registering
new types/methods.
2019-11-01 20:46:55 +01:00
Michael Zanetti
977247e950 Complete setup api 2019-10-31 13:09:26 +01:00
Michael Zanetti
7f0f2d1d09 Rework devicemanager and plugin api 2019-10-16 17:56:49 +02:00
Michael Zanetti
98bdda1ef2 Add tests 2019-07-25 15:56:18 +02:00
Michael Zanetti
c6a0cecb0f Fix parenting mechanism for discovered devices 2019-07-25 15:56:02 +02:00
Michael Zanetti
51f5538772 Improve the PIC to detect duplicate UUIDs, give metter messages. Clean up mock plugin. 2019-07-15 22:55:11 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00
Michael Zanetti
77a3e851bd Add support for device settings 2019-07-04 13:33:50 +02:00
Simon Stürz
695914f497 Finish test implementation and verify auto device reconfiguration does work. 2019-04-10 13:12:25 +02:00
Simon Stürz
36778e8eda Add test trigger for auto device reconfiguration 2019-04-10 13:12:25 +02:00
Simon Stürz
beb00aa0f1 Implement autodevice reconfigure in mock plugin and prepare tests 2019-04-10 13:12:25 +02:00
Michael Zanetti
5badc066fb Add a deviceId to DeviceDescriptors to allow reconfiguring them 2019-04-08 13:55:15 +02:00
Michael Zanetti
371c2f76c2 move servers into subdir, cleanup some includes 2019-04-08 13:55:15 +02:00
Michael Zanetti
4c8ee8657e fix tests 2019-04-08 13:55:15 +02:00
Michael Zanetti
6cf060aa93 fix an issue where state values in rules could be casted wrong from string to double 2019-04-08 13:55:15 +02:00
Michael Zanetti
67a535619f fix typos as reported by Krazy2 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
34d68ab38a guhtestbase -> nymeatestbase 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Michael Zanetti
dca764fafd guhsettings -> nymeasettings 2019-04-08 13:55:15 +02:00
Michael Zanetti
213db704a4 add a power interface and use that for lights 2019-04-08 13:55:15 +02:00
Michael Zanetti
58c83e9072 add support for interface based rules 2019-04-08 13:55:15 +02:00
Michael Zanetti
8c0ae4eff6 remove protection for auto device removal for now...
... as we need more fine grained control over this.
2019-04-02 01:02:45 +02:00
Michael Zanetti
ec5bedf774 add a test for deviceDisappeared 2019-04-02 01:02:45 +02:00
Michael Zanetti
3b42d16777 prevent auto devices from being manually removed, allow plugins to remove them again 2019-04-02 01:02:45 +02:00
Michael Zanetti
4fc0ef01fa add a test 2019-04-02 01:02:45 +02:00
Simon Stürz
9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz
859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz
5904477af9 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz
f41d143d12 add stateType tests 2019-04-01 20:48:17 +02:00
Simon Stürz
6a60dbe2af fix device count in test 2019-04-01 20:48:17 +02:00
Simon Stürz
c95e6ebeb0 fix mock port 2019-04-01 20:48:17 +02:00
Simon Stürz
36533b61aa add REST api and tests 2019-04-01 20:48:17 +02:00
Simon Stürz
7b3348168b fix test 2019-04-01 20:48:17 +02:00
Simon Stürz
4d5429cb2b add test for edit device name 2019-04-01 20:48:17 +02:00
Simon Stürz
449c224da0 fix tests and remove mockdevices name param 2019-04-01 20:48:17 +02:00
Simon Stürz
aa5cba8189 add rest methods for testing
update rest tests with new methods
2019-04-01 20:48:17 +02:00
Simon Stürz
10497313ea add display pin mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
e070138e4b add tests for push button mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
38afa00b30 added GuhSettings 2019-04-01 20:48:17 +02:00
Simon Stürz
91afe4f29e add guhserver namespace to server 2019-04-01 20:48:17 +02:00
Simon Stürz
23f3a35a83 fix tests 2019-04-01 20:48:17 +02:00
Simon Stürz
745107c469 changed editable property to readOnly
added guhcore documentation
bump JSONRPC api version
2019-04-01 20:48:17 +02:00
Simon Stürz
b6e253e5c2 update man page
fix mock device
add some more tests
2019-04-01 20:48:17 +02:00
Simon Stürz
5af2067308 bump api versio
bump guh version
added tests for edit device
added tests for edit device (rediscovery)
added device params changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz
b366d45229 first version of edit device 2019-04-01 20:48:17 +02:00
Simon Stürz
2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Michael Zanetti
213b28ea83 add Devices.GetStateValues
Fixes #65
2019-04-01 20:48:17 +02:00