added garadget to nymea-plugins.pro

master
Bruce Eckstein 2021-11-01 10:18:21 -04:00
parent f342f142cb
commit f4913d0826
4 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ Garadget Initial Configuration:
enter nymead Broker Port:
enter nymead Broker User ID: (if needed)
enter nymead Broker Password: (if needed)
enter Device Topic ID: (this must be unique across all garadget devices and contain NO /s allowed)
enter Device Topic ID: (this must be unique across all garadget devices and contain NO /s)
select Save & Connect (The device will reconnect to your WiFi network via dhcp)
nymea configuration:
@ -31,15 +31,13 @@ nymea configuration:
nymea operation:
on the Garadget window, the up icon, stop icon, and down icon cause the device to activate the garage door.
on the Garadget detail window (uppre righthand corner, you can tune the Garadget configuration for:
on the Garadget detail window (uppre righthand corner), you can tune the Garadget configuration for:
Refection Threshold
Button Press Time
Door Moving Time. (you should adjust to the time it takes your door to open)
when changed it takes a couple seconds for Garadget to respond and update the values shown in the nymea window.
notes:
Publish does not send any messages.
other than the three types shown above and the open, close and stop items, no action is taken by the plugin.
DECKO Garage Door opener requires a ~ 3.3 Volt zener diode in series of the connection between the Garadget and the DECKO
Issues: Garadget operating a DECKO garage door opener (may not be issue with other garage door openers)
@ -48,4 +46,5 @@ Issues: Garadget operating a DECKO garage door opener (may not be issue with oth
This confusion is an issue of the Garadget and not of nymea-plugin.
The plugin will show connected as soon as the Garadget connects to the broker.
The plugin does NOT know if the Garadget disconnects and therefore will continue to show connected even if the Garadget is no longer connected.
The plugin will detect if the device is commanded to change broker connection and therefore set state to disconnected.
The plugin does NOT know if the Garadget disconnects (power down or breakage) and therefore will continue to show connected even if the Garadget is no longer connected.

View File

@ -216,7 +216,7 @@ void IntegrationPluginGaradget::publishReceived(const QString &topic, const QByt
if (topic.endsWith("/set-config")){
if ( (payload.contains("mqip")) or (payload.contains("mqpt")) ) {
thing->setStateValue(garadgetConnectedStateTypeId, false);
qCDebug(dcGaradget) << "set connected to false";
qCDebug(dcGaradget) << "Detected change of Broker msg - set connected to false";
}
}
}

View File

@ -14,7 +14,7 @@
"id": "e808b8ae-7608-41ce-8444-892f0648a4d3",
"setupMethod": "JustAdd",
"createMethods": ["User"],
"interfaces": ["statefulgaragedoor", "inputtrigger"],
"interfaces": ["statefulgaragedoor", "inputtrigger", "wirelessconnectable"],
"paramTypes": [
{
"id": "54a11a17-fc37-4316-891f-001c55e38220",
@ -48,7 +48,7 @@
"id": "024f178c-a920-42d4-887f-1c90a96d5eb3",
"name": "signallevel",
"displayName": "WIFI Signal Level",
"displayNameEvent": "Signal Level changed",
"displayNameEvent": "WIFI Signal Level changed",
"type": "int",
"defaultValue": 0
},
@ -56,7 +56,7 @@
"id": "4aaeefbd-46d9-4111-b262-a001a47ecb22",
"name": "sensorlevel",
"displayName": "Lazer Sensor Level",
"displayNameEvent": "Sensor Level changed",
"displayNameEvent": "Lazer Sensor Level changed",
"type": "int",
"suggestLogging": true,
"defaultValue": 0

View File

@ -22,6 +22,7 @@ PLUGIN_DIRS = \
fastcom \
flowercare \
fronius \
garadget \
genericelements \
genericthings \
goecharger \