Commit Graph

128 Commits (45caf668514cd7fcb8e333dc0d508eb9593f9a5e)

Author SHA1 Message Date
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 9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz 7cfd7bf293 fixed issue #410
fixed issue #405
2019-04-02 01:01:32 +02:00
Simon Stürz e189f69df2 continue with documentation update and increase json timeout to 15 s 2019-04-02 01:01:32 +02:00
Simon Stürz 28f6263ec0 fix types and network device notifications 2019-04-02 01:01:32 +02:00
Simon Stürz 41adc0d887 continue and improve networkmanager api and functionality 2019-04-02 01:01:32 +02:00
Simon Stürz d23e2dade2 improve networkmanager api and bump version 2019-04-02 01:01:32 +02:00
Simon Stürz 27dcedba70 improve and add api for networkmanager 2019-04-02 01:01:32 +02:00
Simon Stürz 00121d66c3 wifi connection working 2019-04-02 01:01:32 +02:00
Simon Stürz 22d5dc1bf6 add network manager api 2019-04-02 01:01:32 +02:00
Simon Stürz 859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz a5fbc70fc2 fix all params in all plugins 2019-04-02 01:01:19 +02:00
Simon Stürz 3db2fe81d6 begin with translation process 2019-04-02 01:00:52 +02:00
Simon Stürz 62eafb58ee fix #283
fix #303

small bug fixes and add logging for rule enable/disable and rule action execution
2019-04-01 20:48:17 +02:00
Simon Stürz aeef3717fe finish basic settings 2019-04-01 20:48:17 +02:00
Simon Stürz 9edc4395d6 remove websocket compiler flag
add cloud connection basic structure
2019-04-01 20:48:17 +02:00
Simon Stürz c2399af840 add graphRelevant flag 2019-04-01 20:48:17 +02:00
Simon Stürz a05b9ad1cb add ruleRelevant flag for statetypes and eventtypes 2019-04-01 20:48:17 +02:00
Simon Stürz c160e5ba7d bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz a23b3ed46d add index, criticalStateTypeId, primary Action/StateType 2019-04-01 20:48:17 +02:00
Simon Stürz fac55da898 close issue #341 2019-04-01 20:48:17 +02:00
Simon Stürz f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz 9d2ab92d42 add remove policy tests 2019-04-01 20:48:17 +02:00
Simon Stürz e7ee05f017 add load / save timeDescriptor 2019-04-01 20:48:17 +02:00
Simon Stürz e5d9823c2b add missing docs
first working calendarItem
2019-04-01 20:48:17 +02:00
Simon Stürz 050162c1d4 add timeevent adding tests and validation 2019-04-01 20:48:17 +02:00
Simon Stürz 12a2d8009d fix unpacking/packing methods
add first rest row for calendarItems
2019-04-01 20:48:17 +02:00
Simon Stürz af500f353c improoved rule engine and rule verification 2019-04-01 20:48:17 +02:00
Simon Stürz d1244a9abc add more documentation 2019-04-01 20:48:17 +02:00
Simon Stürz 5f32c11810 add timemanager
add evaluation of calendaritem
add pack/unpack methods
2019-04-01 20:48:17 +02:00
Simon Stürz affcb1ddf6 add basic construction of time management 2019-04-01 20:48:17 +02:00
Simon Stürz 80e7d289f7 adding basic structure of time management to the api 2019-04-01 20:48:17 +02:00
Simon Stürz 92a5060de6 complete source code documentation 2019-04-01 20:48:17 +02:00
Simon Stürz b2763cafd0 add device name
clean up guhCore
2019-04-01 20:48:17 +02:00
Simon Stürz 74150aa7a6 improove plugin loading and add deviceIcon to plugins 2019-04-01 20:48:17 +02:00
Simon Stürz 134879793f add DeviceIcon API type -> close #297
add more units -> close #301
2019-04-01 20:48:17 +02:00
Simon Stürz 8dc8531033 add pluginId to DeviceClass -> close #294 2019-04-01 20:48:17 +02:00
Simon Stürz 57df12aec5 Add current state values to device map -> close #295 2019-04-01 20:48:17 +02:00
Simon Stürz bf1235b4a7 move basic tags from type utils to DeviceClass 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 02a6e2cb96 update plugins and add state desciptor validation 2019-04-01 20:48:17 +02:00
Simon Stürz 057c1cf065 bump version
bump api version
update StateType
2019-04-01 20:48:17 +02:00
Simon Stürz 1bd913aea5 fixed #244 2019-04-01 20:48:17 +02:00
Simon Stürz 66528d6f38 fix #243 2019-04-01 20:48:17 +02:00
Simon Stürz 60067f7c0b fix #143 2019-04-01 20:48:17 +02:00
Simon Stürz fc9b6f1887 add device parent child relation
add remove policy to REST
expand remove policy
2019-04-01 20:48:17 +02:00
Simon Stürz f9c15d689e add execute rule actions 2019-04-01 20:48:17 +02:00
Simon Stürz 1f6cfd4527 add rule tests and rest resource 2019-04-01 20:48:17 +02:00
Simon Stürz ea9d8d6d90 added more tests
move httprequest and reply to server
added request parsing logic
2019-04-01 20:48:17 +02:00