Commit Graph

9 Commits (b8c11cc8504aa70cd06300f636386bf3cd140180)

Author SHA1 Message Date
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