Commit Graph

137 Commits (ecaa0c8dc5616d15ea2791770cf89ea1d6592cca)

Author SHA1 Message Date
Michael Zanetti 2a91dad1f0 Don't generate events for state changes any more
Up until now, nymea would generate EventTypes for every StateType
as well as emit an Event (along with a StateChanged notification) for
every change. This results in a lot of duplicated network traffic
which is of not much use. The StateChanged notification contains
all the information in the Event too and nymea:app actually never
really used Events for state changes.

This commit removes the events from the ThingClass, making it a lot
smaller and stops emitting Events for state changes.

As this is breaking the behavior, the JSONRPC API major version
is bumped.
2022-02-08 10:38:41 +01:00
Michael Zanetti df5d3550ba Add support for dynamic min/max state values 2021-12-09 17:59:52 +01:00
Michael Zanetti 886f5c49f6 Add O2, PH, ORP, CO and flammable gas sensor interfaces 2021-08-20 23:57:22 +02:00
Michael Zanetti 449a092bd9 Fix action finishing in input types mock 2021-05-29 00:25:30 +02:00
Jenkins nymea 07327b8bb4 Merge PR #406: Add browsing support to python plugin API 2021-04-19 11:38:27 +02:00
Jenkins nymea 8f9376eda1 Merge PR #402: Rework battery interface 2021-04-19 11:38:22 +02:00
Jenkins nymea a81b484635 Merge PR #396: Don't call thingRemoved() when a thing didn't complete the setup 2021-04-19 11:38:17 +02:00
Michael Zanetti d46ef1c5fa Rework battery interface 2021-04-12 00:58:43 +02:00
Michael Zanetti e6780d947d Add support for browsing in the python plugin api 2021-04-06 23:56:31 +02:00
Jenkins nymea 1016dd61a7 Merge PR #348: Add unit to batterylevel interface 2021-02-25 11:26:57 +01:00
Michael Zanetti dab8764584 Refresh setup status before proceeding 2021-02-24 17:42:16 +01:00
Michael Zanetti 29f88d744d Fix suggestLogging property for plugin devs 2021-02-24 13:41:41 +01:00
Michael Zanetti eeb1feade0 Add a jitter filtering mechanism 2021-01-02 14:33:15 +01:00
Michael Zanetti 30a0469212 Update tests 2021-01-02 14:33:15 +01:00
Michael Zanetti bb86f12ab8 Fix mock thing 2020-12-30 16:07:49 +01:00
Michael Zanetti b9be92df2e Add state based value comparison in rules 2020-12-04 16:16:55 +01:00
Jenkins nymea 907bd3b646 Merge PR #332: Add update interface 2020-10-28 19:07:30 +01:00
Jenkins nymea 6bd094fd72 Merge PR #330: Make the signalStrength state in wirelessconnectable interface optional 2020-10-28 19:07:29 +01:00
Jenkins nymea 694b070f05 Merge PR #310: Add support for Python plugins 2020-10-28 19:07:25 +01:00
Michael Zanetti c7f957f201 some more python plugin work 2020-10-15 22:34:06 +02:00
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
Michael Zanetti d529a27df1 fix mocks to properly deal with the new way of reconfiguring 2020-09-01 13:45:14 +02:00
Jenkins nymea 768b6a877e Merge PR #314: Fix conversion of values 2020-08-14 13:09:34 +02:00
Michael Zanetti 399f406d10 fixes 2020-07-27 19:38:21 +02:00
Michael Zanetti f029184651 Allow emitting events from things directly 2020-06-16 16:16:23 +02:00
Jenkins nymea 7337105073 Merge PR #291: Fix thing class translations 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 322bcf56a6 Add support for inverting the connections 2020-05-09 19:14:02 +02:00
Michael Zanetti 4e509d75f8 Add tests, some fixes/improvements 2020-05-05 21:04:07 +02:00
Michael Zanetti 318a71725f Fix plugins translations 2020-05-04 13:39:20 +02:00
Michael Zanetti bee3904508 Bump lib version as we're breaking the ABI! 2020-05-01 14:43:28 +02:00
Michael Zanetti 9f856f3ce9 Add support for generic IO connections 2020-05-01 14:43:23 +02: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 690031a77c Merge PR #263: Fix some issues reported by valgrind 2020-02-23 23:38:28 +01:00
Michael Zanetti 3015130c8f update translations 2020-02-10 00:52:14 +01:00
Michael Zanetti b12e203572 Fix some smally memory leaks reported by valgrind 2020-02-09 15:54:23 +01:00
Michael Zanetti 8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Jenkins nymea 5783722ab9 Merge PR #239: Add discovery mode to userandpassword mock device 2020-01-22 23:47:15 +01:00
Michael Zanetti d6705e0f5a Add discovery mode to userandpassword mock device 2019-12-15 14:27:08 +01:00
Michael Zanetti c72342e362 bump plugin api version 2019-11-01 20:55:45 +01:00
Michael Zanetti 5e3bc2acbd Drop JsonTypes class by distributing logic to json handlers
This is required in order to be able to be more flexible in registering
new types/methods.
2019-11-01 20:46:55 +01:00
Jenkins nymea 55011abaf9 Merge PR #219: Add support for more media service icons 2019-10-18 14:57:23 +02:00
Michael Zanetti c8f3b851c9 Fix comments from review 2019-10-18 12:14:20 +02:00
Michael Zanetti 679e51b027 Fix failing test 2019-10-17 12:21:16 +02:00
Michael Zanetti fe5af9a0f5 Make displayMessages translatable 2019-10-16 17:56:49 +02:00
Michael Zanetti 2f117e19a2 bump plugin api version number 2019-10-16 17:56:49 +02:00
Michael Zanetti 7f0f2d1d09 Rework devicemanager and plugin api 2019-10-16 17:56:49 +02:00