Dashticz - Bug report
Moderator: leecollings
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
If you have created the all day event in the GMT timezone, and you use the calendar in the Amsterdam timezone then all day events will start at 2am, which is correct.
Can you check the timezone of your all day events?
Do the other events have the correct start time?
I'll check the timezone handling for iCloud later tonight.
Sent from my SM-A320FL using Tapatalk
Can you check the timezone of your all day events?
Do the other events have the correct start time?
I'll check the timezone handling for iCloud later tonight.
Sent from my SM-A320FL using Tapatalk
-
- Posts: 24
- Joined: Monday 13 November 2017 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Dashticz - Bug report
Ok, now i understand.Lokonli wrote: ↑Sunday 20 October 2019 11:05 If you have created the all day event in the GMT timezone, and you use the calendar in the Amsterdam timezone then all day events will start at 2am, which is correct.
Can you check the timezone of your all day events?
Do the other events have the correct start time?
Well all of my systems are now on Brussels timezone and i made a few new all day events, now i have 1am as start hour, so it has definitely something to do with the correct timezone.(winter/summer time?) All my other events are shown at the correct start time
Thnx for your help!
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
I was able to reproduce some of the issues when I change the timezone of the Dashticz server. However, I cannot explain everything I see. Also in your case I don't understand how the all day events have an incorrect start time, while your normal events have the correct start time. The timezone interpretation happens on several places, and is pretty difficult to follow.Stepdes wrote: ↑Sunday 20 October 2019 11:53Ok, now i understand.Lokonli wrote: ↑Sunday 20 October 2019 11:05 If you have created the all day event in the GMT timezone, and you use the calendar in the Amsterdam timezone then all day events will start at 2am, which is correct.
Can you check the timezone of your all day events?
Do the other events have the correct start time?
Well all of my systems are now on Brussels timezone and i made a few new all day events, now i have 1am as start hour, so it has definitely something to do with the correct timezone.(winter/summer time?) All my other events are shown at the correct start time
Thnx for your help!
As a work around, I will add two parameters to calendar block definition:
Code: Select all
adjustTZ
adjustAllDayTZ
-
- Posts: 24
- Joined: Monday 13 November 2017 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Dashticz - Bug report
Hi Lokonli, thanks for your efforts already.I was able to reproduce some of the issues when I change the timezone of the Dashticz server. However, I cannot explain everything I see. Also in your case I don't understand how the all day events have an incorrect start time, while your normal events have the correct start time. The timezone interpretation happens on several places, and is pretty difficult to follow.
As a work around, I will add two parameters to calendar block definition:These can be used to adjust the time zone, by defining an offset in hours. If needed (like in your case) you can use the second parameter to adjust the AllDay events only.Code: Select all
adjustTZ adjustAllDayTZ
This calendar is a shared one and all events are allday events, now i see that depending the person who ads a allday event, the start hour is changing, thats because of the timezone settings of the creator of the event. So the offset parameter will not work for every event. Is it possible to add a parameter to the block definition that avoid showing the start hour? So only date and event like 29/10 - this is an event ?
Regards,
Stephan
-
- Posts: 36
- Joined: Sunday 11 February 2018 13:25
- Target OS: -
- Domoticz version:
- Location: Longwy, France
- Contact:
Re: Dashticz - Bug report
Seems so... But I didn't noticed that until recently... I was thinking it was "cors" problems (well I fucked the php so it was not working).
I use the beta branch, but my try on the master branch give the same results.Do you use the beta or master branch? If beta: Could you test master as well?
On which version it was still working?
(I've never used Sonarr...)
So this is somewhere and my knowledge of javascript is a bit limited ... :/
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
Then probably it's not the result of a recent change.magicduck wrote: ↑Monday 21 October 2019 21:46Seems so... But I didn't noticed that until recently... I was thinking it was "cors" problems (well I fucked the php so it was not working).
I use the beta branch, but my try on the master branch give the same results.Do you use the beta or master branch? If beta: Could you test master as well?
On which version it was still working?
(I've never used Sonarr...)
So this is somewhere and my knowledge of javascript is a bit limited ... :/
I'll contact you by PM to discuss how to test.
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
ok, I'll add that parameter as well. (fixAllDay)Stepdes wrote: ↑Monday 21 October 2019 9:24Hi Lokonli, thanks for your efforts already.I was able to reproduce some of the issues when I change the timezone of the Dashticz server. However, I cannot explain everything I see. Also in your case I don't understand how the all day events have an incorrect start time, while your normal events have the correct start time. The timezone interpretation happens on several places, and is pretty difficult to follow.
As a work around, I will add two parameters to calendar block definition:These can be used to adjust the time zone, by defining an offset in hours. If needed (like in your case) you can use the second parameter to adjust the AllDay events only.Code: Select all
adjustTZ adjustAllDayTZ
This calendar is a shared one and all events are allday events, now i see that depending the person who ads a allday event, the start hour is changing, thats because of the timezone settings of the creator of the event. So the offset parameter will not work for every event. Is it possible to add a parameter to the block definition that avoid showing the start hour? So only date and event like 29/10 - this is an event ?
Regards,
Stephan
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
Perfect. Thanks for testing.
Re: Dashticz - Bug report
Hi,
I'm using the latest beta and am trying to create a dashboard.
When using the buttons.buienradar example from read the docs, I get no picture displayed.
Results in the following:
The image locations shows the whole path:
Is this a bug or am I doing something wrong?
I'm using the latest beta and am trying to create a dashboard.
When using the buttons.buienradar example from read the docs, I get no picture displayed.
Code: Select all
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
Code: Select all
<img src="img/http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256" class="icon">
Code: Select all
http://dashticz.localhost/img/http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256
-
- Posts: 59
- Joined: Sunday 28 July 2019 22:59
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
It must be btnimage. Make it:
Does that help?
Code: Select all
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, btnimage: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
Re: Dashticz - Bug report
The btnimage works, thanks!
My username reminds me to rtfm before asking
My username reminds me to rtfm before asking
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Dashticz - Bug report
Did you find a solution for this?freakshock wrote: ↑Tuesday 24 April 2018 21:22 Not sure if this is a Dashticz bug, but I hope someone can help with this.
I use the buienradar image with a buienalarm url, to show a graph of the coming rain.
Lately however this is not working anymore. When the url is opened independently of dashticz (not within a frame) it works.
For instance this url:
http://www.buienalarm.nl/widget/graphic ... lor=4395c7
This is my code in config.js:When clicking the buienradar image it just shows an empty frame. Anyone?Code: Select all
var buttons = {} buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.buienalarm.nl/widget/graphic?lat=51.692134&lon=5.290004&title=Den%20Bosch&color=4395c7'}
I'm trying to display an image snapshot from my Foscam from the url:
Code: Select all
http://192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password
Code: Select all
var buttons = {}
buttons.webcam = {
image:"//192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password",
url:"//192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password",
isimage:true,
width: 12,
refresh: 2000
}
"This content can't be shown in a frame"
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
@ben53252642 : Some pages will not load in a frame because the publisher of the webpage doesn't allow that. The only thing you can try is to load that page in an own webpage and link to that page.
Blah blah blah
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
In this case the url points to an image, not an html page, I guess.
What we could do is open the image directly, not within an iframe. We could show it as a popup window.
Would that be useful?
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Bug report
The normal buienalarm url works pretty well in an iframe. For instance:
Code: Select all
buttons.buienradar = {
width:12, refreshimage:1000*60*15,
btnimage: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=360&h=300',
url:'https://www.buienalarm.nl/venlo-limburg-nederland/51.36234,6.18802',
}
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Dashticz - Bug report
I've managed to work around the issue using a combination of a php cors proxy hosted on my local Apache server and a dedicated html page.
Thanks
Thanks
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
Who is online
Users browsing this forum: No registered users and 0 guests