Dashticz - Beta 2.5.1

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Beta 2.5.1

Post by EdwinK »

Image

Spoiler: show

Code: Select all

//	Configuratie
var config = {}
	config['language'] 					= 'nl_NL';
	config['domoticz_ip'] 				= 'http://192.168.0.11:8080';
	config['app_title'] 				= 'HOME Control';
	config['domoticz_refresh'] 			= '5';
	config['dashticz_refresh'] 			= '30';
	config['default_news_url'] = 'http://www.nu.nl/';
	config['news_scroll_after'] 		= '15';
	config['standby_after'] 			= 0;
	config['auto_swipe_back_to'] 		= 1;
	config['auto_swipe_back_after'] 	= '600';
	config['auto_slide_pages'] 			= 0;
	config['slide_effect'] 				= 'slide'; 
	config['standard_graph'] 			= 'hour';
	config['timeformat'] 				= 'DD-MM-YY HH:mm';
	config['calendarformat'] 			= 'dd DD.MM HH:mm';
	config['calendarlanguage'] 			= 'nl_NL';
	config['calendarurl'] 				= 'calendar.google.com/public/basic.ics'; // still don't know what to put in here
	config['idx_moonpicture'] 			= 23;
//	config['switch_horizon'] 			= 0;
	config['selector_instead_of_buttons']=0;
	config['auto_positioning'] 			= 0;
	config['use_favorites'] 			= 0;
	config['last_update'] 				= 0;
	config['hide_topbar'] 				= 1;
	config['hide_seconds'] 				= 0;
	config['hide_seconds_stationclock'] = 0;
	config['use_fahrenheit'] 			= 0;
	config['use_beaufort'] 				= 1;
	config['translate_windspeed'] 		= 0;
	config['static_weathericons'] 		= 0;
	config['calendar_parse_localy']		= true;
	config['hide_mediaplayer'] 			= 0;
	config['logo'] 						= '';
	config['last_update'] 				= 0;
	config['gm_api'] 					= '';
	config['boss_stationclock'] 		= 'RedBoss';
	config['hide_seconds_stationclock'] = 0;
	config['lineColors'] 				= ['#f1c40f', '#40e0d0', '#eee'];	
	config['disable_googleanalytics'] 	= true;
//	config['default_cors_url'] 			= 'http://cors-anywhere.herokuapp.com'
/*//OpenWeather
	config['owm_api'] 					= '';
	config['owm_city'] 					= 'Rhoon';
	config['owm_name'] 					= '';
	config['owm_country'] 				= 'nl';
	config['static_weathericons'] 		= 0;*/
	//Vuilnis Module
	config['dashticz_php_path']			='./vendor/dashticz/' 
	config['garbage_company'] 			= 'mijnafvalwijzer';
	config['garbage_icalurl'] 			= 0;
	config['garbage_zipcode'] 			= '3161LH';
	config['garbage_street'] 			= 'Jonkerhof';
	config['garbage_housenumber'] 		= '27';
	config['garbage_maxitems'] 			= '5';
	config['garbage_width'] 			= '12';
	config['garbage_hideicon'] 			= 0;
	config['garbage_use_names'] 		= true;
	config['garbage_use_colors'] 		= true;
	config['garbage_icon_use_colors'] 	= true;
	config['garbage_use_cors_prefix'] 	= false;
	config['garbage'] = {
		gft: {kliko: 'green', 		code: '#FF8C00', name: 'GFT', 			icon: 'img/garbage/kliko_brown.png'},
		pmd: {kliko: 'orange', 		code: '#db5518', name: 'PMD', 			icon: 'img/garbage/kliko_orange.png'},
		rest: {kliko: 'grey', 		code: '#7CFC00', name: 'Restafval', 	icon: 'img/garbage/kliko_green.png'},
		papier: {kliko: 'blue', 	code: '#00BFFF', name: 'Papier', 		icon: 'img/garbage/kliko_blue.png'},
		kca: {kliko: 'red', 		code: '#b21807', name: 'Chemisch afval',icon: 'img/garbage/kliko_red.png'},
		brown: {kliko: 'brown', 	code: '#7c3607', name: 'Bruin', 		icon: 'img/garbage/kliko_brown.png'},
		black: {kliko: 'black', 	code: '#000000', name: 'Zwart', 		icon: 'img/garbage/kliko_black.png'},
		milieu: {kliko: 'yellow', 	code: '#f9e231', name: 'Geel', 			icon: 'img/garbage/kliko_yellow.png'},
		kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', 	icon: 'img/garbage/tree.png'},}


var frames = {}
frames.artwork = {width:12, isimage:true, refresh:2000, image: 'http://192.168.0.10:9002/music/current/cover.jpg?player=b8:27:eb:00:62:03'}
frames.weather = {refreshiframe:1800000,height:230,frameurl:"http://forecast.io/embed/#lat=51.860062&lon=4.412646&name=Rhoon&lang=nl&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si",width:12}


//Knoppen var aanmaken
var buttons = {}

buttons.ipcam1 		= {key: 'cam1'		, width:12, isimage:true, image: ' https://spacetrack.eu/iss/globe.php?114126457&'}
//buttons.ipcam2 	= {key: 'cam2'		, width:12, isimage:true, image: ' https://spacetrack.eu/iss/globe.php?114126457&'}
	
buttons.home		= {key: 'Homepage'	, width:12,	icon: 'fas fa-home',		title: 'HOME',		slide:1 }
buttons.energie		= {key: 'EnergiePag', width:12, icon: 'fas fa-plug',		title: 'Energie',	slide:2 }
buttons.bedien		= {key: 'Bedienpage', width:12,	icon: 'fas fa-toggle-on',	title: 'Schakelaar',slide:3 }
buttons.Toon		= {key: 'Toon'		, width:12,	icon: 'fas fa-thermometer',	title: 'Toon',		slide:4 }
buttons.Agenda		= {key: 'Agenda'	, width:12,	icon: 'fas fa-calendar-alt',title: 'Calender',	slide:5 }
buttons.Overig		= {key: 'Overig'	, width:12,	icon: 'fas fa-check',		title: 'Overig',	slide:6 }
buttons.moon 		= {width:12, isimage:true, refreshimage:60000, image: 'moon'}

/*//OV 
var publictransport = {}
publictransport.trein1	= { show_via: true, station: 'station-kampen', title:'NS Rotterdam Centraal', show_lastupdate:true, provider: '9292-train', icon: 'train', results: 5 };
*/
/*//Calendar 
var calendars = {}
calendars.business = { url: 'https://calendar.google.com/calendar', icon:'fa-calendar', maxitems: 10, color:'red',icalurl: 'https://calendar.google.com/calendar/ical/[[PRIVATE]]/basic.ics' }
calendars.private = { icon: 'fa-calendar', maxitems: 10, color:'green',icon:'fa-calendar', color:'green', icalurl: 'https://calendar.google.com/calendar/ical/[[PRIVATE]]%40group.calendar.google.com/public/basic.ics' }

calendars.combined = {}
calendars.combined.maxitems = 15 ;
calendars.combined.calendars = [
   { color:'red',	calendar:calendars.business }, 
   { color:'green',	calendar:calendars.private }
]
calendars.combined.url = 'https://calendar.google.com/calendar';
*/
//	Standaard blokken met config benaming
var blocks = {}

// Bloknamen
	
	blocks['blocktitle_2'] = {}
	blocks['blocktitle_2']['type'] = 'blocktitle';
	blocks['blocktitle_2']['title'] = 'Nieuws'
	blocks['blocktitle_2']['width'] = 12 ;

	blocks['blocktitle_3'] = {}
	blocks['blocktitle_3']['type'] = 'blocktitle';
	blocks['blocktitle_3']['title'] = 'NUTS'
	blocks['blocktitle_3']['width'] = 12 ;

	blocks['blocktitle_4'] = {}
	blocks['blocktitle_4']['type'] = 'blocktitle';
	blocks['blocktitle_4']['title'] = '4'
	blocks['blocktitle_4']['width'] = 12 ;

	blocks['blocktitle_5'] = {}
	blocks['blocktitle_5']['type'] = 'blocktitle';
	blocks['blocktitle_5']['title'] = '5'
	blocks['blocktitle_5']['width'] = 12 ;

	blocks['blocktitle_6'] = {}
	blocks['blocktitle_6']['type'] = 'blocktitle';
	blocks['blocktitle_6']['title'] = '6'
	blocks['blocktitle_6']['width'] = 12 ;

	blocks['blocktitle_7'] = {}
	blocks['blocktitle_7']['type'] = 'blocktitle';
	blocks['blocktitle_7']['title'] = '7'
	blocks['blocktitle_7']['width'] = 12 ;

	blocks['blocktitle_8'] = {}
	blocks['blocktitle_8']['type'] = 'blocktitle';
	blocks['blocktitle_8']['title'] = '8'
	blocks['blocktitle_8']['width'] = 12 ;

	blocks['blocktitle_9'] = {}
	blocks['blocktitle_9']['type'] = 'blocktitle';
	blocks['blocktitle_9']['title'] = '9'
	blocks['blocktitle_9']['width'] = 12 ;

	blocks['blocktitle_10'] = {}
	blocks['blocktitle_10']['type'] = 'blocktitle';
	blocks['blocktitle_10']['title'] = '10'
	blocks['blocktitle_10']['width'] = 12 ;

	blocks['blocktitle_11'] = {}
	blocks['blocktitle_11']['type'] = 'blocktitle';
	blocks['blocktitle_11']['title'] = 'TOON®'
	blocks['blocktitle_11']['width'] = 12 ;
		
	blocks['blocktitle_12'] = {}
	blocks['blocktitle_12']['type'] = 'blocktitle';
	blocks['blocktitle_12']['title'] = '12'
	blocks['blocktitle_12']['width'] = 12 ;

	blocks['blocktitle_13'] = {}
	blocks['blocktitle_13']['type'] = 'blocktitle';
	blocks['blocktitle_13']['title'] = 'Agenda'
	blocks['blocktitle_13']['width'] = 12 ;

	blocks['blocktitle_14'] = {}
	blocks['blocktitle_14']['type'] = 'blocktitle';
	blocks['blocktitle_14']['title'] = 'Trash'
	blocks['blocktitle_14']['width'] = 12 ;

//Regenkans
blocks[9] = {}
blocks[9]['title'] = 'Regenkans';
blocks[9]['width'] = 4;
blocks[9]['switch'] = true;
blocks[9]['icon'] = 'fas fa-tint';

// Iemand thuis
blocks[12] = {}
blocks[12]['title'] = 'Edwin';
blocks[12]['icon'] = 'fas fa-male';
blocks[12]['width'] = 6;

// Lamp Berging
blocks[15] = {}
blocks[15]['title'] = 'Berging';
blocks[15]['width'] = 6;

// Temp HSK
blocks['16_1'] = {}
blocks['16_1']['title'] = 'HSK';
blocks['16_1']['width'] = 6
blocks['16_1']['switch'] = true;

// Zonwering
blocks[20] = {}
blocks[20]['width'] = 12;
blocks[20]['hide_stop'] = true;

// TEMP SLK
blocks['21_1'] = {}
blocks['21_1']['title'] = 'SLK';
blocks['21_1']['width'] = 6;
blocks['21_1']['switch'] = true;
	 
//Zonwering manual
blocks[30] = {}
blocks[30]['title'] = 'manual'
blocks[30]['width'] = 6;
blocks[30]['hide_stop'] = true;

blocks[31] = {}
blocks[31]['title'] = 'HUE';
blocks[31]['width'] = 12;
blocks[31]['icon'] = 'fa-lightbulb-o';

// buiten temp
blocks['33_1'] = {}
blocks['33_1']['title'] = 'Buiten';
blocks['33_1']['switch'] = true;
blocks['33_1']['width'] = 6;

// Weer OWM
//	Buiten temperatuur
		blocks['47_1'] = {}
		blocks['47_1']['title'] = 'Temperatuur';
		blocks['47_1']['width'] = 4;
		blocks['47_1']['switch'] = true;
//	Luchtvochtigheid
		blocks['47_2'] = {}
		blocks['47_2']['title'] = 'Vochtigheid';
		blocks['47_2']['width'] = 4;
		blocks['47_2']['switch'] = true;
//	Lucht druk
		blocks['47_3'] = {}
		blocks['47_3']['title'] = 'Baro';
		blocks['47_3']['width'] = 4;
		blocks['47_3']['switch'] = true;
//	Windkracht
		blocks[48] = {}
		blocks[48]['title'] = 'Windkracht';
		blocks[48]['width'] = 4;
		blocks[48]['switch'] = true;
//	Zicht
		blocks[49] = {}
		blocks[49]['title'] = 'Zicht';
		blocks[49]['width'] = 4;
		blocks[49]['switch'] = true;
//	Clouds-index
		blocks[50] = {}
		blocks[50]['title'] = 'Clouds';
		blocks[50]['width'] = 4;
		blocks[50]['switch'] = true;
		blocks[50]['icon'] = 'fas fa-cloud';

// Neerslag 	
blocks[60] = {}
blocks[60]['title'] = 'BuienAlarm'
blocks[60]['width'] = 6;	
blocks[61] = {}
blocks[61]['title'] = 'Neerslag'
blocks[61]['width'] = 4;			
blocks[62] = {}
blocks[62]['title'] = 'Neerslag'
blocks[62]['width'] = 6;			
blocks[62]['switch'] = true;

// Onweer
blocks[78] = {}
blocks[78]['title'] = 'Onweer';
blocks[78]['icon'] = 'fas fa-bolt';
blocks[78]['width'] = 4;

blocks[97] = {}
blocks[97]['title'] = 'Cast HSK'
blocks[97]['width'] = 6;			
blocks[97]['switch'] = true;

blocks[98] = {}
blocks[98]['title'] = 'Vol. Cast HSK'
blocks[98]['width'] = 6;			
blocks[98]['switch'] = true;

/*blocks[99] = {}
blocks[99]['title'] = 'Titel Cast 1'
blocks[99]['width'] = 6;			
blocks[99]['switch'] = true;

blocks[100] = {}
blocks[100]['title'] = 'HSK Bron:'
blocks[100]['width'] = 6;			
blocks[100]['switch'] = true;
			
blocks[101] = {}
blocks[101]['title'] = 'Cast SLK'
blocks[101]['width'] = 6;			
blocks[101]['switch'] = true;

blocks[102] = {}
blocks[102]['title'] = 'Vol. Cast SLK'
blocks[102]['width'] = 6;			
blocks[102]['switch'] = true;

blocks[103] = {}
blocks[103]['title'] = 'Titel Cast 2'
blocks[103]['width'] = 6;			
blocks[103]['switch'] = true;

blocks[104] = {}
blocks[104]['title'] = 'SLK Bron:'
blocks[104]['width'] = 6;			
blocks[104]['switch'] = true;

blocks[105] = {}
blocks[105]['title'] = 'Mini HSK'
blocks[105]['width'] = 6;			
blocks[105]['switch'] = true;

blocks[106] = {}
blocks[106]['title'] = 'Vol. Mini HSK'
blocks[106]['width'] = 6;			
blocks[106]['switch'] = true;

blocks[107] = {}
blocks[107]['title'] = 'Titel Home 1'
blocks[107]['width'] = 6;			
blocks[107]['switch'] = true;

blocks[108] = {}
blocks[108]['title'] = 'Bron:'
blocks[108]['width'] = 6;			
blocks[108]['switch'] = true;

blocks[109] = {}
//blocks[108]['title'] = 'Bron:'
blocks[109]['width'] = 6;			
blocks[109]['switch'] = true;

blocks[110] = {}
//blocks[108]['title'] = 'Bron:'
blocks[110]['width'] = 6;			
blocks[110]['switch'] = true;

blocks[111] = {}
//blocks[108]['title'] = 'Bron:'
blocks[111]['width'] = 6;			
blocks[111]['switch'] = true;
				
blocks[112] = {}
//blocks[108]['title'] = 'Bron:'
blocks[112]['width'] = 6;			
blocks[112]['switch'] = true;*/
				
/*// meteo alarm
blocks[122] = {} //vandaag
blocks[122]['width'] = 12;			
blocks[123] = {} //morgen
blocks[123]['width'] = 12;			

//TOON - Rooted
blocks[125] = {}
blocks[125]['title'] = 'Toon Info';
blocks[125]['switch'] = true;
blocks[125]['width'] = 12;

blocks[126] = {}
blocks[126]['title'] = 'Autoprog';
blocks[126]['switch'] = true;
blocks[126]['width'] = 6;

blocks[127] = {}
blocks[127]['title'] = 'Toon Scenes';
blocks[127]['switch'] = true;
blocks[127]['width'] = 12;

blocks[128] = {}
blocks[128]['title'] = 'Ketelstand';
blocks[128]['switch'] = true;
blocks[128]['width'] = 6;

blocks[129] = {}
blocks[129]['title'] = 'Toon Prog';
blocks[129]['width'] = 6;

blocks[130] = {}
blocks[130]['title'] = 'Boiler UIT';
blocks[130]['switch'] = true;
blocks[130]['width'] = 6;

blocks[131] = {}
blocks[131]['switch'] = true;
blocks[131]['title'] = 'Boiler IN';
blocks[131]['width'] = 6;
*/
// P1 Elektra
	// 	KWh verbruik actueel
		blocks['115_1'] = {}
		blocks['115_1']['title'] = 'Energie Actueel';
		blocks['115_1']['width'] = 6;
		blocks['115_1']['switch'] = true; 
	//	Verbruik KWh Vandaag
		blocks['115_2'] = {}
		blocks['115_2']['title'] = 'Energie vandaag';
		blocks['115_2']['width'] = 6;
		blocks['115_2']['switch'] = true; 
	//	Totale KWh verbruik	
		blocks['115_3'] = {}
		blocks['115_3']['title'] = 'Energie Totaal';
		blocks['115_3']['width'] = 6;
		blocks['115_3']['switch'] = true;
		//blocks['115_3']['image'] = 'current48.png'; 

// P1 GAS
	//	Gas meter verbruik vandaag
		blocks['117_1'] = {}
		blocks['117_1']['width'] = 6;
		blocks['117_1']['title'] = 'Gas Vandaag';
		blocks['117_1']['switch'] = true;
	//	blocks['116_1']['image'] = 'gas48.png'; 
	// 	Gasmeter verbruik totaal
		blocks['117_2'] = {}
		blocks['117_2']['width'] =  6;
		blocks['117_2']['title'] = 'Gas Totaal';
		blocks['117_2']['switch'] = true; 

/*		
blocks[134] = {}
blocks[134]['title'] = 'Thermostaat';
blocks[134]['switch'] = true;
blocks[134]['width'] = 12;

blocks[135] = {}
blocks[135]['switch'] = true;
blocks[135]['title'] = 'Keteldruk';
blocks[135]['width'] = 6;

blocks[136] = {}
blocks[136]['switch'] = true;
blocks[136]['title'] = 'Mod. Lvl';
blocks[136]['width'] = 6;
	
*/

// Hier worden de kolommen voor op het scherm gemaakt
var columns = {}
	columns['bar'] = {}
	columns['bar']['blocks'] = ['logo','miniclock','settings']

// Sidebar
	columns[0] = {}
	columns[0]['blocks'] = ['sunrise',44,12,30,26,24,buttons.home,buttons.Toon,buttons.energie,buttons.bedien,buttons.Agenda,buttons.Overig]
	columns[0]['width'] = 2; 

//screen 1
	columns[1] = {}
	columns[1]['blocks'] = [buttons.moon,frames.artwork] 
	columns[1]['width'] = 3;

	columns[2] = {}
	columns[2]['blocks'] = ['blocktitle_2','garbage','news']
	columns[2]['width'] = 3; 

	columns[3] = {}
	columns[3]['blocks'] = [frames.weather,60,62,9,38,'21_1','16_1','33_1','47_1','47_2','47_3',48,49,50,'51_1',78]
	columns[3]['width'] = 4; 

//screen 2
	columns[5] = {}
	columns[5]['width'] = 3;
	columns[5]['blocks'] = ['blocktitle_3','115_1','115_2','115_3','117_1','117_2',118,119]

	columns[6] = {}
	columns[6]['blocks']=[]
	columns[6]['width'] = 3; // graph_132
	
	columns[7] = {}
	columns[7]['blocks'] = [] //graph_117
	columns[7]['width'] = 4;

//screen 3
	columns[8] = {}
	columns[8]['blocks'] = ['blocktitle_4',15] 
	columns[8]['width'] = 3;

	columns[9] = {}
	columns[9]['blocks'] = ['blocktitle_2','news']
	columns[9]['width'] = 3;

	columns[10] = {}
	columns[10]['blocks'] = ['blocktitle_10']
	columns[10]['width'] = 4;

//screen 4
	columns[11] = {}
	columns[11]['blocks'] = ['blocktitle_11',] 
	columns[11]['width'] = 5;

	columns[12] = {}
	columns[12]['blocks'] = ['blocktitle_12']
	columns[12]['width'] = 5;

//screen 5
	columns[13] = {}
	columns[13]['blocks'] = ['blocktitle_13',calendars.combined] 
	columns[13]['width'] = 5;

	columns[14] = {}
	columns[14]['blocks'] = ['blocktitle_14','garbage']
	columns[14]['width'] = 5;

//screen 6

	columns[15] = {}
	columns[15]['blocks'] = ['blocktitle_13','traffic','train'] 
	columns[15]['width'] = 5;

	columns[16] = {}
	columns[16]['blocks'] = ['blocktitle_14',97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112]
	columns[16]['width'] = 5;

//Standby modus configuratie
/*var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock']
columns_standby[1]['width'] = 12;*/

//Hier worden de verschillende schermen gemaakt welke je kunt swipen
var screens = {}
	screens['default'] = {}
	screens['default']['maxwidth'] = 1920;
	screens['default']['maxheight'] = 1080;

	screens['default'][1] = {}
	screens['default'][1]['background'] = 'background.jpg';
	screens['default'][1]['columns'] = [1,2,3,0]

	screens['default'][2] = {}
	screens['default'][2]['background'] = 'background.jpg';
	screens['default'][2]['columns'] = [5,6,7,0]

	screens['default'][3] = {}
	screens['default'][3]['background'] = 'background.jpg';
	screens['default'][3]['columns'] = [8,9,10,0]
	
	screens['default'][4] = {}
	screens['default'][4]['background'] = 'background.jpg';
	screens['default'][4]['columns'] = [11,12,0]
	
	screens['default'][5] = {}
	screens['default'][5]['background'] = 'background.jpg';
	screens['default'][5]['columns'] = [13,14,0]
	
	screens['default'][6] = {}
	screens['default'][6]['background'] = 'background.jpg';
	screens['default'][6]['columns'] = [15,16,0];
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Beta 2.5.1

Post by Lokonli »

What is the problem?
No news update? other problems?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Beta 2.5.1

Post by EdwinK »

No news updates.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Beta 2.5.1

Post by Lokonli »

EdwinK wrote: Friday 14 December 2018 16:42 No news updates.
Does it work if you reenable:
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/'

(don't forget the slash at the end')
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Beta 2.5.1

Post by EdwinK »

At least the icon of the news is gone.
I got the 'rss feed is ok: check rss url' (or something).

Going to check this later on today.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Beta 2.5.1

Post by EdwinK »

Last problem fixed by using the correct RSS feed ;) www.nu.nl/rss/Algemeen instead of just www.nu.nl ;)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Beta 2.5.1

Post by jake »

Thanks for 2.5.1

The addition of the local PHP CORS proxy is very helpful in speeding the process up. I used to see quite some delays or temporarily even no loading at all of elements that depended on the proxy.
The behaviour when swiping from page to page is also improved a lot!
User avatar
PetervandePol
Posts: 23
Joined: Wednesday 09 January 2019 11:24
Target OS: Linux
Domoticz version:
Location: Scherpenzeel, GLD, NL
Contact:

Re: Dashticz - Beta 2.5.1

Post by PetervandePol »

Reading this with great interest. I also do not get anything from Domoticz. However: If I enable "Screen > go to edit mode" on Dashticz I can see some of my switches, but only the ones NOT on the Domoticz dashboard. If I pull them into the dashticz dashboard and hit "save" dashticz reloads and nothing has changed. CONFIG.js has not changed either.

Some findings/thoughts:

Dashtics is installed as the user you are logged in as. In my case this was "pi". Apache can not write to files owned by "pi" so to make CONFIG.js writable by Apache I did a chmod 666 on CONFIG.js, now changes I made are written to the file.

In my Apache log I see that Apache is also Permission denied on /dashticz/js/savesettings.php

Surely here are some rights issues going on. What is the solution? chown the whole dashticz directory apache.apache? I do not want to chmod 777 the whole shebang...

