79 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
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
7cfd7bf293 fixed issue #410
fixed issue #405
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
dd495719b1 fix hue plugin and improve network detector shutdown mechanism 2019-04-02 01:01:32 +02:00
Simon Stürz
661e0a5116 Fix broken hue plugin 2019-04-02 01:01:32 +02:00
Simon Stürz
b53186da19 translate plugins 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
978a203ec1 add translation strings for plugininfo 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
5a7a5d2112 add existing translation files and test debian packaging for translations 2019-04-02 01:01:05 +02:00
Simon Stürz
a6dbf36d0f add translation files to all plugins 2019-04-02 01:01:04 +02:00
Simon Stürz
1d47e14cc4 update plugin json files 2019-04-01 20:48:17 +02:00
Simon Stürz
ed358c7d38 finish index, primary and critical definitions for plugins 2019-04-01 20:48:17 +02:00
Simon Stürz
e13de6d678 define all index fields in plugins 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
c837d2c3af update plugin documentation 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
07421e9b1f add hue upgrade action 2019-04-01 20:48:17 +02:00
Simon Stürz
0eadc5af47 Revert "Snappy" 2019-04-01 20:48:17 +02:00
Simon Stürz
8d5c75111a fix hue with white light 2019-04-01 20:48:17 +02:00
Simon Stürz
1ac51e6ff0 add hue debug messages 2019-04-01 20:48:17 +02:00
Simon Stürz
b519a35e83 add basicTags to plugin deviceclass map 2019-04-01 20:48:17 +02:00
Simon Stürz
750d8228f3 add missing license header 2019-04-01 20:48:17 +02:00
Simon Stürz
a271430204 fix hue network error 2019-04-01 20:48:17 +02:00
Simon Stürz
b44d5aa9b7 add remote events and prevent double adding of bridges 2019-04-01 20:48:17 +02:00
Simon Stürz
cf6c79ec2e add hue remote
fix light states
2019-04-01 20:48:17 +02:00
Simon Stürz
1dae30eb80 rewrite hue plugin 2019-04-01 20:48:17 +02:00
Simon Stürz
a2f7596188 fix debug output for log files
fix #249
2019-04-01 20:48:17 +02:00
Simon Stürz
02a6e2cb96 update plugins and add state desciptor validation 2019-04-01 20:48:17 +02:00
Simon Stürz
fc9b6f1887 add device parent child relation
add remove policy to REST
expand remove policy
2019-04-01 20:48:17 +02:00
Simon Stürz
9228911a8d fix hue plugin 2019-04-01 20:48:17 +02:00
Simon Stürz
6b0025125b fix #224 and fix #225 2019-04-01 20:48:17 +02:00
Simon Stürz
37c2d0219d add debug categories to each plugin
fix loading vendorId
improoved man page
improoved help message
add extern ids to extern-plugininfo.h
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
504b142df9 change plugin documentation for json file 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
5bbf1fc70b rename logging 2019-04-01 20:48:17 +02:00
Simon Stürz
c496d26866 add debug categories for plugins and update man page 2019-04-01 20:48:17 +02:00
Simon Stürz
55298f639e finalized hue plugin 2019-04-01 20:48:17 +02:00
Simon Stürz
fbfbd5743c add edit hue device
add remove hue device
2019-04-01 20:48:17 +02:00
Simon Stürz
05306f5c90 update hue plugin 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
Michael Zanetti
6a35dd61e4 workaround responses for hue getting lost
missing responses caused the plugin to hang. This workaround assumes
a missing response after 2 secs and proceeds with sending.
2019-04-01 20:48:17 +02:00
Simon Stürz
ecbf4e345a fix hue memory leak 2019-04-01 20:48:17 +02:00
Simon Stürz
f2baa2659b fix tune plugin and some hue modifications 2019-04-01 20:48:17 +02:00
Simon Stürz
4e09d25296 fixed hue brightness (0-100 and not 0-255) 2019-04-01 20:48:17 +02:00
Simon Stürz
5de104ec3d fix wemo plugin
make edit possible and remove rediscovery action
2019-04-01 20:48:17 +02:00
Simon Stürz
6d13366fc7 fix brightness 2019-04-01 20:48:17 +02:00