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: New Dashboard Design
Nice Dashboard, keep up the good work.
I downloaded the latest version and everything is working.
But the train and traffic information doesn't work, I get no information when i click on it ( in the config if filled in true)?
Is there something I do wrong?
I downloaded the latest version and everything is working.
But the train and traffic information doesn't work, I get no information when i click on it ( in the config if filled in true)?
Is there something I do wrong?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Indeed, when checking the console (F12 in Chrome) I see the following with a red warning:
Code: Select all
GET http://www.feedrapp.info/?callback=jQuery112408370309590369325_1491052023481&q=https%3A%2F%2Fwww.rijdendetreinen.nl%2Frss%2F&_=1491052023482
GET http://www.feedrapp.info/?callback=jQuery112408370309590369325_1491052023479&q=http%3A%2F%2Fwww.vid.nl%2FVI%2F_rss&_=1491052023483
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- gjaa
- Posts: 38
- Joined: Thursday 12 February 2015 6:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: New Dashboard Design
I did a clean install,
FiIled the both CONFIG files and this is wat I see What is going wrong????
FiIled the both CONFIG files and this is wat I see What is going wrong????
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
@gjaa
I hoped you could tell me... I got the same problem with 2 different browsers???
Dashboard also keeps trying to load long.
What virusscanner are you using? I use Kaspersky and after pause it works. I got also a message about fonts.net
I hoped you could tell me... I got the same problem with 2 different browsers???
Dashboard also keeps trying to load long.
What virusscanner are you using? I use Kaspersky and after pause it works. I got also a message about fonts.net
Blah blah blah
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Maybe a stupid question, but did you check if the ip-address of your domoticz-server is correct. I mixed up a number and got the result you are showing.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
I think the virusscanner did stop loading the page because of an external file.
After pausing the scanner the page loaded correctly. I didn't change the ip address.
After pausing the scanner the page loaded correctly. I didn't change the ip address.
Blah blah blah
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
@robgeerts
Can you add the P1 Smart Meter USB please? And thanks again.
Can you add the P1 Smart Meter USB please? And thanks again.
Code: Select all
if(data.result[r]['HardwareType']=='P1 Smart Meter USB'){
if(data.result[r]['Type']=='P1 Smart Meter' && data.result[r]['SubType']=='Energy'){
var html = getStateBlock(data.result[r]['idx']+'sub1','fa fa-plug','Energieverbruik',data.result[r]['Usage']);
$('.states').append(html);
var html = getStateBlock(data.result[r]['idx']+'sub2','fa fa-plug','Energie vandaag',data.result[r]['CounterToday']);
$('.states').append(html);
}
if(data.result[r]['Type']=='P1 Smart Meter' && data.result[r]['SubType']=='Gas'){
var html = getStateBlock(data.result[r]['idx'],'fa fa-fire','Gas vandaag',number_format(data.result[r]['CounterToday'],2,',','.')+' m3');
$('.states').append(html);
}
}
Blah blah blah
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
Hi guys, will check tonight, not at home right now. I noticed the problems about the train and traffic info too. The external site I'm using is not the best... I'll find another way
Verstuurd vanaf mijn SM-G930F met Tapatalk
Verstuurd vanaf mijn SM-G930F met Tapatalk
-
- Posts: 31
- Joined: Monday 09 March 2015 7:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
Same issue here using Safari on a macgjaa wrote:I did a clean install,
FiIled the both CONFIG files and this is wat I see What is going wrong????
Did a clean install, changed domoticz IP on both conf.js and conf_default.js and have the same result
Looks like there is a issue with lang in console error log, default is language is en (english) not nl
- Dynamic
- Posts: 109
- Joined: Friday 12 July 2013 14:50
- Target OS: -
- Domoticz version:
- Location: Enschede
- Contact:
Re: New Dashboard Design
This is the error in the console:
Workaround for the time being:
Put this on top of main.js:
Code: Select all
TypeError: _LANGUAGE is undefined main.js:26:20
<anoniem>
Put this on top of main.js:
Code: Select all
var _LANGUAGE='nl_NL';
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
Added, could you test this?HansieNL wrote:@robgeerts
Can you add the P1 Smart Meter USB please? And thanks again.
Code: Select all
if(data.result[r]['HardwareType']=='P1 Smart Meter USB'){ if(data.result[r]['Type']=='P1 Smart Meter' && data.result[r]['SubType']=='Energy'){ var html = getStateBlock(data.result[r]['idx']+'sub1','fa fa-plug','Energieverbruik',data.result[r]['Usage']); $('.states').append(html); var html = getStateBlock(data.result[r]['idx']+'sub2','fa fa-plug','Energie vandaag',data.result[r]['CounterToday']); $('.states').append(html); } if(data.result[r]['Type']=='P1 Smart Meter' && data.result[r]['SubType']=='Gas'){ var html = getStateBlock(data.result[r]['idx'],'fa fa-fire','Gas vandaag',number_format(data.result[r]['CounterToday'],2,',','.')+' m3'); $('.states').append(html); } }
Fixed this, I think, I dont get any errors anymore...Dynamic wrote:This is the error in the console:
Workaround for the time being:Code: Select all
TypeError: _LANGUAGE is undefined main.js:26:20 <anoniem>
Put this on top of main.js:
Code: Select all
var _LANGUAGE='nl_NL';
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
What if you clear your cache?gjaa wrote:I did a clean install,
FiIled the both CONFIG files and this is wat I see
screen.png
What is going wrong????
Or press CTRL + F5 at the same time?
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
@robgeerts
I'm using the P1 Smart Meter USB and the dashboard myself and works like a charm.
So code is tested already.
I'm using the P1 Smart Meter USB and the dashboard myself and works like a charm.
So code is tested already.
Blah blah blah
- gjaa
- Posts: 38
- Joined: Thursday 12 February 2015 6:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: New Dashboard Design
Updatet main.js and wetaher.js and everyting is workingrobgeerts wrote:What if you clear your cache?gjaa wrote:I did a clean install,
FiIled the both CONFIG files and this is wat I see
screen.png
What is going wrong????
Or press CTRL + F5 at the same time?
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
Great! Now I can go to sleep without any worries!
Verstuurd vanaf mijn SM-G930F met Tapatalk
Verstuurd vanaf mijn SM-G930F met Tapatalk
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
A whole day without updates for the dashboard. Now what...
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: New Dashboard Design
Can you tell me how to change the language to english ?irishv wrote:Thanks for creating this. I've been wanting to build a better dashboard to use with a mounted iPad for a while now but could never get started. I run Domoticz on Synology NAS with the Aeon Z-stick.
I downloaded the files and was able to connect to my server, adjust language to english and weather to fahrenheit. My favorites come in, but everything shows as light switches. I'm trying to get contact sensors (doors) and motion sensors to say open/closed and motion/no motion.
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
If you have the latest version, you can add the following on top of CONFIG.js:
Code: Select all
var _LANGUAGE = 'en_US';
Haha, spent some time with the kidsEdKo66 wrote: A whole day without updates for the dashboard. Now what...
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Smart choicerobgeerts wrote:
Haha, spent some time with the kidsEdKo66 wrote: A whole day without updates for the dashboard. Now what...
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
Small cosmetic change:
- Removed the hover class
- Removed text "Set "
var switchHTML = '<div class="col-md-4 hover transbg block'+data.result[r]['idx']+'" data-light="'+data.result[r]['idx']+'"
switchHTML+='<strong class="title">Set '+data.result[r]['SetPoint']+'°C</strong><br />';
- Removed the hover class
- Removed text "Set "
var switchHTML = '<div class="col-md-4 hover transbg block'+data.result[r]['idx']+'" data-light="'+data.result[r]['idx']+'"
switchHTML+='<strong class="title">Set '+data.result[r]['SetPoint']+'°C</strong><br />';
Blah blah blah
Who is online
Users browsing this forum: No registered users and 1 guest