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
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
Jenkins nymea
cc33b5ffc8
Merge PR #258 : Improve heating interfaces
2020-02-23 23:38:28 +01:00
Simon Stürz
9a9e5dbacf
Add newton, newton meter and rpm units
2020-02-17 15:27:44 +01:00
Michael Zanetti
68e9fe1ba1
Cache device classes and keep devices with missing plugins in the system
2020-02-10 00:53:28 +01:00
Michael Zanetti
6e4a0bc84b
Add better device setup status details to api
2020-02-10 00:53:04 +01:00
Michael Zanetti
fb94178920
Move authentication to Users namespace
2020-02-08 01:30:11 +01:00
Michael Zanetti
03602b755f
Improve heating interfaces
...
Make heating inherit from power and require min/max values for
thermostat's targetTemperature
2020-01-30 17:33:08 +01:00
Michael Zanetti
8f5536ba1a
Update copyright
2020-01-23 20:07:26 +01:00
Jenkins nymea
7e4b09f3c2
Merge PR #249 : Add Bluetooth media icon
2020-01-22 23:47:15 +01:00
Jenkins nymea
6552c7e221
Merge PR #242 : Support units in interfaces
2020-01-22 23:47:15 +01:00
Jenkins nymea
e256ac034d
Merge PR #238 : Add System Time API
2020-01-22 23:47:14 +01:00
Michael Zanetti
2ad30eca94
Add support for a Bluetooth Media icon
2020-01-16 12:40:00 +01:00
Michael Zanetti
744f25312b
Cleanup as code review suggests
2020-01-15 12:32:32 +01:00
Michael Zanetti
716df71180
Support units in interfaces
...
Adds validation for units in interfaces
2020-01-05 14:51:00 +01:00
Michael Zanetti
9b07216768
Add system api to configure the system time
...
This gets rid of the locally kept time zone which caused issues
in plugins and the ScriptEngine.
2019-12-15 12:44:14 +01:00
Michael Zanetti
5a36c2347f
fix logging system to cope with the qml output redirection
2019-12-01 00:08:57 +01:00
Michael Zanetti
3a9a0a0abc
Add scripts api namespace
2019-12-01 00:08:57 +01:00
Michael Zanetti
d4081195d4
Some more work on the script engine
2019-12-01 00:07:35 +01:00
Michael Zanetti
fd401a850a
cleanup
2019-12-01 00:07:35 +01:00
Michael Zanetti
b97e4e5b0c
Add support for JS device plugins
2019-12-01 00:07:35 +01:00