Commit Graph

2898 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 28d2f53261 Jenkins release build 0.30.0 2021-12-11 00:31:22 +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 becb5ea883 Merge PR #485: Fix dependency to libnymea-dev for nymea-sdk 2021-12-11 00:31:14 +01:00
Jenkins nymea b5e1228173 Merge PR #484: Remove cloud push notifications 2021-12-11 00:31:13 +01:00
Jenkins nymea 3d5c9b477b Merge PR #483: Add a providedInterfaces property to thingClass 2021-12-11 00:31:11 +01:00
Jenkins nymea b8e58511b9 Merge PR #482: Add more "by name" thing methods and c++11 list_initializers for lists 2021-12-11 00:31:10 +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 4b2676b5c0 Merge PR #477: Add unit ohm 2021-12-11 00:31:06 +01:00
Jenkins nymea bec0bd6d12 Merge PR #475: Change upgrade restart logic to also work on plugins and libs 2021-12-11 00:31:05 +01:00
Jenkins nymea b969f5f4fa Merge PR #474: Add phase count and session energy state to the evcharger interface 2021-12-11 00:31:04 +01:00
Jenkins nymea 020a2e968a Merge PR #473: Add min charging current to the electricvehicle interface 2021-12-11 00:31:03 +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
Jenkins nymea 4f7a81e2dc Merge PR #471: Add charging state to evcharger interface 2021-12-11 00:31:00 +01:00
Jenkins nymea 16fb05d18d Merge PR #469: Add water level sensor interface 2021-12-11 00:30:59 +01:00
Jenkins nymea 8e16b26d09 Merge PR #468: Add heat pump interfaces 2021-12-11 00:30:58 +01:00
Jenkins nymea 00cfb88a74 Merge PR #464: Add support for dynamic min/max state values 2021-12-11 00:30:57 +01:00
Jenkins nymea 9bd4aa2a32 Merge PR #463: Add energystorage interface 2021-12-11 00:30:55 +01:00
Jenkins nymea 58e742420a Merge PR #462: 0.30 2021-12-11 00:30:54 +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 262e490b9b Add more "by name" thing methods and c++11 list_initializers for lists 2021-12-09 18:00:18 +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 b7331d25ec Fix dependency to libnymea-dev for nymea-sdk 2021-12-07 14:29:13 +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 b03d4d155a Fix json typo in simple heat pump interface 2021-11-16 16:48:55 +01:00
Michael Zanetti e072084d23 0.30 2021-11-16 15:00:15 +01:00
Simon Stürz cd42d6b7dc Inhert simple heat pump from power interface 2021-11-16 14:41:49 +01:00
Simon Stürz 17371bdb7c Fix JSON typo in heatpump interface 2021-11-11 11:05:24 +01:00
Michael Zanetti 8ec5b4f464 Change upgrade restart logic to also work on plugins and libs 2021-11-11 01:41:20 +01:00
Michael Zanetti f2898b9fc8 Add a providedInterfaces property to thingClass 2021-11-10 12:57:28 +01:00
Simon Stürz e8e66c9b7f Add optional common states for heat pumps 2021-11-10 08:11:19 +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 bd7205866f Jenkins release build 0.29.2 2021-11-02 17:18:10 +01:00
Jenkins nymea 687b415e7f Merge PR #476: Fix a wrong error message from the plugininfocompiler 2021-11-02 17:18:09 +01:00
Michael Zanetti 7bd7e41ff2 Add unit Ohm 2021-11-02 12:22:09 +01:00
Michael Zanetti b5768c8bf0 Fix a wrong error message from the plugininfocompiler 2021-11-02 11:02:53 +01:00
Simon Stürz 81c1ba94d3 Update max charging current to uint 2021-10-28 08:05:52 +02:00
Simon Stürz 442f33e50d Allign minimal charging current to system naming 2021-10-27 17:34:34 +02:00
Simon Stürz b5dc78d9d3 Add session energy as optional sate for ev charger 2021-10-22 14:06:17 +02:00
Simon Stürz 4ac016396a Add phase count state to the evcharger interface 2021-10-22 12:20:56 +02:00
Simon Stürz 49a03580be Make minimal charging current writable 2021-10-22 12:08:48 +02:00
Simon Stürz 29ee1b48f0 Add minimal charging current to electricvehicle interface 2021-10-22 12:06:20 +02:00
Michael Zanetti aec7400ad0 Add charging state to evcharger interface 2021-10-19 13:40:51 +02:00
Michael Zanetti ac0ade64c5 Add water level sensor interface 2021-10-12 23:06:44 +02:00
Simon Stürz 1b385dd038 Add heat pump interfaces 2021-10-12 10:11:29 +02:00
Michael Zanetti 19b1657f21 Make currentPower mandatory for smartmeters 2021-10-07 14:10:58 +02:00
Michael Zanetti 20b13bc3ed Enforce smartmeterconsumer on evchargers 2021-10-07 14:10:58 +02:00