Ich verstehe es mal wieder nicht mehr; ich bin ziemlich sicher das folgendes notify mal funktioniert hat :
VerisureTemp:.* {
my $temp = "Unconnected";;
$temp = qx/python c:\\fhem\\fhem-5.7\\python\\verisure_getTemp.py/;;
fhem ("setreading VerisureTemp temperature $temp" );;
$temp = qx/python c:\\fhem\\fhem-5.7\\python\\verisure_getHum.py/;;
fhem ( "setreading VerisureTemp humidity $temp" );;
}
Dabei :
python c:\\fhem\\fhem-5.7\\python\\verisure_getTemp.py
funktioniert,
setreading VerisureTemp humidity number
funktioniert aus der Commandline, ich bekomme fuer VerisureTemp ein Reading humidity mit dem Wert von number
Im Rahmen des notify bekomme ich :
setreading VerisureTemp temperature : Usage: setreading <name> <reading> <value>
where <name> is a single device name, a list separated by komma (,) or a regexp. See the devspec section in the commandref.html for details
$temp hat also keinen Wert. Funktioniert denn
{qx/python c:\\fhem\\fhem-5.7\\python\\verisure_getTemp.py/;;}
in der Kommandozeile?
Danke.
Mein Fehler, $temp hatte keinen Wert zugewiesen bekommen.
Jetzt funktioniert alles.