Page 29 of 184

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

Posted: Monday 10 April 2017 1:49
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.

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

Posted: Monday 10 April 2017 3:29
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>';

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

Posted: Monday 10 April 2017 8:02
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.

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

Posted: Monday 10 April 2017 9:23
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!

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

Posted: Monday 10 April 2017 12:27
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';

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

Posted: Monday 10 April 2017 12:33
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';

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

Posted: Monday 10 April 2017 12:41
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"
}

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

Posted: Monday 10 April 2017 12:41
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

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

Posted: Monday 10 April 2017 12:45
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

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

Posted: Monday 10 April 2017 12:47
by robgeerts
Use 's1' where 1 is de idx of the scene or group.

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

Posted: Monday 10 April 2017 12:57
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

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

Posted: Monday 10 April 2017 12:59
by robgeerts
Add single quotes to s1 ;)

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

Posted: Monday 10 April 2017 13:16
by pkrabben
robgeerts wrote:Add single quotes to s1 ;)
Thanks it's working.
I will buy you some beers later today 8-)

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

Posted: Monday 10 April 2017 13:17
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"
}

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

Posted: Monday 10 April 2017 13:18
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 1768 times
Standby:
toon standby.jpg
toon standby.jpg (57.95 KiB) Viewed 1768 times

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

Posted: Monday 10 April 2017 13:30
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!

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

Posted: Monday 10 April 2017 13:32
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.

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

Posted: Monday 10 April 2017 13:39
by robgeerts
Almost done with that feature ;)

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

Posted: Monday 10 April 2017 13:45
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?

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

Posted: Monday 10 April 2017 13:48
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.