Commit Graph

148 Commits (ac4eb3d8b2a494dcbb06acfe6a48815b9ec0cdcc)

Author SHA1 Message Date
Michael Zanetti 58c83e9072 add support for interface based rules 2019-04-08 13:55:15 +02:00
Michael Zanetti b043248e65 add displayName in json api 2019-04-08 13:55:15 +02:00
Michael Zanetti 62dac29d99 make testDevices work again 2019-04-08 13:55:15 +02:00
Michael Zanetti 880b6e1418 repurpose "name" property, add displayName* props instead 2019-04-08 13:55:15 +02:00
Simon Stürz 2207ac317a Update copyright headers 2019-04-08 13:55:15 +02:00
Simon Stürz 183e164ed3 Apply review comments and fix upnp 2019-04-08 13:55:15 +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 ac436b0751 continue migrate to hardwaremanager 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 de40dbd55f cache supported devices map instead of re-parsing it all the time 2019-04-02 01:02:45 +02:00
Simon Stürz 225ff90c7d reenable debug output 2019-04-02 01:02:45 +02:00
Simon Stürz 1766cec6b6 clean up debug outputs 2019-04-02 01:02:45 +02:00
Simon Stürz 74397da6c1 add state/calendarItem/event tests 2019-04-02 01:02:45 +02:00
Michael Zanetti d0231d5cdd some more work on interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti a22d220cb7 add interface for notifications, finish param checking implementation 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
Michael Zanetti 4beb296439 autogenerate the "index" property to not bother the plugin developer with it 2019-04-02 01:02:45 +02:00
Michael Zanetti 1c35e6be59 drop todo which is actually done now 2019-04-02 01:02:45 +02:00
Michael Zanetti 4fc0ef01fa add a test 2019-04-02 01:02:45 +02:00
Michael Zanetti 37f2e47ca5 make this static, not needed for every plugin 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 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 642b5c8331 basic networkmanager functionality 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 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 1a74e9c1fe update translation install path 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 1d47e14cc4 update plugin json files 2019-04-01 20:48:17 +02:00
Simon Stürz c2399af840 add graphRelevant flag 2019-04-01 20:48:17 +02:00
Simon Stürz a05b9ad1cb add ruleRelevant flag for statetypes and eventtypes 2019-04-01 20:48:17 +02:00
Simon Stürz 5e1a62ce90 fix debug output if plugin parsing mechanism 2019-04-01 20:48:17 +02:00
Simon Stürz a0b974ce29 improve plugin parsing mechanism 2019-04-01 20:48:17 +02:00
Simon Stürz c0c2f4dbbb close #324 2019-04-01 20:48:17 +02:00
Simon Stürz a23b3ed46d add index, criticalStateTypeId, primary Action/StateType 2019-04-01 20:48:17 +02:00
Simon Stürz 7ecf0cda99 adding ccache flag 2019-04-01 20:48:17 +02:00
Simon Stürz b4738530a6 Add Bpm unit (close #330) 2019-04-01 20:48:17 +02:00