Commit Graph

71 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 62dac29d99 make testDevices work again 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 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 de40dbd55f cache supported devices map instead of re-parsing it all the time 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 3b42d16777 prevent auto devices from being manually removed, allow plugins to remove them again 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
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 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 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 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 fb91f05b15 add final qtavahi lib 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 74150aa7a6 improove plugin loading and add deviceIcon to plugins 2019-04-01 20:48:17 +02:00
Simon Stürz 9b9a5d6b23 fix plugin configuration and move to plugin json file
close #264
close #268
2019-04-01 20:48:17 +02:00
Simon Stürz 3157298a65 smal fixes 2019-04-01 20:48:17 +02:00
Simon Stürz 16e6e2de3b add EXPORT to lib for shared symbols 2019-04-01 20:48:17 +02:00
Simon Stürz bf1235b4a7 move basic tags from type utils to DeviceClass 2019-04-01 20:48:17 +02:00
Simon Stürz 0cf6b3e174 add basic tags to the api
bump api
add unit € cent / kWh
2019-04-01 20:48:17 +02:00
Simon Stürz e194b3af83 add netatmo outdoor module 2019-04-01 20:48:17 +02:00
Simon Stürz 21ec58e871 added Bluetooth LE discovery hardware resource (Qt >= 5.4.0) 2019-04-01 20:48:17 +02:00
Simon Stürz ee41ef5cfa add displayPin setupMethod 2019-04-01 20:48:17 +02:00
Simon Stürz a6a02ba6fb make writable states more clear in plugin json 2019-04-01 20:48:17 +02:00
Simon Stürz 2ab185d215 update plugin json files
add unit to states
2019-04-01 20:48:17 +02:00
Simon Stürz 745107c469 changed editable property to readOnly
added guhcore documentation
bump JSONRPC api version
2019-04-01 20:48:17 +02:00
Simon Stürz b366d45229 first version of edit device 2019-04-01 20:48:17 +02:00
Simon Stürz 2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Simon Stürz b88994e3f4 added postSetupDevice 2019-04-01 20:48:17 +02:00
Simon Stürz 957a42955a fixed inline comments 2019-04-01 20:48:17 +02:00
Simon Stürz 88a8e9dff6 prepared networkmanager for plugins 2019-04-01 20:48:17 +02:00
Simon Stürz 3129d6a15c enabled NOTIFY for UPnP plugins
added reconnect support for LG Smart Tv (pairing)
fixed missing uuid from UDAP2.0 device
2019-04-01 20:48:17 +02:00
Simon Stürz 30f5c44e08 added upnp discovery as hardware resource 2019-04-01 20:48:17 +02:00
Simon Stürz 25fd83e648 added optional repetition value for rf433 transmitting 2019-04-01 20:48:17 +02:00
Michael Zanetti 2cb547f307 fix mock device states 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 fb2406d478 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti 44118a1c06 initial work on moving plugin description to 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