I cannot use cgi in my scripts.
I could make a setting that the dashboard has to call an url when going to standby.
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.
In the latest version, just released, you can use this in your config.js:
Any change the font-size of these can be increased a bit. Maybe with a custom css?
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.
var _STANDBY_CALL_URL = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=11';
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!
On minor the thing, the brightness has to be set back to a new brightness when it comes out of stand-by, so two values are needed.
Last edited by Blueone on Saturday 15 April 2017 12:20, edited 1 time in total.
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
I just tested this in latest version and its working for me...
Could you test this??
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 better
I encountered a new error with the latest commit, where my dimmer switches are not working in the on/off function. If the light is on I can however change the brightness.
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)
maluko 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.
You have to use var _USE_FAVORITES = false
allways use this but seem to not show when switch are hiden.
var _USE_AUTO_POSITIONING = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = false; //only used when using auto positioning
In latest version the icon is a question mark, now you can override this icon too..
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:
Last edited by Dropshot on Saturday 15 April 2017 13:21, edited 2 times in total.