Page 4 of 5
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 9:11
by Lokonli
In fact the make stop and make start commands are not needed (if your docker image is running correctly): git pull is sufficient.
The file version.txt in the Dashticz folder shows the vetsion number.
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 9:27
by edwin1234
Im trying this out for the first time
And it works great
Iam happy ofthe looks of it like it is but the only change i want is when i click on gasusage that a bar graph will apearinstead of a line graph but cant figger out how to do that.
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 9:54
by Lokonli
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 10:13
by edwin1234
Thanks it works,
Only i have set it to yellow bars but they stay white

sry iam a noob
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 11:29
by clinkadink
How are you settings the colours of your datasets? How many datasets are there in the graph? I ask because a single device can provide more than one dataset.
For example, my wind sensor will show 2 datasets in the graph. To provide a colour and a name for each dataset, I configure the graph block as follows:
Code: Select all
blocks['graph_73'] = {
graph: 'bar',
datasetColors: ['yellow', 'green'],
legend: {
'gu': 'Gust',
'sp': 'Speed'
}
}
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 11:57
by edwin1234
Its for gas usage so only one i think
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 12:00
by clinkadink
To check, if you put legend: true in your graph block, you will see how many datasets there are in your legend.
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 13:19
by edwin1234
Ok thanks i will try that
Re: Dashticz V3 - Automatic installation
Posted: Thursday 16 January 2020 10:46
by mphilipp
poudenes wrote: ↑Friday 21 June 2019 9:00
1 off topic question. What is the positive reason to use Docker? I read its because of containers. But why. Just install is the same right?
Strange that nobody answered this question from months ago... I'd like to know too. Why is this installed in a Docker container? Can't it be made optional? I have to look into it in more detail, but I guess you could install it by yourself on a bare Raspbian install without Docker.
Re: Dashticz V3 - Automatic installation
Posted: Thursday 16 January 2020 10:54
by Lokonli
mphilipp wrote: ↑Thursday 16 January 2020 10:46
poudenes wrote: ↑Friday 21 June 2019 9:00
1 off topic question. What is the positive reason to use Docker? I read its because of containers. But why. Just install is the same right?
Strange that nobody answered this question from months ago... I'd like to know too. Why is this installed in a Docker container? Can't it be made optional? I have to look into it in more detail, but I guess you could install it by yourself on a bare Raspbian install without Docker.
Of course you can do manual install as well, as described in the documentation.
However, some people had difficulties setting up Apache with PHP. In that case the automatic install might help.
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 04 August 2020 4:37
by fargle
The github link shown at the start of this topic didn't work for me, although it came back later.
But the one shown
here does.
I Installed it on a separate pi already running a dockerized node-red. It was amazingly easy to get going, considering that it would have been a complicated install otherwise. Thanks for all your hard work.
Now to play....
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 04 August 2020 7:19
by Lokonli
Thanks for the feedback. I've updated the link in the first post.
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 08 December 2020 20:10
by famous
Hi guys!
I used the automatic install, very usefull and creating a standard.
Good initiative!
I installed it on a raspberry pi 3b+
First try i get this error:
Code: Select all
Let's install docker first
wget -qO- https://get.docker.com/ | sh
# Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
+ [ -n ]
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
E: Sub-process /usr/bin/dpkg returned an error code (1)
make: *** [Makefile:24: testdocker] Error 100
Error during Make. Exiting
Connection to raspberrypi closed.
A google hit says: Just reboot the Pi, so i did and after that dockerd was running without any problem.
I started the installation again and this time succesfully!
I now get a 404, will take a look but i guess that's a problem on my side
Thumbs up for the installation!
** edit **
Just solved! I opened <ip>:8082/dashticz/index.html that gives the 404.
Just simply <ip>:8082 is enough.
Regards Paul
Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 16:57
by fabry91
Hello,
have just installed Dashticz, when I go to the web page it returns me "Error", configuration file it's correct and also docker is running, any help?

Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 17:25
by Sjonnie2017
fabry91 wrote: ↑Friday 18 December 2020 16:57
Hello,
have just installed Dashticz, when I go to the web page it returns me "Error", configuration file it's correct and also docker is running, any help?
Are you sure the config.xml is OK?
Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 17:57
by fabry91
Sjonnie2017 wrote: ↑Friday 18 December 2020 17:25
fabry91 wrote: ↑Friday 18 December 2020 16:57
Hello,
have just installed Dashticz, when I go to the web page it returns me "Error", configuration file it's correct and also docker is running, any help?
Oops! I should read more carefully!
Are you sure the config.xml is OK?
You mean the config.js file? Yes, this is the config.js file:
I got only an error during the setup:
Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 18:10
by Lokonli
user_name and pass_word need to be without the '<' and '>' symbols.
Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 18:14
by Sjonnie2017
Config.js indeed! I modified my Dashticz dashboards some time ago so I forgot the extension (and was too lazy to check before posting

)
I can't remember I had this error when I installed Dashticz on my Pi. But from what I read here (
https://peppe8o.com/install-home-assist ... th-docker/) it does not have to be a problem (I am extrapolating.. I know).
What happens if you follow this guide:
https://dashticz.readthedocs.io/en/mast ... board.html. It will only show your favorites from Domoticz but at least it is a start to see if the installation is OK. Just mark out the username and password lines and see what happens.
Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 18:14
by Sjonnie2017
And Lokonli beat me to it

Re: Dashticz V3 - Automatic installation
Posted: Friday 18 December 2020 20:37
by fabry91
Lokonli wrote: ↑Friday 18 December 2020 18:10
user_name and pass_word need to be without the '<' and '>' symbols.
It was just that! Yeeee, thanks Lokonli
