444 Commits

Author SHA1 Message Date
Michael Zanetti
45caf66851 initial work on interfaces
have some interfaces defined and in use by DeviceManager and the API.
this can be used to build first prototypes in apps using the interfaces
stuff. Currently the lights interfaces are mostly defined and fully
implemented by the Hue plugin.

TODO: more interfaces to be defined, make more plugins follow
interfaces.
TODO: tests for the interface code
TODO: docs for the interface code
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
Michael Zanetti
e3c57c226b fix tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
f45e093cf1 don't access TimeManager at this point...
besides, we want the given timestamp anyways
2019-04-02 01:02:45 +02:00
Michael Zanetti
414d25c870 fix time events for rules
old code would compare QTime == QTime() every second which might not trigger
if e.g. milliseconds don't match. New code checks the interval between the
last check and the current one.
2019-04-02 01:02:45 +02:00
Michael Zanetti
98748e800d make logging optional 2019-04-02 01:02:45 +02:00
Michael Zanetti
3577f37e1e fix some docs typos 2019-04-02 01:02:45 +02:00
Simon Stürz
2e4b02099b update license headers 2019-04-02 01:02:21 +02:00
Simon Stürz
9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz
2d7b59f713 fix test method for setting the time 2019-04-02 01:01:32 +02:00
Simon Stürz
7cfd7bf293 fixed issue #410
fixed issue #405
2019-04-02 01:01:32 +02:00
Simon Stürz
a64441bdf5 fix plugin path for snap 2019-04-02 01:01:32 +02:00
Simon Stürz
51a4dda185 translations installation path 2019-04-02 01:01:32 +02:00
Simon Stürz
1f47d00c22 continue snappy packaging 2019-04-02 01:01:32 +02:00
Simon Stürz
e189f69df2 continue with documentation update and increase json timeout to 15 s 2019-04-02 01:01:32 +02:00
Simon Stürz
68d0ed1b34 update source documentation 2019-04-02 01:01:32 +02:00
Simon Stürz
655d79d8e6 fix reconnection 2019-04-02 01:01:32 +02:00
Simon Stürz
feed7ac396 fix networkmanager device type 2019-04-02 01:01:32 +02:00
Simon Stürz
28f6263ec0 fix types and network device notifications 2019-04-02 01:01:32 +02:00
Simon Stürz
41adc0d887 continue and improve networkmanager api and functionality 2019-04-02 01:01:32 +02:00
Simon Stürz
8045b5a0e7 fix reconnection 2019-04-02 01:01:32 +02:00
Simon Stürz
62948a8229 add keep alive controll 2019-04-02 01:01:32 +02:00
Simon Stürz
d23e2dade2 improve networkmanager api and bump version 2019-04-02 01:01:32 +02:00
Simon Stürz
a3352f4787 improve network manager api 2019-04-02 01:01:32 +02:00
Simon Stürz
27dcedba70 improve and add api for networkmanager 2019-04-02 01:01:32 +02:00
Simon Stürz
00121d66c3 wifi connection working 2019-04-02 01:01:32 +02:00
Simon Stürz
22d5dc1bf6 add network manager api 2019-04-02 01:01:32 +02:00
Simon Stürz
642b5c8331 basic networkmanager functionality 2019-04-02 01:01:32 +02:00
Simon Stürz
d53bb66ac7 update rules and add ping to cloud server 2019-04-02 01:01:32 +02:00
Simon Stürz
af17ac38b0 update package description 2019-04-02 01:01:32 +02:00
Simon Stürz
80fcb5736f add colour to stdout
fix cloud url
update cloud api
2019-04-02 01:01:32 +02:00
Simon Stürz
6ebda18235 fix guhd translations 2019-04-02 01:01:32 +02:00
Simon Stürz
0877e61c2e add language notification
add configuration tests
2019-04-02 01:01:32 +02:00
Simon Stürz
8c90550c63 bump api and fix all tests 2019-04-02 01:01:21 +02:00
Simon Stürz
859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz
a5fbc70fc2 fix all params in all plugins 2019-04-02 01:01:19 +02:00
Simon Stürz
d3abd9bf9f add guh-translations package 2019-04-02 01:01:05 +02:00
Simon Stürz
503939b559 update plugininfo compiler 2019-04-02 01:00:52 +02:00
Simon Stürz
8f28d75120 experiment with translation install path 2019-04-02 01:00:52 +02:00
Simon Stürz
1e4e2ac09c add translations mechanism for plugins 2019-04-02 01:00:52 +02:00
Simon Stürz
3db2fe81d6 begin with translation process 2019-04-02 01:00:52 +02:00
Simon Stürz
25223de636 finalized bluetooth server 2019-04-02 01:00:52 +02:00
Simon Stürz
5bcedc40df add missing licence headers 2019-04-02 01:00:52 +02:00
Simon Stürz
22ab445403 write initial config file
update cloud authentication server to secure connection (ignoring self signed errors)
2019-04-02 01:00:52 +02:00
Simon Stürz
7387bc1b72 fixed cloud urls and credentials 2019-04-02 01:00:52 +02:00
Simon Stürz
ec0a9a5c9d basic bluetooth server infrastructure 2019-04-02 01:00:41 +02:00
Simon Stürz
76f886c220 make test server only listen to localhost for security reasons 2019-04-01 20:48:17 +02:00
Simon Stürz
0bfd8b27f9 clea up debug output 2019-04-01 20:48:17 +02:00
Simon Stürz
62eafb58ee fix #283
fix #303

small bug fixes and add logging for rule enable/disable and rule action execution
2019-04-01 20:48:17 +02:00
Simon Stürz
e5f1bce097 add avahi service txt entries
fixed include file
add missing configuration notifications
2019-04-01 20:48:17 +02:00