3085 Commits

Author SHA1 Message Date
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
Michael Zanetti
5ca212130a Fix the apt hook 2022-03-27 01:07:03 +01:00
Michael Zanetti
80adc846dc Store the serveruuid as string 2022-03-24 10:25:04 +01:00
Michael Zanetti
1befe6166f Add support for removing entries and listing child keys in PyPluginStorage 2022-03-23 00:23:40 +01:00
Michael Zanetti
b77b9a7bb6 Add support for datetime objects to pluginStorage in python plugins 2022-03-22 10:48:58 +01:00
Simon Stürz
7b9cbf14b8 Fix tracepath process finished 2022-03-21 13:42:45 +01:00
Simon Stürz
432130b0af Fix process finished crash if the http reply timed out in the mean time 2022-03-21 13:29:46 +01:00
Simon Stürz
64d347d921 Fix crash for long taking mac address loockup 2022-03-21 12:49:51 +01: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
8a9358f08d Update mac address database and switch source information provider 2022-03-10 09:10:23 +01:00
Simon Stürz
d37000f446 Update copyright to 2022 2022-03-10 08:00:33 +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
Michael Zanetti
e423063fe9 Remove apt.conf.d/99nymea also without purge option 2022-03-09 12:40:14 +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
ec22ec6268 Increase timeout for auto tests 2022-02-24 19:45:28 +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