Dashticz - Alternative Dashboard

ob1975
Posts: 3
Joined: Saturday 17 June 2017 18:59
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Dashticz - Alternative Dashboard

Post by ob1975 » Saturday 17 June 2017 19:57

Dear all,

After having seen the Dashticz version 2.0 main screen example, I was really eager to get this going on my installation as well. I think it looks fantastic.

Using the "git clone" command and succesfully installing the dashboard on my Pi, copying and editing the CONFIG.js to hold my IP and port, I am still not getting it to work.
Contrary to earlier posts I am not getting a white screen but a Domoticz-style black screen with a white box stating: "DOMOTICZ OFFLINE".

The normal Domoticz dashboard is still working fine, so I do not understand why this is happening. I have been looking around for a solution for this but the few posts that I did find either did not have an answer or they had one that I was unable to interpret properly.

It should be noted that I am a complete noob when it comes to Linux, Pi and Domoticz, so I apologize in advance for asking possible newbie questions ;) I am on a steep learning curve here.

Thank you for your time.

LastSamurai
Posts: 18
Joined: Wednesday 26 August 2015 1:00
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by LastSamurai » Sunday 18 June 2017 22:41

I don't know if you will read this but perhaps it helps someone else. I had the same problem with the "domoticz offline" message. The trick for me was to not open the url suggested in the guide (ip:port/nameOfDashticzFolder) but instead (ip:port/nameOfDashticzFolder/index.html). You can even ignore the index.html part but that slash is needed. I don't if this is as intended...

Also where do you configure what items are shown? I only see 10 items in the Dashticz screen but I have a lot more in my domoticz favorites.

Also the css seems to be ... not perfect (text overflowing the boxes) and I get an error message on the console:

Code: Select all

jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

sander815
Posts: 25
Joined: Friday 13 January 2017 16:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by sander815 » Monday 19 June 2017 21:00

i just installed dashticz onto my test server, with domoticz stable running
I filled in the
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://127.0.0.1:8080';

but i keep getting domoticz offline.
Also linking to my main server running domoticz i keep getting domoticz offline. What am i doing wrong?
Domoticz is of course running on both, i can see the default dashboard of domoticz

sschouten
Posts: 6
Joined: Thursday 23 April 2015 13:54
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by sschouten » Tuesday 20 June 2017 12:42

I have also the same problem that i can not open dashticz.

is see error 404 on the screen

http://10.0.0.95:8080/dashticz_V2

Code: Select all

var _LANGUAGE 				= 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ		  	= 'http://10.0.0.95:8080';
var _DOMOTICZ_REFRESH		= 5; //in seconds
var _DASHTICZ_REFRESH		= 30; //in minutes
var _THEME 					= 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
#var _HOST_ZIGGO_HORIZON	  	= ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND  	= '';
var _WEATHER_CITY 			= 'Hoofddorp';
var _WEATHER_CITYNAME 		= ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY 		= 'NL';
var _USE_AUTO_POSITIONING 	= true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES			= true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED			= 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT			= false;
var _USE_BEAUFORT 			= true; //Bft instead of m/s
var _TRANSLATE_SPEED 		= false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER 		= 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE 		= true;
var _LASTUPDATE_FORMAT 		= 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT 	= 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS			= '';
var _MAPS_LATITUDE			= '';
var _MAPS_LONGITUDE			= '';

var _AUTO_SWIPEBACK_TO		= 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME	= 10; //seconds

ArieKanarie
Posts: 34
Joined: Saturday 12 December 2015 14:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by ArieKanarie » Friday 23 June 2017 12:05


webrazor
Posts: 24
Joined: Monday 09 November 2015 10:33
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Alternative Dashboard

Post by webrazor » Wednesday 05 July 2017 9:24

Great theme Dashticz V2
When i use a graph for my solar panels it works great but is it possible to make more point in the graph now it show a point every hour?
Image
And when i click on the buttons on top of the graph for showing 'last hours" or 'last month' the complete graph just disappears?

ob1975
Posts: 3
Joined: Saturday 17 June 2017 18:59
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Dashticz - Alternative Dashboard

Post by ob1975 » Thursday 06 July 2017 22:36

I have tried it with both /index.html at the end and without (but still with the trailing "/") but it keeps being offline.

I think I am going to have to hire someone to get it going :roll:

webrazor
Posts: 24
Joined: Monday 09 November 2015 10:33
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Alternative Dashboard

Post by webrazor » Thursday 06 July 2017 22:47

ob1975 wrote:I have tried it with both /index.html at the end and without (but still with the trailing "/") but it keeps being offline.

I think I am going to have to hire someone to get it going :roll:
Make sure you have the adres ok, because even a capital letter makes a difference.

For me it is like this: http://192.168.1.45:8080/Dashticz_V2/index.html where Dashticz_V2 starts with a capital letter.
Where did you install dashticz? /domoticz/www/dashticz_v2/ ?

ob1975
Posts: 3
Joined: Saturday 17 June 2017 18:59
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Dashticz - Alternative Dashboard

Post by ob1975 » Saturday 08 July 2017 20:41

You, my friend, are a lifesaver! I installed it in a folder called dashboard. While entering the url, I used a capital D. DOH!
Using a lowercase d, the page showed up.

If only everything in life was this simple... :D

Thank you very much!

sebasjuh
Posts: 18
Joined: Saturday 26 November 2016 11:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by sebasjuh » Saturday 15 July 2017 14:25

Hello,

I am using Dashticz V2 (or setting it up) and so far the theme is great and it's working fine.
Only there are a few things I won't get working.

As on the following wiki page was told:
https://www.domoticz.com/wiki/Dashticz_V2_-_Positioning
There are a few predefined blocks available such as currentweather_big, weather, clock, sunrise etc.

When I use the block 'clock' and 'sunrise' I get the clock and the sun up and sun down times.
Only when I use the blocks 'currentweather_big' and 'weather' or 'news' I don't see the weather predictions or news block.
As you can see on this page as example:
https://www.domoticz.com/wiki/Dashticz_V2

How can I get the news block and weather prediction block working?
Do I have to setup something for that?

The only thing I did was following the configuration guide and editing the config.js file to enter blocks with the IDX's from my domoticz server.

webrazor
Posts: 24
Joined: Monday 09 November 2015 10:33
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Alternative Dashboard

Post by webrazor » Monday 17 July 2017 10:41

sebasjuh wrote:Hello,

I am using Dashticz V2 (or setting it up) and so far the theme is great and it's working fine.
Only there are a few things I won't get working.

As on the following wiki page was told:
https://www.domoticz.com/wiki/Dashticz_V2_-_Positioning
There are a few predefined blocks available such as currentweather_big, weather, clock, sunrise etc.

When I use the block 'clock' and 'sunrise' I get the clock and the sun up and sun down times.
Only when I use the blocks 'currentweather_big' and 'weather' or 'news' I don't see the weather predictions or news block.
As you can see on this page as example:
https://www.domoticz.com/wiki/Dashticz_V2

How can I get the news block and weather prediction block working?
Do I have to setup something for that?

The only thing I did was following the configuration guide and editing the config.js file to enter blocks with the IDX's from my domoticz server.
Can you show us your config.js code?

User avatar
michaldobrotka
Posts: 64
Joined: Sunday 01 November 2015 18:21
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Dashticz - Alternative Dashboard

Post by michaldobrotka » Monday 17 July 2017 11:37

Hi Guys,
is it possible to run Dashticz on latest stable Domoticz (3.5877)?
Thanks
Domoticz on Raspi 3
Serial Mysensors GW on Arduino nano
Broadlink RM2
Rehau CO2 USB Stick
RF link 433 MHz
Amazon Echo Dot + HAbridge

User avatar
robgeerts
Posts: 1135
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Alternative Dashboard

Post by robgeerts » Monday 17 July 2017 11:42

Dont have this version yet but do you encounter problems??
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

webrazor
Posts: 24
Joined: Monday 09 November 2015 10:33
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Alternative Dashboard

Post by webrazor » Monday 17 July 2017 11:46

