118 Commits

Author SHA1 Message Date
Michael Zanetti
299052d2f7 Fix processing of rule action params and make tests pass again 2019-04-10 13:40:16 +02:00
Michael Zanetti
6afe3e5161 fixup api 2019-04-10 13:40:16 +02:00
Michael Zanetti
774452ff7c Add support for state based rule action params 2019-04-10 13:40:16 +02:00
Michael Zanetti
9f8600d644 drop unused search path 2019-04-08 16:50:09 +02:00
Michael Zanetti
d5468b2677 Add copyright headers 2019-04-08 16:50:03 +02:00
Michael Zanetti
cecab6a4be drop commented code 2019-04-08 16:49:55 +02:00
Michael Zanetti
c18ec356e8 Make it build with Qt 5.7, drop commented code 2019-04-08 16:49:45 +02:00
Michael Zanetti
50aa691087 Add test, fix some issues with loading internal and built-in plugin translations 2019-04-08 16:49:31 +02:00
Michael Zanetti
8ebd1ddc4e Rework translation mechanism
This branch moves the translation logic out of the DevicePlugin
into the JsonRpc layers (JsonRpcHandlers and Rest handlers) and
deprecates the Configuration.SetLanguage method call. Instead
it adds a "locale" property in the JSONRPC.Hello message. This
will allow multiple clients to connect to a single core using
different languages.
2019-04-08 16:49:24 +02:00
Michael Zanetti
59670b5d04 Add unit to pressure sensor interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
16152b98e7 Make percentage unit mandatory for extendedheating 2019-04-08 13:55:15 +02:00
Michael Zanetti
41d023e411 Add units to conductivity and light sensor interfaces 2019-04-08 13:55:15 +02:00
Michael Zanetti
62c941f3c8 Remove redundant "close" action from garagegate interface
It will be inherited by "closable"
2019-04-08 13:55:15 +02:00
Michael Zanetti
abc39f1bd4 Add a thermostat interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
5badc066fb Add a deviceId to DeviceDescriptors to allow reconfiguring them 2019-04-08 13:55:15 +02:00
Michael Zanetti
60d60ed0cd Make color and colorTemperature in lights interfaces writable 2019-04-08 13:55:15 +02:00
Michael Zanetti
948eff8319 Drop Janus and WebRTC support 2019-04-08 13:55:15 +02:00
Michael Zanetti
8991e01526 Fix merging params for discovered devices with user overrides 2019-04-08 13:55:15 +02:00
Simon Stürz
7edec8198e Remove power from heating interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
b49efd4687 Update the extended evcharger interface 2019-04-08 13:55:15 +02:00
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