Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
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 »

After todays pull the up and down arrow of my blinds are positioned on top of eachother.
blinds.png
blinds.png (7.12 KiB) Viewed 2409 times
Dropshot
Posts: 44
Joined: Tuesday 20 December 2016 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Dropshot »

pkrabben wrote:
robgeerts wrote:
pkrabben wrote:for some reason my Graph and traffic map are not working

Image

Code: Select all

var _APIKEY_MAPS         	= 'AIzaSyCRgdUxmbzhMPyWAudqbQoaI1HmHZMWP7E';
var _MAPS_LATITUDE         	= 52.353472;
var _MAPS_LONGITUDE      	= 5.181684;

Code: Select all

columns[4] = {}
columns[4]['blocks'] = ['blocktitle_5','trafficmap','traffic','news']
columns[4]['width'] = 5; 
Before the update of yesterday my graph was working
Does any body have any clue or suggestion
What if you clear your browser cache?
Same issue tried it also on a new device without any history opening this dashboard
I had the same issue for my second screen, but it works on my first screen. Did you also place it on another screen?

Edit: I still get an error though: "You have included the Google Maps API multiple times on this page. This may cause unexpected errors."

I have it only on my first screen now..
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:It would be nice if the start zoom level for the trafficmap would also be a variable.
In latest version, you can add the following variable in config.js:

Code: Select all

var _MAPS_ZOOMLEVEL  = 10;
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 »

New version works excellent. :)

I can help you with some items of the "new features" column on your Trello board, but unfortunately I am full off work. Maybe I can work on some features on the weekend.

The best would be to work on selector (instead of dropdown), but at this time I have no idea for smaller screens.
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 »

Found two more issues/bugs.
Firstly I've noticed some strange behaviour when using multiple screens.
In my setup I've got two screens defined. On my second screen there is a graph and a traffic map.
If I open the second screen either sliding or using arrow key it doesn't work when moving to the right. If I move to the left the graph and trafficmap are working fine.
Right:
arrow-right.jpg
arrow-right.jpg (50.1 KiB) Viewed 2368 times
Left:
arrow-left.jpg
arrow-left.jpg (92.9 KiB) Viewed 2368 times
Secondly if I open the graphs of a energy button it opens fine but if I choose day/month/year the graph has some strange behaviour.
With every click on the buttons the graph adds another part to the graph.
energy-bug.jpg
energy-bug.jpg (30.23 KiB) Viewed 2368 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 »

sonar wrote: Secondly if I open the graphs of a energy button it opens fine but if I choose day/month/year the graph has some strange behaviour.
With every click on the buttons the graph adds another part to the graph.
energy-bug.jpg
I believe all the graph's have that problem. Noticed it earlier today.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

I hate the graph functionality of Domoticz! ;)
Its just not logic... but will check things again...
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

pkrabben wrote:
Image
What style / css is this? I'd like to try this myself. Can you share your files ?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 hate the graph functionality of Domoticz! ;)
Its just not logic... but will check things again...
The graphs placed on the screen are working as expected. The problems only occur on the popup when clicking the energy buttons.
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 »

sonar wrote:
robgeerts wrote:I hate the graph functionality of Domoticz! ;)
Its just not logic... but will check things again...
The graphs placed on the screen are working as expected. The problems only occur on the popup when clicking the energy buttons.
Also with wind an room temp, as far as I can see, and my up/download and ping graphs, but those are not important
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

Trafficmap (Google maps) doesn't work for me too. I added a new API key:

Code: Select all

var _APIKEY_MAPS            = 'AIzaSyCnBcu1WnewiNuNo94NTRuCoc0FUC_9fa8'; // this isn't my real API key of course
var _MAPS_LATITUDE            = 52.353472;
var _MAPS_LONGITUDE         = 5.181684;
And added it to the dashboard:

Code: Select all

columns[4] = {}
columns[4]['blocks'] = ['blocktitle_5','trafficmap','news_2']
columns[4]['width'] = 5;
But nothing appears on the screen, except an empty space.

Am I forgetting something?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

It works for me, but i did a fresh git clone around 13: 00 or so and copied my custom code in the new files.
I still use the one with the no variable zoom, besides that my graphs aren't working.
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 »

mvveelen wrote:Trafficmap (Google maps) doesn't work for me too. I added a new API key:

Code: Select all

var _APIKEY_MAPS            = 'AIzaSyCnBcu1WnewiNuNo94NTRuCoc0FUC_9fa8'; // this isn't my real API key of course
var _MAPS_LATITUDE            = 52.353472;
var _MAPS_LONGITUDE         = 5.181684;
And added it to the dashboard:

Code: Select all

columns[4] = {}
columns[4]['blocks'] = ['blocktitle_5','trafficmap','news_2']
columns[4]['width'] = 5;
But nothing appears on the screen, except an empty space.

Am I forgetting something?
With your api key, I get the error the key is not valid...
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

Well, this is not my api key :) I'll send you the key via PM
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

What API-key do you use? Google has several for their maps.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

EdKo66 wrote:What API-key do you use? Google has several for their maps.
I obtained it from here:

https://developers.google.com/maps/docu ... et-api-key
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

Thanks.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

Thanks for the key, I tested it and works correctly!
Are you able to open the dashboard on another device?
Do you really have the latest version?
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post by mvveelen »

I downloaded it 1,5 hour ago. I tried it in another browser and also on my iPhone, same result.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
b00n
Posts: 26
Joined: Saturday 15 April 2017 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

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

Post by b00n »

Same problem here :(
Locked

Who is online

Users browsing this forum: No registered users and 1 guest