theo_redelijkheid

Dashticz- Out of the box

Oct 7th, 2018
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var _EDIT_MODE = false;
  2.  
  3. var config = {};
  4. config['domoticz_ip'] = 'http://192.168.1.222:8099';
  5. config['app_title'] = 'Theo_v2';
  6. config['domoticz_refresh'] = '5';
  7. config['dashticz_refresh'] = '60';
  8. config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
  9. config['news_scroll_after'] = '7';
  10. config['standby_after'] = 0;
  11. config['auto_swipe_back_to'] = 1;
  12. config['auto_swipe_back_after'] = '10';
  13. config['auto_slide_pages'] = 0;
  14. config['slide_effect'] = 'slide';
  15. config['standard_graph'] = 'month';
  16. config['language'] = 'nl_NL';
  17. config['timeformat'] = 'DD-MM-YY HH:mm';
  18. config['calendarformat'] = 'dd DD.MM HH:mm';
  19. config['calendarlanguage'] = 'nl_NL';
  20. config['calendarurl'] = 0;
  21. config['boss_stationclock'] = 'RedBoss';
  22. config['gm_api'] = '****';
  23. config['gm_zoomlevel'] = 0;
  24. config['gm_latitude'] = *****;
  25. config['gm_longitude'] = *****;
  26. config['wu_api'] = '*****';
  27. config['wu_city'] = '*****';
  28. config['wu_name'] = 0;
  29. config['wu_country'] = 'NL';
  30. config['idx_moonpicture'] = 0;
  31. config['switch_horizon'] = 0;
  32. config['spot_clientid'] = '*****';
  33. config['selector_instead_of_buttons'] = 0;
  34. config['auto_positioning'] = 1;
  35. config['use_favorites'] = 1;
  36. config['last_update'] = 1;
  37. config['hide_topbar'] = 0;
  38. config['hide_seconds'] = 0;
  39. config['hide_seconds_stationclock'] = 0;
  40. config['use_fahrenheit'] = 0;
  41. config['use_beaufort'] = 0;
  42. config['translate_windspeed'] = 1;
  43. config['static_weathericons'] = 1;
  44. config['hide_mediaplayer'] = 0;
  45. config['garbage_company'] = '*****';
  46. config['garbage_zipcode'] = '*****';
  47. config['garbage_street'] = '*****';
  48. config['garbage_housenumber'] = '4';
  49. config['garbage_maxitems'] = '5';
  50. config['garbage_width'] = '5';
  51. config['garbage_hideicon'] = 0;
  52.  
  53. var trashnames = {}
  54. trashnames['Gft'] = 'GFT';
  55. trashnames['Pmd'] = 'Plastic';
  56.  
  57. var publictransport = {}
  58. publictransport.ovinfobus= { show_via: false, station: '*****', provider: '9292-bus', icon: 'bus', width:5, results: 6 }
  59.  
  60. var tvguide = {}
  61. tvguide.dutch = { key:'dutch', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }
  62.  
  63. var calendars = {}
  64. calendars.private = { key:'private', width:6, maxitems: 4, icalurl: '*****'}
  65.  
  66. var maps = {}
  67. maps.sliedrecht = { key:'*****', height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: *****, longitude: ******, zoom:10 }
  68.  
  69. var buttons = {}
  70. buttons.buienradar = { key: 'buienradar', width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/*****/4057938'}
  71. buttons.tweakers = {key: 'tweakers',  width:12, icon: 'fa-newspaper-o', title: 'Tweakers', url: 'https://www.tweakers.net'}
  72. buttons.nunl = {key: 'nunl',  width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
  73. buttons.nos = {key: 'nos',  width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}
  74. buttons.domoticz = {key:'log', width:12, icon:'fa-microchip', title: 'Domoticz Log', log:true, level: 2}
  75.  
  76. var blocks = {}
  77. blocks['news_1'] = {}
  78. blocks['news_1']['feed'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/Algemeen';
  79. blocks['news_1']['maxheight'] = 113;
  80.  
  81. blocks['news_2'] = {}
  82. blocks['news_2']['feed'] = 'https://cors-anywhere.herokuapp.com/http://feeds.feedburner.com/tweakers/nieuws';
  83. blocks['news_2']['maxheight'] = 113;
  84.  
  85. var columns = {}
  86.  
  87. columns['bar'] = {}
  88. columns['bar']['blocks'] = ['logo','miniclock','settings']
  89.                    
  90. columns[2] = {}
  91. columns[2]['blocks'] = ['currentweather_big','weather',174,145,284,286,287,'150_1','150_2','151_1',5,97,301,302,324',calendars.private,publictransport.ovinfobus,tvguide.dutch]
  92. columns[2]['width'] = 5;
  93.  
  94. columns[4] = {}
  95. columns[4]['blocks'] = [buttons.buienradar,'sunrise',',buttons.nos,buttons.tweakers,buttons.nunl']
  96. columns[4]['width'] = 2;
  97.  
  98. columns[5] = {}
  99. columns[5]['blocks'] = [buttons.domoticz,'sunrise']
  100. columns[5]['width'] = 2;
  101.  
  102. columns[7] = {}
  103. columns[7]['blocks'] = ['log','news_1','news_2']
  104. columns[7]['width'] = 5;
  105.  
  106. var columns_standby = {}
  107. columns_standby[1] = {}
  108. columns_standby[1]['blocks'] = ['clock','currentweather_big','weather']
  109. columns_standby[1]['width'] = 12;
  110.  
  111. var screens = {}
  112. screens['default'] = {}
  113. screens['default']['maxwidth'] = 1920;
  114. screens['default']['maxheight'] = 1080;
  115.  
  116. screens['default'][1] = {}
  117. screens['default'][1]['background'] = 'bg9.jpg';
  118. screens['default'][1]['columns'] = [1,2,4]
  119.  
  120. screens['default'][2] = {}
  121. screens['default'][2]['background'] = 'bg9.jpg';
  122. screens['default'][2]['columns'] = [5,6,7]
  123.  
  124. screens['default'][3] = {}
  125. screens['default'][3]['background'] = 'bg9.jpg';
  126. screens['default'][3]['columns'] = [5,6,7]
  127.  
  128. screens['default'][4] = {}
  129. screens['default'][4]['background'] = 'bg9.jpg';
  130. screens['default'][4]['columns'] = [5,6,7]
  131.  
  132. screens['tablet'] = {}
  133. screens['tablet']['maxwidth'] = 1024;
  134. screens['tablet']['maxheight'] = 768;
  135. screens['tablet'][1] = {}
  136. screens['tablet'][1]['background'] = 'bg9.jpg';
  137. screens['tablet'][1]['columns'] = [1]
  138.  
  139. screens['tablet'][2] = {}
  140. screens['tablet'][2]['background'] = 'bg9.jpg';
  141. screens['tablet'][2]['columns'] = [2]
Advertisement
Add Comment
Please, Sign In to add comment