Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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

Try this:
Screen Shot 2017-04-25 at 08.48.15.png
Screen Shot 2017-04-25 at 08.48.15.png (54.27 KiB) Viewed 1922 times
You need to take a look at the 'User variables' tab and note the idx of the MoonPicture row.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

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

Post by poudenes »

Will the news feed also get refreshed by "var _DOMOTICZ_REFRESH = 5;" or does it refresh when you refresh the browser?
I'm using a tablet agains the wall, always plugged in with adapter so screen always on. I don't want refresh it manual.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
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 »

robgeerts wrote:Giving back some time to my clients so I'm not answering every hour but I read all your posts and will update again tomorrow or wednesday. Although, good to see that most of your questions are answered by others and users come up with great ideas!
What... No more hourly updates on Git? How am I supposed to go through the day now ;)

Have fun at work
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 »

madrian wrote:@Rob,

Dashboard.jpg

1, Can you please change title order for percentage and fertility (General-Custom Sensor) type device (red arrow, blue arrow)?

Percentage:

Code: Select all

{
         "BatteryLevel" : 93,
         "CustomImage" : 0,
         "Data" : "54.00%",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 2,
         "HardwareName" : "Dummy",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : true,
         "Image" : "Computer",
         "LastUpdate" : "2017-04-23 12:10:09",
         "Name" : "MiFlora1_moisture",
         "SubType" : "Percentage",
         "Type" : "General",
         "TypeImg" : "hardware",
         "Unit" : 1,
         "Used" : 1,
         "idx" : "41"
      },
Fertility:

Code: Select all

 {
         "Data" : "788 Fertility",
         "HardwareName" : "Dummy",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "Image" : "Custom",
         "LastUpdate" : "2017-04-23 12:10:09",
         "Name" : "MiFlora1_fertility",
         "SensorType" : 1,
         "SensorUnit" : "Fertility",
         "ShowNotifications" : true,
         "SubType" : "Custom Sensor",
         "Type" : "General",
         "TypeImg" : "Custom",
         "Unit" : 1,
         "Used" : 1,
         "idx" : "42"
      },
2, add missing FA icon for fertility type sensor. We should use this one.
Fixed in latest version!


SuperMouse wrote:Hello all.

Just saying this Dashticz v2.0 is really really greet to play with an looks very nice.
Mayby it is an idea to create a new post and 'show off' you Dashticz?

My question: is it also possible to alter the 'data' value or to clear it totally?

Now I am using green for home and red for away:

See custom css:

.fa.fa-female.on {color: green}
.fa.fa-female.off {color: red}

I think this would look nicer.
In latest version, you can use (with switches):

Code: Select all

blocks[95] = {}
blocks[95]['hide_data'] = true

SuperMouse wrote: Show your Dashticz v2.0 and how-to's!
https://www.domoticz.com/forum/viewtopi ... =8&t=17242
Cool :)


rbisschops wrote: Another one I checked is the latest blinds version. There is still a part cut off from the 'clickable' part of the + image. I think this is causing it:
blinds.jpg
Please check latest version!


SwordFish wrote:Is it possible to change the color of the graph line?
Added to my todolist to make this configurable by users..


Ierlandfan wrote:I was thinking about a code for showing the traffic layer on top of Google Maps
TapNL wrote:.
It's probably as simple as this
Added in latest version!

In config.js, add 3 variables:

Code: Select all

var _APIKEY_MAPS			= 'AP_KEY';
var _MAPS_LATITUDE			= 51.4275387;
var _MAPS_LONGITUDE		= 5.4561574;
And add the key 'trafficmap' like:

Code: Select all

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['trafficmap'];
Last edited by robgeerts on Tuesday 25 April 2017 15:14, edited 1 time in total.
DvD
Posts: 18
Joined: Wednesday 22 January 2014 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by DvD »

Just did a git pull and that resulted in a almost empty dashboard without any domoticz buttons nor second screen
Only weather blocks are displayed !!

UPDATE : Working again: didnt had the var _SCREENSLIDER_EFFECT in my config.js and had multiple screens
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, didn't add a default value.
Fixed in latest version!
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 »

Rob, would it be more convenient to remove your api key? Or is it OK to use it?
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 »

AAaaarrggghhh.. I know... backup backup backup.. But just this time I forgot to backup creative.css...
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

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

Post by pkrabben »

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

Don't post your API-key. It's personal
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 »

Nevermind. Problem was because of a stupid typo...
Last edited by EdwinK on Tuesday 25 April 2017 15:21, edited 3 times in total.
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 »

I just updated and my graphic is working, but the trafficmap isn't.
I check on google traffic with my api and lat and lon and there it is 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 »

Removed my apikey ;)
Did you guys get any error in console??
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 »

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

poudenes wrote:Will the news feed also get refreshed by "var _DOMOTICZ_REFRESH = 5;" or does it refresh when you refresh the browser?
I'm using a tablet agains the wall, always plugged in with adapter so screen always on. I don't want refresh it manual.
As far as I know and can test, the var _DOMOTICZ_REFRESH is used to refresh the Domoticz information. The news feed will act on var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds.

Please test and make sure, before mounting on the wall....;)
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
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

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

Post by pkrabben »

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
Maartenkr
Posts: 15
Joined: Sunday 18 September 2016 23:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7196
Location: Hellevoetsluis
Contact:

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

Post by Maartenkr »

EdKo66 wrote:Try this:

Screen Shot 2017-04-25 at 08.48.15.png

You need to take a look at the 'User variables' tab and note the idx of the MoonPicture row.


Thank you that was the problem
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 »

Can i change the text size of the nest setpoint and the space between the temp and text?
Attachments
Knipsel.JPG
Knipsel.JPG (11.37 KiB) Viewed 1780 times
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 »

It would be nice if the start zoom level for the trafficmap would also be a variable.
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 »

Yeay, but for now you can set it yourself in main.js
Somewhere along line 290 you find this piece of code:

Code: Select all

}
function initMap() {
        var map = new google.maps.Map(document.getElementById('trafficmap'), {
          zoom: 10, 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Locked

Who is online

Users browsing this forum: No registered users and 1 guest