Dashticz - Feature Requests

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

User avatar
Derik
Posts: 2115
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Feature Requests

Post by Derik » Tuesday 13 February 2018 23:12

naitsirhc wrote:
Tuesday 13 February 2018 19:50
this worked for me :D
https://api.buienradar.nl/image/1.0/Rad ... =0&forc=48
Please how do you do this?
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

naitsirhc
Posts: 32
Joined: Sunday 17 January 2016 12:20
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by naitsirhc » Tuesday 13 February 2018 23:38

ehm googled a bit and hit (by accident) the right search criteria.
Put it in Dashticz custom.js. Adapted the number behind hist and presto there you go
Last edited by naitsirhc on Tuesday 13 February 2018 23:43, edited 1 time in total.
Und Tschjuß

User avatar
Derik
Posts: 2115
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Feature Requests

Post by Derik » Tuesday 13 February 2018 23:42

naitsirhc wrote:
Tuesday 13 February 2018 23:38
ehm googled a bit and hit (by accident) the right search criteria.
Put it in Dashticz custom.js. Adapted the unit behind hist and presto
Where do you place it??
Pleace a screendump..xxx
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

naitsirhc
Posts: 32
Joined: Sunday 17 January 2016 12:20
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by naitsirhc » Tuesday 13 February 2018 23:47

you mean:
buienr.PNG
buienr.PNG (13.26 KiB) Viewed 2527 times
in config.js?
Und Tschjuß

User avatar
Derik
Posts: 2115
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Feature Requests

Post by Derik » Thursday 15 February 2018 20:51

mm yepp
please share the link in the code option i still get errors..
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

naitsirhc
Posts: 32
Joined: Sunday 17 January 2016 12:20
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by naitsirhc » Monday 19 February 2018 13:21

@Derik
Send PM
Und Tschjuß

norrland
Posts: 17
Joined: Monday 28 November 2016 23:59
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by norrland » Friday 23 February 2018 22:15

Looks like support for the type "Door Lock" is missing.
States are Locked and Unlocked.

Now it is handled the same way as "Door Contact" which is a completely different thing (a sensor rather than a lock).

This is how the device info looks like.

Code: Select all

{
   "ActTime" : 1519415468,
   "AstrTwilightEnd" : "19:26",
   "AstrTwilightStart" : "04:43",
   "CivTwilightEnd" : "17:41",
   "CivTwilightStart" : "06:27",
   "DayLength" : "09:42",
   "NautTwilightEnd" : "18:33",
   "NautTwilightStart" : "05:35",
   "ServerTime" : "2018-02-23 20:51:08",
   "SunAtSouth" : "12:05",
   "Sunrise" : "07:13",
   "Sunset" : "16:55",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Locked",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 1,
         "HardwareName" : "ZStick",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00002801",
         "Image" : "Light",
         "InternalState" : "Locked",
         "IsSubDevice" : false,
         "LastUpdate" : "2018-02-23 20:49:57",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Garagedörren",
         "Notifications" : "true",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Locked",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Door Lock",
         "SwitchTypeVal" : 19,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "door",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "260"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}

nosehook
Posts: 22
Joined: Thursday 31 March 2016 20:49
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by nosehook » Monday 05 March 2018 15:20

Hoi Rob,

First of all, I love Dashticz so far!
What I was wondering:
1) Is it possible to use google to calculate the (car based) commute time at present to work? I generally use Dashticz in the morning when I wake up and this would make me quite happy, since I work at irregular times.
2) traffic jams/accidents that have happened on the route to work.
3) check flight status (on time/delay) of a specific flight (pulled from google callendar)

Keep up the amazing work!
Regards,

Freek
B+ Domoticz | B+ OpenElec | Pi3 RetroPie | RFXcom 433E | 6 KAKU/COCO |
Harmony Hub | Panasonic TV | KODI (win) | YouLess | 4 x HS100 | VoxCommando (win) | Xiaomi gateway | sensors | scripts

Ingmar
Posts: 68
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by Ingmar » Tuesday 06 March 2018 0:00

