Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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 »

poudenes wrote:Hi All,

Can someone help me. Volt is ok. Volt as text and value below. But Gas vandaag, Totaal Gas, And the rest are not switched also not the title is showing

Code: Select all

//
// P1 INFO
//
blocks[23] =    {width: 4, icon: 'fa-bolt', show_lastupdate: false,  hide_data: true, switch: true,   title: 'Watt'    };
blocks[24] =    {width: 4, icon: 'fa-bolt', show_lastupdate: false,  hide_data: true, switch: true,   title: 'Volt'    };
blocks[25] =    {width: 4, icon: 'fa-fire',  show_lastupdate: false,  hide_data: true, switch: true,   title: 'Gas'    };
switchen.jpg
To bad. Didn't solve this issue yet


Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
User avatar
Herman-H
Posts: 32
Joined: Saturday 05 April 2014 22:10
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Herman-H »

HansieNL wrote: Friday 10 August 2018 23:01 @Herman-H: If the key is not right the item only shows 4 small blocks without info.
Image
@ HansieNL,
Even what your picture shows i don't see.
I loaded now the config.js from github. The only thing what i changed is the ip adres and this is what i see.
Dashticz.JPG
Dashticz.JPG (45.73 KiB) Viewed 2747 times
With Edge, Firefox and Chrome i see the same results.
commentator
Posts: 54
Joined: Thursday 23 June 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by commentator »

Installed it yesterday. All Domoticz items are working.

How to show the default news?

Code: Select all

var config = {}
config['domoticz_ip'] = 'myip:myport';
config['user_name'] = 'username';
config['pass_word'] = 'password';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/algemeen';
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'] = 1;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['use_favorites'] = 1;
config['last_update'] = 1;
User avatar
Herman-H
Posts: 32
Joined: Saturday 05 April 2014 22:10
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Herman-H »

Herman-H wrote: Saturday 11 August 2018 11:37
HansieNL wrote: Friday 10 August 2018 23:01 @Herman-H: If the key is not right the item only shows 4 small blocks without info.
Image
@ HansieNL,
Even what your picture shows i don't see.
I loaded now the config.js from github. The only thing what i changed is the ip adres and this is what i see.

Dashticz.JPG

With Edge, Firefox and Chrome i see the same results.
Problem solved:
When i loaded this from Rob Geurts config file:
config['wu_api'] = 'a14940b730424939';
config['wu_city'] = 'Eindhoven';
config['wu_name'] = '';
config['wu_country'] = 'NL';

The blocks are visible. Then i changed the key with my own key and all was working.
The problem was that the name of my city was unknown for Wunderground.
User avatar
Herman-H
Posts: 32
Joined: Saturday 05 April 2014 22:10
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Herman-H »

commentator wrote: Saturday 11 August 2018 14:29 Installed it yesterday. All Domoticz items are working.

How to show the default news?

Code: Select all

var config = {}
config['domoticz_ip'] = 'myip:myport';
config['user_name'] = 'username';
config['pass_word'] = 'password';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/algemeen';
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'] = 1;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['use_favorites'] = 1;
config['last_update'] = 1;
Maybe this can help you, i didn't test it by myself. http://www.domoticz.com/forum/viewtopic ... 20#p127589
commentator
Posts: 54
Joined: Thursday 23 June 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by commentator »

Herman-H wrote: Sunday 12 August 2018 18:52
Maybe this can help you, i didn't test it by myself. http://www.domoticz.com/forum/viewtopic ... 20#p127589
nope. still no news
Maybe @robgeerts can explain me how the out of the box newsfeed should be working?

btw it doesn't matter which rss (tried 3 different sites) and also with and without the https://cors-anywhere.herokuapp.com/ part
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Dashticz - General Discussions

Post by kiddigital »

commentator wrote:nope. still no news
Maybe @robgeerts can explain me how the out of the box newsfeed should be working?

btw it doesn't matter which rss (tried 3 different sites) and also with and without the https://cors-anywhere.herokuapp.com/ part
How does your blocks definition look like? Do you have the ‘news’ block defined somewhere?

