Commit Graph

17 Commits (1d04da620514689cd8f94cb34fd3649845a3032d)

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 d46ef1c5fa Rework battery interface 2021-04-12 00:58:43 +02:00
Jenkins nymea 1016dd61a7 Merge PR #348: Add unit to batterylevel interface 2021-02-25 11:26:57 +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 bb86f12ab8 Fix mock thing 2020-12-30 16:07:49 +01: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 399f406d10 fixes 2020-07-27 19:38:21 +02:00
Jenkins nymea 7337105073 Merge PR #291: Fix thing class translations 2020-06-07 19:16:23 +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 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