nosehook wrote:
Monday 05 March 2018 15:20
Hoi Rob,

First of all, I love Dashticz so far!
What I was wondering:
1) Is it possible to use google to calculate the (car based) commute time at present to work? I generally use Dashticz in the morning when I wake up and this would make me quite happy, since I work at irregular times.
2) traffic jams/accidents that have happened on the route to work.
3) check flight status (on time/delay) of a specific flight (pulled from google callendar)

Keep up the amazing work!
Regards,

Freek
Hi Freek,

Maybe not exactly what you are looking for, but I am using the following code: It creates a button on your dashboard and when you click it it will show a popup with your route to work (or whatever you set it on) including the time required with traffic and alternative routes. Just like as if you planned your route with Google maps.

Code: Select all

buttons.Route = {width:10, title: 'Route to work', url: 'https://www.google.com/maps/embed/v1/directions?key=INSERT_YOUR_GOOGLE_API&origin=STREETNAME+123,+1234+AB+CITYNAME,+COUNTRY&destination=STREETNAME+123,+1234+AB+CITYNAME'}
So for example:

Code: Select all

buttons.Route = {width:10, title: 'Route to work', url: 'https://www.google.com/maps/embed/v1/directions?key=AIzaRyDPHISSPkc5g6Elcm4pWRTcGdDcfeGJtM&origin=Damrak+1,+1012+LG+Amsterdam&destination=Noordeinde+1,+2514+GA+Den+Haag'}
Obviously the API in the piece of code above is not my API, i changed bits to make sure it doesn't work ;)
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.

User avatar
Derik
Posts: 2115
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Feature Requests

Post by Derik » Tuesday 06 March 2018 0:30

Ingmar wrote:
Tuesday 06 March 2018 0:00
nosehook wrote:
Monday 05 March 2018 15:20
Hoi Rob,

First of all, I love Dashticz so far!
What I was wondering:
1) Is it possible to use google to calculate the (car based) commute time at present to work? I generally use Dashticz in the morning when I wake up and this would make me quite happy, since I work at irregular times.
2) traffic jams/accidents that have happened on the route to work.
3) check flight status (on time/delay) of a specific flight (pulled from google callendar)

Keep up the amazing work!
Regards,

Freek
Hi Freek,

Maybe not exactly what you are looking for, but I am using the following code: It creates a button on your dashboard and when you click it it will show a popup with your route to work (or whatever you set it on) including the time required with traffic and alternative routes. Just like as if you planned your route with Google maps.

Code: Select all

buttons.Route = {width:10, title: 'Route to work', url: 'https://www.google.com/maps/embed/v1/directions?key=INSERT_YOUR_GOOGLE_API&origin=STREETNAME+123,+1234+AB+CITYNAME,+COUNTRY&destination=STREETNAME+123,+1234+AB+CITYNAME'}
So for example:

Code: Select all

buttons.Route = {width:10, title: 'Route to work', url: 'https://www.google.com/maps/embed/v1/directions?key=AIzaRyDPHISSPkc5g6Elcm4pWRTcGdDcfeGJtM&origin=Damrak+1,+1012+LG+Amsterdam&destination=Noordeinde+1,+2514+GA+Den+Haag'}
Obviously the API in the piece of code above is not my API, i changed bits to make sure it doesn't work ;)
mm very great feature....
Cannot script self...unfort.......

Only perhaps is it possible place it in to a smal window like te buienradar option?
And when you tick on the smal window there come a pop up in a new lager window..
That pop up stops after x second ?
Looks great to me.
when this could be possible.
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

Ingmar
Posts: 68
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by Ingmar » Tuesday 06 March 2018 0:36

I can't script either, it's a matter of searching, reading, trying, etc. Maybe you should put some time into researching things yourself instead of only asking other people to stuff for you ;-)
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.

User avatar
Derik
Posts: 2115
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Feature Requests

Post by Derik » Tuesday 06 March 2018 0:41

Ingmar wrote:
Tuesday 06 March 2018 0:36
I can't script either, it's a matter of searching, reading, trying, etc. Maybe you should put some time into researching things yourself instead of only asking other people to stuff for you ;-)
Thanks love U2

Only this name of this topic is.....
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

nosehook
Posts: 22
Joined: Thursday 31 March 2016 20:49
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by nosehook » Tuesday 06 March 2018 19:21

Ingmar wrote:
Tuesday 06 March 2018 0:00
nosehook wrote:
Monday 05 March 2018 15:20
Hoi Rob,

First of all, I love Dashticz so far!
What I was wondering:
1) Is it possible to use google to calculate the (car based) commute time at present to work? I generally use Dashticz in the morning when I wake up and this would make me quite happy, since I work at irregular times.
2) traffic jams/accidents that have happened on the route to work.
3) check flight status (on time/delay) of a specific flight (pulled from google callendar)

Keep up the amazing work!
Regards,

Freek
Hi Freek,

Maybe not exactly what you are looking for, but I am using the following code: It creates a button on your dashboard and when you click it it will show a popup with your route to work (or whatever you set it on) including the time required with traffic and alternative routes. Just like as if you planned your route with Google maps.

Code: Select all

buttons.Route = {width:10, title: 'Route to work', url: 'https://www.google.com/maps/embed/v1/directions?key=INSERT_YOUR_GOOGLE_API&origin=STREETNAME+123,+1234+AB+CITYNAME,+COUNTRY&destination=STREETNAME+123,+1234+AB+CITYNAME'}
So for example:

Code: Select all

buttons.Route = {width:10, title: 'Route to work', url: 'https://www.google.com/maps/embed/v1/directions?key=AIzaRyDPHISSPkc5g6Elcm4pWRTcGdDcfeGJtM&origin=Damrak+1,+1012+LG+Amsterdam&destination=Noordeinde+1,+2514+GA+Den+Haag'}
Obviously the API in the piece of code above is not my API, i changed bits to make sure it doesn't work ;)
Got it working! Many thanks.
B+ Domoticz | B+ OpenElec | Pi3 RetroPie | RFXcom 433E | 6 KAKU/COCO |
Harmony Hub | Panasonic TV | KODI (win) | YouLess | 4 x HS100 | VoxCommando (win) | Xiaomi gateway | sensors | scripts

clubeddie
Posts: 77
Joined: Saturday 19 March 2016 22:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by clubeddie » Tuesday 06 March 2018 23:41

nosehook wrote:
Monday 05 March 2018 15:20
Hoi Rob,

First of all, I love Dashticz so far!
What I was wondering:
1) Is it possible to use google to calculate the (car based) commute time at present to work? I generally use Dashticz in the morning when I wake up and this would make me quite happy, since I work at irregular times.
2) traffic jams/accidents that have happened on the route to work.
3) check flight status (on time/delay) of a specific flight (pulled from google callendar)

Keep up the amazing work!
Regards,

Freek
You can take a look at this thread.
http://www.domoticz.com/forum/viewtopic ... it=Traffic

I use this in combination of a google Maps of my area (which can be easily inserted in dashticz).
So i can see in two blocks my travel time, delay in percentage and an overview of the area.

I also combined ut with my xiaomi gateway, so i can see on the light (green, orange, red) how many delay there is and if i have to eat my breakfast fast :lol:

tlkg
Posts: 5
Joined: Sunday 14 January 2018 23:17
Target OS: Windows
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by tlkg » Wednesday 07 March 2018 21:27

A way to disable screen swiping/sliding for use with tablets.
For example, when you have sliders on the first or other screens, for dimming lights, it becomes difficult to actually grab the dimming slider to move rather than the whole screen. Would be nice to be able to disable the sliding function and just navigate screens using the bottom buttons or buttons created to direct links to other screens.

Beschuitje
Posts: 16
Joined: Saturday 24 February 2018 13:07
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Beschuitje » Saturday 17 March 2018 16:53

A find my iphone/friends feature.
Maybe with a map from GM lat. long.
Apple uses two way verification so thats going to be a problem

jake
Posts: 432
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Dashticz - Feature Requests

Post by jake » Friday 23 March 2018 20:44

Please add the option to the blocks to control the amount of digits. At the moment I calculate the outputs from several micro inverters together, to show the total power generation. It is displayed in Dashticz as 1250,00 W. I know this is how the info comes from Domoticz, but it would be nice to be able to shorten this display (in my case) to 1250 W. This would help as well to keep the whole text on 1 line.

aiolos
Posts: 129
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi
Domoticz version: stable
Location: Sale, UK
Contact:

Re: Dashticz - Feature Requests

Post by aiolos » Sunday 25 March 2018 20:14

jake wrote:
Friday 23 March 2018 20:44
Please add the option to the blocks to control the amount of digits. At the moment I calculate the outputs from several micro inverters together, to show the total power generation. It is displayed in Dashticz as 1250,00 W. I know this is how the info comes from Domoticz, but it would be nice to be able to shorten this display (in my case) to 1250 W. This would help as well to keep the whole text on 1 line.
You can try the (undocumented) 'units' configuration option:

Code: Select all

config['units'] = {
    names: {
        kwh: 'kWh',
        watt: 'W',
    },
    decimals: {
        kwh: 2,
        watt: 0,
    },
    separators: {
        decimal: ',',
        thousands: '.'
    }
};
Contributor to Dashticz
More on my Github profile

jake
Posts: 432
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Dashticz - Feature Requests

Post by jake » Tuesday 27 March 2018 19:12

aiolos wrote:
jake wrote:
Friday 23 March 2018 20:44
Please add the option to the blocks to control the amount of digits. At the moment I calculate the outputs from several micro inverters together, to show the total power generation. It is displayed in Dashticz as 1250,00 W. I know this is how the info comes from Domoticz, but it would be nice to be able to shorten this display (in my case) to 1250 W. This would help as well to keep the whole text on 1 line.
You can try the (undocumented) 'units' configuration option:

Code: Select all

config['units'] = {
    names: {
        kwh: 'kWh',
        watt: 'W',
    },
    decimals: {
        kwh: 2,
        watt: 0,
    },
    separators: {
        decimal: ',',
        thousands: '.'
    }
};
Thanks this works for most of the electrical sensors.

It would be good to put the opion in the Wiki.

The PV-output sensor, which publishes the daily energy harvest on the dashboard, doesn't comply with the setting, it keeps the 3 digits accuracy and uses a '.' instead of the intended ','

Is it possible to add m3 gas to it as well? I don't really care for the last dm3/liter on the dashboard. 1 digit would be plenty to display

aiolos
Posts: 129
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi
Domoticz version: stable
Location: Sale, UK
Contact:

Re: Dashticz - Feature Requests

Post by aiolos » Wednesday 28 March 2018 20:22

jake wrote:
Tuesday 27 March 2018 19:12
aiolos wrote:
jake wrote:
Friday 23 March 2018 20:44
Please add the option to the blocks to control the amount of digits. At the moment I calculate the outputs from several micro inverters together, to show the total power generation. It is displayed in Dashticz as 1250,00 W. I know this is how the info comes from Domoticz, but it would be nice to be able to shorten this display (in my case) to 1250 W. This would help as well to keep the whole text on 1 line.
You can try the (undocumented) 'units' configuration option:

Code: Select all

config['units'] = {
    names: {
        kwh: 'kWh',
        watt: 'W',
    },
    decimals: {
        kwh: 2,
        watt: 0,
    },
    separators: {
        decimal: ',',
        thousands: '.'
    }
};
Thanks this works for most of the electrical sensors.

It would be good to put the opion in the Wiki.

The PV-output sensor, which publishes the daily energy harvest on the dashboard, doesn't comply with the setting, it keeps the 3 digits accuracy and uses a '.' instead of the intended ','

Is it possible to add m3 gas to it as well? I don't really care for the last dm3/liter on the dashboard. 1 digit would be plenty to display
it could be added for other sensors too, they are handled a bit different, but it should be possible to work the same way. I'll have a look how this can be reached.
Contributor to Dashticz
More on my Github profile

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests