Dashticz - General Discussions
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Is there a way to click on 'currentweather_big' or 'weather' to open webpage like in buttons?
Thanks
Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Ok, i got it working! But am too much ashamed to tell the solutionTrigun wrote:Unfortunately not working eitherrobgeerts wrote:Tried adding /index.html ?Trigun wrote: Unfortunately not working
Sent from my iPhone using Tapatalk
Shouldn't be that hard right?
Sent from my iPhone using Tapatalk


Sent from my iPhone using Tapatalk
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Guess a lack of coffee was to blameTrigun wrote:Ok, i got it working! But am too much ashamed to tell the solutionTrigun wrote:Unfortunately not working eitherrobgeerts wrote: Tried adding /index.html ?
Shouldn't be that hard right?
Sent from my iPhone using Tapatalkalright, i missed a ";"
but good to see its working now, now I can start changing it:) thnx for your help guys! Cheers!!
Sent from my iPhone using Tapatalk

Sent from my iPhone using Tapatalk
-
- 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
Still testing the garbage calendar and sofar so good 

- Attachments
-
- Knipsel.JPG (18.58 KiB) Viewed 1932 times
- 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
Gaat er steeds beter uit zien zo. Zit nog met mijn papier-bak die 1x per maand op zaterdag wordt opgehaald, terwijl de rest om de week op vrijdag is.SwordFish wrote:Still testing the garbage calendar and sofar so good
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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
What isn't working, paper on the last Saturday of the month?EdKo66 wrote:Gaat er steeds beter uit zien zo. Zit nog met mijn papier-bak die 1x per maand op zaterdag wordt opgehaald, terwijl de rest om de week op vrijdag is.SwordFish wrote:Still testing the garbage calendar and sofar so good
-
- Posts: 21
- Joined: Sunday 05 February 2017 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Model 3
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Is it possible to make the fields higher and how
Translated with google
- mvveelen
- Posts: 687
- 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
What exactly did you change to get the message that tomorrow the paper will be picked up and not 'this week' ?SwordFish wrote:Still testing the garbage calendar and sofar so good
another question:
Has anyone been able to use the combined calendars already? Successfully? Because I can use one calendar at a time, but combined doesn't show me anything.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- Posts: 29
- Joined: Tuesday 14 March 2017 17:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Skendel
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
my garbage bin script isn't working correct. Everyday of the week he tells me to put the garbage outsite, this must be on mondays. and when the collect day is of GFT and Plastic he only display one item
Code: Select all
week = tonumber (os.date( "%V"))
dag = tostring(os.date("%a"));
status = tonumber(otherdevices_svalues['afval'])
print('script bin_selector executed')
-- Elke 4 weken wordt plastic opgehaald, bijv in week 13, week 17, week 21, enz
-- Om de week wordt de groene bak (gft) geleegd, bijv in week 14, week 16, week 18, enz
-- Elke 4 weken wordt de grijze bak (rest) geleegd, bijv in week 15, week 19, week 23, enz
-- In de oneven weken wordt oud papier ingezameld
commandArray = {}
if (dag=='Sat' or dag=='Sun' ) then
weekend = true; weekdag = false
end
if (dag=='Mon' or dag=='Tue' or dag=='Wed' or dag=='Thu' or dag=='Fri') then
weekend = false ; weekdag = true
end
--Grijze bak - Rest afval
if(week==1 or week==3 or week==5 or week==7 or week==9 or week==11 or week==13 or week==15 or week==17 or week==19 or week==21 or week==23 or week==25 or week==27 or week==29 or week==31 or week==33 or week==35 or week==37 or week==39 or week==41 or week==43 or week==45 or week==47 or week==49 or week==51) then
rest = true ; papier = false ; gft = false ; plastic = false
-- ('Rest afval')
end
--Oranje bak - Plastic
if (week==2 or week==4 or week==6 or week==8 or week==10 or week==12 or week==14 or week==16 or week==18 or week==20 or week==22 or week==24 or week==26 or week==28 or week==30 or week==32 or week==34 or week==36 or week==38 or week==40 or week==42 or week==44 or week==46 or week==48 or week==50 or week==52) then
rest = false ; papier = false ; gft = true ; plastic = true
-- ('Plastic')
end
--Groene bak - GFT
if (week==2 or week==4 or week==6 or week==8 or week==10 or week==12 or week==14 or week==16 or week==18 or week==20 or week==22 or week==24 or week==26 or week==28 or week==30 or week==32 or week==34 or week==36 or week==38 or week==40 or week==42 or week==44 or week==46 or week==48 or week==50 or week==52) then
rest = false ; papier = false ; gft = true ; plastic = true
-- ('GFT')
end
--Papier Container - Papier
if (week==22 or week==26 or week==30 or week==35 or week==39 or week==43 or week==48 or week==53) then
rest = false ; papier = true ; gft = false ; plastic = false
-- ('Papier')
end
if (not(rest) and not(papier) and not(gft) and not(plastic)) then
commandArray ['UpdateDevice']= '191|1|Geen ophaaldag'
end
if (rest and weekdag) or (rest and weekend) then
commandArray ['UpdateDevice']= '191|1|Rest afval'
end
if (gft and weekdag) or (gft and weekend) then
commandArray ['UpdateDevice']= '191|1|GFT'
end
if (gft and weekdag) or (gft and weekend) then
commandArray ['UpdateDevice']= '191|1|Plastic'
end
if (papier and weekdag) or (papier and weekend) then
commandArray ['UpdateDevice']= '191|1|Papier - GFT en Plastic'
end
if (plastic and papier and weekdag) or (plastic and papier and weekend) then
commandArray ['UpdateDevice']= '191|1|Plastic en papier'
end
if (rest and papier and weekdag) or (rest and papier and weekend) then
commandArray ['UpdateDevice']= '191|1|Rest afval en papier'
end
if (gft and papier and weekdag) or (gft and papier and weekend) then
commandArray ['UpdateDevice']= '191|1|GFT en papier'
end
return commandArray
Last edited by pvdhelm on Thursday 04 May 2017 11:07, edited 1 time in total.
- 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
Oops.. This should have been in English.EdKo66 wrote:Gaat er steeds beter uit zien zo. Zit nog met mijn papier-bak die 1x per maand op zaterdag wordt opgehaald, terwijl de rest om de week op vrijdag is.SwordFish wrote:Still testing the garbage calendar and sofar so good
Looking better al the time. Having problems with the paper-bin, goes out every first saturday of the month.
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
I don't know how to put change the script so it does give this.SwordFish wrote:What isn't working, paper on the last Saturday of the month?EdKo66 wrote:Gaat er steeds beter uit zien zo. Zit nog met mijn papier-bak die 1x per maand op zaterdag wordt opgehaald, terwijl de rest om de week op vrijdag is.SwordFish wrote:Still testing the garbage calendar and sofar so good
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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 had the same problem with today paper and tomorrow plastic. I did combine the in to one see my scriptpvdhelm wrote:my garbage bin script isn't working correct. Everyday of the week he tells me to put the garbage outsite, this must be on mondays. and when the collect day is of GFT and Plastic he only display one item
Code: Select all
week = tonumber (os.date( "%V")) dag = tostring(os.date("%a")); status = tonumber(otherdevices_svalues['afval']) print('script bin_selector executed') -- Elke 4 weken wordt plastic opgehaald, bijv in week 13, week 17, week 21, enz -- Om de week wordt de groene bak (gft) geleegd, bijv in week 14, week 16, week 18, enz -- Elke 4 weken wordt de grijze bak (rest) geleegd, bijv in week 15, week 19, week 23, enz -- In de oneven weken wordt oud papier ingezameld commandArray = {} if (dag=='Sat' or dag=='Sun' ) then weekend = true; weekdag = false end if (dag=='Mon' or dag=='Tue' or dag=='Wed' or dag=='Thu' or dag=='Fri') then weekend = false ; weekdag = true end --Grijze bak - Rest afval if(week==1 or week==3 or week==5 or week==7 or week==9 or week==11 or week==13 or week==15 or week==17 or week==19 or week==21 or week==23 or week==25 or week==27 or week==29 or week==31 or week==33 or week==35 or week==37 or week==39 or week==41 or week==43 or week==45 or week==47 or week==49 or week==51) then rest = true ; papier = false ; gft = false ; plastic = false -- ('Rest afval') end --Oranje bak - Plastic if (week==2 or week==4 or week==6 or week==8 or week==10 or week==12 or week==14 or week==16 or week==18 or week==20 or week==22 or week==24 or week==26 or week==28 or week==30 or week==32 or week==34 or week==36 or week==38 or week==40 or week==42 or week==44 or week==46 or week==48 or week==50 or week==52) then rest = false ; papier = false ; gft = true ; plastic = true -- ('Plastic') end --Groene bak - GFT if (week==2 or week==4 or week==6 or week==8 or week==10 or week==12 or week==14 or week==16 or week==18 or week==20 or week==22 or week==24 or week==26 or week==28 or week==30 or week==32 or week==34 or week==36 or week==38 or week==40 or week==42 or week==44 or week==46 or week==48 or week==50 or week==52) then rest = false ; papier = false ; gft = true ; plastic = true -- ('GFT') end --Papier Container - Papier if (week==22 or week==26 or week==30 or week==35 or week==39 or week==43 or week==48 or week==53) then rest = false ; papier = true ; gft = false ; plastic = false -- ('Papier') end if (not(rest) and not(papier) and not(gft) and not(plastic)) then commandArray ['UpdateDevice']= '191|1|Geen ophaaldag' end if (rest and weekdag) or (rest and weekend) then commandArray ['UpdateDevice']= '191|1|Rest afval' end if (gft and weekdag) or (gft and weekend) then commandArray ['UpdateDevice']= '191|1|GFT' end if (gft and weekdag) or (gft and weekend) then commandArray ['UpdateDevice']= '191|1|Plastic' end if (papier and weekdag) or (papier and weekend) then commandArray ['UpdateDevice']= '191|1|Papier - GFT en Plastic' end if (plastic and papier and weekdag) or (plastic and papier and weekend) then commandArray ['UpdateDevice']= '191|1|Plastic en papier' end if (rest and papier and weekdag) or (rest and papier and weekend) then commandArray ['UpdateDevice']= '191|1|Rest afval en papier' end if (gft and papier and weekdag) or (gft and papier and weekend) then commandArray ['UpdateDevice']= '191|1|GFT en papier' end return commandArray
Code: Select all
week = tonumber (os.date( "%V"))
dag = tostring(os.date("%a"));
status = tonumber(otherdevices_svalues['Afval'])
print('script bin_selector executed')
commandArray = {}
print ('Dag= '..dag)
if (dag=='Sat' or dag=='Sun' ) then
weekend = true; weekdag = false
end
if (dag=='Mon' or dag=='Tue' or dag=='Wed' or dag=='Thu' or dag=='Fri') then
weekend = false ; weekdag = true
end
--Bepalen morgen papier
if(week==2 and dag=='Wed' or week==4 and dag=='Wed' or week==6 and dag=='Wed' or week==8 and dag=='Wed' or week==10 and dag=='Wed' or week==12 and dag=='Wed' or week==14 and dag=='Wed' or week==16 and dag=='Wed' or week==18 and dag=='Wed' or week==20 and dag=='Wed' or week==22 and dag=='Wed' or week==24 and dag=='Wed' or week==26 and dag=='Wed' or week==28 and dag=='Wed'
or week==30 and dag=='Wed' or week==32 and dag=='Wed' or week==34 and dag=='Wed' or week==36 and dag=='Wed' or week==38 and dag=='Wed' or week==40 and dag=='Wed' or week==42 and dag=='Wed' or week==44 and dag=='Wed' or week==46 and dag=='Wed' or week==48 and dag=='Wed' or week==50 and dag=='Wed' or week==52 and dag=='Wed') then
morgenpapier = true; papier = false; plastic = false; niets = false
print ('morgen papier')
end
--Bepalen papier
if(week==2 and dag=='Thu' or week==4 and dag=='Thu' or week==6 and dag=='Thu' or week==8 and dag=='Thu' or week==10 and dag=='Thu' or week==12 and dag=='Thu' or week==14 and dag=='Thu' or week==16 and dag=='Thu' or week==18 and dag=='Thu' or week==20 and dag=='Thu' or week==22 and dag=='Thu' or week==24 and dag=='Thu' or week==26 and dag=='Thu' or week==28 and dag=='Thu'
or week==30 and dag=='Thu' or week==32 and dag=='Thu' or week==34 and dag=='Thu' or week==36 and dag=='Thu' or week==38 and dag=='Thu' or week==40 and dag=='Thu' or week==42 and dag=='Thu' or week==44 and dag=='Thu' or week==46 and dag=='Thu' or week==48 and dag=='Thu' or week==50 and dag=='Thu' or week==52 and dag=='Thu') then
morgenpapier = false; papier = true; plastic = false; niets = false
print ('vandaag papier morgen plastic')
end
--Bepalen plastic
if(week==2 and dag=='Fri' or week==4 and dag=='Fri' or week==6 and dag=='Fri' or week==8 and dag=='Fri' or week==10 and dag=='Fri' or week==12 and dag=='Fri' or week==14 and dag=='Fri' or week==16 and dag=='Fri' or week==18 and dag=='Fri' or week==20 and dag=='Fri' or week==22 and dag=='Fri' or week==24 and dag=='Fri' or week==26 and dag=='Fri' or week==28 and dag=='Fri'
or week==30 and dag=='Fri' or week==32 and dag=='Fri' or week==34 and dag=='Fri' or week==36 and dag=='Fri' or week==38 and dag=='Fri' or week==40 and dag=='Fri' or week==42 and dag=='Fri' or week==44 and dag=='Fri' or week==46 and dag=='Fri' or week==48 and dag=='Fri' or week==50 and dag=='Fri' or week==52 and dag=='Fri') then
morgenpapier = false; papier = false; plastic = true; niets = false
print ('vandaag plastic')
end
--Bepalen geen plastic en geen papier
if(dag=='Mon' or dag=='Tue' or dag=='Sat' or dag=='Sun') then
morgenpapier = false; papier = false; plastic = false; niets = true
print ('vandaag geen afval buiten zetten')
end
if (niets and dag) then
commandArray ['UpdateDevice']= '316|1|Geen ophaaldag'
end
if (morgenpapier and weekdag and dag) then
commandArray ['UpdateDevice']= '316|1|Morgen papier'
end
if (papier and weekdag and dag) then
commandArray ['UpdateDevice']= '316|1|Vandaag papier, morgen plastic'
end
if (plastic and weekdag and dag) then
commandArray ['UpdateDevice']= '316|1|Vandaag plastic'
end
return commandArray
-
- 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
Send you a PMEdKo66 wrote:I don't know how to put change the script so it does give this.SwordFish wrote:What isn't working, paper on the last Saturday of the month?EdKo66 wrote:
Gaat er steeds beter uit zien zo. Zit nog met mijn papier-bak die 1x per maand op zaterdag wordt opgehaald, terwijl de rest om de week op vrijdag is.
- DewGew
- Posts: 581
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
My Weather is not working after the last update. Is somthing changed?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
- 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
Returned one to youSwordFish wrote:Send you a PMEdKo66 wrote:I don't know how to put change the script so it does give this.SwordFish wrote:
What isn't working, paper on the last Saturday of the month?

Still to bad we can't use the www.afvalwijzer.nl site. What's the use of it.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 99
- Joined: Friday 10 March 2017 22:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Hey folks,
after being the silent reader i would like to share a problem i've come across and ask for your help.
I'm using a button to show the image of a security cam and update it every 1,5s. If i click on the button a iframe is opening which shows me the MJPEG Stream within the iframe. Its working fine and flawlessly but if i close the iframe, the mjpeg stream is still streaming in the background, is there any way to close the connection after the iframe is closed?
after being the silent reader i would like to share a problem i've come across and ask for your help.
I'm using a button to show the image of a security cam and update it every 1,5s. If i click on the button a iframe is opening which shows me the MJPEG Stream within the iframe. Its working fine and flawlessly but if i close the iframe, the mjpeg stream is still streaming in the background, is there any way to close the connection after the iframe is closed?
Migration done, hello Home Assistant.
- 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
Would be great if we could set a pickup day for every different collection.pvdhelm wrote:my garbage bin script isn't working correct. Everyday of the week he tells me to put the garbage outsite, this must be on mondays. and when the collect day is of GFT and Plastic he only display one item
Blah blah blah
- 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
HansieNL wrote:Would be great if we could set a pickup day for every different collection.pvdhelm wrote:my garbage bin script isn't working correct. Everyday of the week he tells me to put the garbage outsite, this must be on mondays. and when the collect day is of GFT and Plastic he only display one item
I agree with that.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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
Thats because the scripts set every other container to false when one is set to true 
Basically like:
When you actually need:
I know, this is not valid coding 

Basically like:
Code: Select all
if(week=12){
groen=true;
grijs=false;
oranje=false;
}
if(week=13){
groen=false;
grijs=true;
oranje=false;
}
Code: Select all
groen=false;
grijs=false;
oranje=false;
if(week=12){
grijs=true
}
if(week=12){
groen=true
}

-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Hi AllEdKo66 wrote:HansieNL wrote:Would be great if we could set a pickup day for every different collection.pvdhelm wrote:my garbage bin script isn't working correct. Everyday of the week he tells me to put the garbage outsite, this must be on mondays. and when the collect day is of GFT and Plastic he only display one item
I agree with that.
See below my "afval" script
It took some configuration to set the dates but is working fine we have
Wednesday every even week Paper
Friday every even week Plastic
Friday every uneven week Groen /GFT
- Spoiler: show
Who is online
Users browsing this forum: No registered users and 1 guest