56 Commits

Author SHA1 Message Date
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
Michael Zanetti
f160a92f92 add shutter interfaces 2019-04-08 13:55:15 +02:00
Michael Zanetti
f710d7febb added shutter interface 2019-04-08 13:55:15 +02:00
Simon Stürz
1754b74138 Remove intermediate action from garagegate interface for a more generic appoach, 2019-04-08 13:55:15 +02:00
Michael Zanetti
8db7e050db Add support for configuring the used database backend 2019-04-08 13:55:15 +02:00
Michael Zanetti
3a862e2050 add a door interface 2019-04-08 13:55:15 +02:00
Simon Stürz
50b55d3727 Add linker and compiler configuration for extern plugins 2019-04-08 13:55:15 +02:00
Michael Zanetti
9992974049 update tests 2019-04-08 13:55:15 +02:00
Michael Zanetti
4e3b0ddb05 split battery level into 2 2019-04-08 13:55:15 +02:00
Michael Zanetti
5f4e524cca fix inputtrigger interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
9e603cb536 cache dynamic turn credentials 2019-04-08 13:55:15 +02:00
Michael Zanetti
b502a399e5 improve plugin.pri
- combine generation of plugininfo.h and extern-plugininfo.h
- add removal of the generated files to make clean
2019-04-08 13:55:15 +02:00
Simon Stürz
b66a2a170c Change createMethods and setup method parsing toLower() 2019-04-08 13:55:15 +02:00
Simon Stürz
0d24b5ced9 Rename property methods in deviceplugin parsing mechanism 2019-04-08 13:55:15 +02:00
Simon Stürz
8a93fd8f68 Update properties methods and remove JSON information for mor generic definition formats 2019-04-08 13:55:15 +02:00
Simon Stürz
2459b2fbe1 Make json parsing more generic by using toUpper() 2019-04-08 13:55:15 +02:00
Simon Stürz
af24a07464 Add more comments and clean up code 2019-04-08 13:55:15 +02:00
Simon Stürz
2d349e28b1 Adjust mock plugins with new plugin info generation 2019-04-08 13:55:15 +02:00
Simon Stürz
023a223908 Improve plugin json parsing and fix generate-plugininfo script 2019-04-08 13:55:15 +02:00
Michael Zanetti
661a75a988 make use of parent mechanism in mock device 2019-04-08 13:55:15 +02:00
Michael Zanetti
12ff672216 only init devices after their parents have been set up 2019-04-08 13:55:15 +02:00
Michael Zanetti
b2a47036e4 QList<Device*> -> Devices 2019-04-08 13:55:15 +02:00
Michael Zanetti
2ab082bbc4 Add support for device parenting in discovery phase 2019-04-08 13:55:15 +02:00
Michael Zanetti
a2c53a762d add a plugin.pri file for use with external plugins 2019-04-08 13:55:15 +02:00
Michael Zanetti
99bec9583b don't create a dbus connection before the QCoreApplication 2019-04-08 13:55:15 +02:00
Michael Zanetti
123536f9f3 add intermediate states to garagegate interface 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8c11cc850 improve debug output for the ruleengine 2019-04-08 13:55:15 +02:00
Michael Zanetti
ec667f15d9 specify the dbus interface to prevent it from changing with autogenerated stuff 2019-04-08 13:55:15 +02:00
Michael Zanetti
67a535619f fix typos as reported by Krazy2 2019-04-08 13:55:15 +02:00
Michael Zanetti
bec536af7d cleanup libnymea api to enforce less linking on plugins 2019-04-08 13:55:15 +02:00
Simon Stürz
cc6ab96b57 Finish api documentation 2019-04-08 13:55:15 +02:00
Simon Stürz
1f58300352 Add API documentation 2019-04-08 13:55:15 +02:00
Michael Zanetti
3719d315b5 don't use all scriptable contents as it will use regular signals too
this looks like a bug in Qt to me tbh. To get around it, restrict things more
2019-04-08 13:55:15 +02:00
Michael Zanetti
59f57c38db update dbus code to be more generic 2019-04-08 13:55:15 +02:00
Michael Zanetti
0f46245230 fix stateevaluator bug where it would not properly use the OR operator 2019-04-08 13:55:15 +02:00
Michael Zanetti
c04e2090d7 remove duplicates from interface list 2019-04-08 13:55:15 +02:00
Michael Zanetti
b46eea1d61 guhTimer -> nymeaTimer 2019-04-08 13:55:15 +02:00
Michael Zanetti
4156e0abaa guru.guh.DevicePlugin -> io.nymea.DevicePlugin 2019-04-08 13:55:15 +02:00
Michael Zanetti
79cc563eb0 docs guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
5826532fc9 rename plugin output 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00