[gelöst] holiday geht nicht

Begonnen von andies, 01 Januar 2020, 10:31:19

Vorheriges Thema - Nächstes Thema

andies

Ich habe ein komisches Problem. Bei mir geht holiday nicht:

Internals:
   FUUID      5c782b53-f33f-1115-2d5a-37e7e0148a4379e6
   HOLIDAYFILE ./FHEM/berlin.holiday
   NAME       berlin
   NR         20
   READONLY   0
   STATE      none
   TRIGGERTIME 1577919602.70942
   TYPE       holiday
   READINGS:
     2020-01-01 00:00:04   state           none
     2020-01-01 00:00:04   tomorrow        none
     2020-01-01 00:00:04   yesterday       none
Attributes:

und die Datei sieht so aus:

# Format für einzelne Tage: 1 MM-DD <Text>
1 01-01 Neujahr
1 03-08 Frauentag
1 05-01 Tag der Arbeit
1 10-03 Tag der deutschen Einheit
1 10-31 Reformationstag
1 12-25 1. Weihnachtstag
1 12-26 2. Weihnachtstag
# Osterbezogene Feiertage
# Format: 2 <relative Tage von Ostern> <Text>
2 -2 Karfreitag
2 1 Ostermontag
2 39 Christi Himmelfahrt
2 50 Pfingsten

Auffällig ist, dass auch ferien nicht angezeigt wurde, dort habe ich folgende Einträge:
# Format: X MM-DD MM-DD <Text>
4 01-01 01-04 Weihnachtsferien_2020
4 02-03 02-08 Winterferien
4 04-06 04-17 Osterferien
4 05-08 05-08 unterrichtsfrei
4 05-22 05-22 unterrichtsfrei
4 06-11 06-11 Pfingstferien
4 06-25 08-07 Sommerferien
4 10-04 10-04 unterrichtsfrei
4 10-12 10-24 Herbstferien
4 12-23 12-31 Weihnachtsferien_2019

pah vermutet da einen Fehler. Hat jemand eine Idee?


Gesendet von iPad mit Tapatalk Pro
FHEM 6.3 auf RaspPi4 (Raspbian:  6.6.28+; Perl: v5.36.0)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

CoolTux

Und die Datei liegt auch wirklich unter
./FHEM/berlin.holiday
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

andies

ja, tut sie. Ich habe gerade gesehen, dass es ja in holiday eine Berliner Datei gibt, und stelle mal auf die um. Aber wieso wurde dann der Ferientag gestern nicht angezeigt?


Gesendet von iPad mit Tapatalk Pro
FHEM 6.3 auf RaspPi4 (Raspbian:  6.6.28+; Perl: v5.36.0)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

binford6000

Frohes Neues Jahr!
Also bei mir zeigt er Neujahr an:
Internals:
   FUUID      5c44a502-f33f-0308-2f2d-88bd17277cdd6de4
   FVERSION   95_holiday.pm:0.202900/2019-10-02
   HOLIDAYFILE ./FHEM/de_social.holiday
   NAME       de_social
   NR         66
   READONLY   0
   STATE      Neujahr
   TRIGGERTIME 1577919602.85769
   TYPE       holiday
   READINGS:
     2020-01-01 10:42:23   state           Neujahr
     2020-01-01 10:42:23   tomorrow        none
     2020-01-01 10:42:23   yesterday       Silvester
Attributes:
   alias      Festtage als de_social holiday device
   devStateIcon {ReadingsVal($name,"state","none") eq "none" ? ".*:ios-off" : ".*:ios-on-blue"}
   group      Kalender
   icon       time_calendar
   room       90_System->98_Kalender


# Festtage
1 01-01 Neujahr
1 01-06 Heilige drei Könige
1 02-14 Valentinstag
1 04-30 Tanz in den Mai
1 10-31 Halloween
1 11-02 Allerseelen
1 11-11 Martinstag
5 -1 Wed 11 24 Buß- und Bettag
1 12-06 Nikolaus
1 12-24 Heiligabend
1 12-31 Silvester


VG Sebastian

CoolTux

Rechte Problem?
Gibt es denn Fehlermeldungen wenn du zum Beispiel ein modify des Holiday Devices machst?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

andies

Zitat von: binford6000 am 01 Januar 2020, 10:44:36
Frohes Neues Jahr!
Sorry, das hatte ich ganz vergessen - danke und die guten Wünsche zurück!

Also mit be.holiday geht es auch nicht, da stimmt irgendwas nicht (siehe Screenshot). Und das wird nicht an be.holiday liegen, sondern an meinen Ferien. Ich spiele mal ein wenig herum.
FHEM 6.3 auf RaspPi4 (Raspbian:  6.6.28+; Perl: v5.36.0)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

andies

Und das ist doch auch richtig, oder?

Internals:
   DEF        no definition
   FD         3
   NAME       global
   NR         1
   STATE      no definition
   TYPE       Global
   currentlogfile ./log/fhem-2020-01.log
   logfile    ./log/fhem-%Y-%m.log
   READINGS:
Attributes:
   altitude   10
   autoload_undefined_devices 1
   autosave   0
   blockingCallMax 5
   configfile fhem.cfg
   dnsServer  192.168.2.1
   exclude_from_update icoHaus.png fhemicon.png fhemicon_smallscreen.png icoEverything.png favicon.ico defaultCommon.css
   group      intern
   holiday2we be,ferien
   language   DE
   latitude   52
   logfile    ./log/fhem-%Y-%m.log
   longitude  13
   modpath    .
   motd       SecurityCheck:
  WEBphone is not password protected
  Mosquitto is not password protected
  WEBtablet is not password protected
  telnetPort is not password protected
  WEB is not password protected

Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none
   mseclog    0
   sendStatistics onUpdate
   statefile  ./log/fhem.save
   title      Bweg
   updateInBackground 1
   userattr   DbLogExclude DbLogInclude alexaName alexaRoom cmdIcon devStateIcon devStateIcon:textField-long devStateStyle fm_type genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock homebridgeMapping:textField-long icon msgContactAudio msgContactLight msgContactMail msgContactPush msgContactScreen msgParams msgPriority msgRecipient msgRecipientAudio msgRecipientLight msgRecipientMail msgRecipientPush msgRecipientScreen msgRecipientText msgTitle msgTitleShrt msgType:text,push,mail,screen,light,audio,queue sortby webCmd webCmdLabel:textField-long widgetOverride
   verbose    1
   version    fhem.pl:19485/2019-05-29
FHEM 6.3 auf RaspPi4 (Raspbian:  6.6.28+; Perl: v5.36.0)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

andies

Zitat von: CoolTux am 01 Januar 2020, 10:45:32
Rechte Problem?
Gibt es denn Fehlermeldungen wenn du zum Beispiel ein modify des Holiday Devices machst?
Nein, auch gerade geprüft. Da habe ich an irgendeiner Stelle vermutlich Mist gebaut und finde die jetzt nicht.
FHEM 6.3 auf RaspPi4 (Raspbian:  6.6.28+; Perl: v5.36.0)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

andies

Allen ein gutes neues Jahrzehnt! Ich habe neu gestartet und seitdem läuft alles. Mir ist unklar, was da im Argen war (uptime 35 Tage), aber weil das Problem geklärt ist, forsche ich da nicht mehr nach.
FHEM 6.3 auf RaspPi4 (Raspbian:  6.6.28+; Perl: v5.36.0)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann