Commit Graph

337 Commits (e96d5f0d4489cd9e64243d0d8becdd4f3540d73c)

Author SHA1 Message Date
Michael Zanetti e96d5f0d44 Add update interface 2020-09-06 03:11:27 +02:00
Michael Zanetti 60c55f0d85 Make signalStrength state in wirelessconnectable optional 2020-09-06 02:53:57 +02:00
Jenkins nymea 7ba9bc2add Merge PR #320: Rework garage door interfaces 2020-08-14 13:09:34 +02:00
Jenkins nymea 768b6a877e Merge PR #314: Fix conversion of values 2020-08-14 13:09:34 +02:00
Jenkins nymea bd0072e48f Merge PR #307: Loggingcategories 2020-08-14 13:09:34 +02:00
Michael Zanetti 075046ff70 Add simplegaragedoor 2020-08-01 00:26:22 +02:00
Michael Zanetti f66c3c4a60 add new interfaces to qrc 2020-07-31 17:42:51 +02:00
Michael Zanetti dfb62108fe inherit properly 2020-07-31 17:22:06 +02:00
Michael Zanetti 655e3a7f38 Rework garage door interfaces 2020-07-31 12:52:50 +02:00
Michael Zanetti 399f406d10 fixes 2020-07-27 19:38:21 +02:00
Michael Zanetti 680f574e41 don't use dcCore in the lib 2020-07-27 18:15:45 +02:00
Michael Zanetti 5002fad6d9 fix tests 2020-07-26 01:00:29 +02:00
Michael Zanetti 85146abca5 Fix type conversions of values
This fixes 5 issues in regard to types of values:

1) Default values for params in the metadata were not converted properly,
most visibly on integer values being loaded as double values.

2) Param values coming in from jsonrpc were not converted properly.

3) The plugin might set state values with invalid types or being out of range.

4) If, for some reason (e.g. earlier versions of nymea, or a plugin setting
its own params in code with a wrong type), there was a param value with a
wrong type in the system, we stored that wrong type and restored it on loading
of plugin params while instead it really should be converted to the specified
type in the ParamType.

5) If a plugin is not loaded for a configured thing, the old code would
not initialize the states properly but upon shutdown save those invalid
values to the cache.
2020-07-15 00:22:43 +02:00
Jenkins nymea 3aac5df9f9 Merge PR #306: Vaguely inform the plugin about the origin of actions. 2020-07-14 11:26:14 +02:00
Jenkins nymea c369bd15aa Merge PR #305: Allow emitting events from things directly 2020-07-14 11:26:14 +02:00
Michael Zanetti 75afab7eaf Add nymea logging categories as opposed to just Qt ones 2020-06-17 14:32:35 +02:00
Michael Zanetti 021f2479d9 Vaguely inform the plugin about the origin of actions.
Fixes #277
2020-06-16 17:49:41 +02:00
Michael Zanetti f029184651 Allow emitting events from things directly 2020-06-16 16:16:23 +02:00
Michael Zanetti 24ecbf4f79 int precision is enough for the angle
Co-authored-by: Christian Fetzer <fetzer.ch@gmail.com>
2020-06-12 11:51:52 +02:00
Michael Zanetti 327e06367b Add better description to closables 2020-06-08 00:03:02 +02:00
Michael Zanetti ffae936125 Add venetianblind interface
And fix a bug in shutter, which should extend closable
instead of simpleclosable just like blinds and awnings.
2020-06-07 23:51:25 +02:00
Jenkins nymea 247146ceda Merge PR #298: Add ventilation interface 2020-06-07 19:16:24 +02:00
Jenkins nymea 1854604e32 Merge PR #295: Cleanup license headers/files 2020-06-07 19:16:23 +02:00
Jenkins nymea f820b7dd00 Merge PR #294: Add a helper function to more easily access ZeroConf txt records 2020-06-07 19:16:23 +02:00
Jenkins nymea 7337105073 Merge PR #291: Fix thing class translations 2020-06-07 19:16:23 +02:00
Jenkins nymea bf3a29b868 Merge PR #290: Add support for restarting nymea in the system api 2020-06-07 19:16:23 +02:00
Jenkins nymea 917c58d145 Merge PR #289: Add an I2C hardware resource 2020-06-07 19:16:23 +02:00
Jenkins nymea 5ab6bd56b7 Merge PR #285: Add an irrigation interface 2020-06-07 19:16:23 +02:00
Jenkins nymea 3156264787 Merge PR #283: Reject duplicate ids in plugin json 2020-06-07 19:16:23 +02:00
Michael Zanetti 82703de061 Fixes after testing/review 2020-06-07 19:15:39 +02:00
Michael Zanetti dbea7acbb2 Add an I2C hardware resource 2020-05-27 22:44:36 +02:00
Michael Zanetti b5ba11d039 Add ventilation interface 2020-05-27 10:58:22 +02:00
Michael Zanetti 311646efc7 Drop old GPL2 license file from libnymea 2020-05-20 11:32:58 +02:00
Michael Zanetti 17eb0fc697 Add a helper function to more easily access ZeroConf txt records 2020-05-18 11:37:20 +02:00
Michael Zanetti 322bcf56a6 Add support for inverting the connections 2020-05-09 19:14:02 +02:00
Michael Zanetti 6d295d74b1 Add irrigation interface 2020-05-05 23:25:48 +02:00
Michael Zanetti 4e509d75f8 Add tests, some fixes/improvements 2020-05-05 21:04:07 +02:00
Michael Zanetti 688cde9c9c Fix translating thing classes 2020-05-04 12:45:45 +02:00
Michael Zanetti 28624e264d Add support for restarting nymea in system api 2020-05-01 21:19:22 +02:00
Michael Zanetti 9f856f3ce9 Add support for generic IO connections 2020-05-01 14:43:23 +02:00
Michael Zanetti 1531a38297 Make the duplicate UUID check more strict 2020-04-08 13:57:31 +02:00
Jenkins nymea 59bfd9ba83 Merge PR #275: Add a displayMessage for errors to browsing operations 2020-04-05 14:43:23 +02:00
Michael Zanetti d362ce913e Add a displayMessage for errors to browsing operations 2020-03-25 00:22:34 +01:00
Michael Zanetti dfc593358d Add Radio Paradise icon support in the browser 2020-03-17 13:18:00 +01:00
Michael Zanetti 0b5284d5f5 Update Experience plugin api 2020-03-05 17:15:02 +01:00
Michael Zanetti 8208473302 bump api 2020-03-05 16:16:57 +01:00
Michael Zanetti 2fbbaeda97 More work 2020-03-03 16:54:55 +01:00
Michael Zanetti 3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +01:00
Jenkins nymea 59747e03c1 Merge PR #268: Add units: newton, newtonmeter and rpm 2020-02-23 23:38:29 +01:00
Jenkins nymea 6b4640d412 Merge PR #265: Keep devices without plugins in the system 2020-02-23 23:38:28 +01:00