222 Commits

Author SHA1 Message Date
jenkins
15ab9c06d1 Merge PR #606: Drop old nymea:cloud support 2022-12-13 21:05:05 +01:00
jenkins
cff3e1ab08 Merge PR #593: Fix permissions for rules, tags and appdata api 2022-12-13 21:04:56 +01:00
Michael Zanetti
7c4b6494bb Drop old nymea:cloud support 2022-12-01 16:37:51 +01:00
Michael Zanetti
9296c1183c Fix permissions for tags and appdata
This ties those namespaces to the things permissions but won't
allow having different tags/appdata per user, which arguably would
be desirable. However, that's currently not that straight forward
to do, as at the moment there is no way to direct jsonrpc notifications
to a single user.
2022-11-30 15:30:50 +01:00
Michael Zanetti
6171a16157 Fix permissions for rules api 2022-11-07 22:48:12 +01:00
Michael Zanetti
0dee8d44de Allow registering list types without their contained objects on JSONRPC 2022-11-06 01:32:57 +01:00
jenkins
1d5144fb66 Merge PR #582: Add API to configure the wired network 2022-10-25 02:37:13 +02:00
jenkins
3e5e9ac738 Merge PR #574: Add Thing and Things types to script engine 2022-10-25 02:37:03 +02:00
Michael Zanetti
22e75b08df Add Thing and Things types to script engine 2022-10-13 15:18:06 +02:00
Michael Zanetti
b4eca2a94f Add API to interact with ZigBee bindings 2022-10-13 11:05:04 +02:00
Michael Zanetti
1fc4c7f2d7 Expose Zigbee neighbor and routing tables to jsonrpc 2022-10-13 10:59:24 +02:00
Michael Zanetti
baab4ed8c6 Add API to configure the wired network 2022-10-06 13:41:30 +02:00
jenkins
f3b9441861 Merge PR #549: Add support for Z-Wave 2022-08-26 12:57:56 +02:00
jenkins
942c41bc0b Merge PR #548: Allow apps to cache the GetPlugins call on JsonRpc 2022-08-26 12:57:55 +02:00
Michael Zanetti
a8b02a4869 Add support for Z-Wave 2022-08-26 00:28:56 +02:00
Michael Zanetti
c004c0d81d Make thingclassId optional in AddThing() when there's already a ThingDescriptor 2022-07-28 19:55:32 +02:00
Michael Zanetti
69fee48c23 Allow apps to cache the GetPlugins call on JsonRpc 2022-07-28 17:41:42 +02:00
Michael Zanetti
785f8cf43c Fix additional interface command line parameter 2022-06-10 17:20:50 +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
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
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
47add31e63 Add configuration for the 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
96c8b55146 Fix encoding of ZigbeeHandler (Windows CRLF -> Unix LF) 2022-01-13 14:43:04 +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
a741b13994 Merge PR #472: Add api to set the zigbee channel during network setup 2021-12-11 00:31:01 +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
df5d3550ba Add support for dynamic min/max state values 2021-12-09 17:59:52 +01:00
Simon Stürz
1fc896def2 Add flag handling methods for the JSON RPC handler. 2021-11-05 18:49:20 +01:00
Jenkins nymea
76c035d71f Merge PR #431: Add missing changed notification for appdata 2021-07-06 17:18:24 +02:00
Jenkins nymea
8ff3d8766c Merge PR #390: Modbus RTU hardware resource 2021-07-06 17:18:15 +02:00
Simon Stürz
81f9889178 Implement node changed notifications for zigbee JSONRPC API 2021-06-08 13:11:14 +02:00
Simon Stürz
eef44c78c6 Continue node api development 2021-06-08 13:11:14 +02:00
Simon Stürz
a0169b179d Add basic structure for zigbee nodes on jsonrpc api 2021-06-08 13:11:14 +02:00
Simon Stürz
675782997c Move modbus RTU classes into hardware source code section 2021-06-06 00:43:37 +02:00
Simon Stürz
11f62d0555 Add timeout and number of retries to the modbus RTU master and propagate the settings to the API 2021-06-06 00:43:37 +02:00
Simon Stürz
abcfd32feb Add support and fix modbus rtu storage cleanup 2021-06-06 00:43:37 +02:00
Simon Stürz
1f247b30be Fix building and JSON RPC for modbus management 2021-06-06 00:43:37 +02:00
Simon Stürz
72a0db6d0d Implement ModbusRtu JSONRPC API 2021-06-06 00:43:37 +02:00
Simon Stürz
b4d97080bd Add basic modbus rtu hardware resource structure 2021-06-06 00:43:37 +02:00
Michael Zanetti
53b61dad5b Add missing changed notification for appdata 2021-06-03 23:07:25 +02:00
Jenkins nymea
c9af1280aa Merge PR #410: Add support for storing application data on the core 2021-04-19 11:38:30 +02:00
Jenkins nymea
10ae50cf53 Merge PR #408: Add device serial number to system api 2021-04-19 11:38:29 +02:00
Michael Zanetti
60de0a3eed Add support for storing application data on the core 2021-04-07 00:23:19 +02:00
Michael Zanetti
fb90efb1de Add device serial number to system api 2021-03-19 20:11:52 +01:00