Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

b00n wrote:@madrian

Nice work!!!

Is anyone having problems with the time in the calendar it shows my appointments 2 hours earlier ?
Sounds like a timezone problem, I'll check this asap.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

sonar wrote:Am I the only one that thinks it is not a good development that we are relying on https://crossorigin.me/ more and more?
Would it not be better to have a proxy in the code of Dashticz?
I know, but you only have to use it in some situations.
Some sites dont like to be included in a frame or getting the content from within a localhost or something?
If someone has a better idea, please let me know!

madrian wrote:Apple Calendar support for iCalendar plugin is here.

How to get Apple Calendar url?

Calendar_and_Favorites_and_Favorites.jpg

How to get Google Calendar url?

On settings page go to Calendars tab, click on your Calendar name then find Private Access row (or Calendar Address if you set your Calendar public):

Google_Calendar_-_Details.jpg

One thing is missing: auto update calendar (at this time it is refreshing when you hit the refresh button).

Here is my idea: maybe if we ask Rob nicely, then he will check this part. :)
I will check this out :)

madrian wrote: B, Better wait for Rob, in a couple of hours he going to merge the request.
Merged in the beta version!
sonar
Posts: 18
Joined: Saturday 31 January 2015 11:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by sonar »

robgeerts wrote:I know, but you only have to use it in some situations.
Some sites dont like to be included in a frame or getting the content from within a localhost or something?
If someone has a better idea, please let me know!
Would this be a solution to this problem?
https://www.eriwen.com/javascript/how-to-cors/
TapNL
Posts: 30
Joined: Monday 24 April 2017 21:52
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by TapNL »

I am trying to display a more zoomed radar image from buienradar.
Using this link, option 1.4. https://www.buienradar.nl/overbuienrada ... s-weerdata

I tweaked the provided link a bit, so it looks now like:

Code: Select all

frames.buivelp = {height:300,width:6,frameurl:"https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.92324&lng=4.47863&overname=2&zoom=13&naam=3011 AD&size=2&voor=0"}
It gives me the right radar image as below.
Screen Shot.png
Screen Shot.png (205.54 KiB) Viewed 1909 times
How can I make sure that the white part on the right is gone and that it fills the block just like the normal radar view?
Any help is appreciated.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

madrian wrote:If you have time, please add more info to the Wiki about:

buttons.calendar = {icon: 'fa-calendar', title: 'Kalender', url: 'PASTE_URL_HERE'}

It is for Google Calendar? Other ical calendars are not supported?
When I paste my URL instead of showing the calendar, it downloads a file basic.ics.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

EdKo66 wrote:
madrian wrote:If you have time, please add more info to the Wiki about:

buttons.calendar = {icon: 'fa-calendar', title: 'Kalender', url: 'PASTE_URL_HERE'}

It is for Google Calendar? Other ical calendars are not supported?
When I paste my URL instead of showing the calendar, it downloads a file basic.ics.
It's a totally new module + you must install dashticz from beta branch, check new CONFIG_DEFAULT.js. buttons.calendar is not for this new module. :)

BTW this is how you clone beta branch into dashticz directory:

Code: Select all

git clone https://github.com/robgeerts/dashticz_v2.git --branch beta dashticz
Or simple click here. https://github.com/robgeerts/dashticz_v ... e/beta.zip

Or go to the project page: https://github.com/robgeerts/dashticz_v2.git then click on 2 branches then select beta branch.

:)
Last edited by madrian on Friday 28 April 2017 23:36, edited 2 times in total.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

madrian wrote:
EdKo66 wrote:
madrian wrote:If you have time, please add more info to the Wiki about:

buttons.calendar = {icon: 'fa-calendar', title: 'Kalender', url: 'PASTE_URL_HERE'}

It is for Google Calendar? Other ical calendars are not supported?
When I paste my URL instead of showing the calendar, it downloads a file basic.ics.
It's a totally new module + you must install dashticz from beta branch, check new CONFIG_DEFAULT.js. buttons.calendar is not for this new module. :)
I did.. Couldn't find it. Checking again.

Ah.. Now I see what was wrong. I just did git pull. Thinking it remembers that I was using the beta.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

Maybe everybody should run they own crossorigin.me server? I got it working, since it is an open source project.

...maybe we should make 'https://crossorigin.me' into a configurable variable in CONFIG.js =>>>> _CROSS_PROXY_URL = '' so everybody can set they own cross proxy server (=or run it's own)? What about this idea?

Any interest in this idea?
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by Nautilus »

Thanks for the calendar plugin, got it working with google calendar at least. My primary calendar is in Outlook, do you know if it can be synced to google's or apple's calendar (or show directly with some url)? Also, any change of letting user to configure several icalendars (in case syncing between them is not an option)?
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gielie »

EdKo66 wrote:
gielie wrote:Can someone help with the following problem.
Rob created some code to change the on/off status with af/aanwezig in the following code

Removed the code to shorten this post ;)

Where exactly should this code be placed? I rather be 'aanwezig' then 'on'.
The code is alleeady there, just change the idx and the name of the switch, if you then change the image location, that's it. All credits goes to Rob.
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

[deleted[
Last edited by EdwinK on Saturday 29 April 2017 9:09, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

madrian wrote:Maybe everybody should run they own crossorigin.me server? I got it working, since it is an open source project.

...maybe we should make 'https://crossorigin.me' into a configurable variable in CONFIG.js =>>>> _CROSS_PROXY_URL = '' so everybody can set they own cross proxy server (=or run it's own)? What about this idea?

Any interest in this idea?
Would be a good idea, I think. Atm not needed for me, but who knows.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by SwordFish »

Got errors on the moon script and a notification from wunderground again. Had to many api calls in one minute.
Someone else have problems?

Code: Select all

-----------..."]:65: attempt to concatenate global 'moonsetMinute' (a nil value)
2017-04-29 09:20:00.698 Error: EventSystem: in Moon: [string "-- Variables to customize -------------------..."]:65: attempt to concatenate global 'moonsetMinute' (a nil value)
2017-04-29 09:20:02.521 Error: EventSystem: in Moon: [string "-- Variables to customize -------------------..."]:65: attempt to concatenate global 'moonsetMinute' (a nil value)
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

SwordFish wrote:Got errors on the moon script and a notification from wunderground again. Had to many api calls in one minute.
Someone else have problems?

Code: Select all

-----------..."]:65: attempt to concatenate global 'moonsetMinute' (a nil value)
2017-04-29 09:20:00.698 Error: EventSystem: in Moon: [string "-- Variables to customize -------------------..."]:65: attempt to concatenate global 'moonsetMinute' (a nil value)
2017-04-29 09:20:02.521 Error: EventSystem: in Moon: [string "-- Variables to customize -------------------..."]:65: attempt to concatenate global 'moonsetMinute' (a nil value)

Nope, not here.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by Ierlandfan »

What i think happens is when you reach the limit of WUnderground, they stop sending the right data.
As your error says, it can't find the right values anymore.
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by htilburgs »

The developer API can do 500 calls per day, with a max of 10 per minute. So you can place a max of 3 per minute for the 500. After that you'll receive an email.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by SwordFish »

But i have it set to 7200 sec to check so only once in two hours?
Its started last night about 2 am and the error keeps returning.
Is it that i have to disable the script save it and then enable the script again?

Edit:
I just enabled the script again and the error comes right back :?
rick82

Re: Dashticz v2.0, custom positioning and multiple screens

Post by rick82 »

First of all: I'm really liking your dashboard, programming skills and keeping developing it! I've been using your dashboard and configuring it since yesterday and it's running like a charm. Bedankt :-)

Second: if I want to change the transparency of a block how do I do that? I want it to be more dark because of the bright background.....?!
There's so much going on in the CSS-sheet ;)
SuperMouse
Posts: 30
Joined: Sunday 09 April 2017 11:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by SuperMouse »

Hi Guys.

Back again after 5 days on a holiday. Could not resist to open this forum :D

I have this idea to make the moon edges transparent :idea:

Anybody else interested before I change another 99 moons :o
Attachments
moon.56.png
moon.56.png (28.21 KiB) Viewed 1790 times
moontrans.png
moontrans.png (94.47 KiB) Viewed 1790 times
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

Yes please, Supermouse
Last edited by EdwinK on Saturday 29 April 2017 11:44, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Locked

Who is online

Users browsing this forum: No registered users and 1 guest