327 Commits

Author SHA1 Message Date
Michael Zanetti
84ef4819d3 don't use rpath for the test binaries so we don't need to strip it
this breaks the make check targets without manually exporting
LD_LIBRARY_PATH, but the make test target still works.
2019-04-01 20:48:17 +02:00
Michael Zanetti
4b96599b7a drop debug print in huebridgeconnection 2019-04-01 20:48:17 +02:00
Michael Zanetti
4211c3ae5c poll hue lights using the guhTimer to keep them in sync 2019-04-01 20:48:17 +02:00
Michael Zanetti
aaaafb7f39 add reachable state to hue lights 2019-04-01 20:48:17 +02:00
Michael Zanetti
27a68f843f add support for brightness to the hue plugin 2019-04-01 20:48:17 +02:00
Michael Zanetti
a0af88c248 fix bug in parameter verification 2019-04-01 20:48:17 +02:00
Michael Zanetti
4e35d912cc add support for listing and deleting rules in test script 2019-04-01 20:48:17 +02:00
Michael Zanetti
ac77fc669c rework how auto devices are created
also updated plugins to work with new api
2019-04-01 20:48:17 +02:00
Michael Zanetti
1c00b4c3f9 add support for managing rules to cmdmgr 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
7d8199aac5 add support for entering params when adding a device via cmdmgr 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
7a63045999 fix pairing with hue plugin 2019-04-01 20:48:17 +02:00
Michael Zanetti
9d9b228b88 add support for connecting to another host with cmdmgr 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
cd67ab567b also include guh.pri in guh.pro 2019-04-01 20:48:17 +02:00
Michael Zanetti
eed190b845 don't use .qmake.conf as it seems to break in some circumstances 2019-04-01 20:48:17 +02:00
Michael Zanetti
1c8e7d07cc add debug prints for qmake 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
ab5c730920 fix devicepluginmock 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
a1353da833 add support for params in device discovery 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
5a0d5fb7c2 add support for executing actions and list device states in cmdmgr.py 2019-04-01 20:48:17 +02:00
Michael Zanetti
dbd8f0a603 fix uninitialised variable 2019-04-01 20:48:17 +02:00
Michael Zanetti
0fb81ef3ee drop override_dh_auto_configure as it breaks debug symbols this way and isn't really needed 2019-04-01 20:48:12 +02:00
Michael Zanetti
861f5704ef properly store username in device parameters 2019-04-01 20:47:51 +02:00
Michael Zanetti
70b6cffda7 only emit state changes if the states actually change for real 2019-04-01 20:47:51 +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
3bb19915bf more tests for Event 2019-04-01 20:47:51 +02:00
Michael Zanetti
a5b0ceeee4 more tests for events 2019-04-01 20:47:51 +02:00
Michael Zanetti
55b6962ebc more tests for stateevaluator, fix found issues 2019-04-01 20:47:51 +02:00
Michael Zanetti
16645498db write more tests for the rules engine.
decouple jsonrpc versioning from application versioning
2019-04-01 20:47:51 +02:00
Michael Zanetti
d2f02d650b fix eventdescriptor's paramdescriptors handling 2019-04-01 20:47:51 +02:00
Michael Zanetti
ddebe2d0b4 add params to proper event 2019-04-01 20:47:51 +02:00
Michael Zanetti
011a0afa48 added a test for triggering a rule 2019-04-01 20:47:51 +02:00
Michael Zanetti
576e67f9f3 also add event params to rule load/store test 2019-04-01 20:47:51 +02:00
Michael Zanetti
346ee6df35 add event params to rules test 2019-04-01 20:47:51 +02:00
Michael Zanetti
9d21f32366 allow calling AddRule with a single eventDescriptor but also with a list 2019-04-01 20:47:51 +02:00
Michael Zanetti
373af5bde5 add tests for loading/storing rules to disk 2019-04-01 20:47:51 +02:00
Michael Zanetti
eec2461622 fix version check to allow automatic package version bumping 2019-04-01 20:47:51 +02:00
Michael Zanetti
bbfa2ff1d9 fix copyright information 2019-04-01 20:47:51 +02:00
Michael Zanetti
08223606ee introduce StateDescriptor and StateEvaluator for use with Rules 2014-06-09 04:34:37 +02:00
Michael Zanetti
21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti
bbd05ca7fd align jsonrpc param descriptions with the rest of the type system 2014-06-08 17:08:51 +02:00
Simon Stürz
43a063c10e fixed elro switch 2014-05-25 02:25:42 +02:00
Michael Zanetti
0dc3ac7cdb Revert "see if shlibdeps can find them now"
This reverts commit 8583686ea2ef05a94da2c39422d1e538bc3ea4a8.
2014-05-12 23:29:20 +02:00
Michael Zanetti
8583686ea2 see if shlibdeps can find them now 2014-05-12 22:45:43 +02:00
Michael Zanetti
54137c6865 allow disabling of tests 2014-05-12 22:27:04 +02:00
Michael Zanetti
93086167b9 drop libgles dep again... doesn't fix the issue and should not be required anyways 2014-05-11 17:09:42 +02:00