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
34e387fa2b
guh-generateplugininfo -> nymea-generateplugininfo
2019-04-08 13:55:15 +02:00
Michael Zanetti
39fc071ed6
defines GUH_* -> NYMEA_*
2019-04-08 13:55:15 +02:00
Michael Zanetti
eb316a7a0c
libguh -> libnymea
2019-04-08 13:55:15 +02:00
Jenkins
b3a368874d
Automatic translations update by Jenkins
2019-04-08 13:55:15 +02:00
Michael Zanetti
58c83e9072
add support for interface based rules
2019-04-08 13:55:15 +02:00
Jenkins
57d4466f9a
Automatic translations update by Jenkins
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
Michael Zanetti
62dac29d99
make testDevices work again
2019-04-08 13:55:15 +02:00
Michael Zanetti
30a2139369
update mock plugin
2019-04-08 13:55:15 +02:00
Michael Zanetti
880b6e1418
repurpose "name" property, add displayName* props instead
2019-04-08 13:55:15 +02:00
Jenkins
4caeb15207
Automatic translations update by Jenkins
2019-04-08 13:55:15 +02:00
Michael Zanetti
1167001b0b
don't autmatically run translations compiler
...
instead add a manual "translations" target
2019-04-08 13:55:15 +02:00
Simon Stürz
2207ac317a
Update copyright headers
2019-04-08 13:55:15 +02:00
Simon Stürz
044b7958ea
Fix upnp discovery
2019-04-02 01:02:45 +02:00
Simon Stürz
c2c7e0fbc2
First building version of hardware resource abstraction
2019-04-02 01:02:45 +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
99aa833ce8
add pushbutton auth
2019-04-02 01:02:45 +02:00
Simon Stürz
39c7d9b0a1
Add update server name for avahi txt record
2019-04-02 01:02:45 +02:00
Simon Stürz
a2b55cfc2f
remove duplicated handshake method
2019-04-02 01:02:45 +02:00
Simon Stürz
1ae6864d6b
revert index in order to prevent lots of conflicts
2019-04-02 01:02:45 +02:00
Simon Stürz
2d7070417f
enable maxwarnings again
2019-04-02 01:02:45 +02:00
Simon Stürz
28cd05497f
Handl states and calendaritem correctly
2019-04-02 01:02:45 +02:00
Simon Stürz
625109f550
Fix loadSaveTimeDescriptor test and improve debug output of rule engine
2019-04-02 01:02:45 +02:00
Simon Stürz
900f409485
add avahi colition handling
2019-04-02 01:02:45 +02:00
Simon Stürz
2781ae9288
add libguh-core coverage
2019-04-02 01:02:45 +02:00
Michael Zanetti
daf8f4533f
make the devicemanager save all the states (unless opted out in plugin.json)
2019-04-02 01:02:45 +02:00
Michael Zanetti
ec5bedf774
add a test for deviceDisappeared
2019-04-02 01:02:45 +02:00
Simon Stürz
07e2b87665
prevent double shotdown
2019-04-02 01:02:45 +02:00
Michael Zanetti
314129a76f
add a test to benchmark database performance
2019-04-02 01:02:45 +02:00
Simon Stürz
ef4311df02
fix copyright
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
6122bbc706
fix linker path
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
Michael Zanetti
89d8d371f6
update plugins to use the interfaces
2019-04-02 01:02:45 +02:00
Michael Zanetti
f223da3467
reenable all the device plugins
2019-04-02 01:02:45 +02:00
Michael Zanetti
4fc0ef01fa
add a test
2019-04-02 01:02:45 +02:00
Michael Zanetti
45caf66851
initial work on interfaces
...
have some interfaces defined and in use by DeviceManager and the API.
this can be used to build first prototypes in apps using the interfaces
stuff. Currently the lights interfaces are mostly defined and fully
implemented by the Hue plugin.
TODO: more interfaces to be defined, make more plugins follow
interfaces.
TODO: tests for the interface code
TODO: docs for the interface code
2019-04-02 01:02:45 +02:00
Michael Zanetti
3577f37e1e
fix some docs typos
2019-04-02 01:02:45 +02:00
Simon Stürz
a34665eea4
Fix bluetooth error for older builds
2019-04-02 01:02:45 +02:00
Simon Stürz
7273e35adf
fix prints
2019-04-02 01:02:45 +02:00
Simon Stürz
308aef672b
fix print method
2019-04-02 01:02:45 +02:00
Simon Stürz
b9053a31ae
update plugin compiler
2019-04-02 01:02:45 +02:00
Simon Stürz
8d648b7eb8
start cleanup of multisensor plugin
2019-04-02 01:02:43 +02:00
Simon Stürz
2e4b02099b
update license headers
2019-04-02 01:02:21 +02:00
Simon Stürz
e05ef20c97
update copyright
2019-04-02 01:02:07 +02:00