Commit Graph

65 Commits (ffaa53b04dc709b496a09a9819c2cd74fc119733)

Author SHA1 Message Date
Simon Stürz ffaa53b04d Add debug API to JSONRPC 2024-12-20 10:06:35 +01:00
Simon Stürz 37d9dca254 Allow to build nymead using custom version independent from dpkg 2024-01-24 17:35:18 +01:00
jenkins 89615140eb Merge PR #657: Add support for Bluetooth pairing during thing setup 2023-11-29 14:13:39 +01:00
Michael Zanetti cc26006a83 Add support for Bluetooth pairing during thing setup 2023-11-26 13:41:54 +01:00
Michael Zanetti 4b3ec64e58 Make possibleValues for states dynamic and translatable 2023-08-01 10:45:41 +02:00
Michael Zanetti 4e509841b0 Rework the log engine to use influxdb instead of sql 2023-05-08 23:38:34 +02:00
jenkins 9355694c24 Merge PR #620: Refactor NymeaCore class 2023-02-21 17:43:34 +01:00
jenkins e248bffcf2 Merge PR #611: Add information for initialSetup and reconfigure to ThingSetupInfo 2023-02-21 17:43:23 +01:00
Michael Zanetti 92197cb97c Refactor NymeaCore class
This moves all the things and rules logic away from NymeaCore
into their respective modules where it belongs.

One major change is the removal of the removePolicy functionality.
This was somewhat broken as it was only working for rules but not
for all the other modules like scripts, experiences etc. After
an attempt to create something that works with all modules it
really seemed that this does not make a lot of sence after all,
given that updating rules would in most cases leave something
very broken behind and removing them was the only sane thing to do.

On the other hand, experience plugins may not work well with such
a policy eithre as they may require to do their own special thing.

So in the end the removePolicy was dropped altogether. Apps should
instead figure out themselves what removal of a thing may imply and
inform the user about that beforehand.
2023-01-24 17:56:04 +01:00
Michael Zanetti 66ca0afa1f Add information for initialSetup and reconfigure to ThingSetupInfo 2022-12-14 23:39:29 +01:00
Michael Zanetti 7c4b6494bb Drop old nymea:cloud support 2022-12-01 16:37:51 +01:00
Michael Zanetti 1fc4c7f2d7 Expose Zigbee neighbor and routing tables to jsonrpc 2022-10-13 10:59:24 +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 717b4f33cc Remove deprecated Devices, Action, Events, States namespaces from JSONRPC 2022-02-08 00:29:07 +01:00
Michael Zanetti df5d3550ba Add support for dynamic min/max state values 2021-12-09 17:59:52 +01:00
Michael Zanetti 886f5c49f6 Add O2, PH, ORP, CO and flammable gas sensor interfaces 2021-08-20 23:57:22 +02:00
Jenkins nymea fa4883238d Merge PR #427: Add more flexible createChannel API to the MQTT provider resource 2021-07-06 17:18:19 +02:00
Simon Stürz 856c352a43 Bump JSON API version and update api.json 2021-06-08 15:52:44 +02:00
Michael Zanetti f8f2cf8fc2 Add more flexible createChannel API to the MQTT provider resource 2021-05-28 16:31:00 +02:00
Michael Zanetti 394e3cc615 Rename forgotten deviceParams in ThingDescriptor 2021-03-17 23:26:23 +01:00
Michael Zanetti 386fa12a89 Bump api version 2021-01-04 17:20:07 +01:00
Jenkins nymea 58ba2c9733 Merge PR #360: Allow building the plugininfocompiler standalone 2020-12-21 18:00:54 +01:00
Jenkins nymea abf5011688 Merge PR #359: Make python plugins optional during the build process 2020-12-21 18:00:53 +01:00
Michael Zanetti d999d1c715 Allow building the plugininfocompiler standalone
This is required to be able to build a "native" version of the pic
without having to build all the dependencies pulled in by the
HardwareManager.
2020-12-14 23:37:43 +01:00
Michael Zanetti d1b57be370 Make python plugins optional during the build process 2020-11-30 20:00:04 +01:00
Simon Stürz 0c4a23a487 Bump JSON ROC API version 2020-11-16 16:29:45 +01:00
Jenkins nymea 82c347c3a3 Merge PR #336: Add caching information to client API 2020-10-28 19:07:35 +01:00
Michael Zanetti c7f957f201 some more python plugin work 2020-10-15 22:34:06 +02:00
Michael Zanetti d17b44c83d Initial attempt to support python plugins 2020-10-15 22:34:06 +02:00
Michael Zanetti f9cd2a99df Add caching information to client API
This allows JsonHandlers to set a hash for certain API calls.
Clients can use this information to load data for such a call
from a cache instead of calling the method over the network
just to get the same result as last time.
2020-09-15 13:53:19 +02:00
Michael Zanetti bee3904508 Bump lib version as we're breaking the ABI! 2020-05-01 14:43:28 +02:00
Michael Zanetti 9f856f3ce9 Add support for generic IO connections 2020-05-01 14:43:23 +02:00
Michael Zanetti 8208473302 bump api 2020-03-05 16:16:57 +01:00
Michael Zanetti 3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +01:00
Jenkins nymea 59747e03c1 Merge PR #268: Add units: newton, newtonmeter and rpm 2020-02-23 23:38:29 +01:00
Simon Stürz 9e8301f6ef Bump JSON RPC version and plugin api version 2020-02-17 15:47:51 +01:00
Michael Zanetti c08fb3bdb5 fix tests 2020-02-10 13:22:31 +01:00
Michael Zanetti ec0aa802c5 Add more user management features 2020-02-07 00:33:00 +01:00
Michael Zanetti 8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti a21dde0289 Generate a version.h file instead of passing it via DEFINES 2020-01-15 12:39:35 +01:00
Michael Zanetti cee2ed1542 make "make test" target work properly 2019-11-16 00:52:25 +01:00
Michael Zanetti fe5af9a0f5 Make displayMessages translatable 2019-10-16 17:56:49 +02:00
Michael Zanetti 6badf631cf Allow building the plugininfocompiler alone 2019-07-25 15:56:53 +02:00
Michael Zanetti b056fb8b5e Add nymea-plugininfocompiler to replace nymea-generateplugininfo 2019-07-15 22:55:11 +02:00
Jenkins e34a36ccfe Merge PR #169: Move nymeatestbase into a nymea-testlib to speed up building 2019-06-19 23:52:18 +02:00
Michael Zanetti 9c357d87d3 Move nymeatestbase into a nymea-testlib to speed up building 2019-05-19 18:13:49 +02:00
Michael Zanetti 3bd9759547 fix make lupdate 2019-05-07 18:30:15 +02:00
Michael Zanetti ad4c2acbfc Also drop hardcoded NYMEA_PLUGINS_PATH from .pro file 2019-04-16 23:33:29 +02:00
Jenkins 2d91a6243c Merge PR #140: Drop deprecated api 2019-04-12 13:42:30 +02:00
Jenkins 6ac1d43739 Merge PR #138: Rework translation mechanism 2019-04-12 13:42:30 +02:00