2403 Commits

Author SHA1 Message Date
Jenkins nymea
dc536db74e Merge PR #315: Use bindValue for composing query strings for the log DB 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
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
8f7002dedb Jenkins release build 0.22.0 2020-07-14 11:26:16 +02:00
Jenkins nymea
c5b52da69d Merge PR #318: Fix time filter 2020-07-14 11:26:14 +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
Jenkins nymea
9603dc60f9 Merge PR #300: 0.22 2020-07-14 11:26:14 +02:00
Jenkins nymea
7b60f05c64 Merge PR #299: Store state changes immediately when they change 2020-07-14 11:26:14 +02:00
Michael Zanetti
16f80aa24c Fix time filter 2020-07-14 11:23:05 +02:00
Bernhard Trinnes
bf0dec0925 Translated using Weblate (German)
Currently translated at 100.0% (86 of 86 strings)

Translation: nymea/nymead
Translate-URL: http://translate.nymea.io/projects/nymea/nymead/de/
2020-07-13 13:26:56 +02:00
Michael Zanetti
a4beed9aee Properly store stringlists 2020-07-10 23:15:05 +02:00
Michael Zanetti
98e5176393 Use bindValue for composing query strings for the log DB
Event/action param values might not be escaped properly otherwise
2020-07-05 12:29:38 +02:00
Michael Zanetti
4010ff35e3 Bump version for 0.22 2020-07-03 15:28:21 +02:00
Jenkins nymea
824d9b62d9 Jenkins release build 0.21.1 2020-06-26 10:23:16 +02:00
Jenkins nymea
ad7fe828dd Merge PR #313: Convert recurring UPnP message to a debug print 2020-06-26 10:23:15 +02:00
Jenkins nymea
09eb0cc8a6 Merge PR #301: Add venetianblind interface 2020-06-26 10:23:15 +02:00
Michael Zanetti
ca041bbd02 Convert recurring UPnP message to a debug print 2020-06-25 23:29:54 +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
c33f644ab8
Update README.md
Fixes #227
2020-06-16 18:11:26 +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
Bernhard Trinnes
978cfebe0d
Update README.md
Updated README image url
2020-06-12 13:47:53 +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
1fd9ac3af7 Jenkins release build 0.21.0 2020-06-07 19:16:28 +02:00
Jenkins nymea
247146ceda Merge PR #298: Add ventilation interface 2020-06-07 19:16:24 +02:00
Jenkins nymea
a01d5ea5b9 Merge PR #297: Fix UPnP discovery if wifi comes up late 2020-06-07 19:16:24 +02:00
Jenkins nymea
76335484ba Merge PR #296: Don't directly link to libssl, we're using the Qt wrappers 2020-06-07 19:16:23 +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
48fb5f7edb Merge PR #292: Check for cloud certificate file before trying to connect 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
fecce90ba3 Merge PR #288: Improve networking API 2020-06-07 19:16:23 +02:00
Jenkins nymea
94152ebe78 Merge PR #287: Drop internal networkmanager and use libnymea-networkmanager instead 2020-06-07 19:16:23 +02:00
Jenkins nymea
b1521c8207 Merge PR #286: Log DB schema 4 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
Jenkins nymea
60eebfc289 Merge PR #282: Add support for generic IO connections 2020-06-07 19:16:23 +02:00
Jenkins nymea
c816025c12 Merge PR #280: Improve error messages when a plugin fails to load 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
cf2ce0ca27 Store state changes immediately when they change 2020-05-29 18:51:51 +02:00
Michael Zanetti
dbea7acbb2 Add an I2C hardware resource 2020-05-27 22:44:36 +02:00