Anyone?
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Beta 2.5.1

Post by Lokonli »

PetervandePol wrote: Friday 11 January 2019 16:05 Reading this with great interest. I also do not get anything from Domoticz. However: If I enable "Screen > go to edit mode" on Dashticz I can see some of my switches, but only the ones NOT on the Domoticz dashboard. If I pull them into the dashticz dashboard and hit "save" dashticz reloads and nothing has changed. CONFIG.js has not changed either.

Some findings/thoughts:

Dashtics is installed as the user you are logged in as. In my case this was "pi". Apache can not write to files owned by "pi" so to make CONFIG.js writable by Apache I did a chmod 666 on CONFIG.js, now changes I made are written to the file.

In my Apache log I see that Apache is also Permission denied on /dashticz/js/savesettings.php

Surely here are some rights issues going on. What is the solution? chown the whole dashticz directory apache.apache? I do not want to chmod 777 the whole shebang...

Anyone?
The edit-mode in Dashticz is not really working.
However, saving settings from Dashticz to CONFIG.js should work.
I expect it's sufficient when root has read-permission for savesettings.php, and write permission for CONFIG.js

What worked for me:
chmod -R a+rX /home/pi/domoticz/www/dashticz_v2/*
(adapt to your own dashticz location of course)
User avatar
PetervandePol
Posts: 23
Joined: Wednesday 09 January 2019 11:24
Target OS: Linux
Domoticz version:
Location: Scherpenzeel, GLD, NL
Contact:

Re: Dashticz - Beta 2.5.1

Post by PetervandePol »

Lokonli wrote: Thursday 17 January 2019 0:17
PetervandePol wrote: Friday 11 January 2019 16:05 Reading this with great interest. I also do not get anything from Domoticz. However: If I enable "Screen > go to edit mode" on Dashticz I can see some of my switches, but only the ones NOT on the Domoticz dashboard. If I pull them into the dashticz dashboard and hit "save" dashticz reloads and nothing has changed. CONFIG.js has not changed either.

Some findings/thoughts:

Dashtics is installed as the user you are logged in as. In my case this was "pi". Apache can not write to files owned by "pi" so to make CONFIG.js writable by Apache I did a chmod 666 on CONFIG.js, now changes I made are written to the file.

In my Apache log I see that Apache is also Permission denied on /dashticz/js/savesettings.php

Surely here are some rights issues going on. What is the solution? chown the whole dashticz directory apache.apache? I do not want to chmod 777 the whole shebang...

Anyone?
The edit-mode in Dashticz is not really working.
However, saving settings from Dashticz to CONFIG.js should work.
I expect it's sufficient when root has read-permission for savesettings.php, and write permission for CONFIG.js

What worked for me:
chmod -R a+rX /home/pi/domoticz/www/dashticz_v2/*
(adapt to your own dashticz location of course)
thanks! One more question: I have put dashticz outside the www dir of domoticz (at /opt/domoticz/dashticz) I suppose this is all right?
User avatar
PetervandePol
Posts: 23
Joined: Wednesday 09 January 2019 11:24
Target OS: Linux
Domoticz version:
Location: Scherpenzeel, GLD, NL
Contact:

Re: Dashticz - Beta 2.5.1

Post by PetervandePol »

On second thought: root has all rights anyhow....
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Beta 2.5.1

Post by Lokonli »

PetervandePol wrote: Thursday 17 January 2019 9:16
Lokonli wrote: Thursday 17 January 2019 0:17
PetervandePol wrote: Friday 11 January 2019 16:05 Reading this with great interest. I also do not get anything from Domoticz. However: If I enable "Screen > go to edit mode" on Dashticz I can see some of my switches, but only the ones NOT on the Domoticz dashboard. If I pull them into the dashticz dashboard and hit "save" dashticz reloads and nothing has changed. CONFIG.js has not changed either.

Some findings/thoughts:

Dashtics is installed as the user you are logged in as. In my case this was "pi". Apache can not write to files owned by "pi" so to make CONFIG.js writable by Apache I did a chmod 666 on CONFIG.js, now changes I made are written to the file.

In my Apache log I see that Apache is also Permission denied on /dashticz/js/savesettings.php

Surely here are some rights issues going on. What is the solution? chown the whole dashticz directory apache.apache? I do not want to chmod 777 the whole shebang...

Anyone?
The edit-mode in Dashticz is not really working.
However, saving settings from Dashticz to CONFIG.js should work.
I expect it's sufficient when root has read-permission for savesettings.php, and write permission for CONFIG.js

What worked for me:
chmod -R a+rX /home/pi/domoticz/www/dashticz_v2/*
(adapt to your own dashticz location of course)
thanks! One more question: I have put dashticz outside the www dir of domoticz (at /opt/domoticz/dashticz) I suppose this is all right?
yes, no problem.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest