Commit Graph

9 Commits (bb03d17c799ff4e41920f094b166e8da8009e35d)

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 717b4f33cc Remove deprecated Devices, Action, Events, States namespaces from JSONRPC 2022-02-08 00:29:07 +01:00
Michael Zanetti 79dd00cb57 Add support for interface based script events and actions 2020-10-02 13:18:27 +02:00
Michael Zanetti 3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +01:00
Michael Zanetti 8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti 21f61b89a2 add qtquick to build dependencies, needed by tests 2020-01-06 19:17:58 +01:00
Michael Zanetti 127aacf2f4 add copyright headers 2019-12-19 10:44:35 +01:00
Michael Zanetti 6e69e13538 add missing files 2019-12-16 12:27:09 +01:00
Michael Zanetti 24cecf9d47 Add tests for the scriptengine 2019-12-10 18:49:28 +01:00