Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by maluko »

HansieNL wrote:
maluko wrote:
robgeerts wrote:
Has to be fixed. I have the same problem with a Toon Thermostat selector switch. I'm sure Rob will fix it asap... please be patient in the meantime.
Thanks, i have lot of patient , i only have done was let rob see what is happen on my dash, think maybe a issue. did known that you have declared.
irishv
Posts: 14
Joined: Saturday 01 April 2017 5:15
Target OS: -
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by irishv »

robgeerts wrote:
Will fix the celcius/fahrenheit switch.. changing ºC to ºF is enough?
Or do I have to recalculate the output?

EDIT: set in config.js:

Code: Select all

var _USE_FAHRENHEIT = true;

Looks like the new setting switches it for sensors, but does not update weather coming from Weather Underground. For that I think you'll need to update weather.js

Code: Select all

html += '<h2><span>'+Math.round(currentweather.temp_c)+'°C</span> <i class="wi '+wiclass+'"></i></h2>';
			$(".weather").html('<i class="wi '+wiclass+'"></i>');
			$(".weatherdegrees").html('<strong>'+Math.round(currentweather.temp_c)+'°C</strong><span class="rainrate"></span>');
			$(".weatherloc").html(location);
and

Code: Select all

html += '<div class="temp"><span class="dayT">'+curfor.high.celsius+'°C</span><span class="nightT">'+curfor.low.celsius+'°C</span></div>';
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

This Dashboard looks really nice.
Downloaded it and the first start is there

My knowledge about this is not that high but I need to play with it.
The start is already there
Image


Can some give me some inside how to add the weather forecast or what I need to change.
Last edited by pkrabben on Monday 10 April 2017 11:29, edited 1 time in total.
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

HansieNL wrote:Hello Rob,
If I change css from -100% to -200% 3rd page is shown. Can you check if the code in creative.css should be corrected?
.slide-radio3:checked ~ .fullslider {
-webkit-transform: translateX(-200%);
transform: translateX(-200%);
}
Thanks, forgot to change this earlier, did only test with 2 screens...

irishv wrote: Looks like the new setting switches it for sensors, but does not update weather coming from Weather Underground. For that I think you'll need to update weather.js
Fixed!
Maartenkr
Posts: 15
Joined: Sunday 18 September 2016 23:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7196
Location: Hellevoetsluis
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by Maartenkr »

pkrabben wrote:This Dashboard looks really nice.
Downloaded it and the first start is there

My knowledge about this is not that high but I need to play with it.
The start is already there
Image


Can some give me some inside how to add the weather forecast or what I need to change.

you must create an account at wunderground

and the information you fill in as following (in config)

Code: Select all

var _APIKEY_WUNDERGROUND  	= 'apikey wunderground';
var _WEATHER_CITY 			= 'you place';
var _WEATHER_COUNTRY 		= 'NL';
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

Maartenkr wrote:
pkrabben wrote:This Dashboard looks really nice.
Downloaded it and the first start is there

My knowledge about this is not that high but I need to play with it.
The start is already there
Image


Can some give me some inside how to add the weather forecast or what I need to change.

you must create an account at wunderground

and the information you fill in as following (in config)

Code: Select all

var _APIKEY_WUNDERGROUND  	= 'apikey wunderground';
var _WEATHER_CITY 			= 'you place';
var _WEATHER_COUNTRY 		= 'NL';

I have the following code in the config.js file
var _APIKEY_WUNDERGROUND = '53673cfb6708097f';
var _WEATHER_CITY = 'Almere';
var _WEATHER_COUNTRY = 'NL';
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

The key you are using is not correct, this is the result from Wunderground:

"error": {
"type": "keynotfound"
,"description": "this key does not exist"
}
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

pkrabben wrote:
Maartenkr wrote:
pkrabben wrote:This Dashboard looks really nice.
Downloaded it and the first start is there

My knowledge about this is not that high but I need to play with it.
The start is already there
Image


Can some give me some inside how to add the weather forecast or what I need to change.

