Dashticz - Feature Requests

Moderators: leecollings, htilburgs, robgeerts

Locked
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 - Feature Requests

Post by Derik »

naitsirhc wrote: Tuesday 13 February 2018 18: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: 44
Joined: Sunday 17 January 2016 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by naitsirhc »

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 22:43, edited 1 time in total.
Und Tschjuß
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 - Feature Requests

Post by Derik »

naitsirhc wrote: Tuesday 13 February 2018 22: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: 44
Joined: Sunday 17 January 2016 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by naitsirhc »

you mean:
buienr.PNG
buienr.PNG (13.26 KiB) Viewed 6401 times
in config.js?
Und Tschjuß
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 - Feature Requests

Post by Derik »

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: 44
Joined: Sunday 17 January 2016 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by naitsirhc »

@Derik
Send PM
Und Tschjuß
norrland
Posts: 8
Joined: Monday 28 November 2016 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by norrland »

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: 49
Joined: Thursday 31 March 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by nosehook »

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
Pi3 Domoticz | RFXcom 433E | KAKU/COCO |Harmony Hub | Samsung TV | HS100 | HS110| HUE | Tradfri | Tado| Xiaomi |sensors | scripts| Pi3 Node Red | Pi2 SDS_011 + MH-Z19B | PiAware (zero) | Pi2 breadboard with Node red and Domoticz
Ingmar
Posts: 51
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 »

nosehook wrote: Monday 05 March 2018 14: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.
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 - Feature Requests

Post by Derik »

Ingmar wrote: Monday 05 March 2018 23:00
nosehook wrote: Monday 05 March 2018 14: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: 51
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 »

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.
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 - Feature Requests

Post by Derik »

Ingmar wrote: Monday 05 March 2018 23: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: 49
Joined: Thursday 31 March 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by nosehook »

Ingmar wrote: Monday 05 March 2018 23:00
nosehook wrote: Monday 05 March 2018 14: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.
Pi3 Domoticz | RFXcom 433E | KAKU/COCO |Harmony Hub | Samsung TV | HS100 | HS110| HUE | Tradfri | Tado| Xiaomi |sensors | scripts| Pi3 Node Red | Pi2 SDS_011 + MH-Z19B | PiAware (zero) | Pi2 breadboard with Node red and Domoticz
clubeddie
Posts: 80
Joined: Saturday 19 March 2016 21:12
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by clubeddie »

nosehook wrote: Monday 05 March 2018 14: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: 19
Joined: Sunday 14 January 2018 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: United States
Contact:

Re: Dashticz - Feature Requests

Post by tlkg »

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: 32
Joined: Saturday 24 February 2018 12:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Beschuitje »

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: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Feature Requests

Post by jake »

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: 127
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: Nieuwegein, NL
Contact:

Re: Dashticz - Feature Requests

Post by aiolos »

jake wrote: Friday 23 March 2018 19: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: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Feature Requests

Post by jake »

aiolos wrote:
jake wrote: Friday 23 March 2018 19: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: 127
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: Nieuwegein, NL
Contact:

Re: Dashticz - Feature Requests

Post by aiolos »

jake wrote: Tuesday 27 March 2018 19:12
aiolos wrote:
jake wrote: Friday 23 March 2018 19: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
Locked

Who is online

Users browsing this forum: No registered users and 1 guest