version dashticz Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

version dashticz

Post by pvklink »

Hi,

My dashticz gives 2.5.11 in the info tab, and a remark that this is the latest version.
On the internet i see a more recent version, beta 3.05, https://github.com/Dashticz/dashticz.

Is the 3 version another fork, and if so, are both versions supported and updated?
Can i do a fresh install of the 3.05 , and copy my current custom.js, custom.css and config.js ?
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by HansieNL »

pvklink wrote: Sunday 18 August 2019 20:44 Hi,

My dashticz gives 2.5.11 in the info tab, and a remark that this is the latest version.
On the internet i see a more recent version, beta 3.05, https://github.com/Dashticz/dashticz.

Is the 3 version another fork, and if so, are both versions supported and updated?
Can i do a fresh install of the 3.05 , and copy my current custom.js, custom.css and config.js ?
Version 3 is the new version. The fork was at an other address, but is now at the old address.
For fresh install:
1st make a backup of your custom folder. Remove that folder if named dashticz. You then can do the install in a new folder dashticz:

Code: Select all

git clone https://github.com/Dashticz/dashticz dashticz --branch beta
The latest beta is then gonna be installed in the folder dashticz. After that copy your own custom folder to the new dashticz folder.
To update just do the following in the dashticz folder to update:

Code: Select all

git pull
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

ok thanks HansiNL, i will update with the latest beta...
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

Ok, installed latest beta and removed old dashticz_v2 folder.
I get an error when i want to remove the old symbolic link that the folder does not exist... (it does exist!)

sudo unlink /var/www/html/dashticz_v2 or
sudo rm /var/www/html/dashticz_v2
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by Lokonli »

pvklink wrote: Monday 19 August 2019 19:36 Ok, installed latest beta and removed old dashticz_v2 folder.
I get an error when i start dashticz, so i renamed the dashticz folder to dashticz_v2 and working!

I think it is easier to have no version in the folder name so is this the way to do it?:
1) rename the folder back to dashticz
2) sudo ln -s /home/pi/dashticz/ /var/www/html
3) how do i remove the old sudo ln -s /home/pi/dashticz_v2/ /var/www/html symbolic link ?
Yes, that will work.

For 3:

Code: Select all

sudo rm /var/www/html/dashticz_v2
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

everything works! thanks!
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

have two small errors with the latest version

1. my buienradar does not work anymore... i had a live screen at my dashboard (without a click)

buttons.buienradar = {width:9, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/Rada ... =338&h=297', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}

2. in the old version i had a blinds_closed.png changed in yellow in the /img folder. I changed it again but dashticz keeps on showing the old png also after a f5
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by Lokonli »

pvklink wrote: Wednesday 21 August 2019 16:57 have two small errors with the latest version

1. my buienradar does not work anymore... i had a live screen at my dashboard (without a click)

buttons.buienradar = {width:9, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/Rada ... =338&h=297', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}

2. in the old version i had a blinds_closed.png changed in yellow in the /img folder. I changed it again but dashticz keeps on showing the old png also after a f5
For 1:
Which buienradar link do you use? In a button or in a frame? buienradar changed something which blocks showing their site in a frame.

for 2:
I recommend to save the new image with a new name, and use the recently added imageOff (or imageOn) parameter to select your new image.
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

1. Hi lokonli, i use the link in a button but any other solution or better solution is welcome...
i sometimes see nice koloms with days with a forecats

2. ok clear, will try that!
can dis be a png file and do i put this in the img folder?
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

I tried, but my block stays empty

added:
//Configuring the OWM parameters
config['owm_api'] = 'my new api key';
config['owm_city'] = 'Rijswijk';
config['owm_name'] = '';
config['owm_country'] = 'nl';
config['owm_lang'] = 'nl';
config['owm_cnt'] = '3';
config['owm_min'] = true;
config['owm_days'] = true;

changed my column

var columns = {}
columns[1] = {}
columns[1]['blocks'] = [3,1248,1423,1303,1049,1018,1025,'currentweather_big_owm','weather_owm','455_1','982_1','457_1',1163,1285,1305,1250,calendars.fam]
columns[1]['width'] = 3;
etc.
Attachments
Naamloos.png
Naamloos.png (21.12 KiB) Viewed 2900 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by HansieNL »

pvklink wrote: Wednesday 21 August 2019 17:40 2. ok clear, will try that!
can dis be a png file and do i put this in the img folder?
If you wanna keep your own images in the custom folder you can make a sub folder named img if you like. In the block section you then can use ../custom/img/image.png.
Yes, best is to use a png.
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

ok, both problems solved as you advised!
thanks lokonli!

it took some time before the api was operational...
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

Last one little problem, there are 2 Rijswijk in Holland.
The config setting only offers city name.
I think city ID is in my case a better option, because i get the wrong Rijswijk and cant adjust it...

see the city list on the website of own
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: version dashticz

Post by EdwinK »

There are even three Rijswijk's (South Holland, Brabant, Gelre)
:)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

Yes, indeed!
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by HansieNL »

pvklink wrote: Wednesday 21 August 2019 18:53 Last one little problem, there are 2 Rijswijk in Holland.
The config setting only offers city name.
I think city ID is in my case a better option, because i get the wrong Rijswijk and cant adjust it...

see the city list on the website of own
I see Open Weather Map Station (City or Code) in the config menu. Did you already try to fill in your city code?
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

config['owm_city'] = 'Rijswijk'; works
config['owm_city'] = '2748075'; not
config['owm_city'] = 2748075; not
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by HansieNL »

pvklink wrote: Wednesday 21 August 2019 20:33 config['owm_city'] = 'Rijswijk'; works
config['owm_city'] = '2748075'; not
config['owm_city'] = 2748075; not
Bug reported: https://github.com/Dashticz/dashticz/issues/35
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: version dashticz

Post by pvklink »

I saw that the bug was solved in a new beta
so i did a git pull....
do i use the location id as following:

instead off
config['owm_city'] = 'Rijswijk';

i use:

config['owm_city'] = 2748075;
config['owm_name'] = 'Rijswijk (zh)';
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: version dashticz

Post by Lokonli »

Yes, that should work


Sent from my SM-A320FL using Tapatalk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest