Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by SwordFish »

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?
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by HansieNL »

robgeerts wrote:
HansieNL wrote:Sorry... :oops: Button is working but not triggering the frame.
No output in console... or can it be this one? jquery.min.js:4
Could you test latest version?

Working again :)
Blah blah blah
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by HansieNL »

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?
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.
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

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.
For now, I've added a new block:

Image

Add 'news' in a column.
You can change the source of the newsitems in config.js:

Code: Select all

var _NEWS_RSSFEED			= 'http://www.nu.nl/rss/algemeen';
Example rss-feeds are:
http://www.nu.nl/rss/algemeen
http://www.nu.nl/rss/economie
http://www.nu.nl/rss/internet
http://www.omroepbrabant.nl/rss
http://rss.cnn.com/rss/edition_europe.rss
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

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.
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...
Edit, found the problem: the site I use for rss parsing is incorrect.. (AGAIN!), will find an alternative!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Alternative found!
Try latest version. It can take a few seconds longer before block is loaded!

Image
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by HansieNL »

RSS works great!!! Is it possible to add a link to the web site when clicked on the rss block (like train and traffic)?
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

I've created a Trello-board to keep track of bugs and new features.
You can find it here: https://trello.com/b/qsNqHtie/dashboard
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by HansieNL »

Hello Rob,
Does the RSS news ticker still work at your place? Here it stopped working. I downloaded latest version, but no result.
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

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?
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by HansieNL »

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?
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? :lol:
Blah blah blah
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by SwordFish »

Great work with the feeds.
Is it maybe possible to reduce the space between the rows?
On my screen it hits the bottom.
And is it a option to make it a swipe to the next page, especially for tablets so that you don't have the dots in youre block?
Attachments
Screenshot_2017-04-07-14-18-52.gif
Screenshot_2017-04-07-14-18-52.gif (345.42 KiB) Viewed 1928 times
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

In the latest version, just pushed, you can add custom CSS to the file: /css/custom.css
You can have smaller gaps when entering the following code to that file:

Code: Select all

.transbg {
	border-width: 3px !important;
}
Also, you can change the background of the blocks, instead of a transparant black, you can use white:

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);
}
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by koowee »

I have NetAtmo CO2 and noise sensors. Is it possible to add also those to dashboard? At this moment it shows both as a switch.
JSON outputs are listed below

CO2

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"
      },
dB

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"
      },
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.

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"
      },
EDIT:

Also something wrong with power consumption, it show m3 when it should be kWh
power.png
power.png (25.58 KiB) Viewed 1864 times

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"
      },
Dashboard development is really fast! Thanks again :)
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by htilburgs »

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?
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

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.
Image
Fixed in latest version!

koowee wrote: Also something wrong with power consumption, it show m3 when it should be kWh
Fixed in latest version!

Wunderground is having some problems so weather may not be loaded.

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?
Whats the content of your config.js?
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by koowee »

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!
koowee wrote: Also something wrong with power consumption, it show m3 when it should be kWh
Fixed in latest version!
Thanks, it works!
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by htilburgs »

Content of my config.js
//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 = '';
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by robgeerts »

Ah, this is a old one ;)
Could you try adding:

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
Otherwise, copy config-default.js to copy.js en enter your domoticz-url again...
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: New Dashboard Design v2, custom positioning and multiple screens

Post by htilburgs »

Ok, it was the CONFIG.js that was in the zip (I think)...;-)
But now it works, so I can go play around.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
Locked

Who is online

Users browsing this forum: No registered users and 1 guest