Michael Zanetti
7f0f2d1d09
Rework devicemanager and plugin api
2019-10-16 17:56:49 +02:00
Michael Zanetti
98bdda1ef2
Add tests
2019-07-25 15:56:18 +02:00
Michael Zanetti
1608e07d99
BrowserItems in rules working
2019-07-25 15:56:18 +02:00
Michael Zanetti
4e7557f964
add locale option
2019-07-25 15:56:18 +02:00
Michael Zanetti
692bf6cf96
typo fix
2019-07-25 15:56:18 +02:00
Michael Zanetti
aee554a1ee
BrowserItemActions, yay!
2019-07-25 15:56:18 +02:00
Michael Zanetti
ff337bf8b6
Make browser item execution work async too
2019-07-25 15:56:18 +02:00
Michael Zanetti
57f68bcdc0
More work on adding a Device browser
2019-07-25 15:56:18 +02:00
Michael Zanetti
c6a0cecb0f
Fix parenting mechanism for discovered devices
2019-07-25 15:56:02 +02:00
Michael Zanetti
51f5538772
Improve the PIC to detect duplicate UUIDs, give metter messages. Clean up mock plugin.
2019-07-15 22:55:11 +02:00
Michael Zanetti
d24abfe3d0
Move devicemanager's implementation out of libnymea into libnymea-core
2019-07-15 22:52:52 +02:00
Simon Stürz
695914f497
Finish test implementation and verify auto device reconfiguration does work.
2019-04-10 13:12:25 +02:00
Simon Stürz
36778e8eda
Add test trigger for auto device reconfiguration
2019-04-10 13:12:25 +02:00
Simon Stürz
beb00aa0f1
Implement autodevice reconfigure in mock plugin and prepare tests
2019-04-10 13:12:25 +02:00
Michael Zanetti
5badc066fb
Add a deviceId to DeviceDescriptors to allow reconfiguring them
2019-04-08 13:55:15 +02:00
Michael Zanetti
153774ae24
Mock Plugin: Extend inputTypes mock device with states for all types
2019-04-08 13:55:15 +02:00
Michael Zanetti
81e4db3a90
Handle binding loops in rules properly
2019-04-08 13:55:15 +02:00
Michael Zanetti
635a4e3ef2
fix mock device and introduce tests logging category
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
Michael Zanetti
156ff84888
some more improvements, while at it
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
ac95880175
Update mock parent/child actions
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
Michael Zanetti
661a75a988
make use of parent mechanism in mock device
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
79cc563eb0
docs guh -> nymea
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
562e7aa89d
update how id names are generated
...
include the deviceClass/plugin name in all defines to avoid collisions
between deviceClasses within the same file. So far this hasn't
really been an issue because using idName we could set random ids.
Now interfaces dictate the names, so having multiple deviceClasses
in one file and both implementing the same interface would clash.
This also should improve readability in the plugins code as we won't
have ids like: "bridgeConnected" and "connected" available which
easily causes the developer to accidentally use "connected" where
instead "bridgeConnected" should be used (I actually found some
bugs like this while updating plugins for this). The new style
would force those states to be named like e.g. "bridgeConnected"
and "lightConnected" which are not as easy to mix up.
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
039619ccfd
introduce hardwaremanager and remove BLUETOOTH_LE ifdef
2019-04-02 01:02:45 +02:00
Michael Zanetti
ec5bedf774
add a test for deviceDisappeared
2019-04-02 01:02:45 +02:00
Michael Zanetti
2677ad0afd
fix some more paths
2019-04-02 01:02:45 +02:00
Michael Zanetti
195fb2ba63
removed all plugins, except the mock one which is required for testing
2019-04-02 01:02:45 +02:00