michaldobrotka wrote:Hi Guys,
is it possible to run Dashticz on latest stable Domoticz (3.5877)?
Thanks
Yes you can.

User avatar
michaldobrotka
Posts: 64
Joined: Sunday 01 November 2015 18:21
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Dashticz - Alternative Dashboard

Post by michaldobrotka » Monday 17 July 2017 12:25

Yes , I dont have any Domoticz instance (switch, temp., motion sensor) in it. Only side stuff (calendars, radio, weather..) As well as moon-phase is down. I was running latest beta, but after daily crash I decided to reinstall it. After 3 failed attempts to run beta with no crash Im staying on stable for now.
Domoticz on Raspi 3
Serial Mysensors GW on Arduino nano
Broadlink RM2
Rehau CO2 USB Stick
RF link 433 MHz
Amazon Echo Dot + HAbridge

sebasjuh
Posts: 18
Joined: Saturday 26 November 2016 11:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by sebasjuh » Monday 17 July 2017 20:54

webrazor wrote:
sebasjuh wrote:Hello,

I am using Dashticz V2 (or setting it up) and so far the theme is great and it's working fine.
Only there are a few things I won't get working.

As on the following wiki page was told:
https://www.domoticz.com/wiki/Dashticz_V2_-_Positioning
There are a few predefined blocks available such as currentweather_big, weather, clock, sunrise etc.

When I use the block 'clock' and 'sunrise' I get the clock and the sun up and sun down times.
Only when I use the blocks 'currentweather_big' and 'weather' or 'news' I don't see the weather predictions or news block.
As you can see on this page as example:
https://www.domoticz.com/wiki/Dashticz_V2

How can I get the news block and weather prediction block working?
Do I have to setup something for that?

The only thing I did was following the configuration guide and editing the config.js file to enter blocks with the IDX's from my domoticz server.
Can you show us your config.js code?
Yeah sure,
this is my config.js i have so far.

Code: Select all

var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://IP:PORT';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON	= ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = 'XXXXXXXX';
var _WEATHER_CITY = 'Hoorn';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = true; //Bft instead of m/s
var _TRANSLATE_SPEED = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
var _USE_STATIC_WEATHERICONS = true; // Static or 'moving'  weather icons

var _APIKEY_MAPS = '';
var _MAPS_LATITUDE = '';
var _MAPS_LONGITUDE = '';

var _AUTO_SWIPEBACK_TO = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME = 10; //seconds

var _SLIDE_PAGES = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0

var _IDXmoonpicture = 1; //index of the uservariabele MoonPicture


var buttons = {}
buttons.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/Hoorn/4058302'}
//buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:4, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
//buttons.calendar = {width:4, icon: 'fa-calendar', title: 'Kalender', url: 'https://calendar.google.com/calendar'}
//buttons.webcam = {width:12, isimage:true, refresh:2000, image: 'http://ip_url_to_webcam', url: 'http://ip_url_to_webcam'}
//buttons.log = {key:'log', width:12, icon:'fa-microchip', title: 'Domoticz Log', log:true, level: 2}
buttons.moon= {width:12, isimage:true, refreshimage:60000, image: 'moon'}


//Begin blokken
var blocks = {}

//Blok voordeur
blocks[40] = {}
blocks[40]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[40]['title'] = 'Voordeur' //if you want change the name of switch different then domoticz
//blocks[40]['icon'] = 'fa-eye'; //if you want an other icon instead of the default, choose from: http://fontawesome.io/cheatsheet/
//blocks[40]['image'] = 'door_closed.png'; //if you want to show an image instead if icon, place image in img/ folder
//blocks[40]['switch'] = true; //if you want to switch the title and data
//blocks[40]['hide_data'] = true; //if you want to hide the data of this block
blocks[40]['show_lastupdate'] = true; //if you want to show the last update specific for this block
//blocks[40]['playsound'] = 'sounds/ping.mp3'; //play a sound when a device changes
blocks[40]['protected'] = true; //protect switching manually in Dashticz

//Blok achterdeur
blocks[25] = {}
blocks[25]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[25]['title'] = 'Achterdeur' //if you want change the name of switch different then domoticz
blocks[25]['show_lastupdate'] = true; //if you want to show the last update specific for this block
blocks[25]['protected'] = true; //protect switching manually in Dashticz

//Blok schuifpui
blocks[30] = {}
blocks[30]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[30]['title'] = 'Schuifpui' //if you want change the name of switch different then domoticz
blocks[30]['show_lastupdate'] = true; //if you want to show the last update specific for this block
blocks[30]['protected'] = true; //protect switching manually in Dashticz

//Blok kamer 1 raam
blocks[71] = {}
blocks[71]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[71]['title'] = 'Kamer 1' //if you want change the name of switch different then domoticz
//blocks[71]['image'] = 'window_closed.png'; //if you want to show an image instead if icon, place image in img/ folder
blocks[71]['show_lastupdate'] = true; //if you want to show the last update specific for this block
blocks[71]['protected'] = true; //protect switching manually in Dashticz

//Blok kamer 2 raam
blocks[74] = {}
blocks[74]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[74]['title'] = 'Kamer 2' //if you want change the name of switch different then domoticz
blocks[74]['show_lastupdate'] = true; //if you want to show the last update specific for this block
blocks[74]['protected'] = true; //protect switching manually in Dashticz

//Blok kamer 3 raam
blocks[77] = {}
blocks[77]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[77]['title'] = 'Kamer 3' //if you want change the name of switch different then domoticz
blocks[77]['show_lastupdate'] = true; //if you want to show the last update specific for this block
blocks[77]['protected'] = true; //protect switching manually in Dashticz

//Blok temperatuur beneden (rookmelder)
blocks[54] = {}
blocks[54]['width'] = 6; //1 to 12, remove this line if you want to use the default (4)
blocks[54]['title'] = 'Temperatuur beneden' //if you want change the name of switch different then domoticz
blocks[54]['show_lastupdate'] = false; //if you want to show the last update specific for this block
blocks[54]['protected'] = true; //protect switching manually in Dashticz

//Blok temperatuur boven (rookmelder)
blocks[61] = {}
blocks[61]['width'] = 6; //1 to 12, remove this line if you want to use the default (4)
blocks[61]['title'] = 'Temperatuur boven' //if you want change the name of switch different then domoticz
blocks[61]['show_lastupdate'] = false; //if you want to show the last update specific for this block
blocks[61]['protected'] = true; //protect switching manually in Dashticz

//Blok temperatuur buiten
blocks[32] = {}
blocks[32]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[32]['title'] = 'Weer buiten' //if you want change the name of switch different then domoticz
blocks[32]['show_lastupdate'] = false; //if you want to show the last update specific for this block
blocks[32]['protected'] = true; //protect switching manually in Dashticz

//Blok aquarium schakelaar
blocks[62] = {}
blocks[62]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[62]['title'] = 'Aquarium' //if you want change the name of switch different then domoticz
blocks[62]['show_lastupdate'] = true; //if you want to show the last update specific for this block


//blocks['s1'] = {} //scene or group

//blocks[204] = {} //dimmer
//blocks[204]['width'] = 12;
//blocks[204]['title'] = 'Living room' //if you want change the name of switch different then domoticz


blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Sensors';

blocks['blocktitle_6'] = {}
blocks['blocktitle_6']['type'] = 'blocktitle';
blocks['blocktitle_6']['title'] = 'Schakelaars';

blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Temperatuur';

blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Afval ophaaldagen';

blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Weersverwachting';

blocks['blocktitle_5'] = {}
blocks['blocktitle_5']['type'] = 'blocktitle';
blocks['blocktitle_5']['title'] = 'Verkeer';


//blocks['news_2'] = {}
//blocks['news_2']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';

//Hiermee worden de afvaldagen opgehaald van HVC
var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:12, zipcode:'XXXXXX', housenumber:'XX' }


var columns = {}

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',40,25,30,71,74,77,'blocktitle_6',62,'blocktitle_2',54,61,32,'blocktitle_3',trashcan.hvc] //remark: idx 144 produces 2 blocks, so you can use: '144_1' and '144_2' (or just 144 if you want one)
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_4','currentweather_big','weather','blocktitle_5','trafficmap','traffic']
columns[2]['width'] = 5; 
 
