Page 1 of 1

Can;t get the out of the box version to work...

Posted: Sunday 07 October 2018 16:10
by tred
Hi guys,
Have been working with Domotic on a rPi and it’s pretty amazing what you can do with this very comprehensive piece of software. I now had defined quite some hardware, switches etc, and now starting to work on the user experience. I cam across Dashticz and immediately fell in love with it.
If you look at the portal of creator Rob it’s almost a piece of art 😊

So I downloaded his CONFIG.js and replaced his credentials and setting but was not surprised that it would not work on my system. So I went searching on the forum to get help. Some other users started out with a very basic template that DID work. However I really wanted Rob’s version.

I could not find a way of debugging the script so tried removing line by line to find the cause. Unfortunately I kept on getting the message “Something went wrong, check the Wiki.” I tried browser level debugging, JS code checkers etc.

I have been struggling for days to get it working. I am not a complete idiot but certainly no Java Script programmer. I have my script attached to this message. I had to leave some personal things out but really trying to find out what OI am doing wrong and need Professional Help 😊

Can someone have a look and tell me what’s wrong with this picture?

https://pastebin.com/nUNs0qhc

Thanks,

Theo.

Re: Can;t get the out of the box version to work...

Posted: Sunday 07 October 2018 17:31
by HansieNL
You can "upload" your code here by selecting the code icon, so people don't have to go to external websites.

Re: Can;t get the out of the box version to work...

Posted: Sunday 07 October 2018 22:14
by Lokonli
Maybe it's the apostrophe at line 91 after 324.

Re: Can;t get the out of the box version to work...

Posted: Tuesday 09 October 2018 21:22
by tred
Nope that was not it... I decided to start from scratch and "learn a long the way. Quite happy with the progress that I am making and find some ways to debug... To start with another annoying question... Our local garbage company is doing business with AfvalInfo. It's not in the supported list. It it a lot of work to create this option? Or is there another existing one which I can use instead?

Thanks,

Theoi.