Page 180 of 184

Re: Dashticz - General Discussions

Posted: Wednesday 20 March 2019 19:30
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

Re: Dashticz - General Discussions

Posted: Wednesday 20 March 2019 19:33
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

Re: Dashticz - General Discussions

Posted: Wednesday 20 March 2019 19:35
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

Re: Dashticz - General Discussions

Posted: Wednesday 20 March 2019 20:29
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 ???

Re: Dashticz - General Discussions

Posted: Wednesday 20 March 2019 22:55
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).

Re: Dashticz - General Discussions

Posted: Thursday 21 March 2019 14:46
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

Re: Dashticz - General Discussions

Posted: Thursday 21 March 2019 23:00
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.

Re: Dashticz - General Discussions

Posted: Monday 25 March 2019 11:11
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

Re: Dashticz - General Discussions

Posted: Tuesday 26 March 2019 11:37
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..

Re: Changing Moonphase to use different provider

Posted: Wednesday 27 March 2019 12:37
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

Re: Changing Moonphase to use different provider

Posted: Wednesday 27 March 2019 14:47
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

Re: Dashticz - General Discussions

Posted: Friday 29 March 2019 10:15
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?

Re: Dashticz - General Discussions

Posted: Friday 29 March 2019 14:19
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?

Re: Dashticz - General Discussions

Posted: Friday 29 March 2019 18:32
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

Re: Dashticz - General Discussions

Posted: Friday 29 March 2019 18:57
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.

Re: Dashticz - General Discussions

Posted: Saturday 30 March 2019 13:19
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

Re: Dashticz - General Discussions

Posted: Saturday 30 March 2019 13:58
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


Re: Dashticz - General Discussions

Posted: Saturday 30 March 2019 22:31
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.

Re: Dashticz - General Discussions

Posted: Monday 08 April 2019 21:14
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!

Re: Dashticz - General Discussions

Posted: Monday 08 April 2019 22:30
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.