Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Image Updatezeit V2.9.50 [bug]: #423

Open
1 task done
Xsev1 opened this issue Apr 21, 2024 · 9 comments
Open
1 task done

Basic Image Updatezeit V2.9.50 [bug]: #423

Xsev1 opened this issue Apr 21, 2024 · 9 comments
Labels
bug 🐞 Something isn't working

Comments

@Xsev1
Copy link

Xsev1 commented Apr 21, 2024

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Nach Aktualisierung von 2.9.32 auf 2.9.50 funktioniert die Updatezeit (refresh time) beim Basic Image nicht mehr. Bin jetzt wieder auf 2.9.32 zurück, dort funktioniert das aktualisieren tadellos.

To Reproduce

Expected behavior

Screenshots & Logfiles

Page or affected widget

No response

Adapter version

2.9.50

js-controller version

5.0.19

Node version

18.20.2

Operating system

Debian 12

Additional context

No response

@Xsev1 Xsev1 added the bug 🐞 Something isn't working label Apr 21, 2024
@tmikulski
Copy link

tmikulski commented Aug 19, 2024

I have the same issue (including the current version 2.10.7)

@Xsev1 I temporarily workaround the problem using javascript and CRON. In VIS I use {object_id} as the source and as the script: https://pastebin.com/Z053AKnF

From what I've noticed, VIS doesn't add “?_refts=” to the URL despite the “Do not add anything to URL” option not checked.

@iAgrippa
Copy link

iAgrippa commented Oct 4, 2024

ja - das kann ich auch bestätigen. Hatte das gleiche Verhalten bei Basic Image aber auch bei Basic Image 8.
Ich bin auch wieder auf v2.9.32.

@peterfido
Copy link

Auch unter 2.9.64 keine Besserung. Zurück auf 2.9.32 geht zwar, allerdings fehlen da doch viele Widgets wie Basic HTML navigation

@jolichter
Copy link

Hello, I can confirm this issue and have experienced it with version 2.9.64 as well.

In VIS2, I integrated a Basic Image widget for a camera using the snapshot URL of my camera. The snapshot URL worked perfectly with version 2.9.32, and I received an updated image every 2 seconds since I had set the update interval (ms) to 2000 for reasonable image refresh rates.

basic_refreshinterval

Tested with Fully Browser 1.53, Google Chrome 131.0.6778.86, Brave 1.73.91, and ioBroker Visu 1.3.0.

@jolichter
Copy link

jolichter commented Dec 1, 2024

Hilft euch vielleicht dieser woraround? Link

@TotKur
Copy link

TotKur commented Jan 24, 2025

Hello, I can confirm this issue and have experienced it with version 2.11.1 as well.

@jolichter
Copy link

Yes, even with version 2.11.1, the bug persists. My small script could serve as a workaround until it gets fixed.

@TotKur
Copy link

TotKur commented Jan 27, 2025 via email

@jolichter
Copy link

jolichter commented Jan 27, 2025

Wenn dein Bild nur einmal sichtbar ist und dann verschwindet, wird vermutlich etwas Falsches per script geladen. Du kannst das eventuell über die Konsole (F12) in deinem Browser überprüfen.

Bei meiner Instar-Kamera und dem Regenradar-Bild funktioniert es ohne Probleme. Mit go2rtc oder Reolink habe ich keine Erfahrung, daher kann ich das nicht reproduzieren. Möglicherweise liegt es daran, wie das Passwort in der URL integriert wird. Bei mir sieht das zum Beispiel so aus:
http://192.168.1.51:80/tmpfs/auto.jpg?usr=USERNAME&pwd=PASSWORT

Image

Was meinst du genau mit „Ist hier eventuell die fehlende ‚Addiere zu URL‘ verantwortlich“? Diese Checkbox ist bei mir deaktiviert.

PS: Teste das Regenradar doch einmal per Basic Image mit dieser URL:
https://morgenwirdes.de/api/v3/gif5.php?plz=48143
Setze den Intervall des witgets im script testweise auf 4000. Dadurch kannst du erkennen, dass das GIF alle 4 Sekunden neu geladen wird. Das ist zwar nicht sinnvoll, dient jedoch als guter Test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants