Michael Zanetti
1451ba9a46
fix crash if a JsonReply times out but we still get a result afterwards
2019-04-02 01:02:45 +02:00
Michael Zanetti
fcc6ee45fe
make it build with -Werror=implicit-fallthrough
2019-04-02 01:02:45 +02:00
Michael Zanetti
ce123f9352
emit a notification when a plugin config is changed
...
fixes #418
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
9076f0ae72
close #325
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
92a5060de6
complete source code documentation
2019-04-01 20:48:17 +02:00
Simon Stürz
4a8db83c8b
add DevicePairingInfo
...
remove name param from devices
close #310
2019-04-01 20:48:17 +02:00
Simon Stürz
1ef6c80e79
add editDevice method
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
b2763cafd0
add device name
...
clean up guhCore
2019-04-01 20:48:17 +02:00
Simon Stürz
5faef5b7b5
finish awattar prototype
2019-04-01 20:48:17 +02:00
Simon Stürz
1dae30eb80
rewrite hue plugin
2019-04-01 20:48:17 +02:00
Simon Stürz
fc9b6f1887
add device parent child relation
...
add remove policy to REST
expand remove policy
2019-04-01 20:48:17 +02:00
Simon Stürz
c6681ec151
add more core documentation
2019-04-01 20:48:17 +02:00
Simon Stürz
ea9d8d6d90
added more tests
...
move httprequest and reply to server
added request parsing logic
2019-04-01 20:48:17 +02:00
Simon Stürz
34e53ef5b3
add more rest resources
2019-04-01 20:48:17 +02:00
Simon Stürz
b86a062a87
added deviceresources and first tests
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
5bbf1fc70b
rename logging
2019-04-01 20:48:17 +02:00
Simon Stürz
a8727407eb
added logging category to core and lib
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
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
Simon Stürz
bb03280583
added device added/removed notification
2019-04-01 20:48:17 +02:00
Michael Zanetti
21f05315a6
fix typo
2019-04-01 20:48:17 +02:00
Michael Zanetti
213b28ea83
add Devices.GetStateValues
...
Fixes #65
2019-04-01 20:48:17 +02:00
Michael Zanetti
aad334c799
switch json api to better type system and enhance error reporting
2019-04-01 20:48:17 +02:00
Michael Zanetti
1aba1643f8
first attempt to clean up type system
2019-04-01 20:48:17 +02:00
Michael Zanetti
824464e09b
fix some param handling issues
2019-04-01 20:48:17 +02:00
Michael Zanetti
53fe5557e0
fix issues in param handling in json api
2019-04-01 20:48:17 +02:00
Michael Zanetti
e4f3c9aba1
fix parsing of params
2019-04-01 20:48:17 +02:00
Michael Zanetti
be90f47f63
more work on rules
...
disallow removing a device if a rule still refers to it unless
parameters contain information on what to do with those rules.
2019-04-01 20:48:17 +02:00
Michael Zanetti
5f61ae03a7
make DeviceManager and RuleEngine in GuhCore private
...
This helps to have a cleaner separation between modules and have a
place to do inter-module checks before modifying data (e.g.
cascade deleting rules when a device is deleted etc)
2019-04-01 20:48:17 +02:00
Michael Zanetti
da9c937f94
update discoveryParams from QVariantMap to QList<Param> too
2019-04-01 20:48:17 +02:00
Michael Zanetti
fcdf3e1e0b
more work on the Hue plugin
2019-04-01 20:48:17 +02:00
Michael Zanetti
a6725ec4e9
add initial support for pairing devices (Only CreateMethodDiscovery and SetupMethodPushButton so far)
...
implement an initial Philips Hue plugin to test it
add a python script to test stuff
2019-04-01 20:47:51 +02:00
Michael Zanetti
21738b3907
state changes emit events now
2014-06-08 20:52:30 +02:00
Michael Zanetti
d84319fdcc
Finish off param handling. New param structures now used everywhere.
...
Plugin params reworked. Added Devices.GetPluginConfiguration.
Cover params stuff with tests.
2014-05-04 23:59:08 +02:00
Michael Zanetti
384690bb23
add a test for async device creation
2014-05-04 04:49:19 +02:00
Michael Zanetti
46e6642b90
added a test for device discovery
2014-05-04 03:45:50 +02:00
Michael Zanetti
f7559742a4
added support for async device creation.
2014-05-03 15:10:16 +02:00
Michael Zanetti
737f6f564e
make AddConfiguredDevice and RemoveConfiguredDevice more verbose
...
Fixes #5
2014-04-29 00:08:14 +02:00
Simon Stürz
2a372dd240
added google mail notification plugin
...
changed licence formating
2014-04-20 18:49:39 +02:00
Michael Zanetti
e312e36ab9
introduce ParamType and Param, to get more type safety and better possibilities for comparison in rules
2014-04-18 04:45:58 +02:00
Michael Zanetti
6485ebbff5
make it a little more typesafe
2014-04-18 01:48:04 +02:00
Michael Zanetti
9ab9f2314f
oops
2014-04-16 01:50:08 +02:00
Michael Zanetti
fe95326a10
fix some warnings
2014-04-16 01:13:16 +02:00