Commit Graph

2951 Commits (61bbd3cbdf43bd0b5f3fbd4da4cddfdc111abdee)

Author SHA1 Message Date
Simon Stürz 61bbd3cbdf Unfriend the discovery class from the monitor 2022-04-25 08:17:37 +02:00
Simon Stürz e4ff2d9422 Update mac address test naming 2022-04-25 08:06:17 +02:00
Simon Stürz c59185672f Add mac address class and unit tests
Finish updated network discovery
Improve ARP and monitor handling
Introduce network device info cache housekeeping
2022-04-13 11:08:29 +02:00
Simon Stürz 14ea1bef4a Restructure network discovery and add discovery 2022-04-13 11:08:00 +02:00
Jenkins nymea bb03d17c79 Jenkins release build 1.0.0 2022-03-27 19:49:49 +02:00
Jenkins nymea 95c8ad5e3f Merge PR #506: DebugInterface: Fix process finished crash if the http reply timed out in the mean time 2022-03-27 19:49:45 +02:00
Jenkins nymea 8b87cf674f Merge PR #505: Fix crash for long taking mac address lookup 2022-03-27 19:49:44 +02:00
Jenkins nymea 1a57a6a5d9 Merge PR #504: Update mac address database and switch source information provider 2022-03-27 19:49:43 +02:00
Jenkins nymea 8fce019ee6 Merge PR #503: Update copyright to 2022 2022-03-27 19:49:41 +02:00
Jenkins nymea 10083c361b Merge PR #502: Remove apt.conf.d/99nymea also without purge option 2022-03-27 19:49:40 +02:00
Jenkins nymea f0fb4a7960 Merge PR #501: Increase timeout for auto tests 2022-03-27 19:49:39 +02:00
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
Michael Zanetti 5ca212130a Fix the apt hook 2022-03-27 01:07:03 +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