76 Commits

Author SHA1 Message Date
jenkins
dbcbbfcf97 Merge PR #515: Allow modbus RTU plugins to request a connection reset 2022-05-03 23:27:13 +02:00
jenkins
2b32bca5cf Merge PR #513: Add a timeout to ModbusRtuReplies 2022-05-03 23:27:10 +02:00
Simon Stürz
17fc204122 Fix discovery behaviour if the resouce is not available 2022-05-03 14:30:01 +02:00
Simon Stürz
66d62b87de Update debug categories and use qInfo, fix vietual destructor for the monitor 2022-04-25 17:07:48 +02:00
Simon Stürz
76b7bc1267 Fix ping crash if the host address is not valid 2022-04-25 15:27:35 +02:00
Simon Stürz
61bbd3cbdf Unfriend the discovery class from the monitor 2022-04-25 08:17:37 +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
Michael Zanetti
b2cc7ac769 Add a timeout to ModbusRtuReply
QModbusReply seems to never finish in some rare cases:
For instance if a request is sent and before the reply arrives, the
modbus adapter is unplugged. This change should keep upper logic
working which relies on requests finishing eventually.

Also fixes the issue that we emit finished() multiple times if
QModbusClient retries multiple times and emits error() for each
attempt. We're only interested in a single result anyways.
2022-04-08 14:33:07 +02:00
Michael Zanetti
93f733311f Fix modbus RTU warning prints 2022-04-08 13:56:46 +02:00
Michael Zanetti
9b7e5e469d Allow modbus RTU plugins to request a connection reset 2022-04-06 23:28:54 +02:00
Michael Zanetti
47add31e63 Add configuration for the tunnel proxy server 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
f993b0b68e Make use of gpio classes from libnymea-gpio 2021-09-04 19:10:35 +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
675782997c Move modbus RTU classes into hardware source code section 2021-06-06 00:43:37 +02:00
Simon Stürz
a69b819373 Implement modbus resource siganls and improve connected state notifications 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
673bce61ff Initialize modbus manager and clean up class hirarchy 2021-06-06 00:43:37 +02:00
Simon Stürz
d6e5347666 Implement loading and saving of modbus hardware resources and finish the RTU master implementation 2021-06-06 00:43:37 +02:00
Simon Stürz
01262b43e9 Add basic structure of the resource and start implement modbus rtu master 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
f8f2cf8fc2 Add more flexible createChannel API to the MQTT provider resource 2021-05-28 16:31:00 +02:00
Simon Stürz
8749789322 Give plugins access to the coordinator IEEE address for unicast bindings 2020-11-25 13:05:27 +01:00
Simon Stürz
527989fe7c Ignore the coordinator node in the zigbee resource 2020-11-19 14:37:44 +01:00
Michael Zanetti
bfc4476019 allow the same plugin fetching a zigbeenode multiple times
inform the zigbeemanager about things finishing loading
2020-11-16 22:18:19 +01:00
Michael Zanetti
7ab98f65f7 Improve the plugin <-> node matching mechanism
* A ZigbeeNode can now only be claimed by 1 plugin.

* Unhandled nodes will now be re-evaluated on restart as there might
  have been new plugins installed which could handle this node now.
2020-11-16 15:15:28 +01:00
Simon Stürz
e9b5b618b2 Implement remove node into the resource and missing network state changed signal handling 2020-11-12 13:26:55 +01:00
Michael Zanetti
4b493ac51d provisoric handling for node removal 2020-11-12 11:27:31 +01:00
Michael Zanetti
af09702c31 first stab on the adding a plugin api 2020-11-06 19:22:19 +01:00
Simon Stürz
c3508acc23 Pass nodes into the zigbee resource and implement available for resource 2020-11-06 18:36:22 +01:00
Simon Stürz
6e72689c56 Make use of nymea logging categories and offer libnymea-zigbee ZigbeeNetwork logging category within nymea to enable 2020-11-06 18:36:21 +01:00
Simon Stürz
915cd25a7d Update zigbee resource logging category 2020-11-06 18:35:50 +01:00
Michael Zanetti
228a4f9f9c fixx da build 2020-11-06 18:35:50 +01:00
Simon Stürz
7cb995767c Add zigbee serial port for api 2020-11-06 18:34:54 +01:00
Simon Stürz
fb74df8f81 Start integrating zigbee into nymea 2020-11-06 18:34:54 +01:00
Michael Zanetti
ca041bbd02 Convert recurring UPnP message to a debug print 2020-06-25 23:29:54 +02:00
Jenkins nymea
a01d5ea5b9 Merge PR #297: Fix UPnP discovery if wifi comes up late 2020-06-07 19:16:24 +02:00
Michael Zanetti
dbea7acbb2 Add an I2C hardware resource 2020-05-27 22:44:36 +02:00
Michael Zanetti
7eee989e12 Fix UPnP discovery if wifi comes up late 2020-05-27 00:08:08 +02:00
Michael Zanetti
3e425fc55b Rename devices to integrations/things 2020-03-02 13:40:26 +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
b5919a534d Update MQTT api a bit to be more flexible 2019-09-25 15:15:44 +02:00
Michael Zanetti
d24abfe3d0 Move devicemanager's implementation out of libnymea into libnymea-core 2019-07-15 22:52:52 +02:00
Michael Zanetti
4b9668e01e Improve UPnP debug output for easier debugging 2019-06-24 20:52:12 +02:00
Michael Zanetti
253972cb9a Abstract ZeroConf into a platform plugin 2019-05-23 05:35:03 +02:00
Michael Zanetti
3944e94699 Initial work on an integrated system update mechanism 2019-05-02 12:14:16 +02:00
Michael Zanetti
b23d7c820e Clean up avahi debug messages 2019-04-12 11:59:28 +02:00
Michael Zanetti
e7f7deadc3 Workaround zeroconf breaking because of broken multicast hardware 2019-04-12 02:52:05 +02:00