Re: Dashticz - Show your dashboard and how-to's!
Posted: Wednesday 24 July 2019 22:43
Going to try this in the weekend. Too hot now
Open source Home Automation System
https://forum.domoticz.com/

In the latest version there is no update on the time scale. What would you like to see?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.
![]()
Dashticz reports some graph data in bins of one hour (energy, gas).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)
Just back from holiday...Lokonli wrote: Wednesday 24 July 2019 22:28Can 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
Yes, that should work.Derik wrote: Monday 29 July 2019 20:23Just back from holiday...Lokonli wrote: Wednesday 24 July 2019 22:28Can you try the latest v3 beta: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
https://github.com/dashticzv3/dashticz_v3/tree/beta
For documentation see:
https://dashticz-v3.readthedocs.io/en/b ... tml#graphs
@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? ]
I try to document in the release notes: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?
Code: Select all
graphTypes: ['te', 'hu']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.
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.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?;Example how to use this?Code: Select all
graphTypes: ['te', 'hu']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?
Code: Select all
blocks[4] = {
textOn: 'Device 4 switched on',
textOff: 'and off'
}
For the popup size, see: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..
Hi,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...![]()
Because I'm no programmer there can be a better solution. Be so kind to let me know.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¶m=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
Domoticz image:
![]()
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
}
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
}
Code: Select all
columns[3]['blocks'] = ['sunrise',buttons.buienradar,345,'garbage','v3']