geertvercamer wrote: ↑Monday 31 December 2018 16:41
Hi all,
as a complete Linux noob this is quite difficult. Even more so, because I feel the wiki is quite often not up to date.
I started by downloading the zip and unpacking it in to /var/www/html/dashticz_v2
I've modified /etc/apace2/sites-enabled/000-default.conf and added:
Code: Select all
<VirtualHost *:8092>
# Always set these headers.
Header set Access-Control-Allow-Origin "*"
DocumentRoot /var/www/html/dashticz_v2
<Directory "/var/www/html/dashticz_v2">
allow from all
Options Indexes FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
added port 8092 to ports.conf
<ip_of_pi_running_dashticz>:8092 loads dasthicz with the desired buttons, weather, ... but the garbage block keeps loading, no calendars added so far.
Then I read, the files are included in the latest beta, so I upgraded. Still no luck. Added an info.php page, which shows PHP and cURL are up and running
<ip_of_pi_running_dashticz>:8092/vendor/dashticz/garbage/info.php reads PHP version 7.0.30-0+deb9u1 and cURL suppert enabled, version 7.52.1
Same info when I click the cog in dashticzs and select the info tab.
CONGIF.js:
Code: Select all
config['garbage_company'] = 'ophaalkalender';
config['garbage_hideicon'] = 0;
config['garbage_housenumber'] = '54';
config['garbage_icalurl'] = '';
config['garbage_icon_use_colors'] = true; // true / false; shows colored or only white trashcan
config['garbage_maxitems'] = '2';
config['garbage_street'] = 'De Patine';
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_use_cors_prefix'] = true;
config['garbage_width'] = '12';
config['garbage_zipcode'] = '8980';
config['garbage'] = {
gft: {kliko: 'White', code: '#White', name: 'GFT'},
pmd: {kliko: '#87CEFA', code: '#87CEFA', name: 'PMD', icon: 'img/garbage/kliko_blue.png'},
rest: {kliko: 'White', code: 'White', name: 'Restafval'},
papier: {kliko: 'gray', code: '#c7763f', name: 'Papier & karton'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval'},
brown: {kliko: 'brown', code: '#c7763f', name: 'Bruin'},
black: {kliko: 'black', code: '#000000', name: 'Zwart'},
};
I haven't done the symlink thing, I thought it isn't needed as dashticz is not running on the domoticz server (which is actually a W10 machine as I had way to many trouble with the PI). Of course, I may be wrong here.
Is there anyone who can shed a light in this darkness?
Thanks