Page 59 of 184

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 13:15
by maluko
Jonb wrote:
EdKo66 wrote:Nice tablet. Looks great on the wall. Dwarfs my 7" tablet.
Thanks, I just bought the new ASUS Zenpad 10, received it, opened the box, took of the backplate, drilled 3 holes and mounted the backplate on the wall and close the cover ;). I'm now busy with continuous power inside the wall so I have no wires in sight.
who want insert the power plug without seen the cable can buy this and cut the cable to you power supply or buy the wireless charger.

http://www.ebay.com/itm/NEW-QI-Wireless ... SwzaJX479D

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 14:19
by Dropshot
Jonb wrote:
robgeerts wrote:No not yet, sorry, tomorrow :(
Thanks for this superb dashboard. I'm already playing and customizing it for 2 weeks now and it's working great. I hope the + / - function on setpoint will be updated in your new update of today?

Herewith a screenshot:


Looks nice!

Tip, try out this app: https://play.google.com/store/apps/deta ... ri.hidebar
It will hide the notification and navigation bars, so nobody will think of it as a tablet mounted to the wall. ;)

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 14:22
by htilburgs
Or use the Dolphin browser on Android. Great full screen kiosk mode without any bars.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 14:36
by robgeerts
NEW VERSION
- Swipe to change screens
- New thermostat-design (Thanks to @madrian)
- Some small performance fixes
- Graph on iphone battery-status block
- Bug in fan-block (mentioned by @gielie)
- Added swedish translations
- Disabled ios double click to zoom-function
- Fix when using device AND scene with same IDX-numbers
- Translations of wind direction (thanks to @Wizjos)

BE CAREFUL, THINGS MAY FAIL SO BACKUP YOUR OLD DASHBOARD-FOLDER!!!

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 14:39
by Jonb
Dropshot wrote:
Jonb wrote:
robgeerts wrote:No not yet, sorry, tomorrow :(
Thanks for this superb dashboard. I'm already playing and customizing it for 2 weeks now and it's working great. I hope the + / - function on setpoint will be updated in your new update of today?

Herewith a screenshot:


Looks nice!

Tip, try out this app: https://play.google.com/store/apps/deta ... ri.hidebar
It will hide the notification and navigation bars, so nobody will think of it as a tablet mounted to the wall. ;)

Yeah! Great, thank you!

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 14:41
by Jonb
robgeerts wrote:NEW VERSION
- Swipe to change screens
- New thermostat-design (Thanks to @madrian)
- Some small performance fixes
- Graph on iphone battery-status block
- Bug in fan-block (mentioned by @gielie)
- Added swedish translations
- Disabled ios double click to zoom-function
- Fix when using device AND scene with same IDX-numbers
- Translations of wind direction

BE CAREFUL, THING MAY FAIL SO BACKUP YOUR OLD DASHBOARD-FOLDER!!!
:D :D :D

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:06
by wizjos
robgeerts wrote:NEW VERSION
Works like a charm! Nice to see my code back :D
Now working on moonphase 8-)

Regards,
Wizjos

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:13
by SwordFish
Great work.
And how can i get this to work "Graph on iphone battery-status block"?

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:14
by robgeerts
SwordFish wrote:Great work.
And how can i get this to work "Graph on iphone battery-status block"?
I've only tested this with a device like:

Code: Select all

{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "66.00%",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 7,
"HardwareName" : "Dummy Virtual Switch",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "00082151",
"Image" : "Computer",
"LastUpdate" : "2017-04-18 13:50:08",
"Name" : "iPhone Batterij",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Percentage",
"Timers" : "false",
"Type" : "General",
"TypeImg" : "hardware",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "151"
},
If your device looks different, please share the output.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:18
by axelbaas
The new update is working like a charm!

Perhaps this question is already passed this forum. But how about the clickable sensors like temperature and humidity to open a graph? It is already working for CPU, Memory usage, and internal temperature from the Raspberry. But it seems not yet possible with other temperature sensors. Or am i the only one :)

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:19
by robgeerts
Please send me the output of that device..

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:26
by axelbaas
See underneath.

It is a MySensors Temperature sensors
Spoiler: show
{
"ActTime" : 1492694695,
"ServerTime" : "2017-04-20 15:24:55",
"Sunrise" : "06:31",
"Sunset" : "20:43",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "20.5 C, 38 %",
"Description" : "",
"DewPoint" : "5.69",
"Favorite" : 1,
"HardwareID" : 9,
"HardwareName" : "Mysensors_PI",
"HardwareType" : "MySensors Gateway with LAN interface",
"HardwareTypeVal" : 42,
"HaveTimeout" : false,
"Humidity" : 38,
"HumidityStatus" : "Comfortable",
"ID" : "4B01",
"LastUpdate" : "2017-04-20 15:24:50",
"Name" : "Huiskamer",
"Notifications" : "false",
"PlanID" : "4",
"PlanIDs" : [ 4 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "WTGR800",
"Temp" : 20.5,
"Timers" : "false",
"Type" : "Temp + Humidity",
"TypeImg" : "temperature",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "288"
}
],
"status" : "OK",
"title" : "Devices"
}

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:33
by EdwinK
Works like a charm :) This dashboard is going to kick all the other dashboards out there.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:37
by gielie
Thanks for the update, only the Toon setpoint is a bit off
Image
Is it possible to use a smaller font for the degrees? and maybe create a +/- button.
I also can't change the icon of the Toon scenes

On my setting the fan bug is still there.
Image

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 15:40
by EdwinK
Would it be possible to make a slightly bigger version of the buttons for the mediaplayer? For me they are just to small.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 16:03
by robgeerts
gielie wrote:Thanks for the update, only the Toon setpoint is a bit off
Image
Is it possible to use a smaller font for the degrees? and maybe create a +/- button.
I also can't change the icon of the Toon scenes

On my setting the fan bug is still there.
Image
Could you try latest version?
If your fan-bug is still there, try clearing your browser cache




Also, it is now possible to show the last update-time (not recommended for smaller screens).
In config.js, add:

Code: Select all

var _SHOW_LASTUPDATE = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 16:07
by robgeerts
axelbaas wrote:See underneath.

It is a MySensors Temperature sensors
Spoiler: show
{
"ActTime" : 1492694695,
"ServerTime" : "2017-04-20 15:24:55",
"Sunrise" : "06:31",
"Sunset" : "20:43",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "20.5 C, 38 %",
"Description" : "",
"DewPoint" : "5.69",
"Favorite" : 1,
"HardwareID" : 9,
"HardwareName" : "Mysensors_PI",
"HardwareType" : "MySensors Gateway with LAN interface",
"HardwareTypeVal" : 42,
"HaveTimeout" : false,
"Humidity" : 38,
"HumidityStatus" : "Comfortable",
"ID" : "4B01",
"LastUpdate" : "2017-04-20 15:24:50",
"Name" : "Huiskamer",
"Notifications" : "false",
"PlanID" : "4",
"PlanIDs" : [ 4 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "WTGR800",
"Temp" : 20.5,
"Timers" : "false",
"Type" : "Temp + Humidity",
"TypeImg" : "temperature",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "288"
}
],
"status" : "OK",
"title" : "Devices"
}
Try latest version I've just pushed!

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 17:46
by madrian
gielie wrote:Thanks for the update, only the Toon setpoint is a bit off
Image
Is it possible to use a smaller font for the degrees? and maybe create a +/- button.
I also can't change the icon of the Toon scenes

On my setting the fan bug is still there.
Image
Are you use it on a small display? I tested only on bigger screens, like my iPad/Macbook.

Also don't forget to set wider block for Thermostat:

blocks[22] = {}
blocks[22]['width'] = 5; //Thermostat selector needs wider block

Smaller buttons is one solution, but it is not very comfortable. I found current size is just works good on an iPad screen. Best would be to make auto-fit into the height of the block, but I am not a CSS expert, maybe someone can look in it. Or use custom css.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 18:11
by mvveelen
Great work !

Tried to add my weather underground API key, but then the page won't load anymore. Just enter the numbers between the '', right? What else can I try?

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Thursday 20 April 2017 18:18
by SwordFish
Ierlandfan wrote:For the afvalwijzer I modified the script which resides somewhere at the beginning of this topic. I will attach it later.
It's a LUA script that changes the level based on the (manually inserted) dates. So if you change the dates to your needs it's the same idea.
It also tells you paper and trash for example.
Works like a charm! I need to find myself (or create) some fancy colored bins.

Edit:
Out of the top of my head.


Put the attached file in the domoticz/scripts/lua folder.
Change script.xxx.txt to script.xxx.lua (sudo mv script.xxxx.txt script.xxx.lua)
Create a selector switch in Domoticz and change IDX104 in your IDX.
Create the levels (Domoticz page>Switches>click on edit in the selector switch. Dont forget clicking "add" after each level.

Find yourself a trashcalender and change the weeknumbers according to the trashbin (and/or) paper weeks.
I changed your script a little to my needs 8-)