Commit Graph

111 Commits (3157298a65fef41ce6854a1da0300b42a0e241d8)

Author SHA1 Message Date
Simon Stürz 6bca9c08dc added more documentation 2019-04-01 20:48:17 +02:00
Simon Stürz 1f697b2b1a added documentation and fixed some doc errors 2019-04-01 20:48:17 +02:00
Michael Zanetti 1cc0c4dd15 get rid of warnings
this eliminates all warnings and turns on -Werror
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 04ed3f5685 fix merge for real 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 019541a332 add one more search path for plugins to make installed tests work 2019-04-01 20:48:17 +02:00
Michael Zanetti 97047a5f39 fix plugin loading when installed 2019-04-01 20:48:17 +02:00
Michael Zanetti d3579c6262 fix search paths 2019-04-01 20:48:17 +02:00
Michael Zanetti c9e6b7ed81 load plugins dynamically 2019-04-01 20:48:17 +02:00
Michael Zanetti 9e2f1286b1 forward radio data to discovering plugins too 2019-04-01 20:48:17 +02:00
Michael Zanetti 95b5cbbd9d Revert "always forward radio433 signals to plugins, not only when there's a configured device"
This reverts commit 0c0dffdf50.
2019-04-01 20:48:17 +02:00
Michael Zanetti 56ac1fa00f always forward radio433 signals to plugins, not only when there's a configured device 2019-04-01 20:48:17 +02:00
Michael Zanetti f426353926 always initialize radio 433 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 0fda5f99e1 fixed radio433 and added Radio 433 brennenstuhl LAN gateway 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 a0af88c248 fix bug in parameter verification 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 da9c937f94 update discoveryParams from QVariantMap to QList<Param> too 2019-04-01 20:48:17 +02:00
Michael Zanetti fcdf3e1e0b more work on the Hue plugin 2019-04-01 20:48:17 +02:00
Michael Zanetti a6725ec4e9 add initial support for pairing devices (Only CreateMethodDiscovery and SetupMethodPushButton so far)
implement an initial Philips Hue plugin to test it
add a python script to test stuff
2019-04-01 20:47:51 +02:00
Michael Zanetti 373af5bde5 add tests for loading/storing rules to disk 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 70f6f783b9 add a test for triggering events 2014-05-04 14:21:58 +02:00
Michael Zanetti 3a17985d50 revert bad hack 2014-05-04 03:46:39 +02:00
Michael Zanetti ca8717d2a0 split tests into different files 2014-05-03 23:55:08 +02:00
Michael Zanetti 7c4354a6e1 add api to do async action executions 2014-05-03 19:59:24 +02:00
Michael Zanetti 7fe317666d always add auto devices, even if setup fails 2014-05-03 15:39:38 +02:00
Michael Zanetti f7559742a4 added support for async device creation. 2014-05-03 15:10:16 +02:00
Michael Zanetti 737f6f564e make AddConfiguredDevice and RemoveConfiguredDevice more verbose
Fixes #5
2014-04-29 00:08:14 +02:00
Michael Zanetti 7c3ffbd5d6 make executeAction more verbose 2014-04-28 23:52:05 +02:00
Michael Zanetti df001695a1 convert ActionType to use ParamType instead of variants,
extend tests
2014-04-28 20:22:17 +02:00
Michael Zanetti d4053297c8 add eventdescriptor and paramdescriptor classes to be used with Rules 2014-04-25 00:46:10 +02:00
Michael Zanetti 2e8f031d74 Fixes #3 2014-04-24 21:47:45 +02:00
Simon Stürz b593360f6b added wol plugin
temporary goes every 433 data in every 433 plugin...for debugging
2014-04-23 22:16:32 +02:00
Simon Stürz 2a372dd240 added google mail notification plugin
changed licence formating
2014-04-20 18:49:39 +02:00
Michael Zanetti e312e36ab9 introduce ParamType and Param, to get more type safety and better possibilities for comparison in rules 2014-04-18 04:45:58 +02:00
Michael Zanetti 6485ebbff5 make it a little more typesafe 2014-04-18 01:48:04 +02:00
Michael Zanetti fe95326a10 fix some warnings 2014-04-16 01:13:16 +02:00
Michael Zanetti 9bfd634cd6 improve json api 2014-04-13 23:36:20 +02:00
Michael Zanetti 29c6fa4071 added addconfigureddevice for descriptors to devicemanager 2014-04-13 23:27:00 +02:00
Michael Zanetti c56ebcb6a2 also implement async replies 2014-04-13 22:40:49 +02:00
Michael Zanetti 38d4faedeb also make PluginId typesafe and add some initial discovery code 2014-04-13 19:41:01 +02:00
Michael Zanetti a5eb0ef759 some more checks 2014-04-13 17:58:33 +02:00
Michael Zanetti 8d1c7f9c03 add createmethod and setupmethod params
add support for createmethod "auto"
add functional boblight plugin
2014-04-13 10:27:08 +02:00
Michael Zanetti 34ab701f95 add much more test coverage 2014-04-06 03:33:51 +02:00
Michael Zanetti c027bb1481 reenable strict argument checking, now that we can mark parameters as optional 2014-04-06 01:32:46 +02:00
Michael Zanetti 913d544386 fix vendor in introspect, write a test for it 2014-04-06 00:41:38 +02:00
Michael Zanetti 415a48d659 make things more typesafe 2014-04-05 23:37:55 +02:00
Michael Zanetti 4f679b3bc3 restructure lib a bit. added initial code for the new rules stuff 2014-04-05 22:01:38 +02:00
Michael Zanetti cf9d460bad implemented removeconfigureddevice 2014-04-05 01:55:56 +02:00
Michael Zanetti 044be78064 added methods to query states and properly test state changes on notifications 2014-04-04 22:50:59 +02:00
Michael Zanetti 6dd81e641c some more work on states and the rules doc 2014-04-04 00:10:15 +02:00
Michael Zanetti 66890e3161 added a new mockdevice plugin 2014-04-01 00:21:19 +02:00
Simon Stürz 95f806ccaf added licence to source code 2014-03-31 21:55:33 +02:00
Simon Stürz be4ee5c14d hive -> guh 2014-03-31 20:33:30 +02:00