Page 158 of 184

Re: Dashticz - General Discussions

Posted: Tuesday 26 December 2017 21:01
by dagger38
Maybe:
config['garbage'] = {

In front

Re: Dashticz - General Discussions

Posted: Tuesday 26 December 2017 21:19
by EdwinK
Yup, that was indeed the problem. :) Just found it

Re: Dashticz - General Discussions

Posted: Tuesday 26 December 2017 23:19
by rldn
rldn wrote: Tuesday 26 December 2017 10:38 Hi, big fan of this project.
But can someone please tell me why i cant get the news feed show up? I already put the proxy address in front of the feed address, tried several feeds but nothing shows up in the dashboard!?

blocks['news_10'] = {} // NU.NL
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/algemeen';

Someone please?

Re: Dashticz - General Discussions

Posted: Wednesday 27 December 2017 15:28
by tontze
rldn wrote: Tuesday 26 December 2017 23:19
rldn wrote: Tuesday 26 December 2017 10:38 Hi, big fan of this project.
But can someone please tell me why i cant get the news feed show up? I already put the proxy address in front of the feed address, tried several feeds but nothing shows up in the dashboard!?

blocks['news_10'] = {} // NU.NL
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/algemeen';

Someone please?
can you post other lines too ?

Re: Dashticz - General Discussions

Posted: Wednesday 27 December 2017 16:08
by rldn
tontze wrote: Wednesday 27 December 2017 15:28
rldn wrote: Tuesday 26 December 2017 23:19
rldn wrote: Tuesday 26 December 2017 10:38 Hi, big fan of this project.
But can someone please tell me why i cant get the news feed show up? I already put the proxy address in front of the feed address, tried several feeds but nothing shows up in the dashboard!?

blocks['news_10'] = {} // NU.NL
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/algemeen';

