I am using Jan_nl lastest design and some things are a mystery for me, I can not get Sunrise/sunset to work.
Code: Select all
$(document).ready(function() {
$.roomplan=0; // define roomplan in Domoticz and create items below.
$.domoticzurl="http://192.168.1.119:8080";
//format: idx, value, label, description,lastseen(1 when lastseen is wanted, 2 print %) ,plusmin button (1 for buttons), [override css], [alarm value]
$.PageArray = [
['56','Status', 'cell6', 'Lamp gang onder','0','0'],
['15','Humidity', 'cell1', 'Luftfuktighet','1','0'],
['35','sunboth', 'cell5', 'Naar bed','0','0'],
['57','Level', 'cell13', 'Lamp afdak (%)','0','1'],
['57','Status', 'cell14', 'Lamp afdak','0','0'],
['15','Status', 'cell7', 'Bijzettafel','0','0'],
['10','Status', 'cell11', 'Feestverlichting','0','0'],
['19','Status', 'cell12', 'Lampen tegen garage','0','0'],
['79','Status', 'cell00', 'Donker switch','0','0'],
['8','Status', 'cell8', 'Boekenkast','0','0'],
['17','Status', 'cell15', 'Tuinlampen','0','0'],
['88','Status', 'cell4', 'Naast Bank','0','0'],
['23','Status', 'cell21', 'TV Slaapkamer','0','0'],
['73','Status', 'cell10', 'Wijnrek','0','0'],
['26','Usage', 'cell16', 'Huidig verbruik (Watt)','0','0'],
['78','Usage', 'cell19', 'Actuele opwek (Watt)','1','0'],
['78','CounterToday', 'cell20', 'Opwek vandaag (kWh)','0','0'],
['15','Temp', 'cell3', 'Utomhustemperatur (°C)','0','0'],
['46','DewPoint', 'cell2_5', 'Dauwpunt buiten (°C)','0','0'],
['46','ForecastStr', 'cell25', 'Weersvoorspelling','0','0'],
['0','Link', 'cell17', '<a href="http://www.nu.nl" target="_blank">NU.nl</a>','0','0'],
['0','Tijd', 'cell22', '','0','0','color:#17E213;font-size:150%'],
['47','Chill', 'cell23', 'Gevoelstemp. (°C)','0','0'],
['47','Speed', 'cell2_4', 'Windsnelheid (m/s)','0','0'],
['6','Temp', 'cell2_6', 'Temp. onder afdak (°C)','0','0'],
['6','DewPoint', 'cell2_8', 'Dauwpunt onder afdak (°C)','0','0'],
['6','Humidity', 'cell2_7', 'Vocht onder afdak (%) ','0','0'],
['39','Temp', 'cell2_16', 'Temp. kelder(°C)','0','0'],
['39','DewPoint', 'cell2_18', 'Dauwpunt kelder(°C)','0','0'],
['39','Humidity', 'cell2_17', 'Vocht kelder(%) ','0','0'],
['38','Temp', 'cell2_11', 'Temp. bijkeuken(°C)','0','0'],
['38','DewPoint', 'cell2_13', 'Dauwpunt bijkeuken(°C)','0','0'],
['38','Humidity', 'cell2_12', 'Vocht bijkeuken(%) ','0','0'],
['29','Tijd', 'cell2_1', '','0','0','color:#17E213;font-size:50%'],
['0','SunBoth', 'cell2_10', '','0','0','color:#17E213;font-size:50%'],
['0','Sunrise', 'cell9', '','0','0','color:#17E213;font-size:50%'],
['16','Speed', 'cell2', 'speed','1','0'],
['5','Status', 'cell18', 'Scene Sauna','0','0']
];
$.PageArray_Scenes = [
['29','Status', 'cell2_2', 'Ventilator bijkeuken','0','0'],
['69','Status', 'cell2_23', 'Kerstmis','0','0'],
['0','Traffic', 'cell2_3', '','0','0',';font-size:50%'],
];
// ############################################################################################################
// #### ^^^^^ USER VALUES above ^^^^^ #######
// ###########################################################################################################
Just to test i have tried to set it up in different cells, the funny thing is that the example provided in the code works, so i copied the whole row and just changed the cell number, but no luck!
{ "ServerTime" : "Feb 22 2015 13:21:04", "Sunrise" : "07:12:00", "Sunset" : "17:08:00", "status" : "OK", "title" : "getSunRiseSet" }
Just a suggestion, this web interface to Domoticz is a gamechanger for the software, would it be a good idea to have a support thread and mabye a wiki on how the pages work? I hesitate to ask in this thread since I do not whant to disturb the creativity