I have created a simple interface, that i'm nearly happy with.
I have several issues i'm trying to address though
1, I would like a 2nd maybe 3rd tab that I can swipe across to, I have seen the reference to it (enable_swiper), but no idea how to go about creating multiple pages
2, The attached image shows the 2 problems I would like to address. I have a URL link to a shopping list site, but the text is small on the Ipad
so I have made 2 entries to give an better chance of getting it when you tap, there must be a better way to increase the size.
3, I have tried adding with no success a Hikvision camera to the bottom left, but all I get is errors and Dashticz wont load, I know the URL certainly for Snapshot as I use it in Domoticz, for several cameras
4, I believe i'm using the latest beta but tbh i'm not 100% sure, I re-installed Friday onto a Pi4.
5, Lastly at the moment, I wanted to add a device turned on / turned off voice when Domoticz idx 298 switches on/off this is our boiler
Here is my Config
Code: Select all
var config = {}
config['language'] = 'en_US'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SV
config['domoticz_ip'] = 'http://192.168.xxx.xxx:xxx';
config['domoticz_refresh'] = '1';
config['dashticz_refresh'] = '5';
config['use_favorites'] = 1; //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 0; // Use 0 this if you have defined your own columns
//Configuring the OWM parameters
config['owm_api'] = 'Working API';
config['owm_city'] = 'My home';
config['owm_name'] = '';
config['owm_country'] = 'uk';
config['owm_lang'] = 'en_US';
config['owm_cnt'] = '7';
config['owm_min'] = true;
config['owm_days'] = true;
blocks[313,336,58,298]= {
width:8
}
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":4,"name":"U2 Radio Station","file":"http://prod-chrome80-player-popup.s3.eu-central-1.amazonaws.com/popup_player_v1.html?station=u2&tenant=radio.net"},
]; //not working as no in right format
var buttons = {}
buttons.Shopping = {key: 'nunl', width:22, icon: 'fa-newspaper-o', title: 'SHOPPING LIST', newwindow:true, url: 'http://listmoz.com#zYj31GjbVWcjfZb7FJ '}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
columns[1] = {}
columns[1]['blocks'] = [336,58,313,298,buttons.Shopping,buttons.Shopping]
columns[1]['width'] = 7;
columns[2] = {}
columns[2]['blocks'] = []
columns[2]['width'] = 1;
columns[3] = {}
columns[3]['blocks'] = ['stationclock','streamplayer','currentweather_big_owm','weather_owm']
columns[3]['width'] = 5;
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['miniclock','weather']
columns_standby[1]['width'] = 14;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'maldives.jpg';
screens[1]['columns'] = [1,2,3]
//Adding OWM to a column
//columns[3] = {}
//columns[3]['blocks'] = ['currentweather_big_owm','weather_owm']
//columns[3]['width'] = 3;
Many many thanks inadvance