Page 34 of 184

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

Posted: Wednesday 12 April 2017 13:23
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 :)

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

Posted: Wednesday 12 April 2017 13:32
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 :)

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

Posted: Wednesday 12 April 2017 13:37
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

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

Posted: Wednesday 12 April 2017 13:40
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 ;)

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

Posted: Wednesday 12 April 2017 13:45
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 1992 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 1992 times
I don't know really where to start but maybe there is something were I can help with this :)

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

Posted: Wednesday 12 April 2017 14:26
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!

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

Posted: Wednesday 12 April 2017 14:27
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

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

Posted: Wednesday 12 April 2017 14:50
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!

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

Posted: Wednesday 12 April 2017 15:38
by robgeerts
You are right ;)
Saved it now :)

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

Posted: Wednesday 12 April 2017 15:57
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.

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

Posted: Wednesday 12 April 2017 15:59
by robgeerts
Yes, added to my todo list

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

Posted: Wednesday 12 April 2017 16:27
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'}

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

Posted: Wednesday 12 April 2017 16:31
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?

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

Posted: Wednesday 12 April 2017 16:35
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...

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

Posted: Wednesday 12 April 2017 16:57
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"
}

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

Posted: Wednesday 12 April 2017 17:07
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..

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

Posted: Wednesday 12 April 2017 17:14
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?

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

Posted: Wednesday 12 April 2017 17:32
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?

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

Posted: Wednesday 12 April 2017 17:34
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 1914 times
year.png
year.png (124.07 KiB) Viewed 1914 times
dashboard.png
dashboard.png (120.4 KiB) Viewed 1914 times

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

Posted: Wednesday 12 April 2017 17:35
by robgeerts
Do you get any console (F12) errors? Did you use the right IDX numbers?