Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Ok, but for example, I dont want it to go automatically back to a certain slide.
So, I'm gonna make a setting for that :)
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by maluko »

robgeerts wrote:Ok, but for example, I dont want it to go automatically back to a certain slide.
So, I'm gonna make a setting for that :)
you are the boss..., the good boss :)
l00pz
Posts: 42
Joined: Wednesday 01 April 2015 11:52
Target OS: Linux
Domoticz version: Beta
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by l00pz »

I'm unable to get the latests versions working. I configured the CONFIG_DEFAULT.js File and copied / renamed it to CONFIG.js, but when I open the Dashboard it only seems to show the Weather and Language / Clock Settings I configured. I'm 100% sure that the Domoticz URL is correct, because the old version of the Dashboard is working fine.

I attached some Screenshots from my Config, and the Developer Output from Chrome. Someone else with this problem?

Image

Image
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Ah, let me fix this...
You get this error because you have no screens or blocks defined... I have to take this into account ;)
Blueone
Posts: 130
Joined: Friday 29 November 2013 11:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by Blueone »

Is it possible to have a selector switch without the dropdown but with buttons within a block?
Something like this in the same style as the other blocks, it makes it more touch friendly. (without the notification blocks etc.)
selector.png
selector.png (18.86 KiB) Viewed 1985 times
Also an other suggestion for the future, a setpoint block adjust the setpoint with an + and -, and when it's possible with the burning states, if you use the OTGW the burner states are switches in Domoticz so maybe that's even possible.
setpoint.png
setpoint.png (6.28 KiB) Viewed 1985 times
I don't know really where to start but maybe there is something were I can help with this :)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

l00pz wrote:I'm unable to get the latests versions working. I configured the CONFIG_DEFAULT.js File and copied / renamed it to CONFIG.js, but when I open the Dashboard it only seems to show the Weather and Language / Clock Settings I configured. I'm 100% sure that the Domoticz URL is correct, because the old version of the Dashboard is working fine.

I attached some Screenshots from my Config, and the Developer Output from Chrome. Someone else with this problem?

Image

Image
Should be fixed in latest version!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Blueone wrote:Is it possible to have a selector switch without the dropdown but with buttons within a block?
Something like this in the same style as the other blocks, it makes it more touch friendly. (without the notification blocks etc.)
selector.png

Also an other suggestion for the future, a setpoint block adjust the setpoint with an + and -, and when it's possible with the burning states, if you use the OTGW the burner states are switches in Domoticz so maybe that's even possible.
setpoint.png
I don't know really where to start but maybe there is something were I can help with this :)
Will add this to my todo-list at https://trello.com/b/qsNqHtie/dashboard
axelbaas
Posts: 28
Joined: Thursday 14 January 2016 20:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by axelbaas »

axelbaas wrote:Unfortunately i miss the option to changes colors at my Philips Hue an Milight lights. Can i address this as a feature request? 8-)
Just added this to the Trello board so I wont forget..
https://trello.com/b/qsNqHtie/dashboard

This kind of things are less easy so could take while (some days or so)
I (really) do not want to rush you.. But is it possible that you didn't save your Trello board? :roll: Thanks anyway!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

You are right ;)
Saved it now :)
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by SwordFish »

Is it possible to ad more space between the arrows and stop icons for somfy. It is now hard to push the right arrow or stop :?
And maybe more space between the word somfy and the arrows/stop.
Attachments
Screenshot_2017-04-12-15-51-42.png
Screenshot_2017-04-12-15-51-42.png (291.49 KiB) Viewed 1937 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Yes, added to my todo list
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by Nautilus »

This looks very nice! I cloned the repo to ../domoticz/www/dashboard/ and configured the variables sections. The rest is still commented out (_use_auto_positioning and _use_favorites = true). I get just the wu weather and buttons / widgets on the right-hand column. I tried commenting out the custom postitioning section and added some of my device / sensor idx but after that the whole dashboard is blank. Must be something really simple, but any idea what I'm missing? :)
Spoiler: show
var _LANGUAGE = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://IP:PORT';
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = 'APIKEY';
var _WEATHER_CITY = 'MYLOCATION';
var _WEATHER_COUNTRY = 'FI';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _STANDBY_AFTER_MINUTES = false; //enter amount of seconds like: 5 (5 seconds)
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/Rada ... =285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by SwordFish »

Nautilus wrote:This looks very nice! I cloned the repo to ../domoticz/www/dashboard/ and configured the variables sections. The rest is still commented out (_use_auto_positioning and _use_favorites = true). I get just the wu weather and buttons / widgets on the right-hand column. I tried commenting out the custom postitioning section and added some of my device / sensor idx but after that the whole dashboard is blank. Must be something really simple, but any idea what I'm missing? :)
Spoiler: show
var _LANGUAGE = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://IP:PORT';
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = 'APIKEY';
var _WEATHER_CITY = 'MYLOCATION';
var _WEATHER_COUNTRY = 'FI';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _STANDBY_AFTER_MINUTES = false; //enter amount of seconds like: 5 (5 seconds)
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/Rada ... =285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
Did you fill in your ip adres of domoticz 'var _HOST_DOMOTICZ" ?
Do you have filled in idx mark as favorites in domoticz?
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by Nautilus »

SwordFish wrote:
Did you fill in your ip adres of domoticz 'var _HOST_DOMOTICZ" ?
Of course :) Sorry, should have mentioned that I "anonymised" some of the config info, maybe even a bit extra sensitively as it is just an IP in my local area network...
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by koowee »

I have again a few wish :) Some new type of devices.. no hurry

PIR sensor via domoticz slave

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 5,
         "HardwareName" : "Mokkislave",
         "HardwareType" : "Domoticz - Remote Server",
         "HardwareTypeVal" : 3,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000C00",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-08 14:25:38",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Workroom PIR sensor",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "131"
      },
Door sensor via domoticz slave

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 5,
         "HardwareName" : "Mokkislave",
         "HardwareType" : "Domoticz - Remote Server",
         "HardwareTypeVal" : 3,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000E34",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-02 13:58:41",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Workroom door",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "142"
      },
PIR sensor

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 91,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Razberry",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000700",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-02 14:01:52",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Summerhouse PIR",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "171"
      },
Door sensor

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 68,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Razberry",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000E34",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-02 14:01:30",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Summerhouse door sensor",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "251"
      },
Do you have any plan to add feature to that user can define what image is displayed for every per block (lamp, water drop...)? And do you have any idea why some of the devices gives graph that makes sense and some not

examples

Code: Select all

json.htm?type=graph&sensor=counter&idx=237&range=day
{
   "ValueQuantity" : "",
   "ValueUnits" : "",
   "result" : [
      {
         "d" : "2017-04-11 17:00",
         "v" : "4.000"
      },
      {
         "d" : "2017-04-11 18:00",
         "v" : "628.000"
      },...

Code: Select all

json.htm?type=graph&sensor=counter&idx=198&range=day
{
   "ValueQuantity" : "",
   "ValueUnits" : "",
   "status" : "OK",
   "title" : "Graph counter day"
}
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Nautilus wrote:This looks very nice! I cloned the repo to ../domoticz/www/dashboard/ and configured the variables sections. The rest is still commented out (_use_auto_positioning and _use_favorites = true). I get just the wu weather and buttons / widgets on the right-hand column. I tried commenting out the custom postitioning section and added some of my device / sensor idx but after that the whole dashboard is blank. Must be something really simple, but any idea what I'm missing? :)
Spoiler: show
var _LANGUAGE = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://IP:PORT';
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = 'APIKEY';
var _WEATHER_CITY = 'MYLOCATION';
var _WEATHER_COUNTRY = 'FI';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _STANDBY_AFTER_MINUTES = false; //enter amount of seconds like: 5 (5 seconds)
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/Rada ... =285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
When did you download it?
I fixed one issue regarding this, this afternoon..
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

koowee wrote:I have again a few wish :) Some new type of devices.. no hurry

PIR sensor via domoticz slave

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 5,
         "HardwareName" : "Mokkislave",
         "HardwareType" : "Domoticz - Remote Server",
         "HardwareTypeVal" : 3,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000C00",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-08 14:25:38",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Workroom PIR sensor",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "131"
      },
Door sensor via domoticz slave

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 5,
         "HardwareName" : "Mokkislave",
         "HardwareType" : "Domoticz - Remote Server",
         "HardwareTypeVal" : 3,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000E34",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-02 13:58:41",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Workroom door",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "142"
      },
PIR sensor

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 91,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Razberry",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000700",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-02 14:01:52",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Summerhouse PIR",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "171"
      },
Door sensor

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 68,
         "CustomImage" : 13,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 4,
         "HardwareName" : "Razberry",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000E34",
         "Image" : "Alarm",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-02 14:01:30",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Summerhouse door sensor",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "251"
      },
Do you have any plan to add feature to that user can define what image is displayed for every per block (lamp, water drop...)? And do you have any idea why some of the devices gives graph that makes sense and some not

examples

Code: Select all

json.htm?type=graph&sensor=counter&idx=237&range=day
{
   "ValueQuantity" : "",
   "ValueUnits" : "",
   "result" : [
      {
         "d" : "2017-04-11 17:00",
         "v" : "4.000"
      },
      {
         "d" : "2017-04-11 18:00",
         "v" : "628.000"
      },...

Code: Select all

json.htm?type=graph&sensor=counter&idx=198&range=day
{
   "ValueQuantity" : "",
   "ValueUnits" : "",
   "status" : "OK",
   "title" : "Graph counter day"
}

Basically, the type and suptype are the same.
download the latest version, I check if image is alarm, if yes,the icon is not a bulb but a warning sign (red when ON).
do you have a screenshot of the graph in domoticz and the same graph in this dashboard?
JoshDinsdale
Posts: 29
Joined: Monday 24 February 2014 14:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by JoshDinsdale »

Hey Guys

Im very new to this, discovered this project just yesterday. Im having some issues getting devices to show. If i have var _USE_AUTO_POSITIONING and var _USE_FAVORITES set as true, i get some favorites show, however if i try and do it manually i cant get anything to show. Weather and clock stuff is fine.

Any suggestions?
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by koowee »

robgeerts wrote:
koowee wrote:I have again a few wish :) Some new type of devices.. no hurry
...
Basically, the type and suptype are the same.
download the latest version, I check if image is alarm, if yes,the icon is not a bulb but a warning sign (red when ON).
do you have a screenshot of the graph in domoticz and the same graph in this dashboard?
Fast action again! :) Thanks

Now images are warning signs, not bulb anymore

Here are screenshots (this device have temperature and humidity in same graph)
dayandmonth.png
dayandmonth.png (183.94 KiB) Viewed 1907 times
year.png
year.png (124.07 KiB) Viewed 1907 times
dashboard.png
dashboard.png (120.4 KiB) Viewed 1907 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Do you get any console (F12) errors? Did you use the right IDX numbers?
Locked

Who is online

Users browsing this forum: No registered users and 1 guest