What exactly doesn`t work? If you don`t see the sun icon at all you`re probably not on latest betaOnrust wrote: ↑Saturday 02 September 2017 15:56dutchdevil83 wrote: ↑Monday 28 August 2017 20:16 I have made a spinning font awesome icon when my solar panels are generating power. Ofcourse you can also use this for spinning other icons.
Add this to CUSTOM.JS for defining the action:
Add this to CUSTOM.CSS to define a slower spinning speed for the font awesome spinning function (i liked this better):Code: Select all
function getStatus_29(idx,value,device){ if(parseFloat(device['Usage'])>0){ blocks['29_1']['icon'] = 'fa fa-sun-o slow-spin'; //if you use "fa-spin" instead of "slow-spin" then it is not necessary to add code to custom.css } else { blocks['29_1']['icon'] = 'fa fa-sun-o'; } }
Have fun with spinning your icons !Code: Select all
.slow-spin { -webkit-animation: fa-spin 4s infinite linear; animation: fa-spin 4s infinite linear; }
Doesn't work over here. I tried to apply it to my P1 meter (idx=1 and actual usage is 1_1) with following code in CUSTOM.JS:
Code: Select all
function getStatus_1(idx,value,device){ if(parseFloat(device['Usage'])>0){ blocks['1_1']['icon'] = 'fa fa-sun-o slow-spin'; //if you use "fa-spin" instead of "slow-spin" then it is not necessary to add code to custom.css } else { blocks['1_1']['icon'] = 'fa fa-sun-o'; } }
And of course also added the slow spinning code to custom.css.
Dashticz - Show your dashboard and how-to's!
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 130
- Joined: Monday 31 October 2016 19:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Hardware
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
-
- Posts: 37
- Joined: Saturday 24 June 2017 10:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
I'm not seeing spinning icons. But in all honesty I'm not sure which icons should be spinning. Not in the latest beta.
-
- Posts: 65
- Joined: Monday 21 August 2017 19:52
- Target OS: Windows
- Domoticz version: 3.8153
- Location: Rhoon
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Probably a very stupid question, but I'm somewhat confused with the use of CONFIG.js. I've copied the code from one of the examples in this thread in CONFIG.js and into custom.css (both in /home/mace/domoticz/www/dashticz_v2/custom) when I reload the page (10.0.0.121:8080/dashticz_v2/) I get a black screen.
When I start with the empty CONFIG.js, I DO have a occupied dashboard....Think I'm missing something here....
When I start with the empty CONFIG.js, I DO have a occupied dashboard....Think I'm missing something here....
-
- Posts: 51
- Joined: Sunday 04 May 2014 1:34
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Then you probably have a small mistake in the code you added, probably a ' or ] missing or too many. I've had this a couple of times as well. Can you post the bit of your config.js that you added from the example?
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
-
- Posts: 51
- Joined: Sunday 04 May 2014 1:34
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Been busy with my dashboard over the last week. There are still some things that aren't working, like the news block and trafficmap. I have no clue why it doesn't work... so if anyone has a suggestion, please let me know
I've added my doorbell device but made it hidden so that you can hear a doorbell sound on the tablet but you can't see anything on the dashboard.
Config
CSS
Once I can select a device to play my Spotify playlist on, I will definitely buy rob a couple of beers! He's done a great job
I've added my doorbell device but made it hidden so that you can hear a doorbell sound on the tablet but you can't see anything on the dashboard.
Config
Code: Select all
////////////////////// GENERAL CONFIG /////////////////////////
var config = {}
config['domoticz_ip'] = 'XXX';
config['app_title'] = 'Dashboard';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'https://crossorigin.me/http://feeds.bbci.co.uk/news/world/europe/rss.xml';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 'XXX';
config['gm_zoomlevel'] = '8';
config['gm_latitude'] = 'XXX';
config['gm_longitude'] = 'XXX';
config['wu_api'] = 'XXX';
config['wu_city'] = 'The Hague';
config['wu_name'] = 'in The Hague';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 'XXX';
config['garbage_company'] = 0;
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 0;
config['garbage_street'] = 0;
config['garbage_housenumber'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 1;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;
//var trashnames = {}
//trashnames['Gft'] = 'GFT';
//trashnames['Pmd'] = 'Plastic';
//trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT
var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [7,8,464,25,438], maxitems: 8 }
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"}, ];
////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.081316&lon=4.383277&name=The Hague&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}
////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.06022&lng=4.39288&overname=2&zoom=13&naam=2493bj&size=3&voor=1'}
////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and news';
blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Controlling the lights';
blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Temperatures inside';
blocks['blocktitle_doors'] = {}
blocks['blocktitle_doors']['key'] = 'blocktitle_doors';
blocks['blocktitle_doors']['type'] = 'blocktitle';
blocks['blocktitle_doors']['title'] = 'Doors and windows';
blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';
// custom block width for switches
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';
blocks[104] = {} //
blocks[104]['width'] = 4;
blocks[104]['title'] = 'The front door is now:'
blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';
blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';
blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';
blocks[73] = {} //kitchen light string
blocks[73]['width'] = 6;
blocks[73]['title'] = 'Kitchen light string'
blocks[73]['hide_data'] = true;
blocks[73]['hide_lastupdate'] = true;
blocks[93] = {} //kitchen spots dimmer
blocks[93]['width'] = 6;
blocks[93]['title'] = 'Kitchen spots'
blocks[93]['hide_data'] = true;
blocks[93]['hide_lastupdate'] = true;
blocks[74] = {}
blocks[74]['width'] = 6;
blocks[74]['title'] = 'Cupboard spots'
blocks[74]['hide_data'] = true;
blocks[74]['hide_lastupdate'] = true;
blocks[72] = {}
blocks[72]['width'] = 6;
blocks[72]['title'] = 'Ceiling light'
blocks[72]['hide_data'] = true;
blocks[72]['hide_lastupdate'] = true;
blocks[44] = {}
blocks[44]['width'] = 6;
blocks[44]['title'] = 'Floor lamp'
blocks[44]['hide_data'] = true;
blocks[44]['hide_lastupdate'] = true;
blocks[18] = {}
blocks[18]['width'] = 6;
blocks[18]['title'] = 'TV light'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[70] = {}
blocks[70]['width'] = 6;
blocks[70]['title'] = 'Couch light'
blocks[70]['hide_data'] = true;
blocks[70]['hide_lastupdate'] = true;
blocks[17] = {}
blocks[17]['width'] = 6;
blocks[17]['title'] = 'Subwoofer'
blocks[17]['hide_data'] = true;
blocks[17]['hide_lastupdate'] = true;
blocks[17]['icon'] = 'fa-volume-up';
blocks[92] = {}
blocks[92]['width'] = 6;
blocks[92]['title'] = 'Bedroom fairy lights'
blocks[92]['hide_data'] = true;
blocks[92]['hide_lastupdate'] = true;
// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';
//change temp blocks size
blocks[82] = {}
blocks[82]['width'] = 3;
blocks[52] = {}
blocks[52]['width'] = 3;
blocks[54] = {}
blocks[54]['width'] = 3;
blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'
//Device status - ping results
blocks[122] = {}
blocks[122]['width'] = 12;
blocks[122]['title'] = 'Internet'
blocks[122]['hide_data'] = true;
blocks[122]['hide_lastupdate'] = true;
blocks[122]['icon'] = 'fa-circle';
blocks[122]['protected'] = true;
blocks[118] = {}
blocks[118]['width'] = 12;
blocks[118]['title'] = 'Our network'
blocks[118]['hide_data'] = true;
blocks[118]['hide_lastupdate'] = true;
blocks[118]['icon'] = 'fa-circle';
blocks[118]['protected'] = true;
blocks[121] = {}
blocks[121]['width'] = 12;
blocks[121]['title'] = 'Printer'
blocks[121]['hide_data'] = true;
blocks[121]['hide_lastupdate'] = true;
blocks[121]['icon'] = 'fa-circle';
blocks[121]['protected'] = true;
//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;
//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;
// My IDX list
// 73 = kitchen light string
// 93 = Kitchen spots
// 74 = Cupboard spots
// 72 = Ceiling light
// 44 = Floor lamp
// 18 = TV light
// 70 = Couch light
// 17 = Subwoofer
// 92 = Bedroom fairy lights
////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock',89]
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches','s1','s3','s2',73,93,74,72,44,18,70,17,92]
columns[1]['width'] = 5;
columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',81,82,'54_1','52_1','blocktitle_doors',104,'news','trafficmap']
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = [122,118,121,buttons.buienradar,'news_2',tvguide.dutch,'traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;
////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
////////////////////// SCREEENS /////////////////////////
var screens = {}
screens[1] = {}
// Background image files must be in the "img" folder
screens[1]['background'] = 'bg4.jpg';
screens[1]['background_morning'] = 'day.jpg'; //morning = 06:00-10:59
screens[1]['background_noon'] = 'day.jpg'; //noon = 11:00-15:59
screens[1]['background_afternoon'] = 'day.jpg'; //afternoon 16:00-19:59
screens[1]['background_night'] = 'night.jpg'; //night = 20:00:05:59
screens[1]['columns'] = [1,2,3]
Code: Select all
/*
CUSTOM CSS FILE
*/
/* //////////////// Icon colors ////////////////////////*/
.fa.fa-lightbulb-o.on,
.fa.fa-volume-up.on, /*used for subwoofer*/
.fa.fa-circle.on { /*used for device status*/
color: #3EFF00;
}
.fa.fa-circle.off { /*used for device status*/
color: #ff0000;
}
/* Standard the opacity of the buttons is less (0.4) to make them grey*/
.off.icon {
opacity:1 !important;
}
/*CHANGE ICON SIZES */
/* Make all icons bigger */
.fa,.wi {
font-size:30px !important;
}
/* Make device status dots smaller */
.fa.fa-circle {
font-size: 15px !important;
}
/* //////////// Background of blocks /////////////// */
.transbg.col-xs-1,
.transbg.col-xs-2,
.transbg.col-xs-3,
.transbg.col-xs-4,
.transbg.col-xs-5,
.transbg.col-xs-6,
.transbg.col-xs-7,
.transbg.col-xs-8,
.transbg.col-xs-9,
.transbg.col-xs-10,
.transbg.col-xs-11,
.transbg.col-xs-12 {
padding-top:15px;
padding-bottom:15px;
border: 5px solid rgba(255,255,255,0); /* border: 7px -> 3px - Smaller space between blocks */
background: rgba(0,0,0,0.2);
background-clip: padding-box;
border-radius: 20px; /* Round corners */
}
/* Make doorbell block invisible */
.transbg.block_89 {
opacity: 0;
height: 1px;
padding-top:1px;
padding-bottom:1px;
}
/* Change background height of device status blocks */
.transbg.block_118,
.transbg.block_121,
.transbg.block_122{
height: 10px;
padding: 10px;
line-height: 1px; /* makes the device text move up to the center of the block.*/
}
.fa.fa-circle.on,
.fa.fa-circle.off {
margin-top: -8px; /* makes the device icon to move up to the center of the block */
padding-right: 1px;
}
/* Change background height of blocks with width 4, i.e. scene and door sensor blocks */
.transbg.col-xs-4{
height: 70px;
padding: 12px;
line-height: 15px;
font-size: 10pt;
}
/* Make the background of the titleblocks less high */
.transbg.titlegroups {
height: 50px;
padding: 0px;
}
/* Same for titleblock of current weather - NOT USED AT THE MOMENT
.transbg.big.block_currentweather_big {
height: 50px;
padding: 0px;
line-height: 1px;
}*/
/* //////////// TOP BAR MODS ////////// */
/* Change size of sunrise and sunset plus icons in top bar*/
.wi.wi-sunrise, /* icons */
.wi.wi-sunset {
font-size: 18pt !important;
}
.sunrise, /* timestamp */
.sunset {
font-size: 13pt !important;
}
/* //////////// DIMMER SLIDER MODS ////////// */
.block_70 .ui-slider-handle,
.block_72 .ui-slider-handle,
.block_93 .ui-slider-handle,
.block_74 .ui-slider-handle {
background-color: #00aaff;
border-radius: 25px;
border-color: #00aaff;
height: 20px;
width: 20px;
margin-top: -6px; /* Slider handle and horizontal bar are related, to center the handle, play with margin*/
}
.block_70 .ui-slider-horizontal,
.block_72 .ui-slider-horizontal,
.block_93 .ui-slider-horizontal,
.block_74 .ui-slider-horizontal {
background-color: #fff;
border-color: transparent;
height: 3px;
}
Once I can select a device to play my Spotify playlist on, I will definitely buy rob a couple of beers! He's done a great job
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
A little help to make my dashboard awesome
I have a few (i hope small) questions:
1: google maps is not showing a map anymore.
2: Color bulbs on my hue not showing on screen. (known issue with rgbw?)
3: news is not showing (I use nu.nl as default and tweakers as second)
used with crossorigin and without.
with F12 i see:
XMLHttpRequest cannot load https://crossorigin.me/http://www.nu.nl/rss/Algemeen. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.0.8:8080' is therefore not allowed access. The response had HTTP status code 503.
4:
a iframe is not nice looking.
when using this code it's nice but My popup of cammeras are ugly. who has the right code to let the popups intact and the iframe nicer?
MY screens: my config:
1: google maps is not showing a map anymore.
2: Color bulbs on my hue not showing on screen. (known issue with rgbw?)
3: news is not showing (I use nu.nl as default and tweakers as second)
used with crossorigin and without.
with F12 i see:
XMLHttpRequest cannot load https://crossorigin.me/http://www.nu.nl/rss/Algemeen. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.0.8:8080' is therefore not allowed access. The response had HTTP status code 503.
4:
a iframe is not nice looking.
when using this code it's nice but My popup of cammeras are ugly. who has the right code to let the popups intact and the iframe nicer?
- Spoiler: show
- Spoiler: show
MY screens: my config:
- Spoiler: show
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: A little help to make my dashboard awesome
The doubleclick.net calls are probable from another site...for example an iframe you use or something like that.. currently on vacation so not able to take a closer look untill next week.
-
- Posts: 51
- Joined: Sunday 04 May 2014 1:34
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: A little help to make my dashboard awesome
I have the same issue with news and traffic map, so I'm curious what the solution will be
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: A little help to make my dashboard awesome
You are right they coming from the weatherplugin.
but the rest of my questions still remains I hope you enjoyed your holidays!!
but the rest of my questions still remains I hope you enjoyed your holidays!!
-
- Posts: 12
- Joined: Sunday 07 June 2015 9:36
- Target OS: Linux
- Domoticz version: 3.6367
- Location: Utrecht
- Contact:
Re: A little help to make my dashboard awesome
For the news I use:
and not the:
Code: Select all
'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss';
Code: Select all
'https://crossorigin.me/http://www.nu.nl/rss/Algemeen'
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: A little help to make my dashboard awesome
Thanks! the news is fixed!! thank you very much it help to use your url prefix.
-
- Posts: 27
- Joined: Tuesday 28 October 2014 22:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
wow great dashboard, do you have the imagefiles?Ingmar wrote: ↑Tuesday 19 September 2017 10:03 Been busy with my dashboard over the last week. There are still some things that aren't working, like the news block and trafficmap. I have no clue why it doesn't work... so if anyone has a suggestion, please let me know
dash.jpg
I've added my doorbell device but made it hidden so that you can hear a doorbell sound on the tablet but you can't see anything on the dashboard.
ConfigCSSCode: Select all
////////////////////// GENERAL CONFIG ///////////////////////// var config = {} config['domoticz_ip'] = 'XXX'; config['app_title'] = 'Dashboard'; config['domoticz_refresh'] = '5'; config['dashticz_refresh'] = '60'; config['default_news_url'] = 'https://crossorigin.me/http://feeds.bbci.co.uk/news/world/europe/rss.xml'; config['news_scroll_after'] = '7'; config['standby_after'] = 0; config['auto_swipe_back_to'] = 1; config['auto_swipe_back_after'] = '10'; config['auto_slide_pages'] = 0; config['slide_effect'] = 'slide'; config['standard_graph'] = 'hours'; config['language'] = 'en_US'; config['timeformat'] = 'DD-MM-YY HH:mm'; config['calendarformat'] = 'dd DD.MM HH:mm'; config['calendarlanguage'] = 'en_US'; config['calendarurl'] = 0; config['boss_stationclock'] = 'RedBoss'; config['gm_api'] = 'XXX'; config['gm_zoomlevel'] = '8'; config['gm_latitude'] = 'XXX'; config['gm_longitude'] = 'XXX'; config['wu_api'] = 'XXX'; config['wu_city'] = 'The Hague'; config['wu_name'] = 'in The Hague'; config['wu_country'] = 'NL'; config['idx_moonpicture'] = 0; config['switch_horizon'] = 0; config['host_nzbget'] = 0; config['spot_clientid'] = 'XXX'; config['garbage_company'] = 0; config['garbage_icalurl'] = 0; config['garbage_zipcode'] = 0; config['garbage_street'] = 0; config['garbage_housenumber'] = 0; config['garbage_maxitems'] = 0; config['garbage_width'] = 0; config['selector_instead_of_buttons'] = 0; config['auto_positioning'] = 0; config['use_favorites'] = 0; config['last_update'] = 1; config['hide_topbar'] = 0; config['hide_seconds'] = 1; config['hide_seconds_stationclock'] = 0; config['use_fahrenheit'] = 0; config['use_beaufort'] = 0; config['translate_windspeed'] = 1; config['static_weathericons'] = 0; config['hide_mediaplayer'] = 0; config['garbage_hideicon'] = 0; //var trashnames = {} //trashnames['Gft'] = 'GFT'; //trashnames['Pmd'] = 'Plastic'; //trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT var tvguide = {} tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [7,8,464,25,438], maxitems: 8 } var _STREAMPLAYER_TRACKS = [ {"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"}, {"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"}, {"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"}, {"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"}, ]; ////////////////////// FRAMES /////////////////////////// var frames = {} frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.081316&lon=4.383277&name=The Hague&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12} ////////////////////// BUTTONS ///////////////////////// var buttons = {} buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.06022&lng=4.39288&overname=2&zoom=13&naam=2493bj&size=3&voor=1'} ////////////////////// BLOCK TITLES ///////////////////////// var blocks = {} blocks['blocktitle_tv'] = {} blocks['blocktitle_tv']['key'] = 'blocktitle_tv'; blocks['blocktitle_tv']['type'] = 'blocktitle'; blocks['blocktitle_tv']['title'] = 'TV and news'; blocks['blocktitle_switches'] = {} blocks['blocktitle_switches']['key'] = 'blocktitle_switches'; blocks['blocktitle_switches']['type'] = 'blocktitle'; blocks['blocktitle_switches']['title'] = 'Controlling the lights'; blocks['blocktitle_temp'] = {} blocks['blocktitle_temp']['key'] = 'blocktitle_temp'; blocks['blocktitle_temp']['type'] = 'blocktitle'; blocks['blocktitle_temp']['title'] = 'Temperatures inside'; blocks['blocktitle_doors'] = {} blocks['blocktitle_doors']['key'] = 'blocktitle_doors'; blocks['blocktitle_doors']['type'] = 'blocktitle'; blocks['blocktitle_doors']['title'] = 'Doors and windows'; blocks['blocktitle_spotify'] = {} blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify'; blocks['blocktitle_spotify']['type'] = 'blocktitle'; blocks['blocktitle_spotify']['title'] = 'Spotify'; // custom block width for switches blocks['news_2'] = {} blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml'; blocks[104] = {} // blocks[104]['width'] = 4; blocks[104]['title'] = 'The front door is now:' blocks['s1'] = {} //Scene Front room all off blocks['s1']['hide_data'] = true; blocks['s1']['hide_lastupdate'] = true; blocks['s1']['icon'] = 'fa-times-circle'; blocks['s2'] = {} //Movie scene blocks['s2']['hide_data'] = true; blocks['s2']['hide_lastupdate'] = true; blocks['s2']['icon'] = 'fa-video-camera'; blocks['s3'] = {} //Evening scene blocks['s3']['hide_data'] = true; blocks['s3']['hide_lastupdate'] = true; blocks['s3']['icon'] = 'fa-image'; blocks[73] = {} //kitchen light string blocks[73]['width'] = 6; blocks[73]['title'] = 'Kitchen light string' blocks[73]['hide_data'] = true; blocks[73]['hide_lastupdate'] = true; blocks[93] = {} //kitchen spots dimmer blocks[93]['width'] = 6; blocks[93]['title'] = 'Kitchen spots' blocks[93]['hide_data'] = true; blocks[93]['hide_lastupdate'] = true; blocks[74] = {} blocks[74]['width'] = 6; blocks[74]['title'] = 'Cupboard spots' blocks[74]['hide_data'] = true; blocks[74]['hide_lastupdate'] = true; blocks[72] = {} blocks[72]['width'] = 6; blocks[72]['title'] = 'Ceiling light' blocks[72]['hide_data'] = true; blocks[72]['hide_lastupdate'] = true; blocks[44] = {} blocks[44]['width'] = 6; blocks[44]['title'] = 'Floor lamp' blocks[44]['hide_data'] = true; blocks[44]['hide_lastupdate'] = true; blocks[18] = {} blocks[18]['width'] = 6; blocks[18]['title'] = 'TV light' blocks[18]['hide_data'] = true; blocks[18]['hide_lastupdate'] = true; blocks[70] = {} blocks[70]['width'] = 6; blocks[70]['title'] = 'Couch light' blocks[70]['hide_data'] = true; blocks[70]['hide_lastupdate'] = true; blocks[17] = {} blocks[17]['width'] = 6; blocks[17]['title'] = 'Subwoofer' blocks[17]['hide_data'] = true; blocks[17]['hide_lastupdate'] = true; blocks[17]['icon'] = 'fa-volume-up'; blocks[92] = {} blocks[92]['width'] = 6; blocks[92]['title'] = 'Bedroom fairy lights' blocks[92]['hide_data'] = true; blocks[92]['hide_lastupdate'] = true; // DOORBELL blocks[89] = {} blocks[89]['width'] = 1; blocks[89]['title'] = '' blocks[89]['hide_data'] = true; blocks[89]['hide_lastupdate'] = true; blocks[89]['playsound'] = 'sounds/doorbell.mp3'; blocks[89]['protected'] = true; blocks[89]['icon'] = 'fa-bell-o'; //change temp blocks size blocks[82] = {} blocks[82]['width'] = 3; blocks[52] = {} blocks[52]['width'] = 3; blocks[54] = {} blocks[54]['width'] = 3; blocks[81] = {} blocks[81]['width'] = 3; blocks[81]['title'] = 'Change temp.' //Device status - ping results blocks[122] = {} blocks[122]['width'] = 12; blocks[122]['title'] = 'Internet' blocks[122]['hide_data'] = true; blocks[122]['hide_lastupdate'] = true; blocks[122]['icon'] = 'fa-circle'; blocks[122]['protected'] = true; blocks[118] = {} blocks[118]['width'] = 12; blocks[118]['title'] = 'Our network' blocks[118]['hide_data'] = true; blocks[118]['hide_lastupdate'] = true; blocks[118]['icon'] = 'fa-circle'; blocks[118]['protected'] = true; blocks[121] = {} blocks[121]['width'] = 12; blocks[121]['title'] = 'Printer' blocks[121]['hide_data'] = true; blocks[121]['hide_lastupdate'] = true; blocks[121]['icon'] = 'fa-circle'; blocks[121]['protected'] = true; //blocks['sunrise'] = {} //blocks['sunrise']['width'] = 1; //blocks['miniclock'] = {} //blocks['miniclock']['width'] = 7; // My IDX list // 73 = kitchen light string // 93 = Kitchen spots // 74 = Cupboard spots // 72 = Ceiling light // 44 = Floor lamp // 18 = TV light // 70 = Couch light // 17 = Subwoofer // 92 = Bedroom fairy lights ////////////////////// COLUMNS ///////////////////////// var columns = {} columns['bar'] = {} columns['bar']['blocks'] = ['sunrise','miniclock',89] columns[1] = {} columns[1]['blocks'] = ['blocktitle_switches','s1','s3','s2',73,93,74,72,44,18,70,17,92] columns[1]['width'] = 5; columns[2] = {} columns[2]['blocks'] = [frames.weather,'blocktitle_temp',81,82,'54_1','52_1','blocktitle_doors',104,'news','trafficmap'] columns[2]['width'] = 5; columns[3] = {} columns[3]['blocks'] = [122,118,121,buttons.buienradar,'news_2',tvguide.dutch,'traffic','blocktitle_spotify','spotify'] columns[3]['width'] = 2; ////////////////////// STANDBY ///////////////////////// var columns_standby = {} columns_standby[1] = {} columns_standby[1]['blocks'] = ['clock','weather'] columns_standby[1]['width'] = 12; ////////////////////// SCREEENS ///////////////////////// var screens = {} screens[1] = {} // Background image files must be in the "img" folder screens[1]['background'] = 'bg4.jpg'; screens[1]['background_morning'] = 'day.jpg'; //morning = 06:00-10:59 screens[1]['background_noon'] = 'day.jpg'; //noon = 11:00-15:59 screens[1]['background_afternoon'] = 'day.jpg'; //afternoon 16:00-19:59 screens[1]['background_night'] = 'night.jpg'; //night = 20:00:05:59 screens[1]['columns'] = [1,2,3]
Code: Select all
/* CUSTOM CSS FILE */ /* //////////////// Icon colors ////////////////////////*/ .fa.fa-lightbulb-o.on, .fa.fa-volume-up.on, /*used for subwoofer*/ .fa.fa-circle.on { /*used for device status*/ color: #3EFF00; } .fa.fa-circle.off { /*used for device status*/ color: #ff0000; } /* Standard the opacity of the buttons is less (0.4) to make them grey*/ .off.icon { opacity:1 !important; } /*CHANGE ICON SIZES */ /* Make all icons bigger */ .fa,.wi { font-size:30px !important; } /* Make device status dots smaller */ .fa.fa-circle { font-size: 15px !important; } /* //////////// Background of blocks /////////////// */ .transbg.col-xs-1, .transbg.col-xs-2, .transbg.col-xs-3, .transbg.col-xs-4, .transbg.col-xs-5, .transbg.col-xs-6, .transbg.col-xs-7, .transbg.col-xs-8, .transbg.col-xs-9, .transbg.col-xs-10, .transbg.col-xs-11, .transbg.col-xs-12 { padding-top:15px; padding-bottom:15px; border: 5px solid rgba(255,255,255,0); /* border: 7px -> 3px - Smaller space between blocks */ background: rgba(0,0,0,0.2); background-clip: padding-box; border-radius: 20px; /* Round corners */ } /* Make doorbell block invisible */ .transbg.block_89 { opacity: 0; height: 1px; padding-top:1px; padding-bottom:1px; } /* Change background height of device status blocks */ .transbg.block_118, .transbg.block_121, .transbg.block_122{ height: 10px; padding: 10px; line-height: 1px; /* makes the device text move up to the center of the block.*/ } .fa.fa-circle.on, .fa.fa-circle.off { margin-top: -8px; /* makes the device icon to move up to the center of the block */ padding-right: 1px; } /* Change background height of blocks with width 4, i.e. scene and door sensor blocks */ .transbg.col-xs-4{ height: 70px; padding: 12px; line-height: 15px; font-size: 10pt; } /* Make the background of the titleblocks less high */ .transbg.titlegroups { height: 50px; padding: 0px; } /* Same for titleblock of current weather - NOT USED AT THE MOMENT .transbg.big.block_currentweather_big { height: 50px; padding: 0px; line-height: 1px; }*/ /* //////////// TOP BAR MODS ////////// */ /* Change size of sunrise and sunset plus icons in top bar*/ .wi.wi-sunrise, /* icons */ .wi.wi-sunset { font-size: 18pt !important; } .sunrise, /* timestamp */ .sunset { font-size: 13pt !important; } /* //////////// DIMMER SLIDER MODS ////////// */ .block_70 .ui-slider-handle, .block_72 .ui-slider-handle, .block_93 .ui-slider-handle, .block_74 .ui-slider-handle { background-color: #00aaff; border-radius: 25px; border-color: #00aaff; height: 20px; width: 20px; margin-top: -6px; /* Slider handle and horizontal bar are related, to center the handle, play with margin*/ } .block_70 .ui-slider-horizontal, .block_72 .ui-slider-horizontal, .block_93 .ui-slider-horizontal, .block_74 .ui-slider-horizontal { background-color: #fff; border-color: transparent; height: 3px; }
Once I can select a device to play my Spotify playlist on, I will definitely buy rob a couple of beers! He's done a great job
-
- Posts: 51
- Joined: Sunday 04 May 2014 1:34
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Of which images? The background?
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
-
- Posts: 51
- Joined: Sunday 04 May 2014 1:34
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: A little help to make my dashboard awesome
That totally fixed it for me too, thanks a lot!stuffer wrote: ↑Saturday 23 September 2017 19:51 For the news I use:
Code: Select all
'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss';
Now all that's left is the traffic map...
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
-
- Posts: 51
- Joined: Sunday 04 May 2014 1:34
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: A little help to make my dashboard awesome
I don't have a solution, but an alternative way. This is how I'm using it for pinging my printer:remb0 wrote: ↑Wednesday 20 September 2017 19:07 6: my link to nas is not showing.?
my config:Code: Select all
var config = {} blocks['nas'] = {} // Ping Esx blocks['nas']['width'] = 3; blocks['nas']['icon'] = 'fa-server'; blocks['nas']['title'] = 'NAS'; blocks['nas']['link'] = 'http://192.168.0.99'; blocks['nas']['target'] = 'iframe'; // iframe, tab, window
I've made a virtual switch in domoticz called Printer_status. Then in domoticz Setup > Events, I created a new Lua/Time event with the following code:
Code: Select all
commandArray = {}
--Ping printer
ping_success=os.execute('ping -c1 192.168.1.1')
if ping_success then
print("ping success")
commandArray['Printer_status']='On'
else
print("ping fail")
commandArray['Printer_status']='Off'
end
return commandArray
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
-
- Posts: 3
- Joined: Monday 02 October 2017 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0 Show Off and Examples
Very nice frame! Can you please explain how you made the cuts for the home button and camera?SuperMouse wrote: ↑Sunday 23 April 2017 14:53 Yes, I did the frame myself.. I took a few hours to get there
1 measure the aluminum U frame 10 times.
2 saw the frames in a 45 degree angle.
3 on the backside I used a very firm cardboard where I glued the frames on.
4 drill a hole in the wall (my wife was not around at than moment ) to get the wire trough.
5 done !
Thanks!
-
- Posts: 30
- Joined: Sunday 09 April 2017 11:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Hi Toine.
I just used a round file and a lot of sandpaper to make the cuts.
Hope this helps.
I just used a round file and a lot of sandpaper to make the cuts.
Hope this helps.
-
- Posts: 115
- Joined: Tuesday 17 November 2015 21:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9317
- Location: St Neots, UK
- Contact:
Re: A little help to make my dashboard awesome
Has anybody got to the bottom of why Google Maps is not displaying with the V2 Dashboard?
-
- Posts: 10
- Joined: Wednesday 07 September 2016 21:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.4834
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
I'll show mine here for inspiration to all.
First of all i've used a nexus 7 from 2013 because it's still a good tablet and it has Qi charging. And i could get my hands on a second hand for only 70,-
What have i done:
I've bolted six magnets to my wall. And glued six counter parts to the nexus. Then i've drilled a hole thru the wall in to the closet on the other side.
Opened a cheap five euro wireless charger pad and glued the coil to the wall in the middel of the magnets. Connected it to the electronics of the charger on the other side in my closed. And now i don't see any charger cables!
And of course the code. It's not ready jet. Because i need my brother-in-law to do the css stuff. But so far it looks clean!
Config.JS
First of all i've used a nexus 7 from 2013 because it's still a good tablet and it has Qi charging. And i could get my hands on a second hand for only 70,-
What have i done:
I've bolted six magnets to my wall. And glued six counter parts to the nexus. Then i've drilled a hole thru the wall in to the closet on the other side.
Opened a cheap five euro wireless charger pad and glued the coil to the wall in the middel of the magnets. Connected it to the electronics of the charger on the other side in my closed. And now i don't see any charger cables!
And of course the code. It's not ready jet. Because i need my brother-in-law to do the css stuff. But so far it looks clean!
Config.JS
- Spoiler: show
- Spoiler: show
Last edited by ArjanPeeters on Sunday 08 October 2017 19:53, edited 1 time in total.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Is that the old or the new model of the Nexus7?
I've got the old one, and never heard of the Qi charging thingy.
Be advised to remove your API-codes (Spottify and such) from posts. People can use them now.
I've got the old one, and never heard of the Qi charging thingy.
Be advised to remove your API-codes (Spottify and such) from posts. People can use them now.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Who is online
Users browsing this forum: No registered users and 1 guest