That works, thanks Rob.robgeerts wrote:Add to config.jsTo temporarily fix the problem..Code: Select all
var blocks={}
Dashticz - General Discussions
Moderators: leecollings, htilburgs, robgeerts
-
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
-
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
I have dashticz running on a rpi and a tablet on the wall. Now i have dashticz also running on my NAS webserver. So i did some dirty custom css and now its fits on my iphone with a different layout as on my tablet 
- Attachments
-
- Bestand 14-04-17 17 10 23.png (47.95 KiB) Viewed 2035 times
-
- Bestand 14-04-17 17 10 45.png (50.18 KiB) Viewed 2035 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 v2.0, custom positioning and multiple screens
Nice! Ok, who got suggestions for the bkind buttons and media player button? What fits nice in the design? Anyone photoshop skills?
- wizjos
- Posts: 79
- Joined: Monday 07 March 2016 19:35
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Hi SwordFish,
Wizjos
I've tried your postalcode and housenumber: it gives no 'afvalwijzer' for that address... Too bad. Maybe complain at town hallSwordFish wrote:That doesn't work, get a 404. but when i fill in my zipcode and housenumber on mijnafvalwijzer.nl its give the right adres?wizjos wrote:Try: http://www.mijnafvalwijzer.nl/nl/<your postalcode>/<housenumber>/<addition to housnumber>/#jaaroverzichtSwordFish wrote:Won't it be nice to have a " afval kalender " on your dahboard. So that it shows a date and which container like the one on topic from domoboard.
Just thinking.![]()
Cheers!
Wizjos
http://www.mijnafvalwijzer.nl/nl/5708ZW ... roverzicht
Wizjos
Re: Dashticz v2.0, custom positioning and multiple screens
How do I enable RSS feed? I have var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen'; in config.js, but nothing shows on the dashboard.
-
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
Thanks for tryingwizjos wrote:Hi SwordFish,
I've tried your postalcode and housenumber: it gives no 'afvalwijzer' for that address... Too bad. Maybe complain at town hallSwordFish wrote:That doesn't work, get a 404. but when i fill in my zipcode and housenumber on mijnafvalwijzer.nl its give the right adres?wizjos wrote: Try: http://www.mijnafvalwijzer.nl/nl/<your postalcode>/<housenumber>/<addition to housnumber>/#jaaroverzicht![]()
Cheers!
Wizjos
http://www.mijnafvalwijzer.nl/nl/5708ZW ... roverzicht![]()
Wizjos
- wizjos
- Posts: 79
- Joined: Monday 07 March 2016 19:35
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Try something like this:hpapagaj wrote:How do I enable RSS feed? I have var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen'; in config.js, but nothing shows on the dashboard.
Code: Select all
columns[4]['blocks'] = ['news']Wizjos
- 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
Yes, thanks. Found it earlier. Forgot the first line.mAiden88 wrote:@Edko and others who want this:
I add this block to my config:
Code: Select all
blocks[idx] = {} blocks[idx]['width']=12; Change [b]idx[/b] to number of youre idx! ;)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
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
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.
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.
- Attachments
-
- script_device_bin_selector.txt
- (3.99 KiB) Downloaded 98 times
Last edited by Ierlandfan on Friday 14 April 2017 19:29, edited 3 times in total.
-
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
ThanksIerlandfan 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.
Verzonden vanaf mijn iPhone met Tapatalk
- 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
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
Blueone
- Posts: 130
- Joined: Friday 29 November 2013 11:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
I tried it now, the dot is also grey know, I acctually mean the opposite, having the rest of the text in real white in the stand-by screen? Is there maybe a custom ccs rule which I can use to change this?robgeerts wrote:Try latest versionBlueone wrote:I also notice the stand-by view isn't completly black and white, see the screenshot, the text is a bit gray but the dot is really white which makes it a better contrast![]()
Re: Dashticz v2.0, custom positioning and multiple screens
Thanks for the answer. The whole column/block system is not clear to me.wizjos wrote: Try something like this:'news' should do the trickCode: Select all
columns[4]['blocks'] = ['news']![]()
Wizjos
So I added:
var blocks = {}
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['news']
(without blocks = {}: Can't find variable: blocks main.js:87)
...but I see only the RSS feed module:
What's wrong here?
Bonus question: It is a normal behaviour that feed items are not clickable? It would be nice to open article in a popup.
- 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
Can you post your config.js here, so maybe we could help you better
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- 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
It looks like there isn't anything in your config.js columns.
Please, next time post a copy of your config.js file here, between [ code ] and [/ code ] tags. It will make it easier for us to see instead of going to an unknown website.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: Dashticz v2.0, custom positioning and multiple screens
Sorry, I thought that it is better to include config file as an external link, rather than flood this topic. If everybody post here their config files the topic quickly becomes unfollowable.
---
Back to the question: so it is not possible to enable only news column and make other columns (switches, date, clock, buttons, weather etc) work automatically like until now?
---
robgeerts: I made some merge requests today, if you find it useful, you can merge it.
---
Back to the question: so it is not possible to enable only news column and make other columns (switches, date, clock, buttons, weather etc) work automatically like until now?
---
robgeerts: I made some merge requests today, if you find it useful, you can merge it.
- 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
I've looked at your config and tried it with my own settings. It works like you would like to have.hpapagaj wrote:Sorry, I thought that it is better to include config file as an external link, rather than flood this topic. If everybody post here their config files the topic quickly becomes unfollowable.
---
Back to the question: so it is not possible to enable only news column and make other columns (switches, date, clock, buttons, weather etc) work automatically like until now?
---
robgeerts: I made some merge requests today, if you find it useful, you can merge it.
There is no problem for me...?!?

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
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
Re: Dashticz v2.0, custom positioning and multiple screens
Guys, before column and block definitions looked like this:
...here I want to add the news column, for example under sliders.
...here I want to add the news column, for example under sliders.
-
Nautilus
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Thanks, I am now able to insert the page to a block via iframe. I wonder if there is any css trick to shrink the source to the available space, that would be awesome...robgeerts wrote: Download latest version and try this to use iframes:
First, define the frame:Then add that frame to a column, like:Code: Select all
var frames = {} frames.weather = {height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}
Code: Select all
columns[1]['blocks'] = [frames.weather]
Who is online
Users browsing this forum: No registered users and 1 guest
