trouble with lightbulbs from domoticz

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
piraterob77
Posts: 2
Joined: Friday 06 September 2019 23:28
Target OS: -
Domoticz version:
Contact:

trouble with lightbulbs from domoticz

Post by piraterob77 »

i am confused. A few switches are working but most of the domoticz items are not visible in dashticz. I have turned favorites on and off, switched to the custom config.js with no success. In all the cases I see only a few darksky temperature, but no lightbulbs or ping statusses. What can I change to get the lightbulbs back in Dashticz.....

I have not changed the custom.js. I use the beta v3 from dashticz. Hopefully someone can help

Code: Select all

var config = {}
config['language'] = 'nl_NL';[img][*][/img]
config['domoticz_ip'] = 'http://xxx.xxx.xxx.xxx:8085';
config['user_name'] = 'Rob';
config['pass_word'] = 'xxx';
config['app_title'] = 'xxx';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['spot_clientid'] = 'xxx';
config['use_favorites'] = 1;  //Request all Domoticz Devices, not only favorites
config['calendarlanguage'] = 'nl_NL';
config['owm_api'] = 'xxxx'
config['owm_city'] = 'Winschoten'
config['owm_country'] = 'nl'
config['owm_lang'] = 'nl'
config['owm_days'] = 'true'
config['last_update'] = 'false'
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = 0;
config['google_api_key'] = 0;
config['garbage_calendar_id'] = 0;
config['garbage_zipcode'] = 'xxx';
config['garbage_street'] = 'xxx';
config['garbage_housenumber'] = 'xxx';
config['garbage_housenumberadd'] = 0;
config['garbage_maxitems'] = '3';
config['garbage_width'] = '9';

//Definition of blocks

var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/', icalurl: 'https://calendar.google.com/calendar/ical/xxx/public/basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ical/xxx/private-xxx/basic.ics' }
calendars.f1 = {
  maxitems: 6,
  url: 'https://www.f1calendar.com/#!/timezone/Europe-Amsterdam',
  icalurl: 'http://www.f1calendar.com/download/f1-calendar_q_gp_alarm-20.ics'
}
var publictransport = {}
publictransport.ovinfo= {
  station: 'station-winschoten',
  title:'Winschoten',
  show_lastupdate:false,
  provider: '9292',
  show_via: true,
  icon: 'train',
  results: 5
};

var buttons = {}
buttons.buienradar = {
        width:12, isimage:true, refreshimage:300000,
        image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=360&h=300',
        url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=53.1506&lng=7.03095&overname=2&zoom=8&naam=9675CN&size=3&voor=1',
        framewidth:580, frameheight: 520
    };

frames.buienrader = {
   frameurl: 'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.3578&lng=6.17428&overname=2&zoom=8&naam=5912TN&size=3&voor=1'
};

buttons.webcam1 = {width:12, isimage:true, refreshimage: 10000, refreshurl: 10000, image: 'http://192.168.178.58:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=Rob&pwd=pr0v1nc13&t=', url: 'http://192.168.178.58:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=Rob&pwd=pr0v1nc13t='};
buttons.webcam2 = {width:12, isimage:true, refresh:10000, image: 'http://192.168.0.31:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t=', url: 'http://192.168.0.31:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t='}


//Definition of columns
columns = {}
columns[1] = {
  blocks : ['currentweather_big_owm','weather_owm', 'garbage', 'spotify'],
  width: 3
}
columns[2] = {
  blocks : [2,18,21,22,23,24,31,32,63,70,71,72,73,74],
  width: 6
}

columns[3] = {}
columns[3]['width'] = 2;
columns[3]['blocks'] = ['sunrise', calendars.business,calendars.private,calendars.f1]

columns[4] = {}
columns[4]['width'] = 2;
columns[4]['blocks'] = [calendars.f1, 'garbage',76,'77',69,'68', 'buttons.webcam1', 'buttons.buienradar']



//Definition of screens
screens = {}
screens[1] = {
  columns: [1, 2, 3]
}

screens[2] = {
   columns: [4]
}

User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: trouble with lightbulbs from domoticz

Post by HansieNL »

Spoiler: show
piraterob77 wrote: Friday 06 September 2019 23:51 i am confused. A few switches are working but most of the domoticz items are not visible in dashticz. I have turned favorites on and off, switched to the custom config.js with no success. In all the cases I see only a few darksky temperature, but no lightbulbs or ping statusses. What can I change to get the lightbulbs back in Dashticz.....

I have not changed the custom.js. I use the beta v3 from dashticz. Hopefully someone can help

Code: Select all

var config = {}
config['language'] = 'nl_NL';[img][*][/img]
config['domoticz_ip'] = 'http://xxx.xxx.xxx.xxx:8085';
config['user_name'] = 'Rob';
config['pass_word'] = 'xxx';
config['app_title'] = 'xxx';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['spot_clientid'] = 'xxx';
config['use_favorites'] = 1;  //Request all Domoticz Devices, not only favorites
config['calendarlanguage'] = 'nl_NL';
config['owm_api'] = 'xxxx'
config['owm_city'] = 'Winschoten'
config['owm_country'] = 'nl'
config['owm_lang'] = 'nl'
config['owm_days'] = 'true'
config['last_update'] = 'false'
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = 0;
config['google_api_key'] = 0;
config['garbage_calendar_id'] = 0;
config['garbage_zipcode'] = 'xxx';
config['garbage_street'] = 'xxx';
config['garbage_housenumber'] = 'xxx';
config['garbage_housenumberadd'] = 0;
config['garbage_maxitems'] = '3';
config['garbage_width'] = '9';

//Definition of blocks

var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/', icalurl: 'https://calendar.google.com/calendar/ical/xxx/public/basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ical/xxx/private-xxx/basic.ics' }
calendars.f1 = {
  maxitems: 6,
  url: 'https://www.f1calendar.com/#!/timezone/Europe-Amsterdam',
  icalurl: 'http://www.f1calendar.com/download/f1-calendar_q_gp_alarm-20.ics'
}
var publictransport = {}
publictransport.ovinfo= {
  station: 'station-winschoten',
  title:'Winschoten',
  show_lastupdate:false,
  provider: '9292',
  show_via: true,
  icon: 'train',
  results: 5
};

var buttons = {}
buttons.buienradar = {
        width:12, isimage:true, refreshimage:300000,
        image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=360&h=300',
        url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=53.1506&lng=7.03095&overname=2&zoom=8&naam=9675CN&size=3&voor=1',
        framewidth:580, frameheight: 520
    };

frames.buienrader = {
   frameurl: 'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.3578&lng=6.17428&overname=2&zoom=8&naam=5912TN&size=3&voor=1'
};

buttons.webcam1 = {width:12, isimage:true, refreshimage: 10000, refreshurl: 10000, image: 'http://192.168.178.58:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=Rob&pwd=pr0v1nc13&t=', url: 'http://192.168.178.58:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=Rob&pwd=pr0v1nc13t='};
buttons.webcam2 = {width:12, isimage:true, refresh:10000, image: 'http://192.168.0.31:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t=', url: 'http://192.168.0.31:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx&t='}


//Definition of columns
columns = {}
columns[1] = {
  blocks : ['currentweather_big_owm','weather_owm', 'garbage', 'spotify'],
  width: 3
}
columns[2] = {
  blocks : [2,18,21,22,23,24,31,32,63,70,71,72,73,74],
  width: 6
}

columns[3] = {}
columns[3]['width'] = 2;
columns[3]['blocks'] = ['sunrise', calendars.business,calendars.private,calendars.f1]

columns[4] = {}
columns[4]['width'] = 2;
columns[4]['blocks'] = [calendars.f1, 'garbage',76,'77',69,'68', 'buttons.webcam1', 'buttons.buienradar']



//Definition of screens
screens = {}
screens[1] = {
  columns: [1, 2, 3]
}

screens[2] = {
   columns: [4]
}

Can you try:

Code: Select all

config['auto_positioning'] = 0;
config['use_favorites'] = 0;
For full explanation of config parameters see: https://dashticz.readthedocs.io/en/beta ... parameters
Blah blah blah
piraterob77
Posts: 2
Joined: Friday 06 September 2019 23:28
Target OS: -
Domoticz version:
Contact:

Re: trouble with lightbulbs from domoticz

Post by piraterob77 »

Hi @HansieNL,

thanks that did the trick! now on with more configuring!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest