während der Einrichtung des Addon "Müllabfuhr" im Plugin Sonos4Lox bin ich auf eine Problematik bzgl. Leerzeichen im Event-Namen gestoßen.
Ich habe hierzu im Plugin den Link zu meinem Abfuhrkalender eingefügt:
http://LOXBERRY IP/plugins/caldav4lox/caldav.php?calURL=KALENDER URL.ics&fwdays=30&events=Blaue|Gelbe Tonne|Reststoff|Biotonne
Als Fehlermeldung erhalte folgendes, wenn ich im Browser die Funktion mit "http://LOXBERY IP/plugins/sonos4lox/index.php?zone=buero&action=say&abfall" aufrufe:
05.11.2018 20:50:11 TASK STARTED Sonos PHP started [COLOR=black][B]INFO:[/B] LoxBerry Version 1.2.5.4 ( is_raspberry.cfg )[/COLOR] [COLOR=black][B]INFO:[/B] Sonos Version 3.5.1[/COLOR] [COLOR=black][B]INFO:[/B] Loglevel: 7[/COLOR] [COLOR=green][B]OK:[/B][/COLOR] called syntax: LOXBERRY IP/plugins/sonos4lox/index.php?zone=buero&action=say&abfall Online check for Players is turned off All variables has been collected Sonos config has been loaded Player config has been loaded Sonos config has been loaded [COLOR=black][B]INFO:[/B] Configuration has been successful loaded[/COLOR] [COLOR=green][B]OK:[/B][/COLOR] Samba share 'plugindata' has been found Perform Logfile size check Standard Volume from zone buero been used [COLOR=black][B]INFO:[/B] All Zone settings has been saved successful[/COLOR] [05-Nov-2018 20:52:11 Europe/Berlin] PHP Warning: file_get_contents(http://LOXBERRY IP/plugins/caldav4lox/caldav.php?calURL=KALENDER URL.ics&fwdays=30&events=Blaue|Gelbe Tonne|Reststoff|Biotonne&debug): failed to open stream: HTTP request failed! in /opt/loxberry/webfrontend/html/plugins/sonos4lox/addon/waste-calendar-to-speech.php on line 35 [COLOR=black][B]INFO:[/B] Waste calendar: Kein Abfalltermin für heute oder morgen im Kalender.[/COLOR]
Neuer Link zum Abfuhrkalender:
http://LOXBERRY IP/plugins/caldav4lox/caldav.php?calURL=KALENDER URL.ics&fwdays=30&events=Blaue|Gelbe+Tonne|Reststo ff|Biotonne
Logfile:
05.11.2018 20:57:05 TASK STARTED Sonos PHP started [COLOR=black][B]INFO:[/B] LoxBerry Version 1.2.5.4 ( is_raspberry.cfg )[/COLOR] [COLOR=black][B]INFO:[/B] Sonos Version 3.5.1[/COLOR] [COLOR=black][B]INFO:[/B] Loglevel: 7[/COLOR] [COLOR=green][B]OK:[/B][/COLOR] called syntax: LOXBERRY IP/plugins/sonos4lox/index.php?zone=buero&action=say&abfall Online check for Players is turned off All variables has been collected Sonos config has been loaded Player config has been loaded Sonos config has been loaded [COLOR=black][B]INFO:[/B] Configuration has been successful loaded[/COLOR] [COLOR=green][B]OK:[/B][/COLOR] Samba share 'plugindata' has been found Perform Logfile size check Standard Volume from zone buero been used [COLOR=black][B]INFO:[/B] All Zone settings has been saved successful[/COLOR] [05-Nov-2018 20:57:06 Europe/Berlin] PHP Notice: Undefined index: Gelbe+Tonne in /opt/loxberry/webfrontend/html/plugins/sonos4lox/addon/waste-calendar-to-speech.php on line 66 [05-Nov-2018 20:57:06 Europe/Berlin] PHP Notice: Undefined index: Gelbe+Tonne in /opt/loxberry/webfrontend/html/plugins/sonos4lox/addon/waste-calendar-to-speech.php on line 67 [COLOR=black][B]INFO:[/B] Waste calendar: Kein Abfalltermin für heute oder morgen im Kalender.[/COLOR]
Mein LoxBerry-System setzt sich aktuell wie folgt zusammen:
- LoxBerry-Version: 1.2.5.4
- Plugin-Version: Sonos4lox: v3.5.1
- Plattform: Raspberry
Als Hinweis vielleicht noch: Wenn ich als Event nur "events=Blaue|Gelbe|Reststoff|Biotonne" angebe, ist die Funktion gegeben. Mir fehlt jedoch in der Ansprache mindestens das Wort Tonne. Es wird lediglich folgendes ausgesprochen: "...Morgen früh wird gelbe abgeholt..".
Vielen Dank für die Unterstützung.
Gruß, Patrick
Kommentar