75 Commits

Author SHA1 Message Date
Simon Stürz
e151c0f72b add imput type mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
9b9a5d6b23 fix plugin configuration and move to plugin json file
close #264
close #268
2019-04-01 20:48:17 +02:00
Simon Stürz
b519a35e83 add basicTags to plugin deviceclass map 2019-04-01 20:48:17 +02:00
Simon Stürz
0cf6b3e174 add basic tags to the api
bump api
add unit € cent / kWh
2019-04-01 20:48:17 +02:00
Simon Stürz
1f0e13e334 add parent/child mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
10497313ea add display pin mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
02a6e2cb96 update plugins and add state desciptor validation 2019-04-01 20:48:17 +02:00
Simon Stürz
67bfd952fa fix #221 and #159 and #123 2019-04-01 20:48:17 +02:00
Simon Stürz
e070138e4b add tests for push button mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
c515dce56f add pushbutton mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
37c2d0219d add debug categories to each plugin
fix loading vendorId
improoved man page
improoved help message
add extern ids to extern-plugininfo.h
2019-04-01 20:48:17 +02:00
Simon Stürz
5bbf1fc70b rename logging 2019-04-01 20:48:17 +02:00
Simon Stürz
c496d26866 add debug categories for plugins and update man page 2019-04-01 20:48:17 +02:00
Simon Stürz
745107c469 changed editable property to readOnly
added guhcore documentation
bump JSONRPC api version
2019-04-01 20:48:17 +02:00
Simon Stürz
b6e253e5c2 update man page
fix mock device
add some more tests
2019-04-01 20:48:17 +02:00
Simon Stürz
5af2067308 bump api versio
bump guh version
added tests for edit device
added tests for edit device (rediscovery)
added device params changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz
b366d45229 first version of edit device 2019-04-01 20:48:17 +02:00
Simon Stürz
2aa55e469e added copyright 2019-04-01 20:48:17 +02:00
Michael Zanetti
2cb547f307 fix mock device states 2019-04-01 20:48:17 +02:00
Michael Zanetti
56ca42e1ca finish off the stateevaluator handling 2019-04-01 20:48:17 +02:00
Michael Zanetti
73231419a9 generate an include file with uuids from json 2019-04-01 20:48:17 +02:00
Simon Stürz
02b2cd0235 fixed mock device 2019-04-01 20:48:17 +02:00
Simon Stürz
4e5656b299 fixed multiple creation of mock autodevice on each start 2019-04-01 20:48:17 +02:00
Michael Zanetti
aad334c799 switch json api to better type system and enhance error reporting 2019-04-01 20:48:17 +02:00
Michael Zanetti
1aba1643f8 first attempt to clean up type system 2019-04-01 20:48:17 +02:00
Michael Zanetti
fb2406d478 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti
44118a1c06 initial work on moving plugin description to json 2019-04-01 20:48:17 +02:00
Michael Zanetti
b252ff9706 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti
dcd2fdc049 initial work on moving plugin description to json 2019-04-01 20:48:17 +02:00
Simon Stürz
988ef98141 fixed port binding problem of mock device 2019-04-01 20:48:17 +02:00
Michael Zanetti
fb779ad15f randomize Mock Auto device port to avoid collisions when multiple guh's are running 2019-04-01 20:48:17 +02:00
Michael Zanetti
913f08edd8 fix some param handling issues 2019-04-01 20:48:17 +02:00
Michael Zanetti
8a90e7153d don't create new mock auto devices if we already have one
Fixes #21
2019-04-01 20:48:17 +02:00
Michael Zanetti
853a46d788 randomize Mock Auto device port to avoid collisions when multiple guh's are running 2019-04-01 20:48:17 +02:00
Michael Zanetti
0614e79193 convert the remaining param lists 2019-04-01 20:48:17 +02:00
Michael Zanetti
824464e09b fix some param handling issues 2019-04-01 20:48:17 +02:00
Michael Zanetti
ac77fc669c rework how auto devices are created
also updated plugins to work with new api
2019-04-01 20:48:17 +02:00
Michael Zanetti
ab5c730920 fix devicepluginmock 2019-04-01 20:48:17 +02:00
Michael Zanetti
346ee6df35 add event params to rules test 2019-04-01 20:47:51 +02:00
Michael Zanetti
21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti
d84319fdcc Finish off param handling. New param structures now used everywhere.
Plugin params reworked. Added Devices.GetPluginConfiguration.
Cover params stuff with tests.
2014-05-04 23:59:08 +02:00
Michael Zanetti
76d2dbb4f3 added tests for all sorts of executeAction 2014-05-04 19:01:41 +02:00
Michael Zanetti
8334ec89ff test GetPlugins and removeDevice with an invalid param 2014-05-04 14:50:44 +02:00
Michael Zanetti
70f6f783b9 add a test for triggering events 2014-05-04 14:21:58 +02:00
Michael Zanetti
8916626ded fix tests again :) 2014-05-04 13:41:38 +02:00
Michael Zanetti
a9a2a8fd30 enable coverage for deviceplugins too 2014-05-04 13:33:05 +02:00
Michael Zanetti
ca91386b7d added a test for a failing async device setup 2014-05-04 13:11:21 +02:00
Michael Zanetti
bce1cacbc7 added more devicemanager tests 2014-05-04 05:08:42 +02:00
Michael Zanetti
edb6c956e6 drop some debug prints 2014-05-04 04:53:08 +02:00
Michael Zanetti
384690bb23 add a test for async device creation 2014-05-04 04:49:19 +02:00