Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

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

Post 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
Dropshot
Posts: 44
Joined: Tuesday 20 December 2016 22:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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. ;)
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post by htilburgs »

Or use the Dolphin browser on Android. Great full screen kiosk mode without any bars.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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!!!
Last edited by robgeerts on Thursday 20 April 2017 15:07, edited 2 times in total.
Jonb
Posts: 16
Joined: Thursday 20 April 2017 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: NL
Contact:

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

Post 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!
Jonb
Posts: 16
Joined: Thursday 20 April 2017 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: NL
Contact:

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

Post 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
User avatar
wizjos
Posts: 78
Joined: Monday 07 March 2016 19:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by wizjos »

robgeerts wrote:NEW VERSION
Works like a charm! Nice to see my code back :D
Now working on moonphase 8-)

Regards,
Wizjos
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post by SwordFish »

Great work.
And how can i get this to work "Graph on iphone battery-status block"?
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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.
axelbaas
Posts: 28
Joined: Thursday 14 January 2016 20:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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 :)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post by robgeerts »

Please send me the output of that device..
axelbaas
Posts: 28
Joined: Thursday 14 January 2016 20:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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"
}
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

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

Post by EdwinK »

Works like a charm :) This dashboard is going to kick all the other dashboards out there.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

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

Post 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
Last edited by gielie on Thursday 20 April 2017 15:52, edited 1 time in total.
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

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

Post 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.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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';
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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!
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post 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.
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post 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?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post 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-)
Attachments
Knipsel.JPG
Knipsel.JPG (15.37 KiB) Viewed 1910 times
Locked

Who is online

Users browsing this forum: No registered users and 1 guest