Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

TankySpanky
Posts: 43
Joined: Wednesday 06 February 2019 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - General Discussions

Post by TankySpanky »

Hello all,

I have a question my Dashticz is using the :
var _LANGUAGE = 'nl_NL';
var _HOST_DOMOTICZ = 'http://192.168.99.30:XXX';
var _DOMOTICZ_REFRESH = 10; //in seconds
var _APIKEY_WUNDERGROUND - bla bla bla

Can i change that all into :

config['garbage_use_names'] = true; true / false; shows name from config
config['garbage_use_colors'] = true; true / false; shows coloring for complete line
config['garbage_icon_use_colors'] = true; true / false; shows colored or only white trashcan

Version for the settings ??
Because i seem not able to find ALL var _ items
and for the "config" seems much more options available

ty in advance
Raspberry Pi 3 B+ & Domoticz Beta & Dashticz Beta = Headache :)
But it keeps you van the straat
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

yfands wrote: Wednesday 20 March 2019 17:42 Hello,

What happend to the dashticz.nl website ? my garbage service depend on it ?


Regards
Frank
Then I'm afraid you missed a few garbage pick-up dates, because I think the site is down since September.

Check:
https://www.domoticz.com/forum/viewtopi ... 67&t=24907

For installation instructions see:
https://www.domoticz.com/wiki/Dashticz_ ... stallation
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

TankySpanky wrote: Wednesday 20 March 2019 19:30 Hello all,

I have a question my Dashticz is using the :
var _LANGUAGE = 'nl_NL';
var _HOST_DOMOTICZ = 'http://192.168.99.30:XXX';
var _DOMOTICZ_REFRESH = 10; //in seconds
var _APIKEY_WUNDERGROUND - bla bla bla

Can i change that all into :

config['garbage_use_names'] = true; true / false; shows name from config
config['garbage_use_colors'] = true; true / false; shows coloring for complete line
config['garbage_icon_use_colors'] = true; true / false; shows colored or only white trashcan

Version for the settings ??
Because i seem not able to find ALL var _ items
and for the "config" seems much more options available

ty in advance
The var _ settings are old.

I would suggest to download the beta version of Dashticz, and use the config[...] settings.
See the wiki:
https://www.domoticz.com/wiki/Dashticz_V2
TankySpanky
Posts: 43
Joined: Wednesday 06 February 2019 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - General Discussions

Post by TankySpanky »

Ok Lokonli,

Thank you,
Downloaded and busy "re-creating" the settings :)

ty for the quick response

Aad (Dashticz-noob)

After the config i pasted my "old dashboard" but nbothing happens,
Just the dashticz loading circle and nothing more

crap have to start all over then i guess ??
But i dont see other things then what i got now ???
Raspberry Pi 3 B+ & Domoticz Beta & Dashticz Beta = Headache :)
But it keeps you van the straat
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

TankySpanky wrote: Wednesday 20 March 2019 20:29 Ok Lokonli,

Thank you,
Downloaded and busy "re-creating" the settings :)

ty for the quick response

Aad (Dashticz-noob)

After the config i pasted my "old dashboard" but nbothing happens,
Just the dashticz loading circle and nothing more

crap have to start all over then i guess ??
But i dont see other things then what i got now ???
You have to change the domoticz configuration settings.
The block, column and screen definitions can more or less be reused.

First try to fix the loading. Probably there is a typo in your CONFIG.js.

Then you have to update the icon definitions (put 'far' or 'fas' in front of the icon names).
yfands
Posts: 67
Joined: Monday 04 July 2016 10:16
Target OS: Raspberry Pi / ODroid
Domoticz version: latest B
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by yfands »

Lokonli wrote: Wednesday 20 March 2019 19:33
yfands wrote: Wednesday 20 March 2019 17:42 Hello,

What happend to the dashticz.nl website ? my garbage service depend on it ?


Regards
Frank
Then I'm afraid you missed a few garbage pick-up dates, because I think the site is down since September.

Check:
https://www.domoticz.com/forum/viewtopi ... 67&t=24907

For installation instructions see:
https://www.domoticz.com/wiki/Dashticz_ ... stallation
thanks,

Indeed, had an old dashticz version, but abandoned it last year. Never used it since.
So I thought to install a brand new image last week now I have more time on my hands to do something usefull with it.
And yes followed the above beta installation on my Pi.

But the wiki is not updated, if looked into the applications, garbage is still refering to the dashticz server in the scripts
and also is there still references to WU (weather underground). for weather and moon.

Dashticz still contains a vendor/dashticz directory, why if obsolete since september 2018?

regards and thanks
Frank
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

yfands wrote: Thursday 21 March 2019 14:46
Lokonli wrote: Wednesday 20 March 2019 19:33
yfands wrote: Wednesday 20 March 2019 17:42 Hello,

What happend to the dashticz.nl website ? my garbage service depend on it ?


Regards
Frank
Then I'm afraid you missed a few garbage pick-up dates, because I think the site is down since September.

Check:
https://www.domoticz.com/forum/viewtopi ... 67&t=24907

For installation instructions see:
https://www.domoticz.com/wiki/Dashticz_ ... stallation
thanks,

Indeed, had an old dashticz version, but abandoned it last year. Never used it since.
So I thought to install a brand new image last week now I have more time on my hands to do something usefull with it.
And yes followed the above beta installation on my Pi.

But the wiki is not updated, if looked into the applications, garbage is still refering to the dashticz server in the scripts
and also is there still references to WU (weather underground). for weather and moon.

Dashticz still contains a vendor/dashticz directory, why if obsolete since september 2018?

regards and thanks
Frank
Most garbage companies only work if you have PHP installed. The Dashticz PHP files that are used for this are located in vendor/dashticz folder.
TankySpanky
Posts: 43
Joined: Wednesday 06 February 2019 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - General Discussions

Post by TankySpanky »

Hello,

About the "new" and the old version, also garbage didnt work for me anymore,
I made a backup of the new version and downloaded a old version again and swapped a bit of code over from one to another.
Now it looks like the new version but its still the "working" old version without the links to the "dashtics.nl" website
Even garbage is working again now
Raspberry Pi 3 B+ & Domoticz Beta & Dashticz Beta = Headache :)
But it keeps you van the straat
yfands
Posts: 67
Joined: Monday 04 July 2016 10:16
Target OS: Raspberry Pi / ODroid
Domoticz version: latest B
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by yfands »

hello,

to get the garbage workig, I copied the afval directory (from the server zip file) to vendor/dashticz
In garbage.js I changed garbage into afval this directory is hardcoded.

look for function getGeneralData
var cURI = settings['dashticz_php_path']+'afval/?service='+service+'& (garbage changed to afval)

so in config.js you can leave the php pad directinging to ./vendor/dashticz

ofcourse you can copy the index.php from afval directory to vendor/dashtivz/garbage directory and you dont have to change a thing..;-)

oh, this only works ofcourse if your garbage preference calls the above function

cheers..
garethhowell
Posts: 115
Joined: Tuesday 17 November 2015 21:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: St Neots, UK
Contact:

Re: Changing Moonphase to use different provider

Post by garethhowell »

Lokonli wrote: Saturday 02 February 2019 21:47
garethhowell wrote: Friday 01 February 2019 10:35 Now that wunderground no longer issues free API keys, has anybody modified the moonphase module to get it's phase info from a different provider?
I'm modifying the moon part of Dashticz. It will be merged in the next beta release. It then will work independently from Domoticz.
Hi there
No pressure, but I wondered if there had been any progress on this? I can't find a revised script anywhere and the wiki still refers to WU.

Gareth
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Changing Moonphase to use different provider

Post by Lokonli »

garethhowell wrote: Wednesday 27 March 2019 12:37
Lokonli wrote: Saturday 02 February 2019 21:47
garethhowell wrote: Friday 01 February 2019 10:35 Now that wunderground no longer issues free API keys, has anybody modified the moonphase module to get it's phase info from a different provider?
I'm modifying the moon part of Dashticz. It will be merged in the next beta release. It then will work independently from Domoticz.
Hi there
No pressure, but I wondered if there had been any progress on this? I can't find a revised script anywhere and the wiki still refers to WU.

