Encore en projet (test)
Pas très propre ... (je parle des pages)
Pour rappel :
Sur Firefox pas de problème
Uniquement sur Chrome et Chromium "Webcam Offline"
Pour info :
J'ai également ce message :

Alors que le fichier existe bien à cet endroit!!!
Code : Tout sélectionner
// Change the text for on/off switches
var txt_on = 'On';
var txt_off = 'Off';
var txt_closed = 'Fermée';
var txt_open = 'Ouverte';
var txt_sunboth='Soleil';
var txt_sunset='Coucher soleil';
var txt_sunrise='Lever soleil';
var days = ["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"];
var months = ["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"];
// Change the text displayed in PopUps
var txt_switch_protected = '\'Interdit\'';
var txt_switch_on = '\'Switch On\'';
var txt_switch_off = '\'Switch Off\'';
var txt_blind_up = '\'Ouverture\'';
var txt_blind_down = '\'Fermeture\'';
var txt_blind_stop = '\'Arrêt\'';
// Change backgrounds images,size and brightness
var bg_day = 'pissanli.jpg'; // image de fond le jour, laisser vide pour fond noir
var bg_night = 'romantic.jpg'; // image de fond la nuit, laisser vide pour fond noir
var bg_day_spring = ''; // image de fond pour la saison printemps
var bg_night_spring = '';
var bg_day_summer = ''; // image de fond pour la saison été
var bg_night_summer = '';
var bg_day_autumn = ''; // image de fond pour la saison automne
var bg_night_autumn = '';
var bg_day_winter = ''; // image de fond pour la saison hiver
var bg_night_winter = '';
var bg_size = 'cover'; // taille de l'image de fond (ex: '1024px 768px') 'cover' : "couvre" au mieux tout le fond.
var bg_dayBright = 0.5; // luminosité du fond le jour (0=normal 1=noir)
var bg_nightBright = 0.5; // luminosité du fond la nuit (0=normal 1=noir)
// Change colors of temps
var T35 = '#FF0000'; // couleur de la température à 35°C
var T34 = '#FE1400';
var T33 = '#FD2800';
var T32 = '#FD3C00';
var T31 = '#FC5000';
var T30 = '#FC6500';
var T29 = '#FC6F0A';
var T28 = '#FC7A14';
var T27 = '#FC841E';
var T26 = '#FC8F28';
var T25 = '#FC9A32';
var T24 = '#FCA43C';
var T23 = '#FCAF46';
var T22 = '#FCB950';
var T21 = '#FCC45A';
var T20 = '#FCCF65'; // couleur de la température à 20°C
var T19 = '#FCD270';
var T18 = '#FDD67B';
var T17 = '#FDDA87';
var T16 = '#FEDE92';
var T15 = '#FFE29E';
var T14 = '#F8E5A1';
var T13 = '#F1E9A4';
var T12 = '#EAEDA7';
var T11 = '#E3F1AA';
var T10 = '#DDF5AE';
var T09 = '#D3F5B7';
var T08 = '#CAF5C0';
var T07 = '#C0F5C9';
var T06 = '#B7F5D2';
var T05 = '#AEF5DC';
var T04 = '#AEF1E1';
var T03 = '#AEEDE6';
var T02 = '#AEEAEB';
var T01 = '#AEE6F0';
var T00 = '#AEE3F5';
var T000 = '#EBF4F7'; // couleur de la température sous 0°C
// Change the timeout of the PopUp
var switch_protected_timeout = '1000'; // durée d'affichage (en milisecondes)
var switch_timeout = '1000';
var fad_Duration = 200; // durée de l'animation (en milisecondes)
// Special items
var city = 'xxxxx'; // localité pour la popup météo option 0,1,2,3 (lors du clic sur l'icon météo) cf http://www.prevision-meteo.ch/
var place = 'xxxxx/xxxxx/xxxxx/'; // localité pour la popup météo option 4 (lors du clic sur l'icon météo) cf http://www.yr.no/
var blink = false; // faire clignoter les valeurs en alarme (true/false)
var showMonth = true; // affichage du mois dans la date (true/false)
// Swipe options
var speed = 300; // durée de l'animation (en milisecondes)
var delai = 0; // défilement automatique, temps avant changement de page (en milisecondes)
var direction = 'next'; // si delai est différent de 0, choix d'aller à la page suivante ou de revenir à la première page ('next'/'index')
// Display
var refresh = 8000; // temps entre 2 rafraîchissements (en millisecondes)
// ############################################################################################################
// #### vvvvv USER VALUES below vvvvv #######
// ############################################################################################################
$.roomplan = 0; // define roomplan in Domoticz and create items below. (0 = all devices, not limited to a roomplan)
//$.domoticzurl = "http://192.168.22.100:8080"; // url de connection à domoticz (ex: http://paul:ochon@toto.com:8765)
$.domoticzurl = "http://192.168.1.79:8080"; // url de connection à domoticz (ex: http://paul:ochon@toto.com:8765)
//$.domoticzurl = location.protocol + "//" + location.host; // auto detect (location.protocol + "//paul:ochon@" + location.host)
$.PageArray = [
//Page clock
['0' ,'Date', 'clock15', '','','','',''],
//page 1
// ['idx','value', 'cellule', 'description','1=lastseen 2=icon 3=both ou J+x(popup météo)','pas de thermostat','override css','Alarme ou valeur max de thermostat'],
// ['0','Clock', 'cell1', '','','','font-family:digital;color:#8BFD1C;font-size:160%',''], // heure et date
['0','Clock', 'clock1', '','','','font-arimo:digital;color:#8BFD1C;font-size:50%',''], // heure et date
['0','', 'cell2', '','','','',''],
['0', 'clock5', '','','','',''],
['0','', 'cell4', '','','','',''],
['0','', 'cell5', '','','','',''],
['0','', 'cell6', '','','','',''],
['0','', 'cell7', '','','','',''],
['0','', 'clock8', '','','','',''],
['65','Data', 'clock9', '','','','font-size:80%;color:#4dd2ff'], //Saint du jour
['0','', 'cell10', '','','','',''],
['0','', 'cell11', '','','','',''],
['0','', 'cell12', '','','','',''],
['0','', 'cell13', '','','','',''],
['0','', 'cell14', '','','','',''],
['','MonthYear', 'clock5', '','','','',''],
['0','', 'cell16', '','','','',''],
['0','', 'cell17', '','','','',''],
['0','', 'cell18', '','','','',''],
['0','', 'cell19', '','','','',''],
['0','', 'cell20', '','','','',''],
['0','', 'cell21', '','','','',''],
['0','', 'cell22', '','','','',''],
['0','', 'cell23', '','','','',''],
['0','', 'cell24', '','','','',''],
['0','', 'cell25', '','','','',''],
['0','SunBoth', 'desc_cell25', '','','','color:#F2DDB3;font-size:19px;font-weight:bold'], // heures soleil dans la description de la cellule 25
// page 2
['0', 'Clock', 'cell2_1', '','','','font-arimo:digital;color:#8BFD1C;font-size:140%',''], // heure et date
['0' ,'Hide', 'cell2_2', '','','','',''],
['6' ,'ForecastStr', 'cell2_3', '','','','',''], // icon météo (idx du capteur de température extérieur virtuel Weather Underground)
['0' ,'SunBoth', 'desc_cell2_3', '','','','',''], // heures soleil dans la description de la cellule 2_3
['6' ,'Barometer', 'cell2_4', 'Pression Barométrique','','','',''],
['10','Radiation', 'cell2_5', 'Radiations Solaires','','','',''],
['0' ,'Hide', 'cell2_6', '','','','',''],
['0','Hide', 'cell2_7', '','','','',''],
['0','Hide', 'cell2_8', '','','','',''],
['0','Hide', 'cell2_9', '','','','',''],
['0','Hide', 'cell2_10', '','','','',''],
['2','Temp', 'cell2_11', 'T° Ext. 1-M','','','',''],
['0','', 'cell2_12', '','','','',''],
['4194' ,'Saison', 'cell2_13', '','','','',''],
['0','', 'cell2_14', '','','','',''],
['1','Temp', 'cell2_15', 'T° Living','','','',''],
['3','Temp', 'cell2_16', 'T° Ext. 2-M','','','',''],
['0','', 'cell2_18', '','','','',''],
['0','', 'cell2_19', '','','','',''],
['0','', 'cell2_20', '','','','',''],
['0' ,'Text', 'desc_cell2_20', 'T° Cuisine','','','',''],
['13','Temp', 'cell2_21', 'T° Pergola','','','',''],
['0' ,'', 'desc_cell2_22', '','','','',''],
['0','', 'cell2_22', '','','','',''],
['0','', 'cell2_23', '','','','',''],
['0','Text', 'desc_cell2_23', 'T° SdB','','','',''],
['0','', 'cell2_24', '','','','',''],
['6','Temp', 'cell2_25', '','','','',''],
['6','HumidityStatus', 'desc_cell2_25', '','','','font-arimo:digital;color:#DE9816;font-size:100%',''],
// page 3
['0','', 'cell3_1', '','','','',''],
['0','', 'cell3_2', '','','','',''],
// ['0','', 'cell3_3', '','','','',''], // camera
// ['0','Camera','cell3_3','http://webcam.st-malo.com/mjpg/video.mjpg','','',''], // camera 1
['0','', 'cell3_4', '','','','',''],
['0','', 'cell3_5', '','','','',''],
['0','', 'cell3_6', '','','','',''],
['0','', 'cell3_7', '','','','',''],
['0','', 'cell3_8', '','','','',''],
['0','', 'cell3_9', '','','','',''],
['0','', 'cell3_10', '','','','',''],
['0','', 'cell3_11', '','','','',''],
['0','', 'cell3_12', '','','','',''],
['0','', 'cell3_13', '','','','',''],
['0','', 'cell3_14', '','','','',''],
['0','', 'cell3_15', '','','','',''],
['0','', 'cell3_16', '','','','',''],
['0','', 'cell3_17', '','','','',''],
['0','', 'cell3_18', '','','','',''],
['0','', 'cell3_19', '','','','',''],
['0','', 'cell3_20', '','','','',''],
['0','', 'cell3_21', '','','','',''],
['0','', 'cell3_22', '','','','',''],
['0','', 'cell3_23', '','','','',''],
['0','', 'cell3_24', '','','','',''],
['0','Camera','cell3_25','http://mon login:mon MP@192.168.1.220:3838/mjpeg.cgi'],
// page Météo
['0' ,'Clock', 'meteo1', '','','','font-arimo:digital;color:#8BFD1C;font-size:140%',''], // heure et date
['0' , 'Hide', 'meteo2', '','','','',''],
['6' ,'ForecastStr', 'meteo3', '','','','',''], // icon météo
['0' ,'SunBoth', 'desc_meteo3', '','','','',''], // heures levé/couché soleil dans la description de la cellule 2_3
['6' ,'Barometer', 'meteo4', 'Pression Barométrique','','','',''],
['10','Radiation', 'meteo5', 'Radiations Solaires','','','',''],
['0' ,'Hide', 'meteo6', '','','','',''],
['0' ,'Text', 'meteo7', 'Prévisions - Rebaix à 4 jours','','','font-arimo:digital;color:#fd1c8b;font-size:80%',''],
['0' ,'Hide', 'meteo8', '','','','font-arimo:digital;color:#800080;font-size:80%',''],
['0' ,'Hide', 'meteo9', '','','','font-arimo:digital;color:#800080;font-size:80%',''],
['0' ,'Hide', 'meteo10', '','','','font-arimo:digital;color:#800080;font-size:80%',''],
['0' ,'Hide', 'meteo11', '','','','font-arimo:digital;color:#800080;font-size:80%',''],
['6' ,'Temp', 'meteo25', '','','','',''],
[]];
$.PageArray_Scenes = [ // placez ci dessous vos groupes et scènes
// ['idx','value','cellule','description','icon name (ex: Light, Blinds, WallSocket, Generic,..)','override css'],
['0','', '', '','',''],
['0','', '', '','',''],
['0','', '', '','',''],
[]];
// ############################################################################################################
// #### ^^^^^ USER VALUES above ^^^^^ #######
// ############################################################################################################