columns[3] = {}
columns[3]['blocks'] = ['clock','sunrise',buttons.buienradar,buttons.moon]
columns[3]['width'] = 2;



var screens = {}

screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]

//screens[2] = {}
//screens[2]['background'] = 'bg2.jpg';
//screens[2]['columns'] = [1,2,3]
Can you tell me why my news and weather forecast doesn't work?

webrazor
Posts: 24
Joined: Monday 09 November 2015 10:33
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Alternative Dashboard

Post by webrazor » Tuesday 18 July 2017 11:22

sebasjuh wrote:Can you tell me why my news and weather forecast doesn't work?
The weather is not working because for some reason it can find weather for the city Hoorn. Don't know why because Zwaag next to Hoorn works. :o
If you fill in a different city for example Zwaag then it works, best way select a city close to Hoorn that works en fill in Hoorn in as WEATHER_CITYNAME to replace the WEATHER_CITY like below:

Code: Select all

var _APIKEY_WUNDERGROUND = 'XXXXXX';
var _WEATHER_CITY = 'Zwaag';
var _WEATHER_CITYNAME = 'Hoorn'; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
For the news not working replace the rss feed url (http://www.nu.nl/rss/Algemeen) with this url (https://crossorigin.me/http://www.nu.nl/rss/Algemeen) see example below:

Code: Select all

var _NEWS_RSSFEED = 'https://crossorigin.me/http://www.nu.nl/rss/Algemeen';
And add 'news' to one of the colums see example below:

Code: Select all

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_4','currentweather_big','weather','news']
columns[2]['width'] = 5;

sebasjuh
Posts: 18
Joined: Saturday 26 November 2016 11:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by sebasjuh » Tuesday 18 July 2017 19:11

Thanks webrazor!
With the change of Hoorn to Zwaag the bigweather and weather function is working :D
And also the news is working now.

So I only then have two more problems that are not working, maybe you can help me with those to?
The function 'trafficmap' is only showing an empty block on the dashticz v2 page.
Do you know how to fix that?

And the moonphase isn't working by me.
I followed the tutorial from this link:
https://www.domoticz.com/wiki/Dashticz_ ... plications

And after following the tutorial I only see this:
Image

I think it's because in my domoticz the the moonpercentage stays at 0,00%
Image

Can you maybe also help me with that?

webrazor
Posts: 24
Joined: Monday 09 November 2015 10:33
Target OS: Raspberry Pi
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Alternative Dashboard

Post by webrazor » Wednesday 19 July 2017 9:41

sebasjuh wrote:Can you maybe also help me with that?
I'm not using the moonphase, so i don't have any experience with it.
Maybe you can enable debug mode and watch the log in domoticz

Code: Select all

local debug=true                            -- false, true for domoticz log
Did you fill in all the correct settings?

Code: Select all

local idxmoonpercentage ='125'              -- Your virtual moon percentage illuminated Device ID
local idxmoonage ='131'                     -- Your virtual moon age Device ID
local idxmoonphase ='132'                   -- Your virtual moon phase Device ID
local idxmoonrise='124'                     -- Your virtual moon rise variable ID
local idxmoonset='127'                      -- Your virtual moon set variable ID
local wuAPIkey = "<your key>"         -- Your Weather Underground API Key
local DOMO_IP = "<your domo ip>"            -- Domoticz ip address
local DOMO_PORT = "<your domo port>"                    -- Domoticz port
local tempfilename = '/var/tmp/phase.tmp'   -- can be anywhere writeable (chmod 744)

sebasjuh
Posts: 18
Joined: Saturday 26 November 2016 11:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Alternative Dashboard

Post by sebasjuh » Wednesday 19 July 2017 20:16

Ok the moon thing is also solved.
I also entered Hoorn as city and I also tried to enter Zwaag to see if it was the same bug as the weather forecast and after I changed the city name to Zwaag the moonphase is working and I see the moon picture.

And the trafficmap problem was because I used the wrong api key :oops:

So thanks webrazor for all the help so far!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests