Page 61 of 184
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:37
by freakshock
What browser do you use on an Android tablet?
I've tried Chrome, Full Screen Browser and Dolphin.
Chrome is bad because I can't hide the adress bar, dolphin can do this but it makes the page scroll so when I try to swipe it shows the adress bar again. Full screen browser seems perfect on the address bar and zooming side of things, but it crashes once or twice a day on my Nexus 10.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:39
by freakshock
robgeerts wrote:
It is already available but not all devices get recognized correctly... Please send me the output of the devices and I will fix it a.s.a.p.
Here it is, power and gas:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "8231.165",
"CounterDeliv" : "0.157",
"CounterDelivToday" : "0.000 kWh",
"CounterToday" : "3.847 kWh",
"CustomImage" : 0,
"Data" : "3744641;4486524;69;88;230;0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:37:24",
"Name" : "Stroom",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "230 Watt",
"UsageDeliv" : "0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "1"
},
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "5207.100",
"CounterToday" : "2.090 m3",
"CustomImage" : 0,
"Data" : "5207.100",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:35:44",
"Name" : "Gas",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Gas",
"SwitchTypeVal" : 1,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "2"
},
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:40
by robgeerts
freakshock wrote:robgeerts wrote:
It is already available but not all devices get recognized correctly... Please send me the output of the devices and I will fix it a.s.a.p.
Here it is, power and gas:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "8231.165",
"CounterDeliv" : "0.157",
"CounterDelivToday" : "0.000 kWh",
"CounterToday" : "3.847 kWh",
"CustomImage" : 0,
"Data" : "3744641;4486524;69;88;230;0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:37:24",
"Name" : "Stroom",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "230 Watt",
"UsageDeliv" : "0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "1"
},
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "5207.100",
"CounterToday" : "2.090 m3",
"CustomImage" : 0,
"Data" : "5207.100",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:35:44",
"Name" : "Gas",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Gas",
"SwitchTypeVal" : 1,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "2"
},
Just tested these and they seem to work?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:46
by SwordFish
I noticed that the dashboard isn't refreshing. I have a scene that's goes on after sunset. The lights were on but the dashboard didn't refresh. I waited for a minute nothing only when I press a different button it's refreshed?
Verzonden vanaf mijn iPhone met Tapatalk
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:50
by Letalis
Thanks for a really nice Dashboard.
I will send you a gift soon..
Btw is there a possibility to change the layout of the sliders to "top-bottom" instead of "left-right".
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:50
by robgeerts
Could you try latest version just pushed to gitlab?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:51
by sonar
freakshock wrote:Chrome is bad because I can't hide the adress bar
In Chrome on Android you can choose an option from the menu "Add to Homescreen"(Toevoegen aan startscherm). This will make a shortcut on your homescreen. If you start the dashboard with this shortcut the dashboard will be fullscreen.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:51
by freakshock
robgeerts wrote:freakshock wrote:robgeerts wrote:
It is already available but not all devices get recognized correctly... Please send me the output of the devices and I will fix it a.s.a.p.
Here it is, power and gas:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "8231.165",
"CounterDeliv" : "0.157",
"CounterDelivToday" : "0.000 kWh",
"CounterToday" : "3.847 kWh",
"CustomImage" : 0,
"Data" : "3744641;4486524;69;88;230;0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:37:24",
"Name" : "Stroom",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "230 Watt",
"UsageDeliv" : "0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "1"
},
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "5207.100",
"CounterToday" : "2.090 m3",
"CustomImage" : 0,
"Data" : "5207.100",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:35:44",
"Name" : "Gas",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Gas",
"SwitchTypeVal" : 1,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "2"
},
Just tested these and they seem to work?
This is my result for all power/gas blocks:

- dashticzerr1.png (19.18 KiB) Viewed 2088 times
Clicking the three graph options does nothing.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 20:57
by robgeerts
freakshock wrote:robgeerts wrote:freakshock wrote:
Here it is, power and gas:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "8231.165",
"CounterDeliv" : "0.157",
"CounterDelivToday" : "0.000 kWh",
"CounterToday" : "3.847 kWh",
"CustomImage" : 0,
"Data" : "3744641;4486524;69;88;230;0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:37:24",
"Name" : "Stroom",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "230 Watt",
"UsageDeliv" : "0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "1"
},
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "5207.100",
"CounterToday" : "2.090 m3",
"CustomImage" : 0,
"Data" : "5207.100",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "Slimme meter",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-04-20 20:35:44",
"Name" : "Gas",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Gas",
"SwitchTypeVal" : 1,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "2"
},
Just tested these and they seem to work?
This is my result for all power/gas blocks:
dashticzerr1.png
Clicking the three graph options does nothing.
Ah, I thought clicking on a block didnt work.
Ok, do you get an error in console (f12) ? (only works when opening on windows)
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:00
by SwordFish
robgeerts wrote:Could you try latest version just pushed to gitlab?
Now its working.
Where can i adjust the refresh time so that i can set my own time?
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:03
by robgeerts
At the bottom of main.js (twice), will add a variable for this..
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:04
by SwordFish
robgeerts wrote:At the bottom of main.js (twice), will add a variable for this..
Thanks, that would be nice.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:06
by freakshock
robgeerts wrote:freakshock wrote:robgeerts wrote:
Just tested these and they seem to work?
This is my result for all power/gas blocks:
dashticzerr1.png
Clicking the three graph options does nothing.
Ah, I thought clicking on a block didnt work.
Ok, do you get an error in console (f12) ? (only works when opening on windows)
No errors unfortunately.. only this output but I think that's not related to this problem:
Code: Select all
index.html#1:8 Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.
jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
I can only get it to show as in the previous image after the second try. At first try it shows this screen indefinitely:

- dashticzerr2.png (10.17 KiB) Viewed 2077 times
Only after i close this screen and try again it shows as in my previous attachment.
sonar wrote:freakshock wrote:Chrome is bad because I can't hide the adress bar
In Chrome on Android you can choose an option from the menu "Add to Homescreen"(Toevoegen aan startscherm). This will make a shortcut on your homescreen. If you start the dashboard with this shortcut the dashboard will be fullscreen.
Thanks, perfect solution, especially since I can use the pull to refresh function

Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:10
by robgeerts
SwordFish wrote:robgeerts wrote:At the bottom of main.js (twice), will add a variable for this..
Thanks, that would be nice.
Added in latest version.
You can add to config.js:
Code: Select all
var _DOMOTICZ_REFRESH = 10; //seconds
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:14
by gielie
@ robgeerts
It works like a charm, very impressive work.
I'd like to change the color of the fan.on but it is not a fa-icon, how do I do this?
And (I'm not very demanding) I'd like to create a link to the 3rd screen if possible. So when I click my small webcam on the first screen it will show the 3rd screen with a bigger webcam picture.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 21:22
by htilburgs
Wow, lot of changes!
Have to get working again on the Wiki
Btw, Thanx for the iphone output. Not at home right now, but will try it tomorow.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 22:22
by robgeerts
gielie wrote:
It works like a charm, very impressive work.
I'd like to change the color of the fan.on but it is not a fa-icon, how do I do this?
Just overwrite fan.png in img-folder with another image.
gielie wrote:
And (I'm not very demanding) I'd like to create a link to the 3rd screen if possible. So when I click my small webcam on the first screen it will show the 3rd screen with a bigger webcam picture.
I'll put this on my todo-list.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 22:24
by mlamie
freakshock wrote:What browser do you use on an Android tablet?
I've tried Chrome, Full Screen Browser and Dolphin.
Chrome is bad because I can't hide the adress bar, dolphin can do this but it makes the page scroll so when I try to swipe it shows the adress bar again. Full screen browser seems perfect on the address bar and zooming side of things, but it crashes once or twice a day on my Nexus 10.
I use Chrome (full screen) on my Nexus 7 tablet. If you select add to home screen in the Chrome menu, a shortcut will be created, via this shortcut the address bar is not given. Secondly I use Power Toggles and enable Immersive mode which will hide the Android top bar and on screen buttons.
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Thursday 20 April 2017 22:56
by whiteduck
Hi Rob,
Thanks for fixing the pump icon status! EDIT: Actually it is not fixed: see below in Chrome.
Oddly running Chrome (no zoom) and Safari (no zoom) I get a different result on my Mac.
In the attachment Chrome is on the left and while the available browser window size is different due to the headers I notice in Safari (on the right) I lose the bottom of the window and cannot scroll down to see it - looks like the window size is not being correctly picked up. Not a major issue but just wanted to let you know.

- sidebyside.jpg (141.26 KiB) Viewed 2043 times
Best regards
Ian
Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Friday 21 April 2017 0:27
by bierlaagh
Thnx for the latest update , Scenes are working now.
got another issue (or i don't know how to adjust)
I have an UV meter, which gives the following output:
Code: Select all
{
"ActTime" : 1492726357,
"ServerTime" : "2017-04-21 00:12:37",
"Sunrise" : "06:26",
"Sunset" : "20:43",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 0,
"CustomImage" : 0,
"Data" : "0.0 UVI",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 1,
"HardwareName" : "rfxcom",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "8900",
"LastUpdate" : "2017-04-21 00:12:28",
"Name" : "uv meter",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2, 6, 10 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"SubType" : "UVN800",
"Timers" : "false",
"Type" : "UV",
"TypeImg" : "uv",
"UVI" : "0.0",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "69"
}
],
"status" : "OK",
"title" : "Devices"
}
what do i have to change to replace On/off to the output (0.0 in this case)

- 2017-04-21 00_25_19-Microsoft Edge.png (18.81 KiB) Viewed 2024 times