3054 Commits

Author SHA1 Message Date
jenkins
03a44665d4 Merge PR #556: Add optional boost state to thermostats 2022-08-26 12:58:07 +02:00
jenkins
0ba8120923 Merge PR #555: Add lock/unlock actions to smartlock interface 2022-08-26 12:58:05 +02:00
jenkins
e2544bdfda Merge PR #554: Remove displayNameEvent property from stateTypes 2022-08-26 12:58:04 +02:00
jenkins
878a9f9042 Merge PR #553: Fix a python plugin crash when trying to login with empty credentials 2022-08-26 12:58:02 +02:00
jenkins
c8760863d0 Merge PR #552: Check Info objects for finished after aborting them 2022-08-26 12:58:01 +02:00
jenkins
73b03b2430 Merge PR #551: Fix build failure in rpath setting with certain toolchains 2022-08-26 12:57:59 +02:00
jenkins
1f67787ca6 Merge PR #550: Fix logging level indicator character for debug prints 2022-08-26 12:57:58 +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
jenkins
23b83761b7 Merge PR #547: Update nymead server installation path prefix mechanism 2022-08-26 12:57:54 +02:00
jenkins
ed7926f84e Merge PR #545: Add connected property to MqttChannel 2022-08-26 12:57:51 +02:00
jenkins
9697c6bbab Merge PR #544: Adjust timeout duration for actions, thing discovery and JSON-RPC replies 2022-08-26 12:57:49 +02:00
jenkins
dc18996de9 Merge PR #543: NetworkDiscovery: Lookup the mac address vendor also if the cache has stored an empty mac vendor 2022-08-26 12:57:48 +02:00
jenkins
76d44c309c Merge PR #542: Fix NetworkDiscovery::hostAddressDiscovered not always being emitted 2022-08-26 12:57:46 +02:00
jenkins
c4ea75a809 Merge PR #540: Provide experience manager access in core instance 2022-08-26 12:57:45 +02:00
jenkins
937c2902fb Merge PR #538: Add debian package for libnymea-core 2022-08-26 12:57:43 +02:00
Michael Zanetti
a8b02a4869 Add support for Z-Wave 2022-08-26 00:28:56 +02:00
Michael Zanetti
09210d3e6d Add optional boost state to thermostats
nymea:app already implements this and many plugins do too. Apparently
most of the radiator thermostats support this, so it's worth making it
part of the interface.
2022-08-08 12:26:56 +02:00
Michael Zanetti
119605ab13 Add lock/unlock actions to smartlock interface 2022-08-08 12:23:44 +02:00
Michael Zanetti
f398cd3379 Remove displayNameEvent property from stateTypes 2022-08-07 12:53:38 +02:00
Michael Zanetti
fc8c9df40e Fix a python plugin crash when trying to login with empty credentials 2022-08-07 12:29:48 +02:00
Simon Stürz
4ef0b68027 Add connected property to MqttChannel 2022-08-05 15:53:47 +02:00
Simon Stürz
0615808ee4 Provide access to the experience manager and offer possiblity for loading own plugin instance 2022-08-05 15:46:01 +02:00
Simon Stürz
3e1e7b5a01 Update nymea-tests and provide libnymea-tests as development package 2022-08-05 15:33:18 +02:00
Michael Zanetti
7633cfe9fa Check Info objects for finished abert aborting them
This gives plugin developers a chance to finish() an info on their
own in an aborted() handler and set a custom error code and
displayMessage without causing a "finishing an already finished object"
warning.
2022-08-04 18:34:21 +02:00
Michael Zanetti
291ae79c28 Fix build failure in rpath setting with certain toolchains 2022-08-02 00:48:34 +02:00
Michael Zanetti
1f35ddbff5 Fix logging level indicator character for debug prints 2022-08-01 20:05:38 +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
Simon Stürz
13245e0e57 Add debian packages for libnymea-core 2022-07-26 10:08:05 +02:00
Simon Stürz
ea2c87f3a5 Update nymead server default installation path using the QT_INSTALL_PREFIX 2022-07-25 15:45:30 +02:00
Simon Stürz
ecaa0c8dc5 Update discovery and action timeouts and make JSONRPC timeout the last timeout 2022-07-21 16:27:11 +02:00
Simon Stürz
d79f756ff1 NetworkDiscovery: Lookup the mac address vendor also if the cache has stored an empty mac vendor 2022-07-14 11:50:34 +02:00
Simon Stürz
ae11ec32ea NetworkDiscovery: emit hostAddressDiscovered only if a new IP has been added to the discovery result #541 2022-07-14 08:12:47 +02:00
jenkins
5674ba7567 Jenkins release build 1.3.1 2022-07-11 15:35:08 +02:00
jenkins
c5c9703247 Jenkins release build 1.3.0 2022-06-30 15:04:40 +02:00
jenkins
eb32e2274a Merge PR #539: Add phaseCount state to electricvehicle interface 2022-06-30 15:04:39 +02:00
jenkins
2098203f73 Merge PR #537: Fix additional interface command line parameter 2022-06-30 15:04:38 +02:00
jenkins
a0186a0fb6 Merge PR #533: Add support for CoIoT 2022-06-30 15:04:37 +02:00
jenkins
48d5a182c6 Merge PR #531: Some fixes in Coap 2022-06-30 15:04:35 +02:00
jenkins
68be029ede Merge PR #530: Add ping retry feature and provide it to the monitor 2022-06-30 15:04:34 +02:00
jenkins
5900f64b86 Merge PR #525: Migrate pluginid in thing settings when a thing class moves 2022-06-30 15:04:32 +02:00
Michael Zanetti
57048dd6e9 Add support for CoIoT
CoIoT is a shelly specific extensions to CoAP:
It adds a new Request code which is not part of the CoAP spec
as well as using CoAP multicast (which is part of CoAP).

