Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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 »

heggink wrote: Friday 05 October 2018 9:06 The refreshiframe parameter determines the refresh rate. Just increase. Not sure why you don't get a forecast tho...
Thank you, decreased the refreshiframe to 100000, and it is not blinking now.

The tablet view is very confusing because the owm block is very ugly, the tempereature values are to big in that mode . Thats why I tried the forecast.io.
GrOOt
Posts: 4
Joined: Wednesday 10 October 2018 10:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by GrOOt »

Hi

I can't use Sonos on dashticz, it's ok when I used Domoticz (switch selector with play/pause/volume up & down)

no links of Sonos in main.js, normal ?

grep -r "Logitech Media" *
js/main.js: case 'Logitech Media Server':
pi@raspberrypi:~/domoticz/www/dash $ grep -r "Sonos" *
custom/CONFIG.js:// {"track":1,"name":"Sonos","file":"http://xx:5005/salon/play"}, (--> my test with VAR)
custom/CONFIG.js:blocks[18] = {} //Sonos
GrOOt
Posts: 4
Joined: Wednesday 10 October 2018 10:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by GrOOt »

something is wrong ?
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 101,
"Data" : "Set Level: 20 %",
"Description" : "",
"DimmerType" : "none",
"Favorite" : 1,
"HardwareID" : 4,
"HardwareName" : "Dummy",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00014062",
"Image" : "Sonos",
"IsSubDevice" : false,
"LastUpdate" : "2018-10-09 22:25:38",
"Level" : 20,
"LevelActions" : "fGh0dHA6Ly8xOTIuMTY4LjEuNTI6NTAwNS9zYWxvbi9wbGF5fGh0dHA6Ly8xOTIuMTY4LjEuNTI6NTAwNS9zYWxvbi9wYXVzZXxodHRwOi8vMTkyLjE2OC4xLjUyOjUwMDUvc2Fsb24vcGxheWxpc3QvU29ub3N8aHR0cDovLzE5Mi4xNjguMS41Mjo1MDA1L3NhbG9uL3ZvbHVtZS8rNXxodHRwOi8vMTkyLjE2OC4xLjUyOjUwMDUvc2Fsb24vdm9sdW1lLy01",
"LevelInt" : 20,
"LevelNames" : "T2ZmfFBsYXl8UGF1c2V8UGxheWxpc3R8VXB8RG93bg==",
"LevelOffHidden" : true,
"MaxDimLevel" : 100,
"Name" : "Sonos",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SelectorStyle" : 0,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Set Level: 20 %",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Selector Switch",
"SwitchType" : "Selector",
"SwitchTypeVal" : 18,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "Light",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "18"
},
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 12,
"Data" : "",
"Description" : "",
"DimmerType" : "none",
"Favorite" : 1,
"HardwareID" : 4,
"HardwareName" : "Dummy",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : false,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "65",
"Image" : "Media",
"IsSubDevice" : false,
"LastUpdate" : "2018-10-09 22:23:10",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 0,
"Name" : "Sonos Salon",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "On",
"StrParam1" : "aHR0cDovLzE5Mi4xNjguMS41Mjo1MDA1L3NhbG9uL3BsYXk=",
"StrParam2" : "aHR0cDovLzE5Mi4xNjguMS41Mjo1MDA1L3NhbG9uL3BhdXNl",
"SubType" : "X10",
"SwitchType" : "Media Player",
"SwitchTypeVal" : 17,
"Timers" : "false",
"Type" : "Lighting 1",
"TypeImg" : "Media",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "19"
}
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

Dashticz should display the switch selector. Domoticz recently switched to a new way of encoding the selector values. Support for this has been added to Dashticz beta some time ago. Are you running the beta version of Dashticz?
GrOOt
Posts: 4
Joined: Wednesday 10 October 2018 10:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by GrOOt »

no i'm running the stable version. you suggest to install the beta version ?
User avatar
heggink
Posts: 980
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 »

Yes. Stable doesn't have it.
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 :-)
GrOOt
Posts: 4
Joined: Wednesday 10 October 2018 10:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by GrOOt »

Ok thank you
DarkG
Posts: 89
Joined: Friday 15 September 2017 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10076
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by DarkG »

When I add those lines, I get an error when I open the webpage. What could be fault?

Code: Select all

blocks['10'] = {}
blocks['10']['width'] = 4;

blocks['8'] = {}
blocks['8']['width'] = 4;

blocks['9'] = {}
blocks['9']['width'] = 4;

blocks['55'] = {}
blocks['55']['width'] = 4;

columns[5] = {}
columns[5]['blocks'] = ['10'.'8','9','55']
columns[5]['width'] = 5;
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
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 »

columns[5]['blocks'] = ['10'.'8','9','55']
Dot should be comma I think and you don't have to use an apostrophe if you only have digits: columns[5]['blocks'] = [10,8,9,55]
Blah blah blah
DarkG
Posts: 89
Joined: Friday 15 September 2017 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10076
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by DarkG »

omg, I looked 100 times over and over. Thank you
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: Dashticz - General Discussions

Post by JimmyH1969 »

Hi all,

I'm trying to make a button change color on a specific value (or even better, when in between values). I added the classes in the custom.css ofcourse. It's a temperature device and i want it to change color when in between specific values :-)

This works:

Code: Select all

function getStatus_2(idx,value,device){
   if(parseFloat(device['Data'])<21){
      $('div.block_2').addClass('yellow');
   } 
}
This does not:

Code: Select all

function getStatus_2(idx,value,device){
   if(parseFloat(device['Data'])>23){
      $('div.block_2').addClass('red');
   }
}
This does not:

Code: Select all

function getStatus_2(idx,value,device){
   if(parseFloat(device['Data'])>=17&&<=19){
      $('div.block_2').addClass('lightblue');
   } 
}
Any ideas? I'm probably doing something wrong but can't seem to find it. Tnx in advance!
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 »

@JimmyH1969 :
Maybe this post can help you: http://www.domoticz.com/forum/viewtopic ... ss#p137692
Blah blah blah
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

JimmyH1969 wrote: Tuesday 23 October 2018 22:34 This does not:

Code: Select all

function getStatus_2(idx,value,device){
   if(parseFloat(device['Data'])>=17&&<=19){
      $('div.block_2').addClass('lightblue');
   } 
}
Any ideas? I'm probably doing something wrong but can't seem to find it. Tnx in advance!
For this part try:

Code: Select all

function getStatus_2(idx,value,device){
   if(parseFloat(device['Data'])>=17 && parseFloat(device['Data'])<=19){
      $('div.block_2').addClass('lightblue');
   } 
}
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: Dashticz - General Discussions

Post by JimmyH1969 »

Thanks to all for pointing me in the right direction. I solved it like this:

Code: Select all

function getStatus_2(idx,value,device){
   if(parseFloat(device['Data'])>22){
      $('div.block_2').removeClass('darkblue').removeClass('lightblue').removeClass('yellow').removeClass('orange').addClass('red');
   }
   else if(parseFloat(device['Data'])>21){
      $('div.block_2').removeClass('darkblue').removeClass('lightblue').removeClass('yellow').removeClass('red').addClass('orange');
   } 
   else if(parseFloat(device['Data'])>20){
      $('div.block_2').removeClass('darkblue').removeClass('lightblue').removeClass('orange').removeClass('red').addClass('yellow');
   }
   else if(parseFloat(device['Data'])>19){
      $('div.block_2').removeClass('darkblue').removeClass('yellow').removeClass('orange').removeClass('red').addClass('lightblue');
   }
   else if(parseFloat(device['Data'])>15){
      $('div.block_2').removeClass('lightblue').removeClass('yellow').removeClass('orange').removeClass('red').addClass('darkblue');
   }
}
houtumj
Posts: 3
Joined: Saturday 28 July 2018 10:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dashticz - General Discussions

Post by houtumj »

Is www.dashticz.nl down???
Garbage not working anymore
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 »

houtumj wrote: Wednesday 24 October 2018 16:04 Is www.dashticz.nl down???
Garbage not working anymore
See viewtopic.php?f=67&t=24907
Blah blah blah
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - General Discussions

Post by gielie »

After the changes concerning dashticz.nl i cant get the garbage/ical working again but that's another problem, my dashticz is also super super slow.
is anybody having the same problem.
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Post by poudenes »

gielie wrote: Thursday 25 October 2018 9:48 After the changes concerning dashticz.nl i cant get the garbage/ical working again but that's another problem, my dashticz is also super super slow.
is anybody having the same problem.

http://www.domoticz.com/forum/viewtopic ... 87#p195387
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
edge
Posts: 10
Joined: Wednesday 02 September 2015 14:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by edge »

I managed to got the scripts working again. But somehow the fontawesome icons aren't working.

fas fa-calendar-alt
fa-calendar-alt
fas.fa-calendar-al

All without luck :(
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Post by poudenes »

edge wrote: Friday 26 October 2018 11:19 I managed to got the scripts working again. But somehow the fontawesome icons aren't working.

fas fa-calendar-alt
fa-calendar-alt
fas.fa-calendar-al

All without luck :(
check https://fontawesome.com/icons?d=gallery

some names are changed. I corrected mine and have icons back
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Locked

Who is online

Users browsing this forum: No registered users and 1 guest