at gelöscht nach reboot vom PI?

Begonnen von misux, 18 März 2018, 15:01:04

Vorheriges Thema - Nächstes Thema

misux

HI!

ich habe mir mal ein at angelegt was auch soweit funktioniert meine ich... dumm ist nur das mir das at nach einem reboot von meinem PI gelöscht wird....

Hatte 6 solcher at und habe mich gewundert warum nix geht auf einmal... Hat jemand eine Idee was da sol ist?

hier ein Beispiel eines at:

define sunrise_outdoor at *{ReadingsVal("Twilight","sr_civil","")} set Tageslicht_outdoor Tag

und hier ein Log auszug nach dem boot:

2018.03.18 14:51:17.581 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.581 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.582 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.582 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.582 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.582 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.583 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.584 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.593 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.593 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.593 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.593 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.594 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.594 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.594 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.595 1: [WZBodenLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.649 3: LGTV_WebOS (LGTv) - defined with host 192.168.1.60
2018.03.18 14:51:17.676 3: [Twilight] got no weather info from yahoo. Error code: http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=12833504%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(1) to http://query.yahooapis.com:80: IO::Socket::INET: connect: Network is unreachable
2018.03.18 14:51:17.701 1: define sunrise_outdoor at *{ReadingsVal("Twilight","sr_civil","")} set Tageslicht_outdoor Tag: the function "ReadingsVal("Twilight","sr_civil","")" must return a timespec and not <empty string>.
2018.03.18 14:51:17.703 1: Including ./log/fhem.save
2018.03.18 14:51:17.826 1: configfile: the function "ReadingsVal("Twilight","sr_civil","")" must return a timespec and not <empty string>.
./log/fhem.save: Please define sunrise_outdoor first
Please define sunrise_outdoor first

2018.03.18 14:51:17.839 1: usb create starting
2018.03.18 14:51:18.141 3: Probing CUL device /dev/ttyS0
2018.03.18 14:51:18.362 1: usb create end
2018.03.18 14:51:18.363 0: Featurelevel: 5.8
2018.03.18 14:51:18.363 0: Server started with 123 defined entities (fhem.pl:16426/2018-03-17 perl:5.024001 os:linux user:fhem pid:432)
2018.03.18 14:51:18.376 2: ZWDongle_ProcessSendStack: no ACK, resending message 0107000301020100f9
2018.03.18 14:51:32.655 3: telnetForBlockingFn_1521381092: port 38707 opened
2018.03.18 14:51:32.717 3: LGTV_WebOS (LGTv) - Sucessfull WS connection to 192.168.1.60
2018.03.18 14:52:17.322 3: [Twilight] 2 attempt(s) needed to get valid weather data from yahoo
2018.03.18 14:54:41.452 3: FHEMWEB WEB CSRF error: csrf_293108020683247 ne csrf_504859826454458 for client WEB_192.168.1.26_41404 / command jsonlist2 WEB,Druckluft,KlingelTaster,DavidFruehschicht,Urlaub,TVTime,KINOTime,EingangsTuer,BueroFenster,KuecheFenster,EssZimmerFenster,TerrassenTuer,BadeZimmerFenster,ToilettenFenster,AnkleideZimmerFenster,SchlafZimmerFenster,SpieleZimmerFenster1,SpieleZimmerFenster2,SpieleZimmerFenster3,DominicSchlazimmerFenste1,DominicSchlazimmerFenste2,KellerTuer,HeizKellerFenster1,HeizKellerFenster2,HeizKellerFenster3,HolzWerkstattFenster1,HolzWerkstattFenster2,ELOWerkstattFenster1,ELOWerkstattFenster2,WaschkellerFenster1,WaschkellerFenster2,ToiletteKellerFenster,WZEZ_WZFLed,WZBodenLed,TvLicht,Deckenfluter,WZEZ_EZDLed,KuecheHerd,KuechenTisch,DominicWand1,DominicWand2,Terrasse,KellerEingang,GartenFluter,Holz,Carport,Einfahrt,Testschalter2,SENSOR_1_Tor,ASTROFUNKTION,SENSOR_1_Heizung STATE longpoll state CustomTwilightMorning CustomTwilightEvening. For details see the csrfToken FHEMWEB attribute.

jump to the top


2018.03.18 14:51:17.584 1: [WZFensterLED] invalid time <> HH:MM[:SS]
2018.03.18 14:51:17.593 1: [WZBodenLED] invalid time <> HH:MM[:SS]

die Beiden LEDs haben auf jedenFall einen Bezug auf das Twilight und es sind WeekdayTimer
WZBodenLed 22:30|off 0123456|{ReadingsVal("Twilight","ss_indoor","")}|on (ReadingsVal("TVTime", "state", "on") eq "off")

Selbst wenn ich alles define und anlege und die Zeiten im WeekdayTimer stehen werden nach dem reboot alle at gelöscht... :o

HIer mal ein List von einem at Befehl der auch immer gelöscht wird nach dem Boot..
Internals:
   CFGFN     
   COMMAND    set Tageslicht_indoor Tag
   DEF        *{ReadingsVal("Twilight","sr_indoor","")} set Tageslicht_indoor Tag
   NAME       sunrise_indoor
   NR         387
   NTM        06:43:50
   PERIODIC   yes
   RELATIVE   no
   REP        -1
   STATE      Next: 06:43:50
   TIMESPEC   {ReadingsVal("Twilight","sr_indoor","")}
   TRIGGERTIME 1521438230
   TRIGGERTIME_FMT 2018-03-19 06:43:50
   TYPE       at
   READINGS:
     2018-03-18 15:05:54   state           Next: 06:43:50
Attributes:
   room       2 Astrofunktionen,2 at


amenomade

Anscheinend funktioniert dein Netzwerk (Internet) noch nicht, wenn er versucht, Twilight zu definieren.

Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus