From 835c68f6e643073e70a32e56b934db45f31f4307 Mon Sep 17 00:00:00 2001 From: Beta-User <> Date: Fri, 29 May 2020 08:17:36 +0000 Subject: [PATCH] mqtt2.template: bugfix in 6-ch-ethernet board git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22057 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/lib/AttrTemplate/mqtt2.template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/FHEM/lib/AttrTemplate/mqtt2.template b/FHEM/lib/AttrTemplate/mqtt2.template index d21d63692..3c5f69459 100644 --- a/FHEM/lib/AttrTemplate/mqtt2.template +++ b/FHEM/lib/AttrTemplate/mqtt2.template @@ -2455,8 +2455,7 @@ setreading DEVICE attrTemplateVersion 20200522 or prior name:6channel_ethernet_board_6input_split filter:TYPE=MQTT2_DEVICE -desc:For use with Advantech ADAM-6060-D 6-ch digital Input and 6-ch relay output. -NOTE: First experimental version, for configuration and to contribute see Forum Thread. You have to configure MQTT first with the Adam/Apax.Net Utility - cloud function: Set your broker and look for the topic; MQTT may not be available on all firmware revisions.
Split version - you'll get 6 independent devices. +desc:For use with Advantech ADAM-6060-D 6-ch digital Input and 6-ch relay output.
NOTE: First experimental version, for configuration and to contribute see Forum Thread. You have to configure MQTT first with the Adam/Apax.Net Utility - cloud function: Set your broker and look for the topic; MQTT may not be available on all firmware revisions.
Split version - you'll get 6 independent devices. order:W_04 par:DEVNAME;Device's name in the topic tree;{ AttrVal("DEVICE","readingList","") =~ m,Advantech/([^/]+)/, ? $1 : undef } par:ICON;ICON as set, defaults to on;{ AttrVal("DEVICE","icon","on") } @@ -2507,8 +2506,7 @@ attr DEVICE,DEVICE_CH2,DEVICE_CH3,DEVICE_CH4,DEVICE_CH5,DEVICE_CH6 model 6channe name:6channel_ethernet_board_6input_unified filter:TYPE=MQTT2_DEVICE -desc:desc:For use with Advantech ADAM-6060-D 6-ch digital Input and 6-ch relay output. -NOTE: First experimental version, for configuration and to contribute see Forum Thread. You have to configure MQTT first with the Adam/Apax.Net Utility - cloud function: Set your broker and look for the topic; MQTT may not be available on all firmware revisions. +desc:desc:For use with Advantech ADAM-6060-D 6-ch digital Input and 6-ch relay output.
NOTE: First experimental version, for configuration and to contribute see Forum Thread. You have to configure MQTT first with the Adam/Apax.Net Utility - cloud function: Set your broker and look for the topic; MQTT may not be available on all firmware revisions. order:W_04a par:DEVNAME;Device's name in the topic tree;{ AttrVal("DEVICE","readingList","") =~ m,Advantech/([^/]+)/, ? $1 : undef } par:ICON;ICON as set, defaults to on;{ AttrVal("DEVICE","icon","on") }