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

Post by robgeerts »

Ok, dont you want any confirmation when pressed that button?

Verstuurd vanaf mijn SM-G930F met Tapatalk
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

robgeerts wrote:Ok, dont you want any confirmation when pressed that button?
Thx for the reply... Am I missing something :?
I thought it was only showing the setpoint value. It's not clear to me what it should do when I press it? Can you further explain please?
Blah blah blah
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

Post by robgeerts »

Setpoint is a temperature wich is set when pressed? Not the current temperature?

Verstuurd vanaf mijn SM-G930F met Tapatalk
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

robgeerts wrote:Setpoint is a temperature wich is set when pressed? Not the current temperature?
The setpoint is the value (degrees) to set the thermostat to. Now it shows the actual value, but I don't have possibility to set to other temperature like in Domoticz. If that would be possible it would be great :idea: :D ;)

Image
Blah blah blah
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

Post by robgeerts »

Could you post the complete output of your domoticz? (Or at least every party wich has to do with Toon...
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: New Dashboard Design

Post by Ierlandfan »

I figured I would use the traffic.js as template to show a camera.

The popup part works since that's a simple replace of the htmlpage it opens

For the camera part, I am not sure where to put in the img src. I think I have to substitute some part in the the "entryTemplate"
Or do I have to insert it in the part further above?
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

robgeerts wrote:Could you post the complete output of your domoticz? (Or at least every party wich has to do with Toon...
No problem...

Code: Select all

{
   "ActTime" : 1491237688,
   "ServerTime" : "2017-04-03 18:41:28",
   "Sunrise" : "07:14",
   "Sunset" : "20:17",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "20.2 C",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveTimeout" : false,
         "ID" : "0001",
         "LastUpdate" : "2017-04-03 18:40:43",
         "Name" : "Kamertemperatuur",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "LaCrosse TX3",
         "Temp" : 20.199999999999999,
         "Timers" : "false",
         "Type" : "Temp",
         "TypeImg" : "temperature",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "36"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "12.0",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveTimeout" : false,
         "ID" : "0000001",
         "LastUpdate" : "2017-04-03 18:40:43",
         "Name" : "Thermostaatinstelling",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "SetPoint" : "12.0",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "SetPoint",
         "Timers" : "false",
         "Type" : "Thermostat",
         "TypeImg" : "override_mini",
         "Unit" : 0,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "35"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000071",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-03 18:35:42",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "HeatingOn",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 0,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "278"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000072",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-03 18:35:42",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "TapwaterOn",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 0,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "279"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000073",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-03 18:35:42",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "PreheatOn",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 0,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "280"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Counter" : "3129.388",
         "CounterDeliv" : "0.000",
         "CounterDelivToday" : "0.000 kWh",
         "CounterToday" : "0.014 kWh",
         "CustomImage" : 0,
         "Data" : "1934116;1195272;0;0;157;0",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveTimeout" : false,
         "ID" : "1",
         "LastUpdate" : "2017-04-03 18:40:43",
         "Name" : "Unknown",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Energy",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "P1 Smart Meter",
         "TypeImg" : "counter",
         "Unit" : 1,
         "Usage" : "157 Watt",
         "UsageDeliv" : "0 Watt",
         "Used" : 0,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "281"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Counter" : "844.029",
         "CounterToday" : "0.000 m3",
         "CustomImage" : 0,
         "Data" : "844.029",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveTimeout" : false,
         "ID" : "1",
         "LastUpdate" : "2017-04-03 18:40:43",
         "Name" : "Unknown",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "Gas",
         "SwitchTypeVal" : 1,
         "Timers" : "false",
         "Type" : "P1 Smart Meter",
         "TypeImg" : "counter",
         "Unit" : 2,
         "Used" : 0,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "282"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Blah blah blah
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

Post by robgeerts »

Ok, will look into this asap!
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: New Dashboard Design

Post by EdwinK »

Great. Looking forward to it.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: New Dashboard Design

Post by Dynamic »

Your dashboard is really awesome! Today I mounted an iPad to the wall to show all those cool things.

I have some devices that I would like to add (like the usage of my 'city heating' ). Here is the JSON-output:

Cityheating:

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Counter" : "385.790 m3",
         "CounterToday" : "0.040 m3",
         "CustomImage" : 0,
         "Data" : "385.790 m3",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 2,
         "HardwareName" : "Dummy",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : false,
         "ID" : "1421E",
         "LastUpdate" : "2017-04-03 19:40:09",
         "Name" : "Stadsverw. energie",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "RFXMeter counter",
         "SwitchTypeVal" : 1,
         "Timers" : "false",
         "Type" : "RFXMeter",
         "TypeImg" : "counter",
         "Unit" : 1,
         "Used" : 1,
         "ValueQuantity" : "",
         "ValueUnits" : "",
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "463"
      },
Temperature sensors:

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "75.1 C",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 2,
         "HardwareName" : "Dummy",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : false,
         "ID" : "1426A",
         "LastUpdate" : "2017-04-03 19:40:08",
         "Name" : "Stadverwarming temperatuur in",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "THR128/138, THC138",
         "Temp" : 75.129999999999995,
         "Timers" : "false",
         "Type" : "Temp",
         "TypeImg" : "temperature",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "539"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "74.7 C",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 2,
         "HardwareName" : "Dummy",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : false,
         "ID" : "1426B",
         "LastUpdate" : "2017-04-03 19:40:08",
         "Name" : "Stadsverwarming temperatuur uit",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "THR128/138, THC138",
         "Temp" : 74.730000000000004,
         "Timers" : "false",
         "Type" : "Temp",
         "TypeImg" : "temperature",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "540"
      },
And what is the easiest way to add a shortcut to Domoticz in the dashboard?

I'm also not able to switch scenes (I don't use groups). I mentioned that before:
Dynamic wrote:How can I activate a scene? My 'favorite' scenes are visible, but when I click them, nothing happens. Or is it designed for groups only?

Edit: I found something. When you activate a scene/group, it does:
/json.htm?type=command&param=switchlight&idx=1&switchcmd=On&level=0&passcode=

But it should be:
/json.htm?type=command&param=switchscene&idx=1&switchcmd=On&passcode=

How can I fix this?

Edit 2: got it. In main.js you have to change this line:
else if(data.result[r]['Type']=='Group'){
info:
else if(data.result[r]['Type']=='Scene'){
I will buy you a beer!
Attachments
rsz_img_0861.jpg
rsz_img_0861.jpg (105.57 KiB) Viewed 2061 times
Last edited by Dynamic on Monday 03 April 2017 19:59, edited 1 time in total.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

robgeerts wrote:Ok, will look into this asap!
Take your time... ;)
Blah blah blah
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

@Dynamic:
What did you use to fix it to the wall?
Blah blah blah
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: New Dashboard Design

Post by Dynamic »

HansieNL wrote:@Dynamic:
What did you use to fix it to the wall?
A very cheap wall mount, just 13,99 euro!

https://go.bol.com/p/9000000012512507

Image
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: New Dashboard Design

Post by EdwinK »

Dynamic wrote:Your dashboard is really awesome! Today I mounted an iPad to the wall to show all those cool things.
Looking good. No iPad here. Just some smallish Galaxy Tabs
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: New Dashboard Design

Post by Ierlandfan »

Little moren expensive, same idea
(Dual mount point included (E.g livingroom and kitchen/other place)
https://www.bol.com/nl/p/vogel-s-ringo- ... 0027956279
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

Post by robgeerts »

Ierlandfan wrote:I figured I would use the traffic.js as template to show a camera.

The popup part works since that's a simple replace of the htmlpage it opens

For the camera part, I am not sure where to put in the img src. I think I have to substitute some part in the the "entryTemplate"
Or do I have to insert it in the part further above?
You dont need the entryTemplate part..
Whats the JSON-output of your camera? This way I can test with it...
Will look into it asap!
Dynamic wrote:Your dashboard is really awesome! Today I mounted an iPad to the wall to show all those cool things.
Thanks!
Dynamic wrote: I have some devices that I would like to add (like the usage of my 'city heating' ). Here is the JSON-output:

Cityheating:

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Counter" : "385.790 m3",
         "CounterToday" : "0.040 m3",
         ------
         "idx" : "463"
      },
Temperature sensors:

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
        ------
         "idx" : "539"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
        -------
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "540"
      },
Added in the lastest version in Gitlab!
Dynamic wrote: And what is the easiest way to add a shortcut to Domoticz in the dashboard?
Try, in CONFIG.js:

Code: Select all

var buttons = {}
buttons.radio = {image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.radar = {icon: 'fa-cloud', title: 'Radar', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.nzbget = {icon: 'fa-download', title: 'NZBget', url: 'http://192.168.1.3:6789'}
Dynamic wrote: I'm also not able to switch scenes (I don't use groups). I mentioned that before:
Dynamic wrote:How can I activate a scene? My 'favorite' scenes are visible, but when I click them, nothing happens. Or is it designed for groups only?

Edit: I found something. When you activate a scene/group, it does:
/json.htm?type=command&param=switchlight&idx=1&switchcmd=On&level=0&passcode=

But it should be:
/json.htm?type=command&param=switchscene&idx=1&switchcmd=On&passcode=

How can I fix this?

Edit 2: got it. In main.js you have to change this line:
else if(data.result[r]['Type']=='Group'){
info:
else if(data.result[r]['Type']=='Scene'){
Thanks, fixed in latest version!
Could you test this?
Dynamic wrote: I will buy you a beer!
Thanks!

EdKo66 wrote:Great. Looking forward to it.
Could you test with the latest version if the setpoint-buttons are working?

WARNING, TRAFFIC AND NS-INFO ARE NOT WORKING CORRECTLY IN LATEST VERSION.
PLEASE SET, TEMPORARILY TO FALSE IN CONFIG.JS
WILL FIX THIS ASAP!
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: New Dashboard Design

Post by Ierlandfan »

Simple and static version is http:/IP:some_port/someimage
(we can also use this for buienradar)

Somewhat complicated version is :

<embed src="swfs/StrobeMediaPlayback.swf" width="960" height="540" quality="high" bgcolor="#000000" name="StrobeMediaPlayback" allowfullscreen="true" pluginspage="http://www.adobe.com/go/getflashplayer" flashvars="&src=rtmp://ip:some-port/flash/11:username:some-password&autoHideControlBar=true&streamType=live&autoPlay=true" type="application/x-shockwave-flash">

Height and width are only important for the pop-up part.
ddahya
Posts: 22
Joined: Monday 21 March 2016 1:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by ddahya »

Great Dashboard, keep up the good work.

i've downloaded the latest version and most of my devices are working, any chance of adding blind support to the dashboard?
The blinds are showing up as on/off devices but should be On/Off/Stop, also i have some dummy setpoint devices i use to control my neohub Thermostats that are also on/off devices.

json output for rflink blinds and Setpoint device

Code: Select all

 
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Open",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 9,
         "HardwareName" : "RFLink",
         "HardwareType" : "RFLink Gateway USB",
         "HardwareTypeVal" : 46,
         "HaveDimmer" : false,
         "HaveGroupCmd" : false,
         "HaveTimeout" : false,
         "ID" : "244CC400",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-04 06:45:10",
         "Level" : 99,
         "LevelInt" : 99,
         "MaxDimLevel" : 100,
         "Name" : "Living Room Blind 1",
         "Notifications" : "false",
         "PlanID" : "6",
         "PlanIDs" : [ 6, 10 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Open",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Dooya",
         "SwitchType" : "Venetian Blinds EU",
         "SwitchTypeVal" : 15,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "86"
      },

Code: Select all

      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "12.0",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 5,
         "HardwareName" : "Neohub",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : false,
         "ID" : "00140B7",
         "LastUpdate" : "2017-04-04 11:48:04",
         "Name" : "Bathroom",
         "Notifications" : "false",
         "PlanID" : "9",
         "PlanIDs" : [ 9, 10 ],
         "Protected" : false,
         "SetPoint" : "18.0",
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "SetPoint",
         "Timers" : "false",
         "Type" : "Thermostat",
         "TypeImg" : "override_mini",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "104"
      }
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by HansieNL »

robgeerts wrote:
EdKo66 wrote:Great. Looking forward to it.
Could you test with the latest version if the setpoint-buttons are working?
I've tested the Toon Thermostat setpoint, but don't see anything happen :(
I forgot to add a lamp item with the Toon thermostat data :oops: This one was always available in the dashboard, but after latest update, I think, it's gone.
@EdKo66: have you tested latest version?

Code: Select all

      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 7,
         "HardwareName" : "Toon Thermostaat",
         "HardwareType" : "Toon Thermostat",
         "HardwareTypeVal" : 34,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000010",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-04-04 03:14:40",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "Schemerlamp",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "AC",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Lighting 2",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "168"
      },
Blah blah blah
lassiko
Posts: 15
Joined: Tuesday 04 October 2016 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design

Post by lassiko »

Firstly, dashboard looks great, and as others, i am planning to set it for my tablet on a living room wall.
I have few devices that i could not get working, not that familiar with modifying the code.. What i would like get is Energy: "Usage" and "CounterToday" to be visible on a dashboard from this device:

Code: Select all

"AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CounterToday" : "22.998 kWh",
         "CustomImage" : 0,
         "Data" : "11050.739 kWh",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 17,
         "HardwareName" : "MySensors Gateway",
         "HardwareType" : "MySensors Gateway USB",
         "HardwareTypeVal" : 41,
         "HaveTimeout" : false,
         "ID" : "00000201",
         "LastUpdate" : "2017-04-04 09:37:55",
         "Name" : "kWh",
         "Notifications" : "false",
         "Options" : "",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "kWh",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "General",
         "TypeImg" : "current",
         "Unit" : 1,
         "Usage" : "311.0 Watt",
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "100"
I also have several Temp + Humidity sensors that i would like use. I could not edit Temp + Humidity + Baro section for my needs, maybe some one can help to create a only Temp + Humidity? :

Code: Select all

"AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 10.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "1.1 C, 89 %",
         "Description" : "",
         "DewPoint" : "-0.51",
         "Favorite" : 1,
         "HardwareID" : 14,
         "HardwareName" : "Virtual",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveTimeout" : false,
         "Humidity" : 89,
         "HumidityStatus" : "Normal",
         "ID" : "140F2",
         "LastUpdate" : "2017-04-04 09:37:50",
         "Name" : "Ulkolämpötila",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "SubType" : "THGN122/123, THGN132, THGR122/228/238/268",
         "Temp" : 1.1000000000000001,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 1,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "162"
Thank you!
Locked

Who is online

Users browsing this forum: No registered users and 1 guest