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
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