Page 1 of 1

Cannot enter Dashticz from other pc in network

Posted: Sunday 28 April 2019 11:38
by JonasDHollander
Hello everybody,

I am running Dashticz on a Windows 10 Gigabyte Brix.
All works fint but i am not really a pro in configuring networks and SSL-stuff and i don't know what.

So here is the deal: my Dashticz is running and i can enter it local on
C:/Program Files (x86)/Domoticz/www/Dashticz/index.html
I can see my domoticz (local) on
http://127.0.0.1:8080/#/Dashboard

When i enter it on a laptop (wifi) in the same network i can access domoticz on http://192.168.1.46:8080/#/Dashboard (that's the ip of the Brix)
But i can't figure out how to see my Dashticz. If i go to http://192.168.1.46:8080/Dashticz i can see "Dashticz v2 is loading..." but it does not actually load.

Any thoughts?

This is my config.js

-------------


var config = {}
config['domoticz_ip'] = 'http://127.0.0.1:8080';
config['app_title'] = 'Kruisboogstraat 9';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

/* REMOVE THIS LINE, INCLUDING THIS TEXT IF YOU WANT TO USE THE CODE BELOW, ALS REMOVE THE LAST LINE OF THIS FILE ( the asterisk * with the slash)

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['key'] = 'blocktitle_1';
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Example';


var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg5.jpg';
screens[1]['columns'] = [1,2,3]
*/

Re: Cannot enter Dashticz from other pc in network

Posted: Sunday 28 April 2019 11:57
by stlaha2007
Have you tried to enter the real ip in the config, you're using a so called localhost address now.

The setup of Dashticz requires a real ip; so 127.0.0.1 should be 192.168.1.46


Regards,
Stephan

Re: Cannot enter Dashticz from other pc in network

Posted: Sunday 28 April 2019 12:20
by JonasDHollander
Hey stlaha, thanks for the quick reply!

You mean i need to create a new dashticz folder on the laptop and guide the config file to the real ip? I could try that, thanks.

But how can i make a tablet in the network control the Dashticz on the Brix? Because that would be the final goal...

Re: Cannot enter Dashticz from other pc in network

Posted: Sunday 28 April 2019 12:26
by stlaha2007
JonasDHollander wrote:Hey stlaha, thanks for the quick reply!

You mean i need to create a new dashticz folder on the laptop and guide the config file to the real ip? I could try that, thanks.

But how can i make a tablet in the network control the Dashticz on the Brix? Because that would be the final goal...
You said you can use a laptop to goto 192.168.1.46:8080 for Domoticz.

Thats the same location you use from any other device to goto Domoticz.

Dashticz is basicly the same as ay other device connecting to Domoticz.
So modify the Dashticz config.js to goto 192.168.1.46

Then access Dashticz with any device to this url: http://192.168.1.46:8080/Dashticz