Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
Clemen
Posts: 75
Joined: Saturday 05 December 2015 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Europe
Contact:

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

Post by Clemen »

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 (thanks to @Wizjos)

BE CAREFUL, THINGS MAY FAIL SO BACKUP YOUR OLD DASHBOARD-FOLDER!!!
NICE!
If i have multiple thermostat set points on the screen in this version and changes the set point. then it changes on every thermostat on that page.
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 »

Thats right, i have to fix that multiple thermostats are allowed...
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 »

And how about the weather? Because, when I enter the api key, the screen won't load anymore.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

mvveelen wrote:And how about the weather? Because, when I enter the api key, the screen won't load anymore.
Most likely, there's a javascript-error.
Could you send me your config.js OR open console (f12) en check for an error? (Just after loading the page)
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 »

robgeerts wrote:Thats right, i have to fix that multiple thermostats are allowed...
I am working on it.
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 »

SwordFish wrote:
I changed your script a little to my needs 8-)
Care to share? Btw. I hope that @ierlandfan will make another version for those special days that trash isn't collected. And since our city doesn't use the orange bin, those could go too.

Will also try to use the 'official' version of Afvalwijzer. For now it's good.

Image
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

mvveelen wrote:And how about the weather? Because, when I enter the api key, the screen won't load anymore.
Perhaps you made an error with the APIkey. It should go between the ' '. And make sure you don't delete the ; and the end of the line. It might cause the problem
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

I'm sure I didn't make an error. I copy-pasted the key between the 's and didn't delete the ;

Maybe rob can find out what's wrong. I've sent him a message.

By-the-way, I like the afvalwijzer add-on. I uploaded the lua script and made a selector switch. I have to take a look at the week numbers, but that won't be a problem. Nice !
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

Error only occured when no blocks, screens or something were defined, fixed in latest version!
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 »

robgeerts wrote:Error only occured when no blocks, screens or something were defined, fixed in latest version!

Thanks Rob !

Update the api key, and now I have no problems loading the screen, except.....I don't see any weather blocks. I might have to read the whole topic I guess :o
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
freakshock
Posts: 64
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

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

Post by freakshock »

Thanks for the new version Rob, I like the new thermostat buttons :)
They work, but the information on the dashboard is a bit confusing.
If you change for instance 19 degrees to 19.5 degrees, it shows 19.5 for a second, and then returns to 19 degrees. After a while it shows 19.5 again, probably when the dashboard gets this value back from Domoticz again. Not sure if there is a fix for this, it's not a big problem for me.

Also I found an error which causes the news block not to show:

Code: Select all

XMLHttpRequest cannot load http://www.nu.nl/rss/algemeen. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.88' is therefore not allowed access.
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 »

freakshock wrote:Thanks for the new version Rob, I like the new thermostat buttons :)
They work, but the information on the dashboard is a bit confusing.
If you change for instance 19 degrees to 19.5 degrees, it shows 19.5 for a second, and then returns to 19 degrees. After a while it shows 19.5 again, probably when the dashboard gets this value back from Domoticz again. Not sure if there is a fix for this, it's not a big problem for me.
I know, will fix this!
freakshock wrote: Also I found an error which causes the news block not to show:

Code: Select all

XMLHttpRequest cannot load http://www.nu.nl/rss/algemeen. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.88' is therefore not allowed access.
Try adding https://crossorigin.me before the url, so:

Code: Select all

https://crossorigin.me/http://www.nu.nl/rss/algemeen
(Yes, seems strange, but try :))
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 »

robgeerts wrote:
freakshock wrote:Thanks for the new version Rob, I like the new thermostat buttons :)
[/code]
(Yes, seems strange, but try :))
Yeah, it's working pretty awkward. For me it's jumping 1 number instead of 0.5. +:hover style is strange too, when I move mouse over button it's always changing. +icons are flashing:

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 »

robgeerts wrote:
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!
You nailed it!
freakshock
Posts: 64
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

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

Post by freakshock »

robgeerts wrote: Try adding https://crossorigin.me before the url, so:

Code: Select all

https://crossorigin.me/http://www.nu.nl/rss/algemeen
(Yes, seems strange, but try :))
That works, thanks :) Sent you some tablet money, hehe ;)

Another thing I've found: The graph direct display function ('graph_1') does not display the graphs immediately after page refresh, I have to click one of the three options (laatste uren,vandaag,afgelopen maand) first for the graph to show.

A better solution for me anyway would be to have clickable blocks for gas and power usage, but that's already been requested ;)
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

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

Post by Ierlandfan »

@EdKo66

the trash is defined in weeks. So if it's a special "week" don't put the weeknumber into the bincolor.
If you don't have a orange bin, then there are no weeknumbers needed in the part for orange.
And so no orange value will reach Domoticz.
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 »

Just noticed that the 'Buienradar' wind tile doesn't give the 'gust' anymore.

This is the output from the json

Code: Select all

ActTime" : 1492712572,
   "ServerTime" : "2017-04-20 20:22:52",
   "Sunrise" : "06:35",
   "Sunset" : "20:46",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Chill" : 7.7999999999999998,
         "CustomImage" : 0,
         "Data" : "270.0;W;30;46;9.4;7.8",
         "Description" : "",
         "Direction" : 270.0,
         "DirectionStr" : "W",
         "Favorite" : 1,
         "Gust" : "3",
         "HardwareID" : 21,
         "HardwareName" : "Buienradar",
         "HardwareType" : "Buienradar.nl (Weather lookup)",
         "HardwareTypeVal" : 94,
         "HaveTimeout" : false,
         "ID" : "00150006",
         "LastUpdate" : "2017-04-20 20:08:18",
         "Name" : "Wind",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Speed" : "2",
         "SubType" : "TFA",
         "Temp" : 9.4000000000000004,
         "Timers" : "false",
         "Type" : "Wind",
         "TypeImg" : "wind",
         "Unit" : 6,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "98"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

EdKo66 wrote:
SwordFish wrote:
I changed your script a little to my needs 8-)
Care to share? Btw. I hope that @ierlandfan will make another version for those special days that trash isn't collected. And since our city doesn't use the orange bin, those could go too.

Will also try to use the 'official' version of Afvalwijzer. For now it's good.

Image
Sure,
I put in the weeknumbers and days when they come to collect the garbage.
Attachments
script_device_bin_selector.txt
(4.6 KiB) Downloaded 64 times
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 »

Bedankt :)
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 »

freakshock wrote: That works, thanks :) Sent you some tablet money, hehe ;)
Thanks!!!
freakshock wrote: A better solution for me anyway would be to have clickable blocks for gas and power usage, but that's already been requested ;)
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.

EdKo66 wrote:Just noticed that the 'Buienradar' wind tile doesn't give the 'gust' anymore.

This is the output from the json

Code: Select all

ActTime" : 1492712572,
   "ServerTime" : "2017-04-20 20:22:52",
   "Sunrise" : "06:35",
   "Sunset" : "20:46",
   "result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "Chill" : 7.7999999999999998,
         "CustomImage" : 0,
         "Data" : "270.0;W;30;46;9.4;7.8",
         "Description" : "",
         "Direction" : 270.0,
         "DirectionStr" : "W",
         "Favorite" : 1,
         "Gust" : "3",
         "HardwareID" : 21,
         "HardwareName" : "Buienradar",
         "HardwareType" : "Buienradar.nl (Weather lookup)",
         "HardwareTypeVal" : 94,
         "HaveTimeout" : false,
         "ID" : "00150006",
         "LastUpdate" : "2017-04-20 20:08:18",
         "Name" : "Wind",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Speed" : "2",
         "SubType" : "TFA",
         "Temp" : 9.4000000000000004,
         "Timers" : "false",
         "Type" : "Wind",
         "TypeImg" : "wind",
         "Unit" : 6,
         "Used" : 1,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "98"
      }
   ],
   "status" : "OK",
   "title" : "Devices"
}
Will fix this a.s.a.p.


Currently, I'm working on bigger buttons for blinds:
Image

When this is done, I will make mediaplayer buttons bigger too.
Locked

Who is online

Users browsing this forum: No registered users and 0 guests