Gareth
The PR was merged on February 21st, version 2.5.5

See https://www.domoticz.com/forum/viewtopi ... 67&t=27082
garethhowell
Posts: 115
Joined: Tuesday 17 November 2015 21:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: St Neots, UK
Contact:

Re: Dashticz - General Discussions

Post by garethhowell »

Lokonli wrote: The PR was merged on February 21st, version 2.5.5

See https://www.domoticz.com/forum/viewtopi ... 67&t=27082
Thanks. I had already made the changes referred to in the PR but the image doesn’t update.

I’m obviously missing something.

The wiki still refers to a script that needs to run. Are you saying that the script is not needed any longer? If so, how does the image update?
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

garethhowell wrote: Friday 29 March 2019 10:15
Lokonli wrote: The PR was merged on February 21st, version 2.5.5

See https://www.domoticz.com/forum/viewtopi ... 67&t=27082
Thanks. I had already made the changes referred to in the PR but the image doesn’t update.

I’m obviously missing something.

The wiki still refers to a script that needs to run. Are you saying that the script is not needed any longer? If so, how does the image update?
Dashticz contains a module to compute the moon phase. It pulls the correct image from the folder <dashticz>/img/moon

The image will update approximately three to four times per day.
(we have 100 images for approximately 28 day moon period)

If it's not working correctly:
Which exact Dashticz version is reported by Dashticz?
Can you post here your button definition from CONFIG.js?
garethhowell
Posts: 115
Joined: Tuesday 17 November 2015 21:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9317
Location: St Neots, UK
Contact:

Re: Dashticz - General Discussions

Post by garethhowell »

Oops, my bad.
I thought I was on 2.5.5, but I was actually on 2.5.3.
I updated to 2.5.10 and it works OK now.

Gareth
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

garethhowell wrote: Friday 29 March 2019 18:32 Oops, my bad.
I thought I was on 2.5.5, but I was actually on 2.5.3.
I updated to 2.5.10 and it works OK now.

Gareth
Good! Enjoy.
Nicolas1er
Posts: 2
Joined: Saturday 30 March 2019 13:11
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Nicolas1er »

Thanks. I had already made the changes referred to in the PR


Hello, What do you mean by «PR» ?

I also trying to run moon phase; but image doesn’t change.

Thks
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

Nicolas1er wrote:
Thanks. I had already made the changes referred to in the PR


Hello, What do you mean by «PR» ?

I also trying to run moon phase; but image doesn’t change.

Thks
PR means Pull Request. The Dashticz sources are managed on Github. If someone makes a change then the changes will get merged into the Dashticz source tree via a Pull Request on Github.



Verstuurd vanaf mijn SM-A320FL met Tapatalk

Nicolas1er
Posts: 2
Joined: Saturday 30 March 2019 13:11
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Nicolas1er »

Ok thanks for teach me. Now I less stupid. I also need to be more patiente, moon buttons ils working well. Thanks for all.
ramses0088
Posts: 1
Joined: Monday 08 April 2019 21:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by ramses0088 »

Hey guys,

I'm a very new user of both Domoticz and Dashticz, but I love them so far.

Got my basic Dashboard setup and I have noticed the login function and got it to work.
Now I also noticed that while I'm not logged in, I could still browse to '/custom/CONFIG.js' and see the full file :shock:.
How did you mitigate this security issue?

Thanks!
Last edited by ramses0088 on Monday 08 April 2019 22:50, edited 1 time in total.
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Lokonli »

ramses0088 wrote: Monday 08 April 2019 21:14 Hey guys,

I'm a very new user of both Domoticz and Dashticz, but I love them so far.

Got my basic Dashboard setup and I have noticed the login function and got it to work.
Now I also noticed that while I'm not logged in, I could still browse to '/custom/CONFIG.js' and see the full file :shock:.
How have you mitigate this security issue?

Thanks!
Good point. Currently Dashticz is not secure I would say.
Locked

Who is online

Users browsing this forum: No registered users and 0 guests