Check https://www.domoticz.com/wiki/Dashticz ... ositioning to see some examples.

Also, check your browser debugger/dev tools/console to see if your browser is even trying to load the newsfeed and if/why it might fail.



Verzonden vanaf mijn iPhone met Tapatalk
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
commentator
Posts: 54
Joined: Thursday 23 June 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by commentator »

kiddigital wrote: Sunday 12 August 2018 21:57
commentator wrote:nope. still no news
Maybe @robgeerts can explain me how the out of the box newsfeed should be working?

btw it doesn't matter which rss (tried 3 different sites) and also with and without the https://cors-anywhere.herokuapp.com/ part
How does your blocks definition look like? Do you have the ‘news’ block defined somewhere?

Check https://www.domoticz.com/wiki/Dashticz ... ositioning to see some examples.

Also, check your browser debugger/dev tools/console to see if your browser is even trying to load the newsfeed and if/why it might fail.



Verzonden vanaf mijn iPhone met Tapatalk
I don't have bloks. I'm using the standard from install. As it is default in the setting I expect to see it somewhere without adding extra bloks
User avatar
kiddigital
Posts: 435
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by kiddigital »

commentator wrote:I don't have bloks. I'm using the standard from install. As it is default in the setting I expect to see it somewhere without adding extra bloks
That probably means that you have auto_configure active and that will only show Domoticz items.

If you want other items like news or weather, you need to start defining your own blocks including the ones you would like from Domoticz.



Verzonden vanaf mijn iPhone met Tapatalk
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
commentator
Posts: 54
Joined: Thursday 23 June 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by commentator »

kiddigital wrote: Monday 13 August 2018 8:59
commentator wrote:I don't have bloks. I'm using the standard from install. As it is default in the setting I expect to see it somewhere without adding extra bloks
That probably means that you have auto_configure active and that will only show Domoticz items.

If you want other items like news or weather, you need to start defining your own blocks including the ones you would like from Domoticz.



Verzonden vanaf mijn iPhone met Tapatalk
tanks, going to try it tonight.
Bit strange a default template with non working items in it
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - General Discussions

Post by Derik »

Dear All....
Is there perhaps someone that have a option to set the camera's into a nice steady place?
IMG_20180813_205206 2.jpg
IMG_20180813_205206 2.jpg (38.75 KiB) Viewed 2578 times
Now i cannot set the second radar [ test for my cam ] to a fixed place..
Every time a switch is changing, my board is going crazy...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by alarm_guy1 »

Hi just getting into Dashticz but am struggling, I am a complete newbie.
All I really want at this point is my lounge light on the main screen, I understand that Dashticz should pull from Domoticz anyyhing that is on the dashboard.

unfortunately this appears not to be the case.

I have a password on my domoticz so in the CONFIG.js file I added the following lines
config['domoticz_ip'] = 'http://192.168.2.137:8081';
config['user_name'] = 'domoticz';
config['pass_word'] = 'domoticz';
config['loginEnabled'] = 1;

but I see nothing from Domoticz at all, just the stock screen
Any help appreciated
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

@alarm_guy1: can you post your complete CONFIG.js as code?
Blah blah blah
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by alarm_guy1 »

Right here is my code. it is still very much the original code, I have only changed a few bits that dont work, but my real focus is Domoticz, the other bits are bells and whistles i'm not fussed about.
I have hopefully attached a screen shot of my Domoticz loaded so u can see the URL is correct.

