Zefau / ioBroker.jarvis

jarvis - just another remarkable vis
https://forum.iobroker.net/topic/49776
Other
149 stars 38 forks source link

Ganztägige Termine werden mit Dauer angezeigt #2633

Open Studhey opened 5 months ago

Studhey commented 5 months ago

*Please note that you may restore an old layout via jarvis adapter configuration directly within ioBroker

Prerequisites / Voraussetzungen

Describe the bug / Beschreibe den Fehler

Ich denke das kann man an den unteren Beispiel gut erkennen. Benutze einen Google Kalender mit dem iCal Adapter in v1.13.3

Screenshots

image

Im iCal Adapter wird es eigentlich ganz normal angezeigt

<span style="font-weight: bold; color: white"><span class="icalNormal iCal-Privat">27.03.  </span></span><span style="font-weight: normal; color:white"><span class='icalNormal2 iCal-Privat2'> </span></span><br/>
<span style="font-weight: bold; color: white"><span class="icalNormal iCal-Privat">28.03.  </span></span><span style="font-weight: normal; color:white"><span class='icalNormal2 iCal-Privat2'> </span></span><br/>
<span style="font-weight: bold; color: white"><span class="icalNormal iCal-Privat">31.03.  </span></span><span style="font-weight: normal; color:white"><span class='icalNormal2 iCal-Privat2'></span></span><br/>
<span style="font-weight: bold; color: white"><span class="icalNormal iCal-Privat">31.03. 19:00-20:00</span></span><span style="font-weight: normal; color:white"><span class='icalNormal2 iCal-Privat2'> Osterfeuer mit anschließender Party</span></span><br/>
<span style="font-weight: bold; color: white"><span class="icalNormal iCal-Privat">05.04.  </span></span><span style="font-weight: normal; color:white"><span class='icalNormal2 iCal-Privat2'> </span></span><br/>
<span style="font-weight: bold; color: white"><span class="icalNormal iCal-Privat">05.04. 09:00-09:30</span></span><span style="font-weight: normal; color:white"><span class='icalNormal2 iCal-Privat2'> </span></span><br/>

Please note that bug reports may be closed if the information above are not given!

Bitte beachte, dass Bug-Reports ggf. einfach geschlossen werden, wenn die oben genannten Kriterien nicht angemessen gegeben sind!

tschortschde commented 5 months ago

Bei mir tritt ebenfalls dieser Fehler auf

tschortschde commented 2 months ago

Gibt es hierzu schon eine Lösung?

Zefau commented 1 week ago

Die Version v3.2.0-beta.67 sollte den Fehler beheben - bitte einmal prüfen. Sofern es behoben ist, gerne das Issue schließen.


The version v3.2.0-beta.67 should fix the bug - please verify. If the bug has been solved, you may close the issue.

Studhey commented 1 week ago

Der Fehler existiert auch in v3.2.0-beta.67 noch bei mir.

Zefau commented 1 week ago

Kannst du mir die ical Rohdaten für einen betroffenen Termin bereitstellen?

Studhey commented 1 week ago

Bin mir nicht sicher was du damit meinst? Sowas? BEGIN:VEVENT DTSTART;VALUE=DATE:20131127 DTEND;VALUE=DATE:20131128 DTSTAMP:20240907T075556Z UID:CSVConvert72573b0bbe898cf69c030cce403eb552 CLASS:PRIVATE CREATED:19000101T120000Z LAST-MODIFIED:20131226T200232Z SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Nils Egal 1984 TRANSP:TRANSPARENT END:VEVENT

Zefau commented 1 week ago

Sieht bei mir in Ordnung aus:

grafik

Ganz zu Beginn deiner iCal-Datei findest du BEGIN:VCALENDAR. Steht zwischen BEGIN:VCALENDAR und dem ersten BEGIN:VEVENT noch etwas?

Studhey commented 6 days ago

Das steht dazwischen:

PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH X-WR-CALNAME:email@adresse.de X-WR-TIMEZONE:Europe/Berlin

Zefau commented 5 days ago

@Studhey ich bekomme es mit den Daten leider nicht reproduziert. Bei mir funktioniert es.

Bei dir sieht es nach wie vor so aus? grafik

Kannst du dir mal einen lokalen Test-Kalender anlegen und einbinden? Also /opt/iobroker/test.ics mit folgendem Inhalt anlegen:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:email@adresse.de
X-WR-TIMEZONE:Europe/Berlin
BEGIN:VEVENT
DTSTART;VALUE=DATE:20240927
DTEND;VALUE=DATE:20240928
DTSTAMP:20240907T075556Z
UID:CSVConvert72573b0bbe898cf69c030cce403eb552
CLASS:PRIVATE
CREATED:19000101T120000Z
LAST-MODIFIED:20131226T200232Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Nils Egal 1984
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR

und dann als Datei einbinden:

grafik

Studhey commented 3 days ago

Hab ich gemacht, sieht aber komisch aus. Wenn ich speichere und dann wieder reingehen in das Widget sieht es so aus Screenshot 2024-09-14 071122

Der Kalender so (nach dem ich den Zeitraum der Vorschau erweitert hatte, da das Event ja erst am 27.9. ist. Screenshot 2024-09-14 071417

Auch wenn ich den Kalender im Widget neu einfüge und dann wieder hinzufüge ändert sich nichts.

Zefau commented 3 days ago

@Studhey bist du auf v3.2 bzw. v3.2.0-rc.3?

Bei dir fehlt auch der Active Button:

grafik

Studhey commented 2 days ago

aktuell noch v3.2.0-beta.67, aber ich aktualisiere mal.

Studhey commented 2 days ago

Nun sieht es besser aus. aber ich habe aber immernoch einen leeren Kalender image

Die Datei sollte doch passen. image

Zefau commented 2 days ago

Kannst du mal ioBroker log auf debug stellen. Siehst du, dass der Kalendar abgerufen wird, wenn du in jarvis die Seite mit dem Calendar-Modul öffnest?