Page 32 of 51

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

Posted: Wednesday 24 July 2019 22:43
by EdwinK
Going to try this in the weekend. Too hot now

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

Posted: Thursday 25 July 2019 7:41
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

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

Posted: Thursday 25 July 2019 9:39
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?

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

Posted: Thursday 25 July 2019 19:10
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)

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

Posted: Thursday 25 July 2019 20:01
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.

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

Posted: Saturday 27 July 2019 12:59
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.

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

Posted: Monday 29 July 2019 20:23
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? ]

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

Posted: Monday 29 July 2019 22:27
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

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

Posted: Wednesday 31 July 2019 10:16
by Derik
Lokonli

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

Are there more great options in the V3?

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

Posted: Wednesday 31 July 2019 13:32
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

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

Posted: Wednesday 31 July 2019 20:22
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?

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

Posted: Wednesday 31 July 2019 20:36
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'
}

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

Posted: Wednesday 31 July 2019 20:41
by Derik
i wait.... let me know when i can test...

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

Posted: Wednesday 31 July 2019 20:49
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..

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

Posted: Wednesday 31 July 2019 22:23
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 ...

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

Posted: Monday 05 August 2019 20:41
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 2715 times
67768277_392896238246634_6558013593218973696_n.jpg
67768277_392896238246634_6558013593218973696_n.jpg (274.8 KiB) Viewed 2715 times
67621079_373660203298078_6072857897098805248_n.jpg
67621079_373660203298078_6072857897098805248_n.jpg (311.84 KiB) Viewed 2715 times

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

Posted: Monday 05 August 2019 20:44
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 4628 times
67516435_707067386422288_7125101597306126336_n.jpg
67516435_707067386422288_7125101597306126336_n.jpg (250.2 KiB) Viewed 4628 times
67790086_556398594897570_6545765587736330240_n.jpg
67790086_556398594897570_6545765587736330240_n.jpg (265.96 KiB) Viewed 4628 times

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

Posted: Tuesday 06 August 2019 8:44
by Lokonli
Nice :)

I'm working on an update of the graph module. That will make the numbers on the y-axes look better.

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

Posted: Sunday 18 August 2019 10:16
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

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

Posted: Sunday 18 August 2019 13:46
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']