Someone please?
can you post other lines too ?
Config.js
Spoiler: show
var config = {}
config['domoticz_ip'] = 'IPADDRESS';
config['language'] = 'nl_NL';
config['app_title'] = 'Home';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['last_update'] = 0;
config['wu_api'] = 'API';
config['wu_city'] = 'Hoofddorp';
config['wu_name'] = 'Hoofddorp';
config['wu_country'] = 'NL';
config['hide_topbar'] = 1;
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['static_weathericons'] = 1;


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [4,31,46,34,37,92], maxitems: 10 }

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
{"track":2,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":3,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];

var buttons = {}
buttons.webcam1 = { isimage:true, image: 'http://IPADDRESS/camsnapshot.jpg?idx=1' }

var blocks = {}
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Verlichting';

blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Temperatuur';

blocks[25] = {} //Thermostaat
blocks[25]['title'] = 'Thermostaat';
blocks[25]['width'] = 4;

blocks[26] = {} //Woonkamer temperatuur
blocks[26]['title'] = 'Woonkamer';
blocks[26]['width'] = 4;

blocks[1] = {} //Buitentemp
blocks[1]['title'] = 'Buitentemperatuur';
blocks[1]['width'] = 4;

blocks[53] = {} // Badkamervocht
blocks[53]['title'] = 'Badkamer';
blocks[53]['width'] = 4;

blocks[21] = {} //Voordeur
blocks[21]['title'] = 'Voordeur';
blocks[21]['width'] = 4;

blocks[10] = {} //dimmer
blocks[10]['title'] = 'Trapverlichting';
blocks[10]['width'] = 12;

blocks[6] = {}
blocks[6]['icon'] = 'fa-android';
blocks[6]['title'] = 'Ricardo';

blocks[7] = {}
blocks[7]['icon'] = 'fa-server';
blocks[7]['title'] = 'Synology NAS';

blocks[8] = {}
blocks[8]['icon'] = 'fa-apple';
blocks[8]['title'] = 'Sheila';


var columns = {}
//columns['bar'] = {}
//columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_2', 25, 26, 1, 53, 21,'currentweather_big', 'weather', 6, 8, 7]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1', 10,'news_2',tvguide.dutch]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['clock',buttons.webcam1,'traffic','streamplayer']
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 2;


var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg6.jpg';
screens[1]['columns'] = [1,2,3]

Re: Dashticz - General Discussions - WIKI update

Posted: Thursday 28 December 2017 0:30
by jake
Today I found time to prepare a fresh Dashticz on the sideline of my 'old' Dashticz that is from July 2017. Many things have changed/updated/improved, so I copied CONFIG.js and started modifying that according to the Dashticz WIKI.

Since I really needed it to get everything working 'the new way', I came across some outdated pieces of information, that obviously haven't been updated in the 'heat of the battle'. No offence, but since I came across them anyhow, I will mention them here for review and update of the WIKI:

http://www.domoticz.com/wiki/Dashticz_V2_-_Installation
config['language']
- some languages are missing and in Sweden Sw should be Sv

http://www.domoticz.com/wiki/Dashticz_V ... figuration
config['calendarlanguage'] = 'nl_NL';
- variable not explained, but seems to control weather dates and garbage pickup dates language. Was quite confusing, since I had a mix of Dutch/English w/o this variable

config['calendarurl'] = 0;
-variable not explained, no idea

config['hide_topbar']
- Topbar setup only referenced at the 'Custom applications' http://www.domoticz.com/wiki/Dashticz_V ... plications
-- Either link to that section or move it from 'Custom applicatons' to Configuration or Positioning, since it isn't that of a niche, but an important 'block'
-- Or explain the topbar in more detail

config['app_title']
- Seems to be part of the Topbar, but not mentioned as so. The block definition calls it Logo?

http://www.domoticz.com/wiki/Dashticz_V ... dby_Screen
Standby Screen
- var _STANDBY_AFTER_MINUTES still the old variable definition

http://www.domoticz.com/wiki/Dashticz_V ... plications
Garbage collector
- Variables not explained
- Actual supported garbage companies not mentioned, I found them here: http://www.domoticz.com/forum/viewtopic ... 32#p132882
- I thought that in the garbage config, the original names like gft and rest had to reflect the garbage company way of naming them, so I changed gft into Gft and rest in Rest. The Garbage block didn't work, until I reverted both to gft and rest. Might be added to the explanation that these 'words' shoulnd't be modified (I read in the forum that these words check for multiple synonyms that the different garbage companies use)
Topbar
- Variables not explained
- Logo = app title variable?
- miniclock = date and actual time?
- settings = variable settings = settings + full screen?
- sunrise seems also to be an option, I found in the forum. Is not yet mentioned here

Settings 'on screen' don't 'stick' after 'Save', the site reloads, but the setting remain the 'old ones'. CONFIG.js is also not modified, although it takes all actual values from that file

Except the 'Settings' issue described above, I was able to get everything up and running again, so I don't need further explanation in this topic, but I hope someone with the rights to edit, will update the WIKI.

UPDATE 28-12-17:
The config describes Google Map parameters (the Wiki doesn't describe what to do with them), but I just found in the forum another way of adding the GM to the dashboard:
var maps = {}
maps.location = { height: 800, width:12, latitude: 40.4989948, longitude: -3.6610076, zoom:15 }

and used in:
columns[3] = {}
columns[3]['blocks'] = [maps.location]

I used to use columns[3]['blocks'] = ['trafficmap']

Re: Dashticz - General Discussions

Posted: Thursday 28 December 2017 15:22
by robgeerts
Hmm this seems to be broken, will look into this!

Re: Dashticz - General Discussions

Posted: Thursday 28 December 2017 19:22
by sailmich
@Rob I use the newest beta and still have problems with my blinds. I have blinds with percentage and blinds without percentage. None of them could be moved by up and down arrows. Blinds with percentage I can move with sliders, but no way to move my blinds without percentage. Would be really great if you could take a look what the reason is. I took a look in main.js of newest beta and an older beta witch is working and saw different but my skills aren't good enough to solve it by myself. And I'm not sure if it is the cause for non working arrows. Do I have to change CONFIG.js?
Thanks again for your great support.

Re: Dashticz - General Discussions

Posted: Thursday 28 December 2017 19:57
by jake
With the beta's of 2 days before,I had the electricity, solar panel yield and gas blocks showing default titles instead of custom. Today, with a fresh git pull, it solved itself for electricity, but the PVoutput.org splitted block (power and energy) both show the default title 'Solar Panel Yield'.

It was solved before, after mentioning it in this topic

The gas blocks is a different story:
It used to display today's values only.
With the latest beta:
- It creates 2 blocks, both for today and for total (when I use the _1 or _2 I can solve that)
- It gives the totals the custom title
- It gives the today's values the default title 'gas vandaag'

Re: Dashticz - General Discussions

Posted: Friday 29 December 2017 13:13
by joostnl
Thanks for your suggestion, only the problem was spotify in my own config, i think i read it is not usuable in latest beta.
DewGew wrote: Thursday 14 December 2017 7:36
joostnl wrote: Wednesday 13 December 2017 19:36 I tried to update to latest beta. (First update ever)
Removed all dashboard files, uploaded new ones, add my old config file.

The UI loads fine with buienradar etc only it is not showing any of my Domoticz devices it is just blank empty.
Do i have to do something to regain acces to domoticz? (it is not working on my tablet/laptop diffrent browsers)

If i reupload my backup it is working great again.

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.1.13:2449';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 1;
config['last_update'] = 0;
config['wu_api'] = 'secretttt';
config['wu_city'] = 'secretttt';
config['wu_name'] = '';
config['spot_clientid'] = 'secretttt';

var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg10.jpg';
screens[1]['columns'] = [1,2,3]

screens[2] = {}
screens[2]['background'] = 'bg10.jpg';
screens[2]['columns'] = [4]

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Light';
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Temperature'
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Power';
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Plants';
blocks['blocktitle_5'] = {}
blocks['blocktitle_5']['type'] = 'blocktitle';
blocks['blocktitle_5']['title'] = 'Multimedia';
blocks['blocktitle_6'] = {}
blocks['blocktitle_6']['type'] = 'blocktitle';
blocks['blocktitle_6']['title'] = 'Graph';

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',418,446,137,'blocktitle_3',8,9,117] 
columns[1]['width'] = 4;
columns[2] = {}
columns[2]['blocks'] = ['blocktitle_2',6,4,3,2,460,'blocktitle_4',159,163,173,'blocktitle_5',12,16,14,'spotify']
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = ['clock','sunrise','weather',buttons.buienradar,'traffic']
columns[3]['width'] = 3;
columns[4] = {}
columns[4]['blocks'] = ['blocktitle_6']
columns[4]['width'] = 3;
Settings are store at local storage in your browser. Sometimes the settings are not updated when you upgrade dashticz. Try to clear Local Storage in your browser. For chrome:
Hit F12. Go to Application tab. Expand Local storage folder. Selct your dashticz address then right click and select Clear.
For Edge:
Hit F12. Go to debugger. Click the folder icon. Expand Local Storage. Selct your dashticz address. selct all and then delete.

Re: Dashticz - General Discussions

Posted: Friday 29 December 2017 16:52
by rldn
Anyone a solution for my news feed problem?

Re: Dashticz - General Discussions

Posted: Friday 29 December 2017 19:49
by nldforce
Hello,

can sombody help me please. i got a d-link 5009L ip camera
when i try to insert the live view on my frontpage i get a error. (https://ibb.co/h7wNRb)
when i try to go to the link in my browser it works. (https://ibb.co/gCg6mb)

my code:


buttons.webcam1 = { width:6, isimage:true, refresh:5000, image: 'http://guest:*hiddenpw*@192.168.1.11/vi ... lution=VGA', url: 'http://guest:*hiddenpw*@192.168.1.11/vi ... lution=VGA'}

also tried: (same result)
buttons.webcam1 = { width:12, isimage:true, refresh:5000, image: 'http://guest:*hiddenpw*@192.168.1.11/image.jpg', url: 'http://guest:*hiddenpw*@192.168.1.11/image.jpg' }

columns[2] = {}
columns[2]['blocks'] = ['weather','currentweather_big',calendars.business,calendars.private,maps.plaatsnaam,buttons.buienradar,buttons.webcam1]
columns[2]['width'] = 5;
[/spoiler]

Re: Dashticz - General Discussions

Posted: Friday 29 December 2017 19:57
by nldforce
rldn wrote: Wednesday 27 December 2017 16:08
tontze wrote: Wednesday 27 December 2017 15:28
rldn wrote: Tuesday 26 December 2017 23:19


Someone please?
can you post other lines too ?
Config.js
Spoiler: show
var config = {}
config['domoticz_ip'] = 'IPADDRESS';
config['language'] = 'nl_NL';
config['app_title'] = 'Home';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['last_update'] = 0;
config['wu_api'] = 'API';
config['wu_city'] = 'Hoofddorp';
config['wu_name'] = 'Hoofddorp';
config['wu_country'] = 'NL';
config['hide_topbar'] = 1;
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['static_weathericons'] = 1;


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [4,31,46,34,37,92], maxitems: 10 }

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
{"track":2,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
{"track":3,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];

var buttons = {}
buttons.webcam1 = { isimage:true, image: 'http://IPADDRESS/camsnapshot.jpg?idx=1' }

var blocks = {}
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Verlichting';

blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Temperatuur';

blocks[25] = {} //Thermostaat
blocks[25]['title'] = 'Thermostaat';
blocks[25]['width'] = 4;

blocks[26] = {} //Woonkamer temperatuur
blocks[26]['title'] = 'Woonkamer';
blocks[26]['width'] = 4;

blocks[1] = {} //Buitentemp
blocks[1]['title'] = 'Buitentemperatuur';
blocks[1]['width'] = 4;

blocks[53] = {} // Badkamervocht
blocks[53]['title'] = 'Badkamer';
blocks[53]['width'] = 4;

blocks[21] = {} //Voordeur
blocks[21]['title'] = 'Voordeur';
blocks[21]['width'] = 4;

blocks[10] = {} //dimmer
blocks[10]['title'] = 'Trapverlichting';
blocks[10]['width'] = 12;

blocks[6] = {}
blocks[6]['icon'] = 'fa-android';
blocks[6]['title'] = 'Ricardo';

blocks[7] = {}
blocks[7]['icon'] = 'fa-server';
blocks[7]['title'] = 'Synology NAS';

blocks[8] = {}
blocks[8]['icon'] = 'fa-apple';
blocks[8]['title'] = 'Sheila';


var columns = {}
//columns['bar'] = {}
//columns['bar']['blocks'] = ['logo','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_2', 25, 26, 1, 53, 21,'currentweather_big', 'weather', 6, 8, 7]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1', 10,'news_2',tvguide.dutch]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['clock',buttons.webcam1,'traffic','streamplayer']
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 2;


var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg6.jpg';
screens[1]['columns'] = [1,2,3]
same problem for me

Re: Dashticz - General Discussions

Posted: Sunday 31 December 2017 11:41
by joostnl
I hope you continue working on your Dashticz project in 2018 Rob, small donation for some beers :D

Re: Dashticz - General Discussions

Posted: Sunday 31 December 2017 14:56
by robgeerts
Thanks!!
I will try to do as much as I can.
This is a hobby project for me so, of course, my work and family comes first but trying to add new features in 2018!
Have a great evening and a happy 2018!

Re: Dashticz - General Discussions

Posted: Sunday 31 December 2017 15:08
by dagger38
Happy hollidays Rob , Thanks for all the work and a FANTASTIC 2018...Take it easy , it's a holliday for all of us! ;-))

Re: Dashticz - General Discussions

Posted: Sunday 31 December 2017 16:53
by Derik
Dear All

Finally i do have my tablet working.. [ stable ]
13 inch portret :-)

Some hard to get settings problems for me...

I wil have the topbar customized.
Now i see smal icons and tekst..
I hope there is someone that can help me with th options.

I try the make the topbar in 1 line.:
logo, icon sunrise, time sunrise, icon sunset, time sunset, day, date, month,year [ i hope weak number ], time, settings. [ and all to resize ]

This is what i get grrr:
ScreenShot104.png
ScreenShot104.png (186.52 KiB) Viewed 1798 times
With this settings [ sorry i cannot better ]

Code: Select all

.wi.wi-sunrise	 { font-size: 18pt !important; color: green; margin-left: 35px !important;}
.wi.wi-sunset	 { font-size: 18pt !important; color: blue; }
.sunrise	{ font-size: 20pt !important;  color: blue; margin-left: 35px; } 
.sunset		{ font-size: 20pt !important; color: red; }
Edit [ this is also for the topbar i think? :

Code: Select all

.weekday 	{  margin-centre: 0x; font-size: 100px; color: blue; font-weight: bold; font-variant: small-caps;}
.clock   	{  margin-left: 5px; font-size: 80px; color: green; font-weight: bold; font-variant: small-caps;}
.date	 	{  margin-left: 5px; font-size: 50px; color: orange; font-weight: bold; font-variant: small-caps;}
I now i make a piece of shit....
Only. perhaps there a masters to help me.

Thanks!!! [ Rob also for the great work !!]
And a good 2018 to all!!!

Re: Dashticz - General Discussions

Posted: Tuesday 02 January 2018 22:20
by kottick
Hi All,

I like to set my webcam url in the config.js
Spoiler: show
var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/Rada ... =285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.camera1 = {width:12, isimage:true, refreshimage:3000, image: 'http://****:***@xxx.xxx.xxx.xx:xxxx/videostream.cgi', url: 'http://****:***@xxx.xxx.xxx.xx:xxxx/videostream.cgi'}
After this i get the message: WAARSCHUWING: uw wachtwoord zal niet naar de website die u momenteel bezoekt worden verzonden!
When i use this url "http://xxx.xxx.xxx.xx:xxxx/videostream.cgi" in my browser it will work fine after fill in the user and password.
How can i fix this problem?

Greetz,
kottick

Re: Dashticz - General Discussions

Posted: Wednesday 03 January 2018 0:49
by aiolos
That's because of the security settings in your browser. I'm not sure if you can disable that (and actually I hope not). This message is to prevent websites to post usernames and password to other sites than the one you think (imagine the site of your bank, where malicious code is injected, which sends your username and password to some people with wrong intentions).

In this case annoying and I'm not sure you can easily get round it.

Re: Dashticz - General Discussions

Posted: Wednesday 03 January 2018 1:02
by Derik
some one have a test url from a online webcam for me..
That is working
So i can check ho this is work..
And i can set my page. until my cam is comming

Thanks