Re: New Dashboard Design v2, custom positioning and multiple screens
Posted: Friday 07 April 2017 11:57
The train is working in the latest version. But on the dashboard its says 2 and when i open the train there where 5 delays?
Open source Home Automation System
https://forum.domoticz.com/
Could you test latest version?robgeerts wrote:HansieNL wrote:Sorry...Button is working but not triggering the frame.
No output in console... or can it be this one? jquery.min.js:4
Looks like the website is not updated. The RSS feed gives some other info.SwordFish wrote:The train is working in the latest version. But on the dashboard its says 2 and when i open the train there where 5 delays?
I know, I'm trying to find another source, same problem for traffic.SwordFish wrote:The train is working in the latest version. But on the dashboard its says 2 and when i open the train there where 5 delays?
Code: Select all
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
Well, I used that site for the block already, now i'm using it for the frame (when you click on it) too but still, my block says 2, de website says 4...HansieNL wrote:SwordFish wrote: Looks like the website is not updated. The RSS feed gives some other info.
You can check the RSS https://www.rijdendetreinen.nl/rss/ if you like.
Looks like something is wrong with rss feed itself just few minutes ago. Other link does work. Why does things always brake when you're testing it?robgeerts wrote:Yes, still works, although, it appears after 10 seconds when loading dashboard..
Did you change the source (maybe wrong rss-feed?) OR do you get any other error in console?
Code: Select all
.transbg {
border-width: 3px !important;
}
Code: Select all
.transbg.col-xs-1, .transbg.col-xs-2, .transbg.col-xs-3, .transbg.col-xs-4, .transbg.col-xs-5, .transbg.col-xs-6, .transbg.col-xs-7, .transbg.col-xs-8, .transbg.col-xs-9, .transbg.col-xs-10, .transbg.col-xs-11, .transbg.col-xs-12 {
background-color: rgba(255,255,255,0.2);
}
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "426 ppm",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 13,
"HardwareName" : "Netatmo",
"HardwareType" : "Netatmo",
"HardwareTypeVal" : 54,
"HaveTimeout" : false,
"ID" : "0079",
"LastUpdate" : "2017-04-07 07:15:44",
"Name" : "Living room CO2",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"Quality" : "Excellent",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Voltcraft CO-20",
"Timers" : "false",
"Type" : "Air Quality",
"TypeImg" : "air",
"Unit" : 165,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "199"
},
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "35 dB",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 13,
"HardwareName" : "Netatmo",
"HardwareType" : "Netatmo",
"HardwareTypeVal" : 54,
"HaveTimeout" : false,
"ID" : "36BC79A5",
"LastUpdate" : "2017-04-07 07:15:44",
"Name" : "Living room dB",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Sound Level",
"Timers" : "false",
"Type" : "General",
"TypeImg" : "Speaker",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "200"
},
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"Barometer" : 1003.6,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "11.2 C, 55 %, 1003.6 hPa",
"Description" : "",
"DewPoint" : "2.49",
"Favorite" : 1,
"Forecast" : 9,
"ForecastStr" : "Stable",
"HardwareID" : 13,
"HardwareName" : "Netatmo",
"HardwareType" : "Netatmo",
"HardwareTypeVal" : 54,
"HaveTimeout" : false,
"Humidity" : 55,
"HumidityStatus" : "Comfortable",
"ID" : "79A5",
"LastUpdate" : "2017-04-07 07:15:44",
"Name" : "Living room",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Weather Station",
"Temp" : 11.199999999999999,
"Timers" : "false",
"Type" : "Temp + Humidity + Baro",
"TypeImg" : "temperature",
"Unit" : 165,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "198"
},
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "1936.987 kWh",
"CounterToday" : "1.979 kWh",
"CustomImage" : 0,
"Data" : "1936.987 kWh",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 5,
"HardwareName" : "Mokkislave",
"HardwareType" : "Domoticz - Remote Server",
"HardwareTypeVal" : 3,
"HaveTimeout" : false,
"ID" : "01F1",
"LastUpdate" : "2017-04-07 07:15:20",
"Name" : "Power consumption",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"SubType" : "RFXMeter counter",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "RFXMeter",
"TypeImg" : "counter",
"Unit" : 0,
"Used" : 1,
"ValueQuantity" : "",
"ValueUnits" : "",
"XOffset" : "0",
"YOffset" : "0",
"idx" : "237"
},
koowee wrote:I have NetAtmo CO2 and noise sensors. Is it possible to add also those to dashboard?
NetAtmo indoor unit gives three different values, degrees, humidity and barometer. When I put this device idx to colums (example 199), it show all three values as it should. But when I try to add only one of those values (example '199_1'), it doesn't show anything.
Fixed in latest version!koowee wrote: Also something wrong with power consumption, it show m3 when it should be kWh
Whats the content of your config.js?htilburgs wrote:Just downloaded the latest version and done a 'clean' install.
No items show in the Dashboard, only the time, sunrise/sunset, radio and radar screen in upper right corner.
Furthermore al blank block in the upper middle.
Checked with F12 / Network, but no errors occur.
Checked URL, etc. but cannot find errors in the config.js file.
The previous version worked fine and loaded all of the favorites from Domoticz.
What could be wrong?
Thanks, it works!robgeerts wrote:...koowee wrote:I have NetAtmo CO2 and noise sensors. Is it possible to add also those to dashboard?
NetAtmo indoor unit gives three different values, degrees, humidity and barometer. When I put this device idx to colums (example 199), it show all three values as it should. But when I try to add only one of those values (example '199_1'), it doesn't show anything.
Fixed in latest version!
Fixed in latest version!koowee wrote: Also something wrong with power consumption, it show m3 when it should be kWh
//PATH TO DOMOTICZ
var _HOST_DOMOTICZ = 'http://192.168.0.100:8080';
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON = ''; //http://192.168.1.3/domoticz/switch_horizon.php';
var _HOST_NZBGET = 'http://192.168.1.3:1234';
var _APIKEY_WUNDERGROUND = '';
var _WEATHER_CITY = 'Eindhoven';
var _WEATHER_COUNTRY = 'NL';
var _USE_DUTCH_TRAFFICINFO = false;
var _USE_DUTCH_TRAININFO = false;
var _BACKGROUND_IMAGE = 'bg8.jpg';
var buttons = {}
buttons.radio = {image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.radar = {icon: 'fa-cloud', title: 'Radar', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
var titles = {}
titles.groups = 'Verlichting'; //or false to hide block
titles.lights = '';
titles.forecast = '';
titles.horizon = 'TV';
titles.nzbget = 'Downloads';
titles.traffic = '';
titles.train = '';
Code: Select all
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning