2932 Commits

Author SHA1 Message Date
Jenkins nymea
3c8dd98400 Merge PR #500: Add debug prints to rule engine 2022-03-27 19:49:37 +02:00
Jenkins nymea
8153e551c1 Merge PR #499: Fix for ThingState which reports minValue instead of maxValue 2022-03-27 19:49:36 +02:00
Jenkins nymea
20956525b3 Merge PR #498: Add discoveryType thing class property 2022-03-27 19:49:35 +02:00
Jenkins nymea
d83fed97d8 Merge PR #496: Don't generate events for state changes any more 2022-03-27 19:49:32 +02:00
Jenkins nymea
013c94a907 Merge PR #495: Fix cleaning up things when a setup fails in python plugins 2022-03-27 19:49:31 +02:00
Jenkins nymea
443dbfb42b Merge PR #494: Split thing cache into individual files 2022-03-27 19:49:30 +02:00
Jenkins nymea
86c6026690 Merge PR #493: Fix some interface definitions (minimum/maximum vs min/max) 2022-03-27 19:49:28 +02:00
Jenkins nymea
5273d87c83 Merge PR #492: Add support for TI z-Stack based Zigbee adapters 2022-03-27 19:49:27 +02:00
Jenkins nymea
4cd37c4788 Merge PR #490: Fix encoding of ZigbeeHandler (Windows CRLF -> Unix LF) 2022-03-27 19:49:26 +02:00
Jenkins nymea
223c0c130b Merge PR #489: Make SSL certificate loading and generating more robust 2022-03-27 19:49:25 +02:00
Jenkins nymea
de82c4aa8e Merge PR #487: Fix a crash when removing a currently connected transport 2022-03-27 19:49:23 +02:00
Jenkins nymea
37738bb022 Merge PR #455: Add tunnel proxy server for new remote connection mechanism 2022-03-27 19:49:22 +02:00
Jenkins nymea
fca9ecee20 Merge PR #425: Add support fur user permissions 2022-03-27 19:49:21 +02:00
Simon Stürz
1e2d4b33cf Add new line for proxy connection in order to support tcp paket splitting 2022-03-15 15:44:02 +01:00
Simon Stürz
836e0a5e14 Default remote connection to TCP connection and handle connection type appropriate 2022-03-09 17:45:42 +01:00
Simon Stürz
3eb3b8ad8a Fix tunnel proxy configuration and make it independent from the cloud configuration 2022-03-01 13:51:27 +01:00
Michael Zanetti
1f743b6671 Add debug prints to rule engine 2022-02-21 13:22:53 +01:00
doctorseus
e76a2fe3d4 Fix: correctly report max instead of min value in ThingState 2022-02-16 14:19:19 +01:00
Michael Zanetti
5323ab2631 Add discoveryType thing class property
Some plugins may support network discovery, but may not be able to clearly
identify a device and return a list of discovery results that may
be the device, but also may not. As this breaks some app flows they
will be marked as "weak" discovery and can be excluded from said setup
wizards.

NOTE: This commit does not bump the API version even though it should
to avoid merge conflicts with other branches that do bump the version.
2022-02-10 17:38:01 +01:00
Michael Zanetti
7bfb48feac Split thing state cache into individual files 2022-02-09 12:04:08 +01:00
Simon Stürz
1e132a49ac Improve debug print for TunnelProxy 2022-02-08 11:00:09 +01:00
Michael Zanetti
3e94a1a4e8 fix typo 2022-02-08 11:00:09 +01:00
Michael Zanetti
47add31e63 Add configuration for the tunnel proxy server 2022-02-08 11:00:09 +01:00
Simon Stürz
fea2ae0866 Add new line for json rpc data sending 2022-02-08 11:00:09 +01:00
Simon Stürz
106961557b Fix typo in several places 2022-02-08 11:00:09 +01:00
Simon Stürz
8b09f26ac3 Add tunnel proxy server 2022-02-08 11:00:09 +01:00
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
Michael Zanetti
5077a3cb48 Add support for the TI Zigbee dongle 2022-02-07 14:00:14 +01:00
Michael Zanetti
2596eb46b6 Fix cleaning up things when a setup fails in python plugins 2022-02-06 19:47:44 +01:00
Michael Zanetti
ecac5d9dc9 Fix some interface definitions (minimum/maximum vs min/max) 2022-02-02 14:35:12 +01:00
Michael Zanetti
96c8b55146 Fix encoding of ZigbeeHandler (Windows CRLF -> Unix LF) 2022-01-13 14:43:04 +01:00
Michael Zanetti
2ec72b21b8 Make SSL certificate loading and generating more robust 2022-01-11 13:02:13 +01:00
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