Page 174 of 184
Re: Dashticz - General Discussions
Posted: Thursday 27 September 2018 13:34
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.
Re: Dashticz - General Discussions
Posted: Saturday 29 September 2018 23:59
by jake
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;
}
Re: Dashticz - General Discussions
Posted: Sunday 30 September 2018 1:22
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;
}
Re: Dashticz - General Discussions
Posted: Sunday 30 September 2018 10:16
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
Re: Dashticz - General Discussions
Posted: Sunday 30 September 2018 17:43
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.
Re: Dashticz - General Discussions
Posted: Monday 01 October 2018 10:12
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
Re: Dashticz - General Discussions
Posted: Monday 01 October 2018 11:13
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.
Re: Dashticz - General Discussions
Posted: Tuesday 02 October 2018 14:00
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?
Re: Dashticz - General Discussions
Posted: Wednesday 03 October 2018 7:29
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);
}
Re: Dashticz - General Discussions
Posted: Wednesday 03 October 2018 19:58
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
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 8:31
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
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 14:17
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
Tried but no difference. Thx tho.
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 15:54
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"
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 19:26
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.
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 20:26
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
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 20:33
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.
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 20:37
by Thuis
Tis om verdrietig van te worden, but yes, it is to cry for. LOL
Re: Dashticz - General Discussions
Posted: Thursday 04 October 2018 22:15
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...
Re: Dashticz - General Discussions
Posted: Friday 05 October 2018 9:03
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
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.
Re: Dashticz - General Discussions
Posted: Friday 05 October 2018 9:06
by heggink
The refreshiframe parameter determines the refresh rate. Just increase. Not sure why you don't get a forecast tho...