cheers for your help
Image
Spoiler: show
var config = {}
config['domoticz_ip'] = 'http://xxxxxxxx:[email protected]:8081';
config['user_name'] = 'xxxxxxxx';
config['pass_word'] = 'xxxxxxx';
config['loginEnabled'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['app_title'] = 'Home Stuff test ';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
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'] = 'month';
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'] = 'ChIJ27L0utFs2UcR8HitjVqfz9U';
config['gm_zoomlevel'] = 15;
config['gm_latitude'] = 51.794990;
config['gm_longitude'] = 1.159090;
config['wu_api'] = 'a14940b730424939';
config['wu_city'] = 'Essex';
config['wu_name'] = '';
config['wu_country'] = 'UK';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 'http://192.168.2.137:6789';
config['spot_clientid'] = '1112f16564cf4f4d93ccbe8b52c58a44';
config['selector_instead_of_buttons'] = 1;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;
config['settings_icons'] = ["settings", "fullscreen"];
config['shortdate'] = 'D MMM';
config['longdate'] = 'D MMMM YYYY';
config['shorttime'] = 'HH:mm';
config['longtime'] = 'HH:mm:ss';
config['weekday'] = 'dddd';
config['no_rgb'] = 1;
config['standby_call_url'] = '' ;
config['standby_call_url_on_end'] = '' ;
config['hide_off_button'] = 1;

var _HOST_DOMOTICZ = 'http://192.168.2.137:8081';

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

var tvguide = {}
tvguide.dutch = { key:'UK', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Heart Radio Colchester","file":"http://media-the.musicradio.com:80/HeartColchesterMP3"},,
{"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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['key'] = 'Keith';
blocks['blocktitle_1']['type'] = 'Keith1';
blocks['blocktitle_1']['title'] = 'Keith 2';


var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]
Attachments
domoticz ss.jpg
domoticz ss.jpg (155.03 KiB) Viewed 2456 times
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

@alarm_guy1: First try a basic CONFIG.js and see if your Domoticz favorites are visible.

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://xxxxxxxx:[email protected]:8081';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
From there you can add more functions to your dashboard. See https://www.domoticz.com/wiki/Dashticz_V2 how to do that.
Blah blah blah
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by alarm_guy1 »

:-( still not working

pass is def correct
Attachments
dashticz.jpg
dashticz.jpg (98.94 KiB) Viewed 3062 times
alarm_guy1
Posts: 132
Joined: Tuesday 14 January 2014 0:03
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by alarm_guy1 »

right after messing all working now on a basic setup.

many thanks.
im not 100% sure what solved it though
rfvdboom
Posts: 38
Joined: Tuesday 20 September 2016 8:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by rfvdboom »

Hi there,

Is it possible to edit the images of sensors etc? I've changed the icons of the switches successfully , but when i change the images of the sensors, nothing happens.

The. Grtz
Odroid N2+ | Raspberry P 3 ModelB | RFXcom | AEOTEC Zwave | Honeywell Lyric T6| Milight | Milighthub (NodeMCU) | SolarEdge | P1 Smart meter USB | KAKU | Wemos D1 (esphome) | Denon | Logitech Harmony
rfvdboom
Posts: 38
Joined: Tuesday 20 September 2016 8:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by rfvdboom »

alarm_guy1 wrote: Friday 17 August 2018 19:41 right after messing all working now on a basic setup.

many thanks.
im not 100% sure what solved it though
I see you are using spotify. When you're not using the beta version, that could be the problem. When I import the spotify using the stable version , all my blocks were gone. In the beta version that problem is solved.
Odroid N2+ | Raspberry P 3 ModelB | RFXcom | AEOTEC Zwave | Honeywell Lyric T6| Milight | Milighthub (NodeMCU) | SolarEdge | P1 Smart meter USB | KAKU | Wemos D1 (esphome) | Denon | Logitech Harmony
peet3kabo
Posts: 49
Joined: Thursday 05 July 2018 17:29
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by peet3kabo »

Maybe simple or stupid question. Been searching this forum and the net but can't find it.
I know how to create a block for graphs and see a lot of dashboards where they show like power usage today, but where do I find the number of the graphs I need in domoticz?
Or do I need a script of some kind.
Not into scripts or programming up until now.
Got my dashboard working so far with switches and so on.
Who can enlighten me?

Edit:
Was more simple then I thought.
The idx numbers in Domoticz just did the trick.
So solved for now.
After a few hours staring at configs and the net you get blind in a way

Verstuurd vanaf mijn SM-G935F met Tapatalk




Last edited by peet3kabo on Sunday 26 August 2018 21:50, edited 1 time in total.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest