Simon Stürz
42fffe647d
added qtservice
2019-04-01 20:48:17 +02:00
Simon Stürz
091dff8491
added daemon option and application parameters
2019-04-01 20:48:17 +02:00
Michael Zanetti
5cbe613a3e
improve test, fix bug in stateEvaluator
2019-04-01 20:48:17 +02:00
Simon Stürz
d396cd16d2
added test
2019-04-01 20:48:17 +02:00
Michael Zanetti
baf0884a59
fix logging of sync action executions
2019-04-01 20:48:17 +02:00
Michael Zanetti
240c5e36d6
implement a logging framework
2019-04-01 20:48:17 +02:00
Michael Zanetti
e605a41c37
improve debug print
2019-04-01 20:48:17 +02:00
Michael Zanetti
dbe0b47035
fix some comments
2019-04-01 20:48:17 +02:00
Michael Zanetti
56ca42e1ca
finish off the stateevaluator handling
2019-04-01 20:48:17 +02:00
Simon Stürz
23a09278a2
changed style color and improved icon
...
added GuhCore documentation for completeness
2019-04-01 20:48:17 +02:00
Simon Stürz
754f494746
added some more documetations
2019-04-01 20:48:17 +02:00
Simon Stürz
1f697b2b1a
added documentation and fixed some doc errors
2019-04-01 20:48:17 +02:00
Michael Zanetti
5cd3154b64
add possibility to disable/enable rules
...
Fixes #58
2019-04-01 20:48:17 +02:00
Michael Zanetti
66f4a361a1
add Events.GetEventType
...
Fixes #59
2019-04-01 20:48:17 +02:00
Michael Zanetti
63fb728269
bump version
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
f75c7abde4
bump api version
2019-04-01 20:48:17 +02:00
Michael Zanetti
c57773883d
return correct enum name
...
Fixes #68
2019-04-01 20:48:17 +02:00
Michael Zanetti
352a2dcca1
don't pack invalid/empty stateevaluator contents
...
Fixes #56
2019-04-01 20:48:17 +02:00
Michael Zanetti
477a95477b
add operator to stateevaluator in json api
...
Fixes #57
2019-04-01 20:48:17 +02:00
Michael Zanetti
de6b60734e
Decouple the json timeout from the actual error code.
...
Fixes #50
2019-04-01 20:48:17 +02:00
Michael Zanetti
1cc0c4dd15
get rid of warnings
...
this eliminates all warnings and turns on -Werror
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
a803ef8292
rename guh to guhd.
...
added a meta package for guh, that pulls in guhd and guh-plugins
2019-04-01 20:48:17 +02:00
Michael Zanetti
c9e6b7ed81
load plugins dynamically
2019-04-01 20:48:17 +02:00
Michael Zanetti
ba8e3d7ec9
fix some plugin's json
2019-04-01 20:48:17 +02:00
Michael Zanetti
b252ff9706
port new plugins to json system
2019-04-01 20:48:17 +02:00
Simon Stürz
ce54fd166a
added Lg Smart Tv support (discovery works)
2019-04-01 20:48:17 +02:00
Simon Stürz
b549b013b4
added wemo discovery and can request the powerstate of the switch
2019-04-01 20:48:17 +02:00
Simon Stürz
3a8908c982
added eQ-3 plugin
...
pluginstatus: can be discovered, still not refreshing
auto generate devices from cube missing
some errors in message parsing
2019-04-01 20:48:17 +02:00
Simon Stürz
aa528079b0
added new radio433 driver with collision detection
...
modified gpio class
2019-04-01 20:48:17 +02:00
Michael Zanetti
0614e79193
convert the remaining param lists
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
f32abc8a2e
add support for allowedValues
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
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
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
dbd8f0a603
fix uninitialised variable
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
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
9d21f32366
allow calling AddRule with a single eventDescriptor but also with a list
2019-04-01 20:47:51 +02:00