Dashticz V3 - Automatic installation

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz V3 - Automatic installation

Post 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

edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz V3 - Automatic installation

Post 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.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz V3 - Automatic installation

Post by Lokonli »

Try
https://dashticz.readthedocs.io/en/mast ... raphs.html


Sent from my SM-A320FL using Tapatalk

edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz V3 - Automatic installation

Post by edwin1234 »

Thanks it works,
Only i have set it to yellow bars but they stay white 😞 sry iam a noob
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz V3 - Automatic installation

Post 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'
    }
}
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz V3 - Automatic installation

Post by edwin1234 »

Its for gas usage so only one i think
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz V3 - Automatic installation

Post by clinkadink »

To check, if you put legend: true in your graph block, you will see how many datasets there are in your legend.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
edwin1234
Posts: 287
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Dashticz V3 - Automatic installation

Post by edwin1234 »

Ok thanks i will try that
mphilipp
Posts: 6
Joined: Thursday 29 December 2016 15:58
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Rotterdam, Netherlands
Contact:

Re: Dashticz V3 - Automatic installation

Post 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.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz V3 - Automatic installation

Post 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.
fargle
Posts: 67
Joined: Tuesday 27 March 2018 17:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz V3 - Automatic installation

Post 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....
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz V3 - Automatic installation

Post by Lokonli »

Thanks for the feedback. I've updated the link in the first post.
famous
Posts: 4
Joined: Tuesday 08 December 2020 20:00
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Contact:

Re: Dashticz V3 - Automatic installation

Post 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
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Dashticz V3 - Automatic installation

Post 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? :(
Attachments
Untitled.jpg
Untitled.jpg (25.56 KiB) Viewed 1095 times
User avatar
Sjonnie2017
Posts: 364
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Dashticz V3 - Automatic installation

Post 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?
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Dashticz V3 - Automatic installation

Post 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:
Attachments
install error.jpg
install error.jpg (65.46 KiB) Viewed 1089 times
setup.jpg
setup.jpg (30.69 KiB) Viewed 1089 times
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz V3 - Automatic installation

Post by Lokonli »

user_name and pass_word need to be without the '<' and '>' symbols.
User avatar
Sjonnie2017
Posts: 364
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Dashticz V3 - Automatic installation

Post 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 :oops: )

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.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
Sjonnie2017
Posts: 364
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Dashticz V3 - Automatic installation

Post by Sjonnie2017 »

And Lokonli beat me to it ;)
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
fabry91
Posts: 67
Joined: Sunday 09 December 2018 16:52
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Italy
Contact:

Re: Dashticz V3 - Automatic installation

Post 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 ;) ;) ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest