Dashticz - General Discussions
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
Thanks you guys, I have that all, but when you use the custom.js to change the on and off text to aanwezig and afwezig the last seen isn't working. When I remove it from the custom.js then it works like you guys say. Do I make any sense
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
Hi Ricardo,rpwessels wrote:Hello,
Can somebody help me, checked this discussion already but calendar(apple) is still not displaying. Changed CONFIG.js calendar settings in "var _ICALENDAR_URL = 'webcal://p32-calendars.icloud.com/published/2/i..... etc"
and placed 'icalendar' in column . Nothing is showing. What do i forget.
Ricardo
You have to wait a little more for the correct calendar plugin, see special calendar thread https://www.domoticz.com/forum/viewtopi ... 67&t=17425
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
can you post the custom.jsSwordFish wrote:Thanks you guys, I have that all, but when you use the custom.js to change the on and off text to aanwezig and afwezig the last seen isn't working. When I remove it from the custom.js then it works like you guys say. Do I make any sense
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
Will do later, have to eat first
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
So this is the code in custom.jsSwordFish wrote:I have in the custom.js code that turns on/off into aanwezig/afwezig (see Andrew thuis?). Is it right that last seen then don't work? When i quote it out then last seen is working. Is it possible to get it anyway with custum.js.
Code: Select all
function getBlock_338(device,idx){ //change 233 to the idx of your device!
$('.block_'+idx).attr('onclick','switchDevice(this)');
var html='';
html+='<div class="col-xs-4 col-icon">';
if(device['Status']=='Off') html+=iconORimage(idx,'fa-toggle-off','','off icon');
else html+=iconORimage(idx,'fa-toggle-on','','on icon');
html+='</div>';
html+='<div class="col-xs-8 col-data">';
html+='<strong class="title">'+device['Name']+'</strong><br />';
if(device['Status']=='Off') html+='<span class="state">Afwezig</span>';
else html+='<span class="state">Aanwezig</span>';
html+='</div>';
return html;
}
-
- Posts: 8
- Joined: Tuesday 16 August 2016 11:41
- Target OS: Linux
- Domoticz version: V3.5641
- Location: Netherlands
- Contact:
Re: Dashticz - General Discussions
Hello ,
I will wait and follow the discussion.
Ricardo
I will wait and follow the discussion.
Ricardo
Ubuntu16.04 LTS | Z-wave | Opentherm | P1 Smartmeter
Re: Dashticz - General Discussions
Without crossorigin.me of the front of the url it newer going to work.rpwessels wrote:Hello,
Can somebody help me, checked this discussion already but calendar(apple) is still not displaying. Changed CONFIG.js calendar settings in "var _ICALENDAR_URL = 'webcal://p32-calendars.icloud.com/published/2/i..... etc"
and placed 'icalendar' in column . Nothing is showing. What do i forget.
Ricardo
-
- Posts: 76
- Joined: Saturday 31 December 2016 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
OK, that was simple works fine when I add the page name.pkrabben wrote:Did you trySwifty wrote:I tried to set dashticz up on a windows tablet last night but all I got was 500 - Internal server error when browsing to the url.
My steps were as the wiki - done a git clone of the master into domoticz/www/dashboard, cp CONFIG_DEFAULT.js to CONFIG.js.
Edit the CONFIG.js to point at my local domoticz server (which uses auth, so specified as http://user:pass@my_ip:8080)
Set language to english.
I've tried a restart of the domoticz installation, just in case it needed to refresh anything from the new directory, but I still get a 500 error when browsing.
Any sort of log I can look at to troubleshoot?
http://IP address:port/{dashboard folder}/index.html
Didn't even think to try that.
Many thanks
-
- Posts: 38
- Joined: Saturday 15 April 2017 13:05
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
Hi folks,
I've downloaded the latest beta and i like the moving weather icons. I'm also happy to see that the news items are scrolling again. Thnx!
The problem I have is with the dual output blocks. I'm using a youless device to monitor energy usage.
When I use 'idx_1' I get te total power usage of today and when I use 'idx_2' I get the total power usage.
I would like to see the current power usage. ('ídx_3' gives me an emty block...)
Related to this is are the temperature sensors. I suspect it should be possible to use i.e. 'idx_1'for temperature and 'idx_2' for humidity but it doesn't.
I still get two blocks while I only need the temperature reading..
Probably something stupid but I can't find it in the wiki..
A little help is much appreciated.
Thnx,
Pascal
I've downloaded the latest beta and i like the moving weather icons. I'm also happy to see that the news items are scrolling again. Thnx!
The problem I have is with the dual output blocks. I'm using a youless device to monitor energy usage.
When I use 'idx_1' I get te total power usage of today and when I use 'idx_2' I get the total power usage.
I would like to see the current power usage. ('ídx_3' gives me an emty block...)
Related to this is are the temperature sensors. I suspect it should be possible to use i.e. 'idx_1'for temperature and 'idx_2' for humidity but it doesn't.
I still get two blocks while I only need the temperature reading..
Probably something stupid but I can't find it in the wiki..
A little help is much appreciated.
Thnx,
Pascal
-
- Posts: 317
- Joined: Thursday 12 January 2017 15:30
- Target OS: Linux
- Domoticz version: Beta Ch
- Location: Finland
- Contact:
Re: Dashticz - General Discussions
Aha, ok thnx Will checkEdKo66 wrote:This is an indication that something IS wrong in your config. Not necessarily in the HOST_DOMOTICZ variable, but might be something further down the line. So double check if you might have forgotten a ';' or something trivial like that.
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
Try to use this:SwordFish wrote:So this is the code in custom.jsSwordFish wrote:I have in the custom.js code that turns on/off into aanwezig/afwezig (see Andrew thuis?). Is it right that last seen then don't work? When i quote it out then last seen is working. Is it possible to get it anyway with custum.js.
..
Code: Select all
function getBlock_338(device,idx){ //change 233 to the idx of your device!
$('.block_'+idx).attr('onclick','switchDevice(this)');
var html='';
html+='<div class="col-xs-4 col-icon">';
if(device['Status']=='Off') html+=iconORimage(idx,'fa-toggle-off','','off icon');
else html+=iconORimage(idx,'fa-toggle-on','','on icon');
html+='</div>';
html+='<div class="col-xs-8 col-data">';
html+='<strong class="title">'+device['Name']+'</strong><br />';
if(device['Status']=='Off') html+='<span class="state">Afwezig</span>';
else html+='<span class="state">Aanwezig</span>';
if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
html+='</div>';
return html;
}
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Dashticz - General Discussions
Does anybody know of an easy way to adjust multiple blocks in one go:
I now have:
blocks[1321] = {}
blocks[1321]['width'] = 5
is there a way to also apply this for device 1329 without copying the two lines?
like: blocks[1321]-[1329] = {} etc etc
I now have:
blocks[1321] = {}
blocks[1321]['width'] = 5
is there a way to also apply this for device 1329 without copying the two lines?
like: blocks[1321]-[1329] = {} etc etc
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
That didn't work, sorry ( did also clear cache )Try to use this:
added : if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';Code: Select all
function getBlock_338(device,idx){ //change 233 to the idx of your device! $('.block_'+idx).attr('onclick','switchDevice(this)'); var html=''; html+='<div class="col-xs-4 col-icon">'; if(device['Status']=='Off') html+=iconORimage(idx,'fa-toggle-off','','off icon'); else html+=iconORimage(idx,'fa-toggle-on','','on icon'); html+='</div>'; html+='<div class="col-xs-8 col-data">'; html+='<strong class="title">'+device['Name']+'</strong><br />'; if(device['Status']=='Off') html+='<span class="state">Afwezig</span>'; else html+='<span class="state">Aanwezig</span>'; if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>'; html+='</div>'; return html; }
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
and the variable _SHOW_LASTUPDATE = true in CONFIG.js?
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
If I change it it works
also check if you don't hide it in the blocks settings
in CONFIG.js
in custom.js
you can also force the update to change the line
if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
to
html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
also check if you don't hide it in the blocks settings
in CONFIG.js
Code: Select all
var _SHOW_LASTUPDATE = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm'
and
blocks[402] = {}
blocks[402]['icon'] = 'fa-male';
blocks[402]['title'] = 'B';
Code: Select all
function getBlock_402(device,idx){ //change 233 to the idx of your device!
$('.block_'+idx).attr('onclick','switchDevice(this)');
var html='';
html+='<div class="col-xs-4 col-icon">';
if(device['Status']=='Off') html+=iconORimage(idx,'fa-toggle-off','','off icon');
else html+=iconORimage(idx,'fa-toggle-on','','on icon');
html+='</div>';
html+='<div class="col-xs-8 col-data">';
html+='<strong class="title">'+device['Name']+'</strong><br />';
if(device['Status']=='Off') html+='<span class="state">AFWEZIG</span>';
else html+='<span class="state">AANWEZIG</span>';
if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
html+='</div>';
return html;
}
you can also force the update to change the line
if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
to
html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
- Attachments
-
- Schermafbeelding 2017-05-08 om 20.44.27.png (95.13 KiB) Viewed 2193 times
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz - General Discussions
Will check it tomorrow, now not at home.
Thanks for the help
Thanks for the help
-
- Posts: 26
- Joined: Saturday 06 May 2017 0:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
@htilburgs
I'm not seeing anything. Is it because of my setup? I don't have much right now, only Kodi and outside temperature.
https://www.domoticz.com/forum/viewtopi ... =4&t=17474
Thanks
I'm not seeing anything. Is it because of my setup? I don't have much right now, only Kodi and outside temperature.
https://www.domoticz.com/forum/viewtopi ... =4&t=17474
Thanks
-
- Posts: 66
- Joined: Friday 21 October 2016 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
Did you follow the wiki installation guide?godinperson wrote:@htilburgs
I'm not seeing anything. Is it because of my setup? I don't have much right now, only Kodi and outside temperature.
https://www.domoticz.com/forum/viewtopi ... =4&t=17474
Thanks
https://www.domoticz.com/wiki/Dashticz_V2
-
- Posts: 26
- Joined: Saturday 06 May 2017 0:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - General Discussions
I did yes! Installation and configuration
This is all I get: I should at least get some buttons or some weather?
This is all I get: I should at least get some buttons or some weather?
- 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
I bet your CONFIG.js is faulty.
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