Commit Graph

677 Commits (8e9adec8d8bf82d688a3134462b0b59e5cad3368)

Author SHA1 Message Date
Michael Zanetti 8e9adec8d8 Fix a crash when removing a currently connected transport
Both, the TCP transport as well as the WebSocket transport were
crashing on this, but with different bugs.
2021-12-20 23:27:07 +01:00
Jenkins nymea 8c2d3e8c42 Merge PR #486: Fix a double-free when shutting down the python engine. 2021-12-11 00:31:15 +01:00
Jenkins nymea b5e1228173 Merge PR #484: Remove cloud push notifications 2021-12-11 00:31:13 +01:00
Jenkins nymea 77218553ae Merge PR #481: Add flag handling methods for the JSON RPC handler. 2021-12-11 00:31:09 +01:00
Jenkins nymea 787652aee9 Merge PR #479: Close log db if initialisation fails and discard entries. 2021-12-11 00:31:08 +01:00
Jenkins nymea a741b13994 Merge PR #472: Add api to set the zigbee channel during network setup 2021-12-11 00:31:01 +01:00
Michael Zanetti eee810aa4d Add api to set the zigbee channel during network setup 2021-12-09 18:17:32 +01:00
Michael Zanetti df5d3550ba Add support for dynamic min/max state values 2021-12-09 17:59:52 +01:00
Michael Zanetti 74029c94a6 Fix a double-free when shutting down the python engine.
Python_AddObject() will steal the reference and delete it. Since we
deleted m_logger ourselves too, a double free would corrupt memory
on nymea shutdown.
This would cause tests to crash when restarting the core within
a single process by restartServer()
2021-12-09 13:28:14 +01:00
Michael Zanetti 343d4a8c86 Remove cloud push notifications
Note: This doesn't remove 100% of the related code yet, just keeps
the minimum required to emit autoThingDisappeared() for all the
things and clean up users setups.

The rest of the CloudNotifications class code shall be removed
with 0.31 (or soonish after that).
2021-11-18 00:12:05 +01:00
Simon Stürz 1fc896def2 Add flag handling methods for the JSON RPC handler. 2021-11-05 18:49:20 +01:00
Michael Zanetti 412fc23dc9 Close log db if initialisation fails and discard entries. 2021-11-04 13:26:09 +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 f8645357b0 Merge PR #458: Fix myThings() not being updated before thingRemoved in python plugins 2021-09-06 09:05:08 +02:00
Jenkins nymea 06b020fe5a Merge PR #456: Prevent unspecific warnings during certificate loading 2021-09-06 09:05:07 +02:00
Jenkins nymea e0fc43b308 Merge PR #451: Add PluginTimer API to python plugins 2021-09-06 09:05:02 +02:00
Jenkins nymea 87dcd7484d Merge PR #450: Silence some spamming debug messages from project files 2021-09-06 09:05:00 +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 0e916ebbf7 Fix myCount() not being updated before thingRemoved in python plugins 2021-08-25 00:57:08 +02:00
Simon Stürz a5c439008d Update certificate loading mechanism 2021-08-17 09:31:34 +02:00
Simon Stürz d16792e943 Prevent unspecific warnings during certificate loading 2021-08-17 09:23:36 +02:00
Simon Stürz df42273ed1 Undo add pending connection 2021-08-09 16:28:35 +02:00
Michael Zanetti 3a44714e34 Silence some spamming debug messages from project files 2021-08-06 19:57:37 +02:00
Simon Stürz ad78a13303 Make use of addPendingConnection in order to keept the incomming connection mechanism working 2021-08-05 13:48:32 +02:00
Jenkins nymea 02390650ba Merge PR #432: Network device discovery 2021-07-06 17:18:25 +02:00
Jenkins nymea 76c035d71f Merge PR #431: Add missing changed notification for appdata 2021-07-06 17:18:24 +02:00
Jenkins nymea 9fb18494a3 Merge PR #430: Allow creating rules with exit actions and calendar items 2021-07-06 17:18:23 +02:00
Jenkins nymea a3d4e81f10 Merge PR #429: Fix time based rules not being initialized directly after creation 2021-07-06 17:18:22 +02:00
Jenkins nymea fa4883238d Merge PR #427: Add more flexible createChannel API to the MQTT provider resource 2021-07-06 17:18:19 +02:00
Jenkins nymea 449b5c4cd5 Merge PR #417: Add more param getter functions to the python api 2021-07-06 17:18:17 +02:00
Jenkins nymea 8ff3d8766c Merge PR #390: Modbus RTU hardware resource 2021-07-06 17:18:15 +02:00
Simon Stürz 08aae83a00 Add network device discovery to the hardware manager 2021-06-28 13:51:25 +02:00
Simon Stürz 355dcd50d4 Update qmake udev build information message 2021-06-28 08:55:36 +02:00
Simon Stürz 81f9889178 Implement node changed notifications for zigbee JSONRPC API 2021-06-08 13:11:14 +02:00
Simon Stürz eef44c78c6 Continue node api development 2021-06-08 13:11:14 +02:00
Simon Stürz a0169b179d Add basic structure for zigbee nodes on jsonrpc api 2021-06-08 13:11:14 +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 becd6c3374 Fix debug print for modbus RTU master and try to connect masters after loading them 2021-06-06 00:43:37 +02:00
Simon Stürz 055ace3cc1 Fix building without modbus support 2021-06-06 00:43:37 +02:00
Simon Stürz 11f62d0555 Add timeout and number of retries to the modbus RTU master and propagate the settings to the API 2021-06-06 00:43:37 +02:00
Simon Stürz 16382eb620 Fix RTU masters not connecting after system restart 2021-06-06 00:43:37 +02:00
Simon Stürz ee81b22350 Fix mussing logging category include 2021-06-06 00:43:37 +02:00
Simon Stürz a69b819373 Implement modbus resource siganls and improve connected state notifications 2021-06-06 00:43:37 +02:00
Simon Stürz abcfd32feb Add support and fix modbus rtu storage cleanup 2021-06-06 00:43:37 +02:00
Simon Stürz 1f247b30be Fix building and JSON RPC for modbus management 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 af7948dc1e Implement add/remove/reconfigure for modbus rtu manager 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