This commit
* renames "statusCode" to "reqRspCode" which describes
the actual field more precisely as it is in fact a Request or Response
code, not a status code.
* Allows joining multicast groups, by default using the CoAP specified
multicast address.
* Allows setting custom Request codes in requests, as well as
processing the PDUs Request/response code by the client.
2022-06-30 10:16:20 +02:00
Michael Zanetti
62644650c0 Some fixes in Coap
* Fixed an indexOutOfRange warning when creating coap requests
  because the first addOption() call was calling
  m_options.insert(1) on an empty list.

* Old code was appending multiple UDP datagrams to a single big Coap
  message, however, Coap is specified to only send s single datagram
  per message. The datagram length specifies the payload size.

* some boolean member variables weren't initialized which resulted in
  occational wrong flags.

* Parsing had issues with determining the option length in some occations
  and also would crash when receiving coap messages without any options
  or payload. To get rid of the complex and erraneous index calculations,
  the entire package parsing is now using a DataStream.

(This makes it work with Shelly devices)
2022-06-30 10:15:31 +02:00
Simon Stürz
6bb36a773b Make sure the ping replies get cleaned up from queues 2022-06-29 12:47:55 +02:00
Simon Stürz
c398f7ab2f Fix ping requestId and sequence number endiness from and to the network 2022-06-29 12:25:09 +02:00
Michael Zanetti
8d50955bcc Add phaseCount state to electricvehicle interface 2022-06-27 12:37:44 +02:00
Simon Stürz
0d20cf7816 Hold reference count of monitor objects
Make host lookup optional
Cleanup pending ping on monitor unregister
2022-06-20 16:58:05 +02:00
Simon Stürz
d1db6a3774 Fix network device cache housekeeping and sync the settings 2022-06-20 13:16:42 +02:00
Michael Zanetti
568bbc6972 Smaller fixes in the NetworkDiscovery
Fixes a theoretical memory leak (m_cacheSettings wasn't delete)
which isn't really an issue in practice but valgrind complains on it.

Fixes a typo: m_reties -> m_retries
2022-06-20 13:16:42 +02:00