Dashticz - Show your dashboard and how-to's!
Moderators: leecollings, htilburgs, robgeerts
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
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
-
- Posts: 40
- Joined: Wednesday 01 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Belgium Achel
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
it works in ISPY with the generated link , but in domoticz (test connection) still a broken image ?
My system:
1 Raspberry Pi 3
1 Rfx-Trx 433 module
1 Milight module
1 aeotec Zwave stick
1 Philips Home Bridge
3 Qubino ZMNHBDx Flush 2 Relays
2 FIBARO System FGS223 Double Relay
1 Niko home system
1 Raspberry Pi 3
1 Rfx-Trx 433 module
1 Milight module
1 aeotec Zwave stick
1 Philips Home Bridge
3 Qubino ZMNHBDx Flush 2 Relays
2 FIBARO System FGS223 Double Relay
1 Niko home system
-
- Posts: 89
- Joined: Friday 09 October 2015 17:40
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Anyone tried the menu feature?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
I did, and it looks great, just not for me.
Maybe I'll try it again when I'm going to update the system
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: Dashticz - Show your dashboard and how-to's!
I got a css question, how can I set the background color of the entire block?
I placed an inline red color on the 'Fontijn' block as an example, but I cannot find how to do this by using custom.css
All -selected- blocks should become green (rgba(0,255,0,0.3)
Any help would be appreciated.
I placed an inline red color on the 'Fontijn' block as an example, but I cannot find how to do this by using custom.css
All -selected- blocks should become green (rgba(0,255,0,0.3)
Any help would be appreciated.
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Hi Jurjan, there a several ways, but the one I prefer is making an entry in custom.css like in the example.jurjan wrote: ↑Monday 13 November 2017 20:31 I got a css question, how can I set the background color of the entire block?
I placed an inline red color on the 'Fontijn' block as an example, but I cannot find how to do this by using custom.css
All -selected- blocks should become green (rgba(0,255,0,0.3)
Any help would be appreciated.
dash.jpg
Place the blocks you like to change seperated by a comma (in this example block_463 and block_464 should be red)
Code: Select all
.block_463.transbg,
.block_464.transbg {
background-color: rgba(255, 0, 0, 0.3) !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
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 - Show your dashboard and how-to's!
Hi, I would like the block to be green when the device is switched on and red when the device is switched off.
When I inspect the html I can see the icon (light bulb) gets a class='on' or class='off' I could use, but then I need the parent div to apply the background-color on.. As far as I know this is not possible using css.
See the em of the lightbulb below which has an 'off' class.
[/quote]
Hi Jurjan, there a several ways, but the one I prefer is making an entry in custom.css like in the example.
Place the blocks you like to change seperated by a comma (in this example block_463 and block_464 should be red)
[/quote]
When I inspect the html I can see the icon (light bulb) gets a class='on' or class='off' I could use, but then I need the parent div to apply the background-color on.. As far as I know this is not possible using css.
See the em of the lightbulb below which has an 'off' class.
Code: Select all
<div class="mh transbg block_20 col-xs-4 hover" onclick="switchDevice(this)" data-id="20">
<div class="col-xs-4 col-icon">
<em class="fa fa-lightbulb-o off icon" undefined=""></em>
</div><div class="col-xs-8 col-data">
<strong class="title">Fontijn</strong><br>
<span class="state">UIT</span></div>
</div>
[/quote]
Hi Jurjan, there a several ways, but the one I prefer is making an entry in custom.css like in the example.
Place the blocks you like to change seperated by a comma (in this example block_463 and block_464 should be red)
Code: Select all
.block_463.transbg,
.block_464.transbg {
background-color: rgba(255, 0, 0, 0.3) !important;
}
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
First make an entry in your config.jsjurjan wrote: ↑Monday 13 November 2017 22:07 Hi, I would like the block to be green when the device is switched on and red when the device is switched off.
When I inspect the html I can see the icon (light bulb) gets a class='on' or class='off' I could use, but then I need the parent div to apply the background-color on.. As far as I know this is not possible using css.
See the em of the lightbulb below which has an 'off' class.
Code: Select all
function getStatus_20(idx,value,device){
if(device['Data']!="Off"){
$('div.block_20').removeClass('background_red').addClass('background_green');
}
else {
$('div.block_20').removeClass('background_green').addClass('background_red');
}
}
Code: Select all
.background_green {
background-color: rgba(0, 255, 0, 0.3) !important;
}
.background_red {
background-color: rgba(255, 0, 0, 0.3) !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
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
-
- Posts: 89
- Joined: Friday 09 October 2015 17:40
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Can you enlighten me on the relevant pieces in CONFIG.js? (Not main.js, I got that part)
I want to rule out some strange things on my laptop. (No menu shows up but could be CONFIG related)
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
The configuration is a bit difficult. I don't have mine around anymore. i see what I can do tomorrow.Ierlandfan wrote: ↑Tuesday 14 November 2017 17:52Can you enlighten me on the relevant pieces in CONFIG.js? (Not main.js, I got that part)
I want to rule out some strange things on my laptop. (No menu shows up but could be CONFIG related)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
My modded Dashticz dashboard with custom login and secpanel.
I created a separate html page for secpanel. But I suggest that its better the secpanel is integrated to Dashticz.
Also created a html page for login page and I had modify settings.js to make this work.
Custom Login Dashboard Custom Secpanel
I created a separate html page for secpanel. But I suggest that its better the secpanel is integrated to Dashticz.
Also created a html page for login page and I had modify settings.js to make this work.
Custom Login Dashboard Custom Secpanel
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
-
- Posts: 67
- Joined: Monday 04 July 2016 10:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Hello,
Dashticz is using the ion.sound library (http://ionden.com/a/plugins/ion.sound/en.html) to control and play the online radio streams. It is in the vendor folder. I like to add a volume slider. On the website there is a Basic and Advanced demo. If I go to the Basic demo (http://ionden.com/a/plugins/ion.sound/demo.html) in the middle there is a demo with buttons that set the sound to 10,30,70,100%. This is working so my browser (firefox) can handle it.
My effort to add a simple button to "set" the volume to a fixed value failed.
What have I done so far:
Tried to find some decent documentation rather than the demo's online, also failed.
Studied the ion.sound.js file, The file keeps throwing the "options" word around, but there is no mention what these options can be.
So in main.js I added the following to the addStreamPlayer function.
the function starts with creating an element audio
var supportsAudio = !!document.createElement('audio').canPlayType;
I added:
and in blocks.js
yes I know it's quick and dirty, didn't even change the icon, but it's NOT working.
I thought I was out of the woods by adding audio.volume(0.5);
btw volume can be a value between 0 .. 1
but, logging the debugger in firefox it says that it isn't even a function.
The following lines I also tried without success:
Who can shed some light where I go wrong, maybe a piece of code with my initial intension, a volume slider?.
Thanks in advance.
Frank
Dashticz is using the ion.sound library (http://ionden.com/a/plugins/ion.sound/en.html) to control and play the online radio streams. It is in the vendor folder. I like to add a volume slider. On the website there is a Basic and Advanced demo. If I go to the Basic demo (http://ionden.com/a/plugins/ion.sound/demo.html) in the middle there is a demo with buttons that set the sound to 10,30,70,100%. This is working so my browser (firefox) can handle it.
My effort to add a simple button to "set" the volume to a fixed value failed.
What have I done so far:
Tried to find some decent documentation rather than the demo's online, also failed.
Studied the ion.sound.js file, The file keeps throwing the "options" word around, but there is no mention what these options can be.
So in main.js I added the following to the addStreamPlayer function.
the function starts with creating an element audio
var supportsAudio = !!document.createElement('audio').canPlayType;
I added:
Code: Select all
,
btnVolUp = $(streamelement+' .btnVolUp').click(function() {
audio.volume(0.5);
}),
Code: Select all
html+='<div class="col-xs-4 transbg hover text-center btnVolUp">';
html+='<em class="fa fa-chevron-right fa-small"></em>';
html+='</div>';
yes I know it's quick and dirty, didn't even change the icon, but it's NOT working.
I thought I was out of the woods by adding audio.volume(0.5);
btw volume can be a value between 0 .. 1
but, logging the debugger in firefox it says that it isn't even a function.
The following lines I also tried without success:
Code: Select all
audio.volume(false, {volume: 0.5});
audio.update("volume",0.5);
audio.setVolume("volume", 0.5);
audio.setVolume(0.5);
Thanks in advance.
Frank
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Slowly it is coming around nicely
Have it now on a windows tablet and works great.
Of course still adding things and removing stuff all the time
Have it now on a windows tablet and works great.
Of course still adding things and removing stuff all the time
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
-
- Posts: 67
- Joined: Monday 04 July 2016 10:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
@gijsje,
Nice going I see that you have a volume up en down button, In the post above yours I'm struggling with the volume, how did you do that..?
regards
Frank
Nice going I see that you have a volume up en down button, In the post above yours I'm struggling with the volume, how did you do that..?
regards
Frank
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Frank,
It is the volume for the chromecast its there automaticly
Still need to add the buttons for the harmony hub
It is the volume for the chromecast its there automaticly
Still need to add the buttons for the harmony hub
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
-
- Posts: 67
- Joined: Monday 04 July 2016 10:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Gijs,
Ah, Ok understand. I'm gonne look further.
Ah, Ok understand. I'm gonne look further.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Care to share? (guess it rhymes a bit )
Looks nice
Why do I want to keep changing the layout every time I see a nice one.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- gijsje
- Posts: 132
- Joined: Saturday 19 August 2017 14:28
- Target OS: NAS (Synology & others)
- Domoticz version: Stable
- Location: Berkel Enschot, NL
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Sure thing.
The config has become very long as i do want other icons for most things and changing some settings.
Maybe it can be smaller but it works.
It would be great if it would be possible to have a separate file for blocks setting
config
The config has become very long as i do want other icons for most things and changing some settings.
Maybe it can be smaller but it works.
It would be great if it would be possible to have a separate file for blocks setting
config
- Spoiler: show
- Spoiler: show
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Show your dashboard and how-to's!
Thanks
Not sure if it's possible with .js, but in PHP it should work with something like 'include_once', but that is something the developer(s) will know. I do agree with it. Maybe the var config parts as well.It would be great if it would be possible to have a separate file for blocks setting
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Who is online
Users browsing this forum: No registered users and 1 guest