From 8c06d45a9cbfb0ac6825a0f19d84b24c3d938ffc Mon Sep 17 00:00:00 2001
From: "klaus.schauer" <>
Date: Tue, 13 Jul 2021 16:29:27 +0000
Subject: [PATCH] 00_ElsnerWS: commandref: link structure changed
git-svn-id: https://svn.fhem.de/fhem/trunk@24741 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/00_ElsnerWS.pm | 84 ++++++++++++++++++++--------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/fhem/FHEM/00_ElsnerWS.pm b/fhem/FHEM/00_ElsnerWS.pm
index 1f21667e0..9bd39a2e1 100644
--- a/fhem/FHEM/00_ElsnerWS.pm
+++ b/fhem/FHEM/00_ElsnerWS.pm
@@ -995,7 +995,7 @@ sub ElsnerWS_Shutdown($) {
=item summary_DE ElsnerWS Elsner Wetterstation P03/3-RS485 oder P04/3-RS485 Auswertemodul
=begin html
-
+
ElsnerWS
The ElsnerWS weather evaluation modul serves as a connecting link between the
@@ -1025,11 +1025,11 @@ sub ElsnerWS_Shutdown($) {
- Adjustable switching thresholds and delay times
- Day/night signal
- Display of date, time, sun azimuth, sun elevation, longitude and latitude
- - Execution of custom alarm commands, see customCmdAlarmOff and
- customCmdAlarmOn.
+ - Execution of custom alarm commands, see customCmdAlarmOff and
+ customCmdAlarmOn.
- Execution of custom up and down commands that can be triggered by the readings dayNight, isRaining, isStormy,
- isSunny, isSunnyEast, isSunnySouth, isSunnyWest and isWindy, see customCmdDown and
- customCmdUp.
+ isSunny, isSunnyEast, isSunnySouth, isSunnyWest and isWindy, see customCmdDown and
+ customCmdUp.
Prerequisites
@@ -1054,7 +1054,7 @@ sub ElsnerWS_Shutdown($) {
are successfully tested at a Raspberry PI in conjunction with the weather sensor.
-
+
Define
define <name> ElsnerWS comtype=<comtype> devicename=<devicename>
@@ -1070,61 +1070,61 @@ sub ElsnerWS_Shutdown($) {
searched for a ready-to-operate weather station during the Fhem boot.
-
+
Attributes
- - brightnessDayNight E_min/lx:E_max/lx,
+
- brightnessDayNight E_min/lx:E_max/lx,
[brightnessDayNight] = 0...99000:0...99000, 10:20 is default.
Set switching thresholds for reading dayNight based on the reading brightness.
- - brightnessDayNightCtrl custom|sensor,
+
- brightnessDayNightCtrl custom|sensor,
[brightnessDayNightCtrl] = custom|sensor, sensor is default.
Control the dayNight reading through the device-specific or custom threshold and delay.
- - brightnessDayNightDelay t_reset/s:t_set/s,
+
- brightnessDayNightDelay t_reset/s:t_set/s,
[brightnessDayNightDelay] = 0...3600:0...3600, 600:600 is default.
Set switching delay for reading dayNight based on the reading brightness. The reading dayNight is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
- - brightnessSunny E_min/lx:E_max/lx,
+
- brightnessSunny E_min/lx:E_max/lx,
[brightnessSunny] = 0...99000:0...99000, 20000:40000 is default.
Set switching thresholds for reading isSunny based on the reading brightness.
- - brightnessSunnyDelay t_reset/s:t_set/s,
+
- brightnessSunnyDelay t_reset/s:t_set/s,
[brightnessSunnyDelay] = 0...3600:0...3600, 120:30 is default.
Set switching delay for reading isSunny based on the reading brightness. The reading isSunny is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
- - brightnessSunnyEast E_min/lx:E_max/lx,
+
- brightnessSunnyEast E_min/lx:E_max/lx,
[brightnessSunnyEast] = 0...99000:0...99000, 20000:40000 is default.
Set switching thresholds for reading isSunnyEast based on the reading sunEast.
- - brightnessSunnyEastDelay t_reset/s:t_set/s,
+
- brightnessSunnyEastDelay t_reset/s:t_set/s,
[brightnessSunnyEastDelay] = 0...3600:0...3600, 120:30 is default.
Set switching delay for reading isSunnyEast based on the reading sunEast. The reading isSunnyEast is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
- - brightnessSunnySouth E_min/lx:E_max/lx,
+
- brightnessSunnySouth E_min/lx:E_max/lx,
[brightnessSunnySouth] = 0...99000:0...99000, 20000:40000 is default.
Set switching thresholds for reading isSunnySouth based on the reading sunSouth.
- - brightnessSunnySouthDelay t_reset/s:t_set/s,
+
- brightnessSunnySouthDelay t_reset/s:t_set/s,
[brightnessSunnySouthDelay] = 0...3600:0...3600, 120:30 is default.
Set switching delay for reading isSunnySouth based on the reading sunSouth. The reading isSunnySouth is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
- - brightnessSunnyWest E_min/lx:E_max/lx,
+
- brightnessSunnyWest E_min/lx:E_max/lx,
[brightnessSunnyWest] = 0...99000:0...99000, 20000:40000 is default.
Set switching thresholds for reading isSunnyWest based on the reading sunWest.
- - brightnessSunnyWestDelay t_reset/s:t_set/s,
+
- brightnessSunnyWestDelay t_reset/s:t_set/s,
[brightnessSunnyWestDelay] = 0...3600:0...3600, 120:30 is default.
Set switching delay for reading isSunnyWest based on the reading sunWest. The reading isSunnyWest is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
- - customCmdAlarmOff <command>
- customCmdAlarmOn <command>
+ - customCmdAlarmOff <command>
+ customCmdAlarmOn <command>
Command being executed if an alarm is set (on) or deleted (off). If <command> is enclosed in {},
then it is a perl expression, if it is enclosed in "", then it is a shell command,
else it is a "plain" fhem.pl command (chain). In the <command> you can access the name of the device by using $NAME, $TYPE
@@ -1137,10 +1137,10 @@ sub ElsnerWS_Shutdown($) {
scripts, and will be textually replaced for Fhem commands.
The alarm commands have a higher priority than the up and down commands.
- - customCmdDown <command>
- customCmdUp <command>
- The command is executed if the Up or Down command is triggered, see customCmdDownTrigger or
- customCmdUpTrigger. If <command> is enclosed in {},
+ - customCmdDown <command>
+ customCmdUp <command>
+ The command is executed if the Up or Down command is triggered, see customCmdDownTrigger or
+ customCmdUpTrigger. If <command> is enclosed in {},
then it is a perl expression, if it is enclosed in "", then it is a shell command,
else it is a "plain" fhem.pl command (chain). In the <command> you can access the name of the device by using $NAME, $TYPE
and the current readings
@@ -1152,13 +1152,13 @@ sub ElsnerWS_Shutdown($) {
scripts, and will be textually replaced for Fhem commands.
The alarm commands have a higher priority than the up and down commands.
- - customCmdDownPeriod once|threeTimes|3|10|180|600
- customCmdUpPeriod once|threeTimes|3|10|180|600
+ - customCmdDownPeriod once|threeTimes|3|10|180|600
+ customCmdUpPeriod once|threeTimes|3|10|180|600
[customCmdDownPeriod] = once|threeTimes|3|10|180|600, once is default.
Number or period of custom command to be executed.
- - customCmdDownTrigger dayNight|isRaining|isStormy|isSunny|isSunnyEast|isSunnySouth|isSunnyWest|isWindy
- The commands in the attribute customCmdDown are executed if one of the selected readings is triggered as follows:
+ - customCmdDownTrigger dayNight|isRaining|isStormy|isSunny|isSunnyEast|isSunnySouth|isSunnyWest|isWindy
+ The commands in the attribute customCmdDown are executed if one of the selected readings is triggered as follows:
- [dayNight] = night
- [isRaining] = no
@@ -1169,10 +1169,10 @@ sub ElsnerWS_Shutdown($) {
- [isSunnyWest] = yes
- [isWindy] = no
- The commands in the attribute customCmdDown are executed periodically every second if the attribute is not set.
+ The commands in the attribute customCmdDown are executed periodically every second if the attribute is not set.
- - customCmdUpTrigger dayNight|isRaining|isStormy|isSunny|isSunnyEast|isSunnySouth|isSunnyWest|isWindy
- The commands in the attribute customCmdUp are executed if one of the selected readings is triggered as follows:
+ - customCmdUpTrigger dayNight|isRaining|isStormy|isSunny|isSunnyEast|isSunnySouth|isSunnyWest|isWindy
+ The commands in the attribute customCmdUp are executed if one of the selected readings is triggered as follows:
- [dayNight] = day
- [isRaining] = yes
@@ -1183,43 +1183,43 @@ sub ElsnerWS_Shutdown($) {
- [isSunnyWest] = no
- [isWindy] = yes
- The commands in the attribute customCmdUp are executed periodically every second if the attribute is not set.
+ The commands in the attribute customCmdUp are executed periodically every second if the attribute is not set.
- - customCmdPriority down|up,
+
- customCmdPriority down|up,
[customCmdPriority] = down|up, up is default.
Priority of custom commands. If both the up and down command are triggered, only the prioritized command is executed.
- readingFnAttributes
- - signOfLife off|on,
+
- signOfLife off|on,
[signOfLife] = off|on, on is default.
Monitoring of the periodic telegrams from sensor.
- - signOfLifeInterval t/s,
+
- signOfLifeInterval t/s,
[signOfLifeInterval] = 1 ... 15, 3 is default.
Monitoring period in seconds of the periodic telegrams from sensor.
- - timeEvent no|yes,
+
- timeEvent no|yes,
[timeEvent] = no|yes, no is default.
Update the reading time periodically.
- - updateGlobalAttr no|yes,
+
- updateGlobalAttr no|yes,
[updateGlobalAttr] = no|yes, no is default.
Update the global attributes latitude and longitude with the received GPS coordinates.
- - windSpeedStormy v_min/m/s:v_max/m/s,
+
- windSpeedStormy v_min/m/s:v_max/m/s,
[windSpeedStormy] = 0...35:0...35, 13.9:17.2 (windStrength = 7 B - 8 B) is default.
Set switching thresholds for reading isStormy based on the reading windSpeed.
- - windSpeedStormyDelay t_reset/s:t_set/s,
+
- windSpeedStormyDelay t_reset/s:t_set/s,
[windSpeedStormyDelay] = 0...3600:0...3600, 60:3 is default.
Set switching delay for reading isStormy based on the reading windSpeed. The reading isStormy is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
- - windSpeedWindy v_min/m/s:v_max/m/s,
+
- windSpeedWindy v_min/m/s:v_max/m/s,
[windSpeedWindy] = 0...35:0...35, 1.6:3.4 (windStrength = 2 B - 3 B) is default.
Set switching thresholds for reading isWindy based on the reading windSpeed.
- - windSpeedWindyDelay t_reset/s:t_set/s,
+
- windSpeedWindyDelay t_reset/s:t_set/s,
[windSpeedWindyDelay] = 0...3600:0...3600, 60:3 is default.
Set switching delay for reading isWindy based on the reading windSpeed. The reading isWindy is reset or set
if the thresholds are permanently undershot or exceed during the delay time.
@@ -1227,7 +1227,7 @@ sub ElsnerWS_Shutdown($) {
-
+
Generated events