Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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

Re: Dashticz - General Discussions

Post by madrian »

mvveelen wrote:No, this is not normal behaviour. Maybe you can post your CONFIG.js (without passwords and such) ? What is the part you have for the standby?
I have:

Code: Select all

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
What if you backup your custom folder, reinstall Dashticz and then upload your current custom folder?
Thx. :)
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

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

Post by felix63 »

Enjoy your time off. You deserve it.
robgeerts wrote:Try latest version for the standby AND background fix!

WARNING WITH A WINK ;)
I will not be here tomorrow and monday. Maybe an hour in the evenings.
Could you all entertain yourself withouth new features for 2 days? ;)
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 - General Discussions

Post by EdwinK »

Two whole days without updates?
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 »

I still have standby wake up issue, but I can't see any fix on the beta branch. When Rob returns I hope he check for this. :)
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Hesmink »

Hi I also have an upgrade problem.

With the end of april version, I can see all the default stuff, to the left all my switches, in the middle weather/temp/energy, and to the right rain radar etc.

I did a git pull of both the beta and release to a fresh folder, and only modified the domiticz ip/port in CONFIG.js. Nothing more.
The result is I only see my switches (the left part), not the rest. Also putting the working CONFIG.js from the april version gives me the weather icons in addition, but nothing more.

What can be wrong, and how do I debug this?
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Dashticz - General Discussions

Post by tontze »

koowee wrote:
tontze wrote:If its possible, where can it be disabled, i really dont want to discard this great dashboard !
There is this kind of row in main.js

Code: Select all

alert("Error: " + msg + "\nurl: " + url + "\nline: " + line);
You can try to change "alert" to "console.error"

Code: Select all

console.error("Error: " + msg + "\nurl: " + url + "\nline: " + line);
You should remember that this main.js will be overwritten when you upgrade Dashticz
thanks !
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Changed this in latest beta too!
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 - General Discussions

Post by htilburgs »

Great, thanks!
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
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Hesmink »

Hesmink wrote:Hi I also have an upgrade problem.

With the end of april version, I can see all the default stuff, to the left all my switches, in the middle weather/temp/energy, and to the right rain radar etc.

I did a git pull of both the beta and release to a fresh folder, and only modified the domiticz ip/port in CONFIG.js. Nothing more.
The result is I only see my switches (the left part), not the rest. Also putting the working CONFIG.js from the april version gives me the weather icons in addition, but nothing more.

What can be wrong, and how do I debug this?
Updated RPi software, latest Domoticz Beta, and latest git pull of Dashtics, but the problem is still there.
I removed most stuff from the Domoticz default page:
dom1.jpg
dom1.jpg (69.69 KiB) Viewed 2349 times
Now, this shows with the end of april version:
dom2.jpg
dom2.jpg (72.76 KiB) Viewed 2349 times
And this with the latest and greatest:
dom3.jpg
dom3.jpg (36.04 KiB) Viewed 2349 times
Any tips of how to debug this?
Swifty
Posts: 76
Joined: Saturday 31 December 2016 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Swifty »

Can I ask a dumb question.. Is the beta branch in github the "latest and greatest" feature wise?

I ask as master and beta both seem updated very recently - which should we be using?
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

You could use both but BETA (indeed, latest and greatest) could have more bugs ;)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Hesmink wrote: Any tips of how to debug this?
Please post your config.js withouth credentials!
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Hesmink »

robgeerts wrote:
Hesmink wrote: Any tips of how to debug this?
Please post your config.js withouth credentials!

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.178.15:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                                      = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = 'xxxxxxxxxxxxxxxxx';
var _WEATHER_CITY                       = 'Den Haag';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

var _SLIDE_PAGES                        = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Phantom »

Hesmink wrote:
robgeerts wrote:
Hesmink wrote: Any tips of how to debug this?
Please post your config.js withouth credentials!
Spoiler: show

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.178.15:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                                      = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = 'xxxxxxxxxxxxxxxxx';
var _WEATHER_CITY                       = 'Den Haag';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

var _SLIDE_PAGES                        = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
Not sure if it is because of your edit, but at the last line you are missing 'var' before the auto swipeback.
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Hesmink »

Phantom wrote:
Hesmink wrote:
robgeerts wrote:
Please post your config.js withouth credentials!
Spoiler: show

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.178.15:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                                      = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = 'xxxxxxxxxxxxxxxxx';
var _WEATHER_CITY                       = 'Den Haag';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

var _SLIDE_PAGES                        = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
Not sure if it is because of your edit, but at the last line you are missing 'var' before the auto swipeback.
The var is there, but somehow it's garbled in the post. If you quote it, you can see it's there.
The CONFIG.js, it the stock one with only the domiticz URL modified and the WU api code.
dilepa
Posts: 8
Joined: Thursday 16 June 2016 6:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by dilepa »

Hi,

Am fairly new to coding, how do we change the image to show open door when the door is open and closed dood when the door is closed?
Is there a javascript programming required or css changes?

blocks[7]={} //DS-Rumpus
blocks[7]['title'] = 'Rumpus'
blocks[7]['width'] = 4;
blocks[7]['image'] = 'door_closed.png';
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 - General Discussions

Post by EdwinK »

Use this:

Code: Select all

blocks[115] = {}
blocks[115]['image'] = 'Ping.png';
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Hesmink »

Hesmink wrote:
robgeerts wrote:
Hesmink wrote: Any tips of how to debug this?
Please post your config.js withouth credentials!
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
Adding to this, the difference between the original code, and the new code seems the be references to .col2 and .col3:
dashtics issue.jpg
dashtics issue.jpg (160.22 KiB) Viewed 2060 times
The body .row stuff displays, but anything referring to col2 and col3 is not displaying.
crashingdutchman
Posts: 21
Joined: Monday 05 December 2016 11:29
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Contact:

Re: Dashticz - General Discussions

Post by crashingdutchman »

I haven't updated Dashticz lately, but just have this question. I am using radio in my dashboard, but ever time the Dahticz refresh fires, the radio stops playing because the whole page gets refreshed. Is it possible to refresh only certain widgets, instead of the whole page?
blacksn0w
Posts: 99
Joined: Friday 10 March 2017 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by blacksn0w »

crashingdutchman wrote:I haven't updated Dashticz lately, but just have this question. I am using radio in my dashboard, but ever time the Dahticz refresh fires, the radio stops playing because the whole page gets refreshed. Is it possible to refresh only certain widgets, instead of the whole page?
Currently this is not possible because of the way _DASHTICZ_REFRESH works.

It is intended to reload the whole page. A workaround for your problem could be setting _DASHTICZ_REFRESH to 0 and stop refreshing at all.
The problem is only about static blocks you maybe use. I mean things that only update when you refresh the page, they will, logically, not update anymore.
I will have a look into this later, maybe there is a way to handle this better.
Migration done, hello Home Assistant.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest