When I add this in the custom css in won't use it (changing the stand-by background color)
Code: Select all
.standby .fullslider {
background-image:none !important;
background-color:#000000 !important;
}
Moderators: leecollings, htilburgs, robgeerts
Code: Select all
.standby .fullslider {
background-image:none !important;
background-color:#000000 !important;
}
Rob,robgeerts wrote:Will check out the popups.crashingdutchman wrote:I wanted to use the mediaplayer next button twice to change to 2 stations up, but my clicks were noted as a double click and my iPad zoomed in on that part of the screen. Can you disable the registration of double clicks on buttons like these and handle them as 2 single clicks?
Also, the nu.nl frame (or popup) is still to big for my iPad Mini.
Edit: also valid for other popups like radio (nederland.fm) and my TV guide popups.
Regarding the zoom-function, could you try adding this snippet to custom.js, right BEFORE:
function afterGetDevices(){
If this works, I'll add it to the core scriptsCode: Select all
(function($) { var IS_IOS = /iphone|ipad/i.test(navigator.userAgent); $.fn.nodoubletapzoom = function() { if (IS_IOS) $(this).bind('touchstart', function preventZoom(e) { var t2 = e.timeStamp , t1 = $(this).data('lastTouch') || t2 , dt = t2 - t1 , fingers = e.originalEvent.touches.length; $(this).data('lastTouch', t2); if (!dt || dt > 500 || fingers > 1) return; // not double-tap e.preventDefault(); // double tap - prevent the zoom // also synthesize click events we just swallowed up $(this).trigger('click').trigger('click'); }); }; })(jQuery);
Code: Select all
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
Code: Select all
if(!isMobile){
$('body').bind('mousemove', function(e){
standbyTime=0;
disableStandby();
});
}
It works for me, both on Chrome and Safari on an iPad Mini with the latest iOS 10(.3.2).robgeerts wrote:Well, i found that fix too but they said it doesnt work for ios10...
Code: Select all
blocks[2] = {}
blocks[2]['width'] = 4;
blocks[2]['title'] = 'onkyo'
blocks[2]['icon'] = 'fa-volume-up';
Code: Select all
blocks['s2'] = {}
blocks['s2']['type'] = 'Scene';
blocks['s2']['width'] = 12;
blocks['s2']['title'] = 'Alles uit'
blocks['s2']['icon'] = 'fa-power-off';
Done simply adding a button with the url of the panel but it's too large on my phone.. I don't know how to resizemarcotrumpet wrote:Guys, just thinking..
Do you think it is possible to show (maybe with a buttons.panel) the domoticz security panel to insert allarm code?
Done simply adding a button with the url of the panel but it's too large on my phone.. I don't know how to resizemarcotrumpet wrote:Guys, just thinking..
Do you think it is possible to show (maybe with a buttons.panel) the domoticz security panel to insert allarm code?
Check network tab in Developer Tools (Chrome/FF: right click Inspect then Network tab). For me it is around 2.5sec.SwordFish wrote:I'm sorry to say but since the last few updates i also noticed that the dashboard is responding slow. For example the clock isn't showing instantly and when its show its take a few seconds before its is on time. I've try to clear cache, reboot pi etc etc. On my tablet i looked this morning and just now its still said that it was 10.10u and within seconds its start to update the clock. I had this not with previous versions? Can it have anything to do with the way the rss feeds are working now for train, trafic etc? Just think out loud
Somewhere around that, 2 to 4 secondsmadrian wrote:Check network tab in Developer Tools (Chrome/FF: right click Inspect then Network tab). For me it is around 2.5sec.SwordFish wrote:I'm sorry to say but since the last few updates i also noticed that the dashboard is responding slow. For example the clock isn't showing instantly and when its show its take a few seconds before its is on time. I've try to clear cache, reboot pi etc etc. On my tablet i looked this morning and just now its still said that it was 10.10u and within seconds its start to update the clock. I had this not with previous versions? Can it have anything to do with the way the rss feeds are working now for train, trafic etc? Just think out loud
That's normal. For me in 2.54sec everything is showing instantly, but I am running domoticz on an Intel Atom platform.SwordFish wrote: Check network tab in Developer Tools (Chrome/FF: right click Inspect then Network tab). For me it is around 2.5sec.
Somewhere around that, 2 to 4 seconds
Ok, added that fix to latest version. (Pushing tomorrow, I think, to gitlab!)crashingdutchman wrote:It works for me, both on Chrome and Safari on an iPad Mini with the latest iOS 10(.3.2).robgeerts wrote:Well, i found that fix too but they said it doesnt work for ios10...
Edit: it also works in Chrome in my browser (Chrome on Windows 10)
Ok, fixed in latest version. (Pushing tomorrow, I think, to gitlab!)bierlaagh wrote:Very happy with Dashticz V2.0 Thnx for that!
But now i encounter an issue wich i don't know if it is resolved or not (could not find it searching this topic)
I have a button and a Scene , Botch have IDX2
in Config.js i already renamed the Scene :Code: Select all
blocks[2] = {} blocks[2]['width'] = 4; blocks[2]['title'] = 'onkyo' blocks[2]['icon'] = 'fa-volume-up';
Code: Select all
blocks['s2'] = {} blocks['s2']['type'] = 'Scene'; blocks['s2']['width'] = 12; blocks['s2']['title'] = 'Alles uit' blocks['s2']['icon'] = 'fa-power-off';
It's already merge requested, it's up to you.robgeerts wrote:Looks nice, when can i implement this? (Good night for now)
Code: Select all
function TranslateDirection(directionstr){
directionstr='direction_'+directionstr;
return lang[directionstr];
}
in:blocktypes.Type['Wind'] = { icon: 'wi wi-wind-direction', title: lang.wind, value: '<Speed> m/s, <Direction> <DirectionStr>' }
Code: Select all
blocktypes.Type['Wind'] = { icon: 'wi wi-wind-direction', title: lang.wind, value: '<Speed> m/s, <Direction>° ' }
Code: Select all
if(typeof(device['Direction'])!=='undefined' && typeof(device['DirectionStr'])!=='undefined'){
attr+=' style="-webkit-transform: rotate('+device['Direction']+'deg);-moz-transform: rotate('+device['Direction']+'deg);-ms-transform: rotate('+device['Direction']+'deg);-o-transform: rotate('+device['Direction']+'deg); transform: rotate('+device['Direction']+'deg);"';
value = value+TranslateDirection(device['DirectionStr']);
}
Code: Select all
lang['direction_N'] = 'noord'
lang['direction_NNE'] = 'noord-noordoost';
lang['direction_NE'] = 'noordoost'
lang['direction_ENE'] = 'oost-noordoost';
lang['direction_E'] = 'oost';
lang['direction_ESE'] = 'oost-zuidoost' ;
lang['direction_SE'] = 'zuidoost' ;
lang['direction_SSE'] = 'zuid-zuidoost' ;
lang['direction_S'] = 'zuid' ;
lang['direction_SSW'] = 'zuid-zuidwest' ;
lang['direction_SW'] = 'zuid-west' ;
lang['direction_WSW'] = 'west-zuidwest' ;
lang['direction_W'] = 'west' ;
lang['direction_WNW'] = 'west-noordwest' ;
lang['direction_NW'] = 'noordwest' ;
lang['direction_NNW'] = 'noord-noordwest' ;
Users browsing this forum: No registered users and 1 guest