98 Commits

Author SHA1 Message Date
Michael Zanetti
c6d9bdd75c Make loading and tearing down of the core more predictable 2019-04-08 13:55:15 +02:00
Michael Zanetti
73200c3c67 Split the smartlock and simpleclosable interfaces
They're not necessarily available both in all kinds of hardware.
2019-04-08 13:55:15 +02:00
Michael Zanetti
d956df8483 Allow overriding device parameters from discovered devices 2019-04-08 13:55:15 +02:00
Michael Zanetti
14f05e5d6c Add power socket interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
bb27615943 Add a presencesensor interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
375ac1baea add a daylight sensor interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
15938cafb3 Fix an issue where Rules might not be initialized properly at startup 2019-04-08 13:55:15 +02:00
Simon Stürz
6f1e22546a Replace generate interface documentation script and improve interfaces docs 2019-04-08 13:55:15 +02:00
Michael Zanetti
c79908f1e2 fix media interfaces 2019-04-08 13:55:15 +02:00
Michael Zanetti
dd47a51597 make shufflerepeat states writable 2019-04-08 13:55:15 +02:00
Michael Zanetti
6002c19d5f rework media interfaces 2019-04-08 13:55:15 +02:00
Simon Stürz
e51508ee33 Update webserver debug output, add WebServerTraffic category and fix favicons for debugserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
7764bc8757 fix issues from review 2019-04-08 13:55:15 +02:00
Michael Zanetti
16cdd29eb8 emit a signal when a device name is changed so plugins can act on it 2019-04-08 13:55:15 +02:00
Michael Zanetti
cb38dc0853 add license headers 2019-04-08 13:55:15 +02:00
Michael Zanetti
9eab2d3cc9 add noisesensor and co2sensor interfaces 2019-04-08 13:55:15 +02:00
Michael Zanetti
5df41cba4a add api doc 2019-04-08 13:55:15 +02:00
Michael Zanetti
5bf1fb5bc4 add API to request a client connected to the internal mqtt broker to mqttprovier 2019-04-08 13:55:15 +02:00
Michael Zanetti
5847d6831d add support for an MQTT hardware resource 2019-04-08 13:55:15 +02:00
Michael Zanetti
8d05f984c0 mqtt broker now working 2019-04-08 13:55:15 +02:00
Simon Stürz
a0c2143c4b Add status report generator and finish debug interface improvements 2019-04-08 13:55:15 +02:00
Michael Zanetti
d3f1e199f2 split color light interface into color temperature light 2019-04-08 13:55:15 +02:00
Michael Zanetti
a1d961eecc add hearting/evcharger interfaces 2019-04-08 13:55:15 +02:00
Michael Zanetti
94579bc50a add fingers parameter 2019-04-08 13:55:15 +02:00
Michael Zanetti
fe8b0cab14 initial take on a fingerprint reader interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
3629371f96 add smart meter interfaces 2019-04-08 13:55:15 +02:00
Michael Zanetti
6b636fb82e initial take on adding a smartmeter interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
293a3c7833 add a system interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
0606c83509 gateways must implement connectable now 2019-04-08 13:55:15 +02:00
Simon Stürz
4a0da12be9 Call plugin init method after plugin configuration loading 2019-04-08 13:55:15 +02:00
Michael Zanetti
058cb8af06 store the state type along with the value in the state cache 2019-04-08 13:55:15 +02:00
Simon Stürz
a69b32a572 Improve cloud transport and fix authentication required in Hello and handshake 2019-04-08 13:55:15 +02:00
Simon Stürz
f9343534f4 Add new units and bump json api version 2019-04-08 13:55:15 +02:00
Simon Stürz
e82efc7021 Add basic structure of first plugin tutorial and continue with docs 2019-04-08 13:55:15 +02:00
Simon Stürz
dcd410457d Update core documentation and fix inline warnings 2019-04-08 13:55:15 +02:00
Simon Stürz
50bd22cedd Add plugin wizard tutorial and improve style sheet 2019-04-08 13:55:15 +02:00
Michael Zanetti
6cf060aa93 fix an issue where state values in rules could be casted wrong from string to double 2019-04-08 13:55:15 +02:00
Michael Zanetti
200666ee3e add interfaces useful for irrigation scenarios 2019-04-08 13:55:15 +02:00
Michael Zanetti
de3e0dedc7 allow multiple inheritance with interfaces 2019-04-08 13:55:15 +02:00
Simon Stürz
ff66e366b4 Add bluetooth server debug categories and improve bluetooth server behaviour 2019-04-08 13:55:15 +02:00
Michael Zanetti
9dcab1293c rework closable interfaces a bit
simpleclosable  (a: open, close)
|- awning (a: stop)
|  |- extendedawning (s: percentage, moving)
|- blind  (a: stop)
|  |- extendedblind (s: percentage, moving)
|- closable (s: state)
|  |- garagegate (a: stop, s: intermediateposition)
|- shutter (a: stop)
|- smartlock (a, unlatch s: state)

simpleclosable (a: open, close)
|- closable (a: stop)
|  |- awning
|  |- blind
|  |- shutter
|  |- garagegate (s: state, intermediatePosition)
|  |- extendedclosable (s: moving, s: percentage)
|     |- extendedawning
|     |- extendedblind
|     |- extendedshutter
|- smartlock (a: unlatch, s: state)
2019-04-08 13:55:15 +02:00
Michael Zanetti
a6f4ddf188 Implement a tagging system 2019-04-08 13:55:15 +02:00
Michael Zanetti
b7262b51e4 add docs 2019-04-08 13:55:15 +02:00
Michael Zanetti
abd2305bc0 add support for paramTypes by name 2019-04-08 13:55:15 +02:00
Michael Zanetti
e21c2f16a5 add support for interface based StateDescriptors 2019-04-08 13:55:15 +02:00
Simon Stürz
5f226df930 Fix translation update path for external plugins 2019-04-08 13:55:15 +02:00
Simon Stürz
087a89b64b Replace door with smartlock interface 2019-04-08 13:55:15 +02:00
Simon Stürz
b0125bb8c6 Fix json typos in interfaces 2019-04-08 13:55:15 +02:00
Simon Stürz
d641833eca Add smartlock interface and simplify simpleclosable interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
9c49712a99 add pressuresensor interface 2019-04-08 13:55:15 +02:00