Commit Graph

163 Commits (183e164ed3b6a3d23b17fea128aa6bfcf2049c3a)

Author SHA1 Message Date
Simon Stürz 183e164ed3 Apply review comments and fix upnp 2019-04-08 13:55:15 +02:00
Michael Zanetti 9372c6d524 align debug prints on shutdown 2019-04-02 01:02:45 +02:00
Simon Stürz 967d3fe5ff Migrate plugintimer to libguh-core 2019-04-02 01:02:45 +02:00
Simon Stürz f7cf13aba5 Add plugin timer manager 2019-04-02 01:02:45 +02:00
Simon Stürz 19a4223906 First version of bluetooth manager 2019-04-02 01:02:45 +02:00
Simon Stürz 89b860a7eb update nullptr and improve upnp discovery 2019-04-02 01:02:45 +02:00
Simon Stürz f02a9fcdd4 add bluetooth manager 2019-04-02 01:02:45 +02:00
Simon Stürz 66b537cadc Continue migrating hardware resources 2019-04-02 01:02:45 +02:00
Simon Stürz 039619ccfd introduce hardwaremanager and remove BLUETOOTH_LE ifdef 2019-04-02 01:02:45 +02:00
Michael Zanetti 520a39a1a7 fix reloading of supported devices when language changes 2019-04-02 01:02:45 +02:00
Michael Zanetti 7aa6ab2795 make it build in jessie again 2019-04-02 01:02:45 +02:00
Michael Zanetti ac0c035566 add some housekeeping 2019-04-02 01:02:45 +02:00
Michael Zanetti daf8f4533f make the devicemanager save all the states (unless opted out in plugin.json) 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
Simon Stürz 07e2b87665 prevent double shotdown 2019-04-02 01:02:45 +02:00
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 2677ad0afd fix some more paths 2019-04-02 01:02:45 +02:00
Michael Zanetti 85c96f6b4f revert change in devicemanager 2019-04-02 01:02:45 +02:00
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 3577f37e1e fix some docs typos 2019-04-02 01:02:45 +02:00
Michael Zanetti 4355be5b4b some improvements for developing plugins 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 a64441bdf5 fix plugin path for snap 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 0877e61c2e add language notification
add configuration tests
2019-04-02 01:01:32 +02:00
Simon Stürz d77e122aca fixed documentation
finalized translation mechanism
2019-04-02 01:01:31 +02:00
Simon Stürz eb692c986e fix documentations and time 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 3db2fe81d6 begin with translation process 2019-04-02 01:00:52 +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 fb91f05b15 add final qtavahi lib 2019-04-01 20:48:17 +02:00
Simon Stürz 4191b8f37c renew gpio and pwm classes 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 541bbbdc6b fix calendar item datetime based evaluation 2019-04-01 20:48:17 +02:00
Simon Stürz d1244a9abc add more documentation 2019-04-01 20:48:17 +02:00
Simon Stürz 80e7d289f7 adding basic structure of time management to the api 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 74150aa7a6 improove plugin loading and add deviceIcon to plugins 2019-04-01 20:48:17 +02:00
Simon Stürz d5af628a52 cleanup debug
add UPnP byebye message at shutdown
2019-04-01 20:48:17 +02:00
Simon Stürz 03381cc25c add shutdown and SIG quit signal capture
update manpage
2019-04-01 20:48:17 +02:00