dashticz: Important Request
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 18
- Joined: Thursday 10 May 2018 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V8.153
- Location: Oss The Netherlands
- Contact:
Re: IMPORTANT REQUEST!!!
Reagarding the garbage and calendar running local on your raspberry server.
i installed on a seperate raspberry 2 the 2018-06-27-raspbian-stretch-lite image, installed as extra php 7.0 because php did not work.
Also installed the php curl. ( not know of it would be necessary) (not installed domoticz because that is running on a seperate raspberry
Installed the latest dashiticz v2-beta and only had to add the config['calendar_parse_localy']=true; .
After this and setting garbage and calendar back in the config from my original config, that is all working again.
I have still also running my original dashicz master running in seperate directory Withou t the working calendar and garbage.
Now it is a good time to revamp how the dashboard is looking, give it at fresh new look, using examples that everyone is showing.
i installed on a seperate raspberry 2 the 2018-06-27-raspbian-stretch-lite image, installed as extra php 7.0 because php did not work.
Also installed the php curl. ( not know of it would be necessary) (not installed domoticz because that is running on a seperate raspberry
Installed the latest dashiticz v2-beta and only had to add the config['calendar_parse_localy']=true; .
After this and setting garbage and calendar back in the config from my original config, that is all working again.
I have still also running my original dashicz master running in seperate directory Withou t the working calendar and garbage.
Now it is a good time to revamp how the dashboard is looking, give it at fresh new look, using examples that everyone is showing.
5 x raspberry with Domoticz, open hab, Home assitant, OpenElec Kodi.
Interests Home automation
Interests Home automation
-
- Posts: 12
- Joined: Sunday 07 June 2015 9:36
- Target OS: Linux
- Domoticz version: 3.6367
- Location: Utrecht
- Contact:
Re: IMPORTANT REQUEST!!!
ok, in the console in this:Lokonli wrote: ↑Thursday 25 October 2018 21:21For the debugging: press F12 in Chrome, and look for errors in the console.stuffer wrote: ↑Thursday 25 October 2018 21:06 Ok, I reverted the calendar.js and changed: config['calendar_parse_localy']=true; --> config['calendar_parse_localy']=1;
Still no luck. Where i can start to debug this? It feels that i am pretty close but I don't no where to start searching.
(and I hope to create an how to for other users)
Aanvraag-URL: http://myip:8080/dashboard/vendor/dasht ... 0000014977
Aanvraagmethode: GET
Extern adres: myip:8080
Statuscode: 404
Versie: HTTP/1.1
Host: myip:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: nl,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://myip:8080/dashboard/index.html
X-Requested-With: XMLHttpRequest
Cookie: SID=84a87699550fa3b13199d3757c51ad25_NGJhNjc2ZGYtNDBmNS00ZjE5LTkxYjUtNjQ3YjQ0M2M0ZmY2.1540631146
DNT: 1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
with this config:
var calendars = {}
calendars.business = { maxitems: 4, icalurl: 'https://inzamelschema.rmn.nl/ical/0356200000014977' }
But when I copy and paste the iCal link it is working in a browser.
--edit--Updated to the latest beta and still having the 404.
The 404 is coming from my apache that is running on the same server as domoticz and dashticz.
Do somebody knows what to change on the webserver part?
---edit2---With an new fresh dashticz (beta) the problem is the same.
----Edit3---- ln -s /home/myhomefolder/domoticz/www/dashboard/ /var/www/html/
and openend the webpage without the port number did the trick.
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: IMPORTANT REQUEST!!!
@Stuffer, earlier in this thread it was mentioned to run the file phpinfo.php in your browser (you should find/create this file in the root of your apache server folder (/www/html most likely))
Curl, when properly installed, should have it's own section on the page that now opens.
Curl, when properly installed, should have it's own section on the page that now opens.
-
- Posts: 17
- Joined: Saturday 09 September 2017 11:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: IMPORTANT REQUEST!!!
Love the initiative!
I installed Domoticz because it doesn't need external connections (other than getting an update of this great software). Previously I retrieved data from my gas and electricity provider (by internet) to create data overviews. But as they were not reliable regarding data retrieval I decided to install Domoticz and retrieve data from my gas and electricity hardware directly.
Reading that your great tools needs a connection to your server, my previous described independence is unfortunately lost. Please consider the tool to install on the user's server intirely locally instead of connecting to your server as well. And yes, I will be willing to pay for the tool when it runs independly from your server. Thanks, DD
I installed Domoticz because it doesn't need external connections (other than getting an update of this great software). Previously I retrieved data from my gas and electricity provider (by internet) to create data overviews. But as they were not reliable regarding data retrieval I decided to install Domoticz and retrieve data from my gas and electricity hardware directly.
Reading that your great tools needs a connection to your server, my previous described independence is unfortunately lost. Please consider the tool to install on the user's server intirely locally instead of connecting to your server as well. And yes, I will be willing to pay for the tool when it runs independly from your server. Thanks, DD
With both feet on the ground you can't make any step forward...
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: IMPORTANT REQUEST!!!
Did you read last week postings in this thread??? The external server doesn't even exist anymore. You will have no other option say the moment than running everything locally!Docdigit wrote:Love the initiative!
I installed Domoticz because it doesn't need external connections (other than getting an update of this great software). Previously I retrieved data from my gas and electricity provider (by internet) to create data overviews. But as they were not reliable regarding data retrieval I decided to install Domoticz and retrieve data from my gas and electricity hardware directly.
Reading that your great tools needs a connection to your server, my previous described independence is unfortunately lost. Please consider the tool to install on the user's server intirely locally instead of connecting to your server as well. And yes, I will be willing to pay for the tool when it runs independly from your server. Thanks, DD
Btw, you can always make a donation to the domoticz devs if you like to thank somebody financially!
-
- Posts: 2
- Joined: Saturday 27 October 2018 15:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: PL/Bogatynia
- Contact:
Re: IMPORTANT REQUEST!!!
Hello everyone on the forum
I use Debian 9 Raspbian Stretch. I made a new installation.
You must use apache for the calendar and garbage to work!
Part1:
Part2: config apache2:
add Code: Select all
Part3:
edit and Add Port 82
Listen 82
Part4:
Install domoticz and dashticz_v2
cd /domoticz/www/
In the case where the installation:
Domoticz - /home/pi/domoticz
Dashticz_v2 - /home/pi/domoticz/www/dashticz_v2
IMPORTANT: Create a Symbolic Link into /var/www/html/
In the resource:
/var/www/html/~dashticz_v2
Url link run by apache2:
http://ip_server:82/dashticz_v2/index.html
Example:
CONFIG.js
dashticz.zip
Copy to /var/www/html
|-~dashticz_v2
|-afval
|-ical
|-ov
|-tv
it works!
Thanks to robgeerts
I use Debian 9 Raspbian Stretch. I made a new installation.
You must use apache for the calendar and garbage to work!
Part1:
Code: Select all
sudo apt-get install apache2 apache2-doc apache2-utils php7.0-zip
sudo apt-get install libapache2-mod-php7.0 php7.0 php7.0-opcache php7.0-mbstring php7.0-mysql php7.0-curl php7.0-gd
Code: Select all
nano /etc/apache2/sites-available/000-default.conf
Code: Select all
<VirtualHost *:82>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
DocumentRoot /var/www/html
<Directory "/var/www/html">
allow from all
Options Indexes FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
Code: Select all
nano /etc/apache2/ports.conf
Listen 82
Part4:
Install domoticz and dashticz_v2
Code: Select all
sudo curl -L install.domoticz.com | bash
Code: Select all
git clone https://github.com/robgeerts/dashticz_v2 --branch beta
Domoticz - /home/pi/domoticz
Dashticz_v2 - /home/pi/domoticz/www/dashticz_v2
IMPORTANT: Create a Symbolic Link into /var/www/html/
Code: Select all
ln -s /home/pi/domoticz/www/dashticz_v2/ /var/www/html/
/var/www/html/~dashticz_v2
Url link run by apache2:
http://ip_server:82/dashticz_v2/index.html
Example:
CONFIG.js
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://10.0.1.25:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] ='5';
config['dashticz_refresh'] = '60';
config['dashticz_php_path']='http://10.0.1.25:82/';
config['calendar_parse_localy']=true;
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] ='pl_PL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] ='pl_PL';
var calendars = {}
calendars.private = { key:'private', width:12, maxitems: 8, icalurl: 'https://calendar.google.com/calendar/ical/xxxxxx%40gmail.com/private-xxxxxx/basic.ics'}
var columns = {}
columns[2] = {}
columns[2]['blocks'] = [calendars.private];
columns[2]['width'] = 6;
Copy to /var/www/html
|-~dashticz_v2
|-afval
|-ical
|-ov
|-tv
it works!
Thanks to robgeerts
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IMPORTANT REQUEST!!!
@worms : There's a new beta and you don't need to download and install dashticz.zip anymore.
Blah blah blah
-
- Posts: 2
- Joined: Saturday 27 October 2018 15:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: PL/Bogatynia
- Contact:
Re: IMPORTANT REQUEST!!!
@HansieNL: Sure. I checked it agrees. The beta version only solves part of the problems. Many problems are caused by the configuration of 'Apache2', support for headers and permissions.
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IMPORTANT REQUEST!!!
@worms: I installed Nginx with PHP as described on raspberrypi website. The only extra I had to install was PHP curl and had to set permissions. No problems at all running Dashticz.
Blah blah blah
-
- Posts: 2260
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IMPORTANT REQUEST!!!
There might still be an issue when Dashticz and PHP are not running on the same server. I expect that will be solved in the next beta as well. (I've created a PR for that)
-
- Posts: 35
- Joined: Monday 18 December 2017 11:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 10265
- Location: Zwolle
- Contact:
Re: IMPORTANT REQUEST!!!
have a question
Done
IMPORTANT: Create a Symbolic Link into /var/www/html/
CODE: SELECT ALL
ln -s /home/pi/domoticz/www/dashticz_v2/ /var/www/html/
In the resource:
/var/www/html/~dashticz_v2 ???
Url link run by apache2:
http://ip_server:82/dashticz_v2/index.html --> this is working
what should I do with this:
dashticz.zip
Copy to /var/www/html
|-~dashticz_v2
|-afval
|-ical
|-ov
|-tv
I have /var/www/html (which I can open with 192.168.178.25:82 (apache2 Debian message page - It works)-- surfing to 192.168.178.25:82/dashticz_v2/ will give me Dashticz V2 but without seeing garbage and calender...
Can you help me out
Done
IMPORTANT: Create a Symbolic Link into /var/www/html/
CODE: SELECT ALL
ln -s /home/pi/domoticz/www/dashticz_v2/ /var/www/html/
In the resource:
/var/www/html/~dashticz_v2 ???
Url link run by apache2:
http://ip_server:82/dashticz_v2/index.html --> this is working
what should I do with this:
dashticz.zip
Copy to /var/www/html
|-~dashticz_v2
|-afval
|-ical
|-ov
|-tv
I have /var/www/html (which I can open with 192.168.178.25:82 (apache2 Debian message page - It works)-- surfing to 192.168.178.25:82/dashticz_v2/ will give me Dashticz V2 but without seeing garbage and calender...
Can you help me out
Little expert running Domoticz on a Raspberry Pi
Code: Select all
Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa | Heat-IT Zwave thermostat |
- Thuis
- Posts: 251
- Joined: Tuesday 11 September 2018 11:36
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: IMPORTANT REQUEST!!!
I give up. Can not get local to work. Did so many things to try, and with an apache server php curl the whole shit installed it takes ages to load the page so i give up. I will not be using the garbage anymore and the calendar i now use is just buttons.agenda and then i have to tick it and the calendar comes up. Shame that it needs to be like this, but with all this php curl modules and extension plug ins that need to be installed extra to view a calendar i was thinking, the hell with it, i want it to be as easy as possible. So i hope the option comes back to not view it locally i will try and change back with the nice garbage and ical calendar, so far i just give up. Also on windows 7 with apache and on raspian on my intel xeon n270 i can not get it to work.
By the way, will there be an option again to not use it locally, or is this the way it is ?¿
By the way, will there be an option again to not use it locally, or is this the way it is ?¿
I Love Domoticz ! And the community around it :-)
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: IMPORTANT REQUEST!!!
I hope that soon there will be an easier way to do this all. Maybe something with a config setting, where you just have to place the place where the files are placed. I guess that that would be some more work for Rob though to do.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- Thuis
- Posts: 251
- Joined: Tuesday 11 September 2018 11:36
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: IMPORTANT REQUEST!!!
No it is not Rob, Rob is doing a good job, keep up the good work, it is just me and the logic that i do not see to do this all for a calendar. It worked fine as it was. But hey, the rest is still working and looking great so i am happy though ... whoops the 'traffic' and the 'news' stopped working suddenly ... hmmmm !
I Love Domoticz ! And the community around it :-)
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: IMPORTANT REQUEST!!!
Thanks. I was going to work on this, when I realized that this is for when you are using a Pi as webserver, right? I host my dashticz file on a synology NAS. Going to check if this will work there too.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 18
- Joined: Thursday 06 September 2018 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: IMPORTANT REQUEST!!!
The guide from worms is correct, except the part with the zip-file, which is not needed any more.
I have done nearly the same, except using lighttp.
Moses123
I have done nearly the same, except using lighttp.
Moses123
-
- Posts: 35
- Joined: Monday 18 December 2017 11:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 10265
- Location: Zwolle
- Contact:
Re: IMPORTANT REQUEST!!!
Hi Moses,
can you give a more step by step approach? - I believe I have php running (192.168.178.25:82 gives me Apache2 Debian Default Page - It works) but the rest is for me abracadabra like /~dashicz_v2 in stead of /dashticz_v2 ansd about the folders like /ov /garbage - i don't see those (I'm running v 4.4.6 of Dashticz V2)
can you give a more step by step approach? - I believe I have php running (192.168.178.25:82 gives me Apache2 Debian Default Page - It works) but the rest is for me abracadabra like /~dashicz_v2 in stead of /dashticz_v2 ansd about the folders like /ov /garbage - i don't see those (I'm running v 4.4.6 of Dashticz V2)
Little expert running Domoticz on a Raspberry Pi
Code: Select all
Toon Thermostat | Mi-Light | Z-Wave Thermostat valves and CO2 / fire detection units | KiKa | Heat-IT Zwave thermostat |
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: IMPORTANT REQUEST!!!
Are you sure you are using the beta branch?Pandabeer wrote: ↑Tuesday 30 October 2018 17:05 Hi Moses,
can you give a more step by step approach? - I believe I have php running (192.168.178.25:82 gives me Apache2 Debian Default Page - It works) but the rest is for me abracadabra like /~dashicz_v2 in stead of /dashticz_v2 ansd about the folders like /ov /garbage - i don't see those (I'm running v 4.4.6 of Dashticz V2)
I just installed from start and worked right away..
-
- Posts: 18
- Joined: Thursday 06 September 2018 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: IMPORTANT REQUEST!!!
???? The post from WORMS is a step by step. and again: You do not need the zip- part!
Moses123
Moses123
-
- Posts: 29
- Joined: Monday 24 February 2014 14:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IMPORTANT REQUEST!!!
Is there anyway to get dashticz to create a debug or log or something? I have some odd issues but dont know how to get any useful debug information...
Who is online
Users browsing this forum: No registered users and 1 guest