Dashticz - Show your dashboard and how-to's!

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by EdwinK »

Going to try this in the weekend. Too hot now
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
renerene
Posts: 351
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by renerene »

bad time scale in my dahsticz graph. Is this updated in the latest version?
Also, support for Virtual Sensor -> Electric (instant+Counter) seems buggy.

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

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

renerene wrote: Thursday 25 July 2019 7:41 bad time scale in my dahsticz graph. Is this updated in the latest version?
Also, support for Virtual Sensor -> Electric (instant+Counter) seems buggy.

Image
In the latest version there is no update on the time scale. What would you like to see?

For the Virtual Sensor-> Electric:
What is the current behavior?
What should the behavior be?
renerene
Posts: 351
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by renerene »

Time scale should go to 15 min back from present time, max.
Latest point on time scale should be the same for all graphs
Make the electric senssor with bar graphs en seperate lines possisble, just luke temp, barometer
And 4) 'laatste uren' does not work
(5 in domoticz days are one day ahead in the weekly graph, bug, wed=thu, etc)
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

renerene wrote: Thursday 25 July 2019 19:10 Time scale should go to 15 min back from present time, max.
Latest point on time scale should be the same for all graphs
Make the electric senssor with bar graphs en seperate lines possisble, just luke temp, barometer
And 4) 'laatste uren' does not work
(5 in domoticz days are one day ahead in the weekly graph, bug, wed=thu, etc)
Dashticz reports some graph data in bins of one hour (energy, gas).
For other data the actual value is reported (power).

This explains the difference in the x-max values.

In your example for zonnepaneel probably the energy in the last hour is reported, not the actual power. This can be fixed.

Preferably it would be possible to combine a bar and line graph. Unfortunately the graph library that is used by Dashticz (morris.js) doesn't support that.

I'm considering to switch to Chart.js.
hilliamonks
Posts: 2
Joined: Saturday 27 July 2019 12:57
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by hilliamonks »

This is what you do:

1. Create a new chrome.exe shortcut
2. Change the path of the shortcut to: "C:\Program Files\Google\Chrome\Application\chrome.exe" --chrome --kiosk http://<ip-address>:8080/dashboard/index.html --incognito --disable-pinch --overscroll-history-navigation=0
3. Drag the shortcut into the startup folder so it loads automatically: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup https://scrabblewordfinder.vip/ https://www.applock.ooo/ https://www.7zip.vip/


Make sure you change the path to chrome.exe is correct. Same for the URL.
Last edited by hilliamonks on Monday 29 July 2019 22:01, edited 1 time in total.
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Derik »

Lokonli wrote: Wednesday 24 July 2019 22:28
Derik wrote: Wednesday 24 July 2019 13:40
Lokonli wrote: Tuesday 23 July 2019 22:12
I will merge this in a new beta release in the weekend.

Will you let here know when you do this?
And how to use and set this graphs...

THANKS
Can you try the latest v3 beta:
https://github.com/dashticzv3/dashticz_v3/tree/beta

For documentation see:
https://dashticz-v3.readthedocs.io/en/b ... tml#graphs
Just back from holiday...

@lokonli...
Just see there is a V3 ...
Can i use all the other settings from V2?
Or do i need to change a lot or are there bugs??

If there is no compaible problem i will the V3 a try...?
Just the same way like always? [ hold the config file and replacye the rest? ]
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

Derik wrote: Monday 29 July 2019 20:23
Lokonli wrote: Wednesday 24 July 2019 22:28
Derik wrote: Wednesday 24 July 2019 13:40


Will you let here know when you do this?
And how to use and set this graphs...

THANKS
Can you try the latest v3 beta:
https://github.com/dashticzv3/dashticz_v3/tree/beta

For documentation see:
https://dashticz-v3.readthedocs.io/en/b ... tml#graphs
Just back from holiday...

@lokonli...
Just see there is a V3 ...
Can i use all the other settings from V2?
Or do i need to change a lot or are there bugs??

If there is no compaible problem i will the V3 a try...?
Just the same way like always? [ hold the config file and replacye the rest? ]
Yes, that should work.

Currently v3 contains only limited additional functionality compared to v2.

See the release notes:
https://dashticz-v3.readthedocs.io/en/b ... notes.html

and installation instructions:
https://dashticz-v3.readthedocs.io/en/b ... ation.html
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Derik »

Lokonli

Looks working great..!!
I do have 1 graph working[ need more time ]

Are there more great options in the V3?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

Derik wrote: Wednesday 31 July 2019 10:16 Lokonli

Looks working great..!!
I do have 1 graph working[ need more time ]

Are there more great options in the V3?
I try to document in the release notes:
https://dashticz-v3.readthedocs.io/en/b ... notes.html
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Derik »

Lokonli..
Nice work!!!

Perhaps week option in graphs?
And a option the shrink the numbers behind the, [ now i have 25,000000009 in a collum in the graph ]

Cannot get the multiple graph to work
I cannot understand where to place the 2 idx that i want to use...
This?;

Code: Select all

graphTypes: ['te', 'hu']
Example how to use this?

Code: Select all

3.0.2 (19-7-2019)

Main changes:

        New block parameters (textOn, textOff, imageOn, imageOff, iconOn, iconOff) to control the display of block text, icons and images depending on the device state.

Please a option to remove or adjust the great bar where the station name is displayed....

Cannot get to work the train routes..

Like to try nijmegen centraal to limburg centraal..
Perhaps a example?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

Derik wrote: Wednesday 31 July 2019 20:22 Lokonli..
Nice work!!!

Perhaps week option in graphs?
And a option the shrink the numbers behind the, [ now i have 25,000000009 in a collum in the graph ]

Cannot get the multiple graph to work
I cannot understand where to place the 2 idx that i want to use...
This?;

Code: Select all

graphTypes: ['te', 'hu']
Example how to use this?

Code: Select all

3.0.2 (19-7-2019)

Main changes:

        New block parameters (textOn, textOff, imageOn, imageOff, iconOn, iconOff) to control the display of block text, icons and images depending on the device state.

Please a option to remove or adjust the great bar where the station name is displayed....

Cannot get to work the train routes..

Like to try nijmegen centraal to limburg centraal..
Perhaps a example?
I'm preparing a big upgrade of the graph module. After that the graph configuration parameters will be different. It will take a few days. Better wait for that.

Example for the new block parameters:

Code: Select all

blocks[4] = {
   textOn: 'Device 4 switched on',
   textOff: 'and off'
}
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Derik »

i wait.... let me know when i can test...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Derik »

when possible..[ i know feature request, only perhaps you are very smart ":-) ]

Make the popup simple adjustable.
Now they are for landscape tabs nice

i us a big portert tab, then is the popup useless..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

Derik wrote: Wednesday 31 July 2019 20:49 when possible..[ i know feature request, only perhaps you are very smart ":-) ]

Make the popup simple adjustable.
Now they are for landscape tabs nice

i us a big portert tab, then is the popup useless..
For the popup size, see:
https://www.domoticz.com/forum/viewtopi ... th#p200034

That still should work ...
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Gianni »

after 1 year i decide to mount my setup and install dashticz again.

now on V3 and mounted i decide to show my setup.
Its basic and need some css mod but it's a start.
67767207_1272790549591005_5170413658219479040_n.jpg
67767207_1272790549591005_5170413658219479040_n.jpg (129 KiB) Viewed 2698 times
67768277_392896238246634_6558013593218973696_n.jpg
67768277_392896238246634_6558013593218973696_n.jpg (274.8 KiB) Viewed 2698 times
67621079_373660203298078_6072857897098805248_n.jpg
67621079_373660203298078_6072857897098805248_n.jpg (311.84 KiB) Viewed 2698 times
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Gianni »

Looks like i can only post 3 image in 1 post
67881328_1341085666029368_4688343423655084032_n.jpg
67881328_1341085666029368_4688343423655084032_n.jpg (239.19 KiB) Viewed 4611 times
67516435_707067386422288_7125101597306126336_n.jpg
67516435_707067386422288_7125101597306126336_n.jpg (250.2 KiB) Viewed 4611 times
67790086_556398594897570_6545765587736330240_n.jpg
67790086_556398594897570_6545765587736330240_n.jpg (265.96 KiB) Viewed 4611 times
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by Lokonli »

Nice :)

I'm working on an update of the graph module. That will make the numbers on the y-axes look better.
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by RduPre »

HansieNL wrote: Thursday 20 September 2018 0:48 I like the idea of having a button that shows how long Domoticz is up so I can use it in Dashticz.
I did find after trial and error some code that works... :o :shock:

Code: Select all

-- script_time_uptime.lua
-- 
-- Domoticz Configuration
local server="192.168.1.11"	-- Domoticz IP address
local port="8080"			-- Domoticz port
local devname="Uptime"		-- Dummy Text device name

json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua")()
local gudata=assert(io.popen('curl "http://'..server..':'..port..'/json.htm?type=command&param=getuptime"'))

local guptime = gudata:read('*all')
gudata:close()
local jsonGetUptime = json:decode(guptime)

local days = jsonGetUptime.days
local hours = jsonGetUptime.hours
local minutes = jsonGetUptime.minutes
local dzuptime = days.. " dagen, " ..hours.. " uur en " ..minutes.. " minuten"

commandArray = {}

  -- print('(Uptime) '.. dzuptime)
  commandArray ['UpdateDevice'] = otherdevices_idx[devname] .. '|0|' .. dzuptime

return commandArray
Because I'm no programmer there can be a better solution. Be so kind to let me know.
Image
Domoticz image:
Image
Hi,

I just started with Dashticz, so I might not read every detail yet.
But how do I add this to the screen, I only see a lua script and an image file in your post.

It would be great if you could share your config.js and custom.js. :shock:

Thanks Rien
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Show your dashboard and how-to's!

Post by HansieNL »

I changed the script because a variable doesn't need a switch and is now supported in Dashticz.
You have 1st to create a string user variable Uptime in Domoticz. Save the script in the dzVents script map. Be sure that dzVents is enabled in Setup - Other Settings:

Code: Select all

-- dzuptime.lua
-- 
-- Set Domoticz Uptime as UserVariable
-- 
return { 
    on = {   timer  =   {"every minute"}},  
                
    execute = function(dz)
        local uptimeUserVariable = dz.variables("Uptime")
        
        local days    = dz.startTime.daysAgo
        local hours   = dz.startTime.hoursAgo%24
        local minutes = dz.startTime.minutesAgo%60
        
 	uptimeUserVariable.set(days .. " dagen, " .. hours .. " uur en " .. minutes .. " minuten")
    end
}
In Dashticz you can add a variable block:

Code: Select all

blocks['v3'] = { //Uptime -- change v3 to your own variable and choose your own image
    title: 'Uptime',
	image: 'uptime.png',
	switch: true,
	width: 12
}
Add the variable block to your Dashticz config like this:

Code: Select all

columns[3]['blocks'] = ['sunrise',buttons.buienradar,345,'garbage','v3']
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest