Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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 »

Blueone wrote: Dashticz needs a subforum with a tread for every functionality :D, is definitly a populair dashboard as we are already passed 100 pages with posts.
Just request:)
Lets hope..
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 »

robgeerts wrote: Mijnafvalwijzer should work in latest beta:

Code: Select all

var trashcan = {}
trashcan.deafvalapp = { trashapp: 'deafvalapp', width:4,zipcode:'5692VG', housenumber:'33', country:'NL' }
trashcan.cure = { trashapp: 'cure', width:8, zipcode:'5654SB', housenumber:'3' }
trashcan.mijnafvalwijzer = { trashapp: 'mijnafvalwijzer', width:4, zipcode:'3582ES', housenumber:'1' }
And in de columns part of config.js:

Code: Select all

columns[2]['blocks'] = [trashcan.deafvalapp,trashcan.cure,trashcan.mijnafvalwijzer]
My Zip-code doesn't work on any of them, although mijnafvalwijzer.nl recognizes the zipcode.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

robgeerts wrote:
htilburgs wrote:No text "loadTrash" or "Trash"
Then you dont have the latest main.js ;)
I don't get it.. This is not the first time, yesterday also something went wrong with the beta update.
Probably it's my own error.... :ugeek:

But... Good news! After the new installation and placing back my custom, everything works fine!!!
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
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 »

robgeerts wrote:
Blueone wrote: Dashticz needs a subforum with a tread for every functionality :D, is definitly a populair dashboard as we are already passed 100 pages with posts.
Just request:)
Lets hope..
I do agree. Will make searching for things a lot easier. There are over 2,000 posts now.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

blacksn0w wrote:How to change size of icons when using custom images?
When im using font awesome icons, the could from wiki works perfect

Code: Select all

.fa,.wi {
   font-size:24px !important;
}
But how do i enlarge my custom images?
Find the according icon name and put in custom.css like this:

Code: Select all

.fa.fa-moon-o {
	font-size: 24px !important;
}
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
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 »

EdKo66 wrote:
robgeerts wrote:
Blueone wrote: Dashticz needs a subforum with a tread for every functionality :D, is definitly a populair dashboard as we are already passed 100 pages with posts.
Just request:)
Lets hope..
I do agree. Will make searching for things a lot easier. There are over 2,000 posts now.
Agree.... 2,026 posts now.... :lol:
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 »

It's here :)
http://www.domoticz.com/forum/viewforum.php?f=67

Please do not add topics yet, I Will first create a few based on some questions :)
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by jake »

robgeerts wrote:
jake wrote:I have 2 questions regarding blocks to place:

1: In Domoticz in the Utility tab, I have a Solar panel yield device that displays:
- total kWh
- daily kWh
- current power
solar usage.JPG

When I add this as a 'block' in Dasthicz, I can't select the 'power', but it only gives the 'daily kWh'. How can I change this?
Could you send me the JSON-output of this device?
I use the PV-Output 'hardware' in Domoticz and don't see a JSON url for that. Trying to use an IDX_1 or IDX_2 for this device ends up with empty blocks.
jake wrote: 2:
With the help of the OTGW I can distinct the gas usage by 'house heating' and 'tap water heating'. I therefore have 2 virtual gas meters to display this. In Dashticz I have both given them custom titles to show in local language what the device is about. However, it still displays the standard text. Can I change this?
Gas custom title.JPG
Spoiler: show
blocks[181] = {}
blocks[181]['width'] = 4;
blocks[181] ['title'] = 'Gas Verwarming'

blocks[186] = {}
blocks[186]['width'] = 4;
blocks[186] ['title'] = 'Gas Tapwater'
Actually, it is the same issue for 'electricity' and 'solar panels', the standard defined text is displayed instead of my custom title.
You have spaces between [186] and ['title'], remove them.
Thanks for spotting those spaces, I hadn't seen that before. However, it doesn't help to remove the spaces, I also saw that (since I copy paste) that a lot of my blocks had the spaces and they show the correct custom title, it is just the energy related ones that keep their own title.
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 »

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

Latest version, with the Cure Trash-calendar! Thanx for this one @robgeerts!

Image
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
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 - General Discussions

Post by EdwinK »

Nog een afvalwijzer-achtige site gevonden. Dit keer krijg ik wel data voor mijn gemeente terug, maar kan niet vinden hoe dat verwerkt wordt.



https://www.recyclemanager.nl/afvalkalender
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by madrian »

Greetings on the new forum. :)
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by HansieNL »

htilburgs wrote:
robgeerts wrote:
htilburgs wrote:No text "loadTrash" or "Trash"
Then you dont have the latest main.js ;)
I don't get it.. This is not the first time, yesterday also something went wrong with the beta update.
Probably it's my own error.... :ugeek:

But... Good news! After the new installation and placing back my custom, everything works fine!!!
That's why it's called Beta ;) Wanna try the Alpha version? :)
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: Dashticz - General Discussions

Post by robgeerts »

How do you pull the latest version?? Maybe there goes something wrong?
I use TortoiseGit to pull the latest version to my Desktop, then I check everything and when done, I upload it via FTP (the complete dashticz-folder) to my webserver.
Blueone
Posts: 130
Joined: Friday 29 November 2013 11:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Blueone »

I changed the addcontainerfunction a little bit so it showing "vandaag" and going to add the week days, probably ugly code and had to replace to date after the sort but I'm not a coder. Maybe there are better ways to do this.

Code: Select all

function addToContainer(random,returnDates){
	
	var returnDatesSimple={}
	var done = {};
	for(c in returnDates){
		for(cr in returnDates[c]){
			returnDatesSimple[cr] = returnDates[c][cr];
			done[c]=true;
		}
	}

	$('.trash'+random+' .state').html('');
	var c=1;
	Object.keys(returnDatesSimple).sort().forEach(function(key) {

		var date = moment(key).format("DD-MM-YYYY");
		var currentdate = moment(Date.now()).format("DD-MM-YYYY");
		if(date == currentdate){
		returnDatesSimple[key] = (returnDatesSimple[key]).replace(date, "Vandaag");}
			
		if(c<=3) $('.trash'+random+' .state').append(returnDatesSimple[key]);
		c++;
	});
results in:
Attachments
afval.png
afval.png (8.67 KiB) Viewed 1934 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Thanks, please send me when you are done with the weekdays (Especially 'Tomorrow')
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 - General Discussions

Post by htilburgs »

robgeerts wrote:How do you pull the latest version?? Maybe there goes something wrong?
I use TortoiseGit to pull the latest version to my Desktop, then I check everything and when done, I upload it via FTP (the complete dashticz-folder) to my webserver.
Same way....
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
blacksn0w
Posts: 99
Joined: Friday 10 March 2017 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: Dashticz - General Discussions

Post by blacksn0w »

htilburgs wrote:
robgeerts wrote:How do you pull the latest version?? Maybe there goes something wrong?
I use TortoiseGit to pull the latest version to my Desktop, then I check everything and when done, I upload it via FTP (the complete dashticz-folder) to my webserver.
Same way....
You are using Dashticz on RPi right? Why are you not using git via SSH? Just clone the repo (beta branch) and then update via git pull.
All your custom files will not be touched by an update, because they are no part of the repo.
Migration done, hello Home Assistant.
sander
Posts: 8
Joined: Monday 22 December 2014 22:28
Target OS: Raspberry Pi / ODroid
Domoticz version: latest..
Contact:

Re: Dashticz - General Discussions

Post by sander »

Hello Rob, thanks for making this nice Dash, but I have checked multiple times and followed your guidelines but the best output I get is this: Domoticz is offline.
Does it matter mine is ported through 8080 and not 8084? does it have to be put on 8084 or can I just put my Pi IP:8080?

I am not a wizz in programming, but does it matter I unzipped your files on windows and placed them with WIN SCP inside the www folder in a new folder called ui.
When I am calling up the dash I use <my domain:8080/ui> and get Domitcz is offline, or when I use <my Pi IP:8080/ui> I get 500 internal server error.

If you can point me in the right direction, it would be much appreciated.

Regards Sander
Raspberry Pi 2B+
connected: klik aan klik uit switches, dimmers, weather station, water meter (pulse)
Automation use: Blocky
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

sander wrote:Hello Rob, thanks for making this nice Dash, but I have checked multiple times and followed your guidelines but the best output I get is this: Domoticz is offline.
Does it matter mine is ported through 8080 and not 8084? does it have to be put on 8084 or can I just put my Pi IP:8080?

I am not a wizz in programming, but does it matter I unzipped your files on windows and placed them with WIN SCP inside the www folder in a new folder called ui.
When I am calling up the dash I use <my domain:8080/ui> and get Domitcz is offline, or when I use <my Pi IP:8080/ui> I get 500 internal server error.

If you can point me in the right direction, it would be much appreciated.

Regards Sander
Hello Sander,
Add a / behind your url so you get <my domain>:8080/ui/ or you can use <my domain>:8080/ui/index.html
Blah blah blah
Locked

Who is online

Users browsing this forum: No registered users and 1 guest