lukbe

Dashticz CONFIG.js

Mar 17th, 2018
1,337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. var config = {}
  2. config['domoticz_ip'] = 'http://192.168.1.11:8080'; // IP adresa domoticz
  3. config['app_title'] = 'Dashticz';
  4. config['domoticz_refresh'] = '5';
  5. config['dashticz_refresh'] = '60';
  6. config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
  7. config['news_scroll_after'] = '7';
  8. config['standby_after'] = 0;
  9. config['auto_swipe_back_to'] = 1;
  10. config['auto_swipe_back_after'] = '10';
  11. config['auto_slide_pages'] = 0;
  12. config['slide_effect'] = 'slide';
  13. config['standard_graph'] = 'hours';
  14. config['language'] = 'cs_CZ';
  15. config['timeformat'] = 'DD-MM-YY HH:mm';
  16. config['calendarformat'] = 'dd DD.MM HH:mm';
  17. config['calendarlanguage'] = 'en_US';
  18. config['calendarurl'] = 0;
  19. config['boss_stationclock'] = 'RedBoss';
  20. config['gm_api'] = 0;
  21. config['gm_zoomlevel'] = 0;
  22. config['gm_latitude'] = 0;
  23. config['gm_longitude'] = 0;
  24. config['wu_api'] = 'vase_api'; // zde vase api na weather underground
  25. config['wu_city'] = 'Budweis';
  26. config['wu_name'] = 'Pocasi';
  27. config['wu_country'] = 'CZ';
  28. config['idx_moonpicture'] = 1;
  29. config['switch_horizon'] = 0;
  30. config['host_nzbget'] = 0;
  31. config['spot_clientid'] = 0;
  32. config['garbage_company'] = 0;
  33. config['garbage_icalurl'] = 0;
  34. config['garbage_zipcode'] = 0;
  35. config['garbage_street'] = 0;
  36. config['garbage_housenumber'] = 0;
  37. config['garbage_maxitems'] = 0;
  38. config['garbage_width'] = 0;
  39. config['selector_instead_of_buttons'] = 0;
  40. config['auto_positioning'] = 0;
  41. config['use_favorites'] = 1;
  42. config['last_update'] = 1;
  43. config['hide_topbar'] = 0;
  44. config['hide_seconds'] = 0;
  45. config['hide_seconds_stationclock'] = 0;
  46. config['use_fahrenheit'] = 0;
  47. config['use_beaufort'] = 0;
  48. config['translate_windspeed'] = 1;
  49. config['static_weathericons'] = 0;
  50. config['hide_mediaplayer'] = 0;
  51. config['garbage_hideicon'] = 0;
  52.  
  53. var _IDXmoonpicture = 1;
  54. var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
  55.  
  56. var buttons={}
  57. buttons.moon = {width:12, isimage:true, refreshimage:60000, image: 'moon'}
  58.  
  59. var blocks={}
  60.  
  61. blocks['news_1'] = {};
  62. blocks['news_1']['feed'] = 'https://cors-anywhere.herokuapp.com/http://tn.nova.cz/rss'; // nastaveni RSS
  63. /*
  64. blocks['news_1']['maxheight'] = 113;
  65. */
  66.  
  67. var columns = {}
  68. columns['bar'] = {}
  69. columns['bar']['blocks'] = ['logo','miniclock','settings']
  70.  
  71.  
  72. columns[1] = {}
  73. columns[1]['blocks'] = ['currentweather_big','weather',6,4,3,1] // 6,4,3,1 = idx zarizeni v domoticz
  74. columns[1]['width'] = 5;
  75.  
  76. columns[2]={}
  77. columns[2]['blocks']=[5,'news_1']
  78. columns[2]['width']=5;
  79.  
  80. columns[3] = {}
  81. columns[3]['blocks'] = ['sunrise',buttons.moon,buttons.buienradar]
  82. columns[3]['width'] = 2;
  83.  
  84. var columns_standby = {}
  85. columns_standby[1] = {}
  86. columns_standby[1]['blocks'] = ['clock','weather']
  87. columns_standby[1]['width'] = 12;
Advertisement
Add Comment
Please, Sign In to add comment