New user - no devices shown

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
Rolandet
Posts: 95
Joined: Thursday 31 January 2019 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

New user - no devices shown

Post by Rolandet »

Hi all,

I thought I'd try my luck and install Dashticz

Sofar I have the screen setup, and enabled the standard entries (bus departures, radio stations, tv programms)

At first I got the well known error that Domoticz wasn't found, but i've managed to work that out.

However.........I don't see any of my Domoticz devices :(

Here's my config

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.178.20:8080';
config['user_name'] = '**********';
config['pass_word'] = '***********';
config['app_title'] = 'Dashticz V3 Roland';
config['room_plan'] = 0;
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['default_cors_url'] = 0;
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = 0;
config['standby_call_url_on_end'] = 0;
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = 0;
config['start_page'] = 1;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '9';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['blink_color'] = '255, 255, 255, 1';
config['language'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 0;
config['gm_zoomlevel'] = 0;
config['gm_latitude'] = 0;
config['gm_longitude'] = 0;
config['speak_lang'] = 'en-US';
config['wu_api'] = 0;
config['wu_city'] = 'Amsterdam';
config['wu_name'] = 0;
config['wu_country'] = 'NL';
config['owm_api'] = 0;
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = 0;
config['owm_country'] = 'de';
config['owm_lang'] = 0;
config['owm_cnt'] = '4';
config['idx_moonpicture'] = 0;
config['longfonds_zipcode'] = 0;
config['longfonds_housenumber'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 0;
config['sonarr_url'] = 0;
config['sonarr_apikey'] = 0;
config['sonarr_maxitems'] = 0;
config['garbage_company'] = 0;
config['garbage_icalurl'] = 0;
config['google_api_key'] = 0;
config['garbage_calendar_id'] = 0;
config['garbage_zipcode'] = 0;
config['garbage_street'] = 0;
config['garbage_housenumber'] = 0;
config['garbage_housenumberadd'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['setpoint_min'] = '5';
config['setpoint_max'] = '40';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['owm_days'] = 0;
config['owm_min'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;
Can anyone help me out?
Last edited by Rolandet on Saturday 28 September 2019 16:14, edited 1 time in total.
Custodes Septentrionum
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New user - no devices shown

Post by HansieNL »

If you create your own dashboard you have to change the following setting too:
config['auto_positioning'] = 0;
From the manual:
Configure the ability to define your own positioning for the buttons (in combination with config['use_favorites'])
0 Use this if you have defined your own columns
1 Default

You have also to create the columns and screens yourself.
See for documentation of latest beta: https://dashticz.readthedocs.io/en/beta ... ction.html
Blah blah blah
User avatar
Rolandet
Posts: 95
Joined: Thursday 31 January 2019 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

Re: New user - no devices shown

Post by Rolandet »

Thanks Hans,

I've added the auto position

however, I already defined blocks, columns and screens, so I'm not sure what's still to add? Maybe I'm not understand things right?

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.178.20:8080';
config['app_title'] = 'Dashticz V3 Roland';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';


config['user_name'] = 'x';
config['pass_word'] = 'x.';


//Definition of blocks
blocks = {}
blocks[120] = {
  width: 6
}
blocks[121] = {
  width: 6
}


//Definition of columns
columns = {}
columns[1] = {
      width: 4
      }
      columns[2] = {
        blocks : [120, 121],
          width: 8
             }

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

config['use_favorites'] = 0;  //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 1;
Custodes Septentrionum
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New user - no devices shown

Post by HansieNL »

Can you try:

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.178.20:8080';
config['app_title'] = 'Dashticz V3 Roland';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['use_favorites'] = 0;  //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 0;

config['user_name'] = 'x';
config['pass_word'] = 'x.';


//Definition of blocks
blocks = {}
blocks[120] = {
  width: 6
}
blocks[121] = {
  width: 6
}


//Definition of columns
columns = {}
columns[1] = {
      width: 4
      }
      columns[2] = {
        blocks : [120, 121],
          width: 8
             }

//Definition of Screens
screens = {}
screens[1] = {
          columns: [1, 2]
}
Blah blah blah
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New user - no devices shown

Post by Lokonli »

Rolandet wrote: Saturday 28 September 2019 16:18 Thanks Hans,

I've added the auto position

however, I already defined blocks, columns and screens, so I'm not sure what's still to add? Maybe I'm not understand things right?

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.178.20:8080';
config['app_title'] = 'Dashticz V3 Roland';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';


config['user_name'] = 'x';
config['pass_word'] = 'x.';


//Definition of blocks
blocks = {}
blocks[120] = {
  width: 6
}
blocks[121] = {
  width: 6
}


//Definition of columns
columns = {}
columns[1] = {
      width: 4
      }
      columns[2] = {
        blocks : [120, 121],
          width: 8
             }

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

config['use_favorites'] = 0;  //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 1;
Set auto_positioning to 0

For 120 and 121 you have to fill in your own Domoticz device id's.
User avatar
Rolandet
Posts: 95
Joined: Thursday 31 January 2019 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

Re: New user - no devices shown

Post by Rolandet »

Allrighty, put in both your suggestions:


For ID's i tried the 'IDx' and 'ID" from my DEVICES
ids.jpg
ids.jpg (70.31 KiB) Viewed 393 times

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.178.20:8080';
config['app_title'] = 'Dashticz V3 Roland';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['use_favorites'] = 0;  //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 0;


config['user_name'] = 'x';
config['pass_word'] = 'x.';


//Definition of blocks
blocks = {}
blocks[2] = {
  width: 6
}
blocks[3] = {
  width: 6
}


//Definition of columns
columns = {}
columns[1] = {
      width: 4
      }
      columns[2] = {
        blocks : [2, 3],
          width: 8
             }

//Definition of Screens
screens = {}
screens[1] = {
          columns: [1, 2]
}
No result I'm afraid.
Do I need to restart Apache or anything after these changes?
Custodes Septentrionum
User avatar
Rolandet
Posts: 95
Joined: Thursday 31 January 2019 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

Re: New user - no devices shown

Post by Rolandet »

aaah never mind. I've figured things out

The example blocks/columns etc for the radio/tv/bus table was conflicting, cause it uses the same column numbers.

So I've got my stuff running.

Thanks guys !!
Custodes Septentrionum
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New user - no devices shown

Post by HansieNL »

Good to know your problem is solved. Have fun configuring your own dashboard.
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest