Open glorifiedg opened 4 years ago
Do you mean that it always worked like that? Have you tried a) a different browser and b) without duckdns? It looks like a JS issue.
Yes, I have that behavior even in older versions of HA.
Just tried on firefox an IE, both on DuckDNS and internal network path, and got the same error.
Any ideas?
Was this behaviour introduced with one of the recent alarm version? Do you know a combinaton of HA/bwalarm that worked as expected? Can you open JavaScript console of your browser and post what's there?
No and no.
This what I get in console: https://imgur.com/uGygVtK
Interesting enough: if I have the console open and refresh the page, It works normally https://imgur.com/Gi9KbJc If I go to other HA page and come back to BWalarm it shows like this again.
thanks for the log, I'l look into it.
If I go to other HA page and come back to BWalarm it shows like this again.
do you mean it doesn't work?
Yes, if I go to to another page, the error appears again.
Thank you for looking into it!
Did you clear cache of your browsers? I take that you run Windows and use Chrome but in Firefox and IE it's the same?
Will try to clear the cache. Anyway, tried on both and also EDGE and still the same problem. Firefox was a brand new install.
Can you try from a phone/tablet?
Just tried on chrome running on Android after cache cleared and still the same error.
Thanks for checking. It's getting more and more interesting.. In the initial issue description there are two errors - from countdown36.js and alarm-1.js In your JS console output I can see ony the latter - does that mean that you no longer get another errors?
Actually, the only consistent error is this one:
Logger: frontend.js.latest.202004272
Source: components/system_log/__init__.py:209
First occurred: 11:30:04 (1 occurrences)
Last logged: 11:30:04
https://XXXXX.duckdns.org:8123/api/panel_custom/alarm-1.js:647:42 Uncaught TypeError: $(...).width is not a function
Is there an option to force an auto refresh after clicking on "Alarm"? I think that would solve the problem.
I saw that custom header had a problem similar to this one some weeks ago.
Is there an option to force an auto refresh after clicking on "Alarm"? I think that would solve the problem.
could you tell me why you think so?
I saw that custom header had a problem similar to this one some weeks ago.
could you provide me with a link?
I just say that because everything works if I click refresh on browser AFTER opening bwalarm tab.
Can't find it anymore on their GIT but will keep looking.
Could you update the original issue report with the version of your alarm?
@glorifiedg I'm still waiting for the version of your alarm.
@glorifiedg I'm still waiting for the version of your alarm.
This integration: v1.12.4
Home Assistant: v0.112.4
Python: v(3,7,7,final,0)
Using Home Assistant 0.109.6 but happening since ever. Installed multiple times and after first use the alarm panel does't load properly, showing no buttons.
Error:
bwalarm.yaml