99 Commits

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
6ab4d49ee1 Add multi user support 2022-02-08 10:36:14 +01:00
Michael Zanetti
717b4f33cc Remove deprecated Devices, Action, Events, States namespaces from JSONRPC 2022-02-08 00:29:07 +01:00
Jenkins nymea
51c02e350a Merge PR #460: Make use of gpio classes from libnymea-gpio 2021-10-04 12:10:41 +02:00
Jenkins nymea
e0fc43b308 Merge PR #451: Add PluginTimer API to python plugins 2021-09-06 09:05:02 +02:00
Simon Stürz
f993b0b68e Make use of gpio classes from libnymea-gpio 2021-09-04 19:10:35 +02:00
Michael Zanetti
59011c0387 Add PluginTimer API to python plugins 2021-08-26 14:15:43 +02:00
Michael Zanetti
3a44714e34 Silence some spamming debug messages from project files 2021-08-06 19:57:37 +02:00
Simon Stürz
355dcd50d4 Update qmake udev build information message 2021-06-28 08:55:36 +02:00
Simon Stürz
675782997c Move modbus RTU classes into hardware source code section 2021-06-06 00:43:37 +02:00
Simon Stürz
72a0db6d0d Implement ModbusRtu JSONRPC API 2021-06-06 00:43:37 +02:00
Simon Stürz
673bce61ff Initialize modbus manager and clean up class hirarchy 2021-06-06 00:43:37 +02:00
Simon Stürz
fc9c030ebc Update build information 2021-06-06 00:43:37 +02:00
Simon Stürz
d6e5347666 Implement loading and saving of modbus hardware resources and finish the RTU master implementation 2021-06-06 00:43:37 +02:00
Simon Stürz
01262b43e9 Add basic structure of the resource and start implement modbus rtu master 2021-06-06 00:43:37 +02:00
Simon Stürz
b4d97080bd Add basic modbus rtu hardware resource structure 2021-06-06 00:43:37 +02:00
Jenkins nymea
12d83242e6 Merge PR #414: Use pkgconfig for libnymea-remoteproxyclient 2021-04-19 11:38:35 +02:00
Jenkins nymea
c9af1280aa Merge PR #410: Add support for storing application data on the core 2021-04-19 11:38:30 +02:00
Michael Zanetti
a3e3d9a974 Use pkgconfig for libnymea-remoteproxyclient 2021-04-18 21:47:27 +02:00
Michael Zanetti
60de0a3eed Add support for storing application data on the core 2021-04-07 00:23:19 +02:00
Michael Zanetti
e6780d947d Add support for browsing in the python plugin api 2021-04-06 23:56:31 +02:00
Michael Zanetti
193c647dc6 Also add api key storage api to python 2021-03-14 20:41:30 +01:00
Michael Zanetti
9d30be2568 Add support for the plugin storage to python plugins 2021-03-08 00:47:12 +01:00
Boernsman
3afdc2243c incorporated changes from reviewer 2021-02-09 16:30:36 +01:00
Boernsman
6e57f1ee20 added withoutpyhton config to libnymea-core 2021-02-08 22:11:45 +01:00
Jenkins nymea
58ba2c9733 Merge PR #360: Allow building the plugininfocompiler standalone 2020-12-21 18:00:54 +01:00
Jenkins nymea
abf5011688 Merge PR #359: Make python plugins optional during the build process 2020-12-21 18:00:53 +01:00
Michael Zanetti
d999d1c715 Allow building the plugininfocompiler standalone
This is required to be able to build a "native" version of the pic
without having to build all the dependencies pulled in by the
HardwareManager.
2020-12-14 23:37:43 +01:00
Michael Zanetti
d1b57be370 Make python plugins optional during the build process 2020-11-30 20:00:04 +01:00
Simon Stürz
66dbcc03af Remove node initializer since init process will be handled by the plugins 2020-11-28 14:28:23 +01:00
Simon Stürz
2e6f68bc41 Fix typo in alert interface 2020-11-18 12:23:02 +01:00
Simon Stürz
3ae8baaa40 Remove serialport module since not required any more in nymea 2020-11-16 12:50:56 +01:00
Simon Stürz
033d62a98d Fix double header and cpp definition due to rebase error 2020-11-06 19:04:52 +01:00
Simon Stürz
5d467de47d Introduce centralized node initializer for unified network behaviour 2020-11-06 18:36:22 +01:00
Simon Stürz
19216b5f04 Add Zigbee settings and prepare network creation and loading 2020-11-06 18:36:21 +01:00
Simon Stürz
61d0b96b42 Add GetAvailableAdapters to zigbee handler 2020-11-06 18:36:21 +01:00
Simon Stürz
0f0b903af8 Clean up source and dependencies and make build against libnymea-zigbee 2020-11-06 18:35:50 +01:00
Michael Zanetti
228a4f9f9c fixx da build 2020-11-06 18:35:50 +01:00
Simon Stürz
9052472150 Sort source and header file for core lib 2020-11-06 18:35:50 +01:00
Simon Stürz
7cb995767c Add zigbee serial port for api 2020-11-06 18:34:54 +01:00
Simon Stürz
fb74df8f81 Start integrating zigbee into nymea 2020-11-06 18:34:54 +01:00
Jenkins nymea
c956988f32 Merge PR #341: Add an API keys provider plugin mechanism 2020-10-28 19:07:39 +01:00
Jenkins nymea
e6b8d31d8d Merge PR #339: Add support for interface based script events and actions 2020-10-28 19:07:37 +01:00
Michael Zanetti
dcae305625 Add an API keys provider plugin mechanism 2020-10-20 19:44:47 +02:00
Michael Zanetti
15eead0976 Properly catch stdout and stderr and redirect it to qmessagelogger 2020-10-15 22:34:06 +02:00
Michael Zanetti
dbe5fab122 also build on bionic 2020-10-15 22:34:06 +02:00
Michael Zanetti
a9ae885cfa Also accept python 3.7 2020-10-15 22:34:06 +02:00
Michael Zanetti
fdbdb02c16 Make it compatible with python 3.5 2020-10-15 22:34:06 +02:00
Michael Zanetti
3436e9b998 drop usage of asyncio and run everything regularly threaded 2020-10-15 22:34:06 +02:00
Michael Zanetti
0cbd1ff5ec Clenaup and polish types. 2020-10-15 22:34:06 +02:00