Re: Dashticz v2.0, custom positioning and multiple screens
Posted: Saturday 15 April 2017 11:56
Open source Home Automation System
https://forum.domoticz.com/
In the latest version, just released, you can use this in your config.js:Blueone wrote:Isn't it possible to call this url http://127.0.0.1/cgi-bin/screen_brightn ... ghtness=11 when this script is added by the user? If not, I can also create a simple HTML which can be put in the webserver which run's the cgi.robgeerts wrote:If you want the text to be white, add to custom.css:
I cannot use cgi in my scripts.Code: Select all
.standby .row { opacity:1 !important; }
I could make a setting that the dashboard has to call an url when going to standby.
Code: Select all
var _STANDBY_CALL_URL = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=11';
Try adding this to custom.css:
Code: Select all
.col-data .title {
font-size:14px;
}
.col-data span {
font-size:16px;
}
Maybe the updated wiki can help you out? Check the last part with a couple of variables for custom icon en text settings This helped me out this morning.
Code: Select all
.fa.fa-lightbulb-o.on {
color: rgba(0,255,0,1)
}
.fa.fa-lightbulb-o.off {
color: rgb(255, 28, 133)
}
.fa-thermometer-half:before{
font-size: 24px;
font-weight: 1200;
color: rgb(255, 245, 0)
}
Thanks! I will also make some text for the wiki so other people can use it easyly. Next job: putting the touchscreen to the wall, this dashboard really gives extra value to domoticz!robgeerts wrote:
In the latest version, just released, you can use this in your config.js:
Code: Select all
var _STANDBY_CALL_URL = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=11';
The image refreshes correctly now,thanks Rob!robgeerts wrote:I just tested this in latest version and its working for me...freakshock wrote:Hi Rob,
Amazing dashboard! I like how most of it works straight out of the box. One question, is it normal behavior that the buienradar image does not refresh on its own? Does it only refresh with a full page refresh? Tested this with chrome on android and Windows. Thanks
Could you test this??
Looks like there is an error in your CONFIG.js. Check your IDX'sb00n wrote:Hellow,
is anyone having the same issue i'm only getting emty boxes for my switches ?
If you share your config.js we van help you betterb00n wrote:Hellow,
is anyone having the same issue i'm only getting emty boxes for my switches ?
Code: Select all
VM2218:27 Uncaught TypeError: idx.substr is not a function
at switchDevice (eval at <anonymous> (jquery.min.js:2), <anonymous>:27:9)
at HTMLDivElement.onclick (index.html:1)
Two minutes, now that's what I call a quick fix Thanks!robgeerts wrote:Excuse me!
Should be fixed in latest version!
That would be an amazing feature!Dropshot wrote:Could it be possible to see the graps, of for instance the temperature, when I press on the block?
HansieNL wrote:You have to use var _USE_FAVORITES = falsemaluko wrote:i am trying to add a virtual swicth that control my irrigation zone system, but i am facing with this problem:
virtual swich is placed on "rega" plan and hiden on main plan, so canĀ“t see on dashboard, if i bring back to main next came back to dash.
can i contorn this?
thanks.
Code: Select all
var _USE_AUTO_POSITIONING = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = false; //only used when using auto positioning
Thank you, I've the icon working now! Is it also possible to switch the title and value for the custom sensors? As I've showed earlier, it's different compared to temperature and lux for instance:robgeerts wrote:In latest version the icon is a question mark, now you can override this icon too..Dropshot wrote:Here is the output:robgeerts wrote:
Could you send me the output of that device?
- Spoiler: show