you must create an account at wunderground

and the information you fill in as following (in config)

Code: Select all

var _APIKEY_WUNDERGROUND  	= 'apikey wunderground';
var _WEATHER_CITY 			= 'you place';
var _WEATHER_COUNTRY 		= 'NL';

I have the following code in the config.js file
var _APIKEY_WUNDERGROUND = '53673cfb6708097f';
var _WEATHER_CITY = 'Almere';
var _WEATHER_COUNTRY = 'NL';

Found the issue it was not recognizing 'Almere' needs to be 'Almere Stad' and created a new API key
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

I'm getting there.

Now I need to find out how I can add scene's and groups to teh dashboard (single devices is done)

Image
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

Use 's1' where 1 is de idx of the scene or group.
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

robgeerts wrote:Use 's1' where 1 is de idx of the scene or group.
Hi Rob thanks for your quick reply
you mean in this line

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',1,6,8,9,11,'blocktitle_2',s1,'blocktitle_4','train','traffic']
columns[1]['width'] = 5;

If I do that the dashboard is completly blanc
See below the IDX of the scene I'm looking to control "Lampen wk aan"

Image
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

Add single quotes to s1 ;)
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

robgeerts wrote:Add single quotes to s1 ;)
Thanks it's working.
I will buy you some beers later today 8-)
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by SwordFish »

@Robgeerts,
This gets better and better :P
Can you add this door contact. Its now show with switch icon.

Code: Select all

{
   "ActTime" : 1491822723,
   "ServerTime" : "2017-04-10 13:12:03",
   "Sunrise" : "06:55",
   "Sunset" : "20:26",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Closed",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 2,
         "HardwareName" : "RFXCOM",
         "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
         "HardwareTypeVal" : 1,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0EEED8E",
         "Image" : "Light",
         "InternalState" : "Closed",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-10 13:11:16",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "voordeur",
         "Notifications" : "true",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : true,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Closed",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "Door Contact",
         "SwitchTypeVal" : 11,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "door",
         "Unit" : 10,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "121"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Blueone
Posts: 130
Joined: Friday 29 November 2013 11:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by Blueone »

A very nice project! I want to replace my eneco toon with a raspberry with the original touchscreen and put in on the wall in my living room. The toon also have a stand-by view which is black and white and is very usefull when it is not in use and still can see the time etc without having a bright screen at the wall. Is there also an option available in this dashboard which opens a simple few after a few minutes. Please see the screenshot as an example.
Active:
2000565692.jpeg
2000565692.jpeg (76.71 KiB) Viewed 1667 times
Standby:
toon standby.jpg
toon standby.jpg (57.95 KiB) Viewed 1667 times
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

pkrabben wrote: I will buy you some beers later today 8-)
Thanks!

SwordFish wrote: Can you add this door contact. Its now show with switch icon.
Fixed

Blueone wrote:The toon also have a stand-by view which is black and white and is very usefull when it is not in use and still can see the time etc without having a bright screen at the wall.
Not possible at the moment but will add this asap!
Clemen
Posts: 75
Joined: Saturday 05 December 2015 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Europe
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by Clemen »

robgeerts wrote:
pkrabben wrote: I will buy you some beers later today 8-)
Thanks!

SwordFish wrote: Can you add this door contact. Its now show with switch icon.
Fixed

Blueone wrote:The toon also have a stand-by view which is black and white and is very usefull when it is not in use and still can see the time etc without having a bright screen at the wall.
Not possible at the moment but will add this asap!
Would be nice with a standby view that activates after x-min of inactivity, and goes away with a touch on the device.
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

Almost done with that feature ;)
pkrabben
Posts: 55
Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by pkrabben »

I noticed when reading to the whole forum post that it should be possible to change the icon of a light_on to a yellow bulb.
I noticed the image in the img folder but where can you set to use that image when a light is turned on?
robgeerts
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 v2, custom positioning and multiple screens

Post by robgeerts »

At the moment not possible anymore at the moment, I will fix this asap. Together with the possibility to change other icons as well.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest