Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
Thuis
Posts: 267
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Thuis »

peter141080 wrote: Saturday 08 September 2018 11:22 Hey,

I installed Domoticz on a Raspberry Pi 3B +. I installed Dasticz with Github. Then I changed the Config file with the correct IP address and port number. When I go to http://192.168.0.128:8081/dashticz_v2/index.html I get the message:

Dashticz v2 is loading ...
Time-out! Something is wrong please check your CONFIG.js
For more help visit Dashticz v2 wiki

I have already searched the forum but can not really find an answer. What am I missing? I have already placed Authentication on Basic-Auth in settings.

Dashboard of Domoticz is working fine.
If you put this : <base href="http://192.168.1.20:8080/Dashticz/" /> just under the <head> in the index.html file, it seems to work.

Though I get all sorts of strange things going on. When i remotely change something in the config.js file, it does not change when i go to the server url. Very strange. So i add a block in a column remotely with notepad++ then save it, so to the server url, but it keeps showing the old config... hmmm

I change a blocktitle from cameras to camera, and it keeps showing cameras. What am i doing wrong, it worked like this before?¿

It also keeps saying there is a new update.
I Love Domoticz ! And the community around it :-)
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - General Discussions

Post by jake »


HansieNL wrote:The version of FontAwesome is changed to newer version. You have to change fa to fas. fas fa-bell
For an overview of all fonts: https://fontawesome.com/icons?d=gallery&m=free
Thanks, this did the trick.

However, my yellow 'light 'on'' icons don't work anymore. I assume it has to do with the custom.css file that needs updating as well. I simply can't figure how to update it.
For sure the wiki part needs updating for this section: https://www.domoticz.com/wiki/Dashticz_ ... Lightbulbs

Originally it is like this:

Code: Select all

/*
CUSTOM CSS FILE
 */ 
.fa.fa-lightbulb-o.on {
     color:#F1C300; 
     }
 .fa.fa-lightbulb-o.off {
      color:#fff;
      }
I tried updating it to this:

Code: Select all

/*
CUSTOM CSS FILE
*/

.far fa-lightbulb.on {
    color:#F1C300;
}
.far fa-lightbulb.off {
    color:#fff;
}
That doesn't work. I am also afraid that giving it bigger size also goes wrong because of the new icons:

Code: Select all

fa-lightbulb-o:before{
    font-size: 24px;
}
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

jake wrote: Saturday 29 September 2018 23:59 I tried updating it to this:
Spoiler: show

Code: Select all

/*
CUSTOM CSS FILE
*/

.far fa-lightbulb.on {
    color:#F1C300;
}
.far fa-lightbulb.off {
    color:#fff;
}
That doesn't work.
far fa-lightbulb = if device is off and fas fa-lightbulb = if device is on.
Can you try:

Code: Select all

/*
CUSTOM CSS FILE
*/

.far.fa-lightbulb {
    color:#F1C300;
}
.fas.fa-lightbulb {
    color:#fff;
}
Blah blah blah
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 »

HansieNL wrote: Sunday 30 September 2018 1:22
far fa-lightbulb = if device is off and fas fa-lightbulb = if device is on.
Can you try:

Code: Select all

/*
CUSTOM CSS FILE
*/

.far.fa-lightbulb {
    color:#F1C300;
}
.fas.fa-lightbulb {
    color:#fff;
}
How evil of them to change this. Oh well... Time to clean up the custom.css file anyway
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - General Discussions

Post by jake »

HansieNL wrote:
Spoiler: show

Code: Select all

/*
CUSTOM CSS FILE
*/

.far.fa-lightbulb {
    color:#F1C300;
}
.fas.fa-lightbulb {
    color:#fff;
}
Thanks, that did the trick. However, I think you turned 'far' and 'fas around. I changed it back and now the 'off' light is a dim white off-light bulb and the 'on' light is a bright orange on-light:

Code: Select all

.fas.fa-lightbulb {
color:#F1C300;
}
.far.fa-lightbulb {
color:#fff;
}
The perfectionist I am: when I turn on the light, it turns bright white for a split second, before the intended yellow. Can that still be improved?

BTW, I updated the wiki with the code above, while I was at it.
magicduck
Posts: 36
Joined: Sunday 11 February 2018 13:25
Target OS: -
Domoticz version:
Location: Longwy, France
Contact:

Re: Dashticz - General Discussions

Post by magicduck »

Hi there,

I am looking a way to make the "standby" function working at night, eg between 10pm and 6am weekdays and between 11pm and 8am week-end.

Otherwize would like avoiding the screen to be in standby. Does someone have this kind of configuration ?

Regards,
Xavier
mozo78
Posts: 22
Joined: Friday 09 June 2017 6:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by mozo78 »

Hi,
I faced a strange situation. My Xiaomi temperature sensors and doorswitches do not shows in dashticz. If I change de idx number to a rf or dlink temperature sensor (dsp-w215), the values show up. Is it possible that Dashticz cannot show the sensors witch come through the xiaomi hub?
I use the last stable version from Domoticz and Dashticz as well.
MarceldeJongNL
Posts: 43
Joined: Tuesday 03 May 2016 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5108
Location: Barendrecht
Contact:

Re: Dashticz - General Discussions

Post by MarceldeJongNL »

HansieNL wrote: Wednesday 26 September 2018 22:06
pkrabben wrote: Wednesday 26 September 2018 15:10 Hi All

I hope everybody is fine.
I did an update today of my Dashticz system but for some reason all the FA icons are not showing anymore all the custom icons are oke did I miss something that I need to change.
Theversion of FontAwesome is changed to newer version. You have to change fa to fas. fas fa-bell
For an overview of all fonts: https://fontawesome.com/icons?d=gallery&m=free
I noticed that the animated FontAwesome Icons stopped working. Do you have a solution for that also?
Hardware: Raspberry Pi 2B | RFXCOM RFXtrx433E v1 | Synology DS213+ | KaKu Clones | Conrad RSL switches | KAKu Doorbell Clone | USB Webcam | ICY Thermostat | Resol DL2 | Imatic Relay Board | Eminent 6230 | Eminent 6220 | iMatic 16 ports Relay Board
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew »

MarceldeJongNL wrote: Tuesday 02 October 2018 14:00
HansieNL wrote: Wednesday 26 September 2018 22:06
pkrabben wrote: Wednesday 26 September 2018 15:10 Hi All

I hope everybody is fine.
I did an update today of my Dashticz system but for some reason all the FA icons are not showing anymore all the custom icons are oke did I miss something that I need to change.
Theversion of FontAwesome is changed to newer version. You have to change fa to fas. fas fa-bell
For an overview of all fonts: https://fontawesome.com/icons?d=gallery&m=free
I noticed that the animated FontAwesome Icons stopped working. Do you have a solution for that also?
My animation work with this code in custom.js:

Code: Select all

function getStatus_xxx(idx,value,device){
	setTimeout(function(){
		if(device['Data']=='On'){
			$('div.block_xxx .col-icon .fas').addClass('fa-spin');
		}
		else {
			$('div.block_xxx .col-icon .fas').removeClass('fa-spin');
		}
	},100);
}
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by heggink »

I have a weird problem whereby, using the latest beta, the font colour in frames.weather switches on refreshiframe. Like many others, I replaced WU with

Code: Select all

frames.weather = {refreshiframe:1800000,height:230,frameurl:"http://forecast.io/embed/#lat=52.536129&lon=-5.453455&name=Lelystad&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}
First time the font is white but on refresh, it turns grey.

Any idea why that is and how to resolve?

H
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

heggink wrote: Wednesday 03 October 2018 19:58 I have a weird problem whereby, using the latest beta, the font colour in frames.weather switches on refreshiframe. Like many others, I replaced WU with

Code: Select all

frames.weather = {refreshiframe:1800000,height:230,frameurl:"http://forecast.io/embed/#lat=52.536129&lon=-5.453455&name=Lelystad&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}
First time the font is white but on refresh, it turns grey.

Any idea why that is and how to resolve?

H
Try adding '&' at the end of the url, like

Code: Select all

'...=#fff&'
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by heggink »

Lokonli wrote: Thursday 04 October 2018 8:31
heggink wrote: Wednesday 03 October 2018 19:58 I have a weird problem whereby, using the latest beta, the font colour in frames.weather switches on refreshiframe. Like many others, I replaced WU with

Code: Select all

frames.weather = {refreshiframe:1800000,height:230,frameurl:"http://forecast.io/embed/#lat=52.536129&lon=-5.453455&name=Lelystad&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}
First time the font is white but on refresh, it turns grey.

Any idea why that is and how to resolve?

H
Try adding '&' at the end of the url, like

Code: Select all

'...=#fff&'
Tried but no difference. Thx tho.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
Thuis
Posts: 267
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Thuis »

Add &lang=nl at the end. It will not be in Dutch, but it stays white !

&units=si&text-color=#fff&lang=nl"
I Love Domoticz ! And the community around it :-)
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by heggink »

Thuis wrote:Add &lang=nl at the end. It will not be in Dutch, but it stays white !

&units=si&text-color=#fff&lang=nl"
Oww sweet! That did the trick! Brill. Thx.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
Thuis
Posts: 267
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Thuis »

I'm missing the logic completely, but it works, and that seems to be the trend of today's technical insight.
It does not matter why it works, if it works, be happy, it feels like logic is gone nowadays. :-p
I Love Domoticz ! And the community around it :-)
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by heggink »

Thuis wrote:I'm missing the logic completely, but it works, and that seems to be the trend of today's technical insight.
It does not matter why it works, if it works, be happy, it feels like logic is gone nowadays. :-p
Agree 100%. Back in the days I worked off a functional and technical design and then developed. Now I just copy and hack until it works.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
Thuis
Posts: 267
Joined: Tuesday 11 September 2018 11:36
Target OS: Linux
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Thuis »

Tis om verdrietig van te worden, but yes, it is to cry for. LOL
I Love Domoticz ! And the community around it :-)
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

There is always some logic :)
To prevent caching of the iframe the current time is added to the url of the iframe when it gets reloaded. The following text is added:
'?t=<time> '
The question mark in the url results in that forecast.io rejects the last parameter. This last parameter normally sets the text color to white...
mozo78
Posts: 22
Joined: Friday 09 June 2017 6:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by mozo78 »

Lokonli wrote: Thursday 04 October 2018 8:31
heggink wrote: Wednesday 03 October 2018 19:58 I have a weird problem whereby, using the latest beta, the font colour in frames.weather switches on refreshiframe. Like many others, I replaced WU with

Code: Select all

frames.weather = {refreshiframe:1800000,height:230,frameurl:"http://forecast.io/embed/#lat=52.536129&lon=-5.453455&name=Lelystad&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}
First time the font is white but on refresh, it turns grey.

Any idea why that is and how to resolve?

H
Try adding '&' at the end of the url, like

Code: Select all

'...=#fff&'
Hi, I have gottwo question about forecast.io, maybe you can help me. It wokrs great with your solution, but in every 10th second it blinks, and it is very disturbing. Can it switched of? Is it possible to reduce the refreshing time? The second problem is when I try to use it in tablet mode, there is no forecast, only the actual weather and temperature.
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by heggink »

The refreshiframe parameter determines the refresh rate. Just increase. Not sure why you don't get a forecast tho...
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Locked

Who is online

Users browsing this forum: No registered users and 1 guest