Re: Dashticz - Module - Garbage collector
Posted: Wednesday 24 May 2017 18:16
Custom.css
Open source Home Automation System
https://forum.domoticz.com/
Could you try latest beta?Swifty wrote:No problem, as I say - not hassling just wasn't sure if I'd missed itrobgeerts wrote:No sorry... didnt have much time in the last couple of days... could you send me an example ical? (Or did you already?)Swifty wrote:@robgeerts - Any luck with adding iCal support for the garbage module?
I'm not hassling - just been away for a week or so, and trying to catch up on the board, so wondering if I missed it as i can't see it in the first post
I already sent a PM with ical link (sent 12th May) let me know if you need it again.
Thanks, I'll give it a try when I get home tonight and report backrobgeerts wrote:Could you try latest beta?Swifty wrote:No problem, as I say - not hassling just wasn't sure if I'd missed itrobgeerts wrote: No sorry... didnt have much time in the last couple of days... could you send me an example ical? (Or did you already?)
I already sent a PM with ical link (sent 12th May) let me know if you need it again.
You dont need to add the colors in de description, will fetch the right colored icon based on name.
It only shows the collection dates in the upcoming month.
robgeerts wrote: Could you try latest beta?
You dont need to add the colors in de description, will fetch the right colored icon based on name.
It only shows the collection dates in the upcoming month.
So I've just had chance to check it out, slightly later than planned due to being greeted by sick children when I got homeSwifty wrote: Thanks, I'll give it a try when I get home tonight and report back
Code: Select all
var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'XXXXxx', housenumber:'X' }
var trashnames = {}
trashnames['Rest'] = 'Restafval';
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
var trashcolors = {}
trashcolors['Gft'] = 'Lime';
trashcolors['Pmd'] = 'Orange';
Code: Select all
columns[1] = {}
columns[1]['blocks'] = [
'clock',
'currentweather',
buttons.buienradar,
trashcan.hvc]
columns[1]['width'] = 2;
can someone help me so i can do it myself?h143 wrote:Can you add http://afvalkalender.leek.nl/afvalkalen ... chbox.html
Could you test latest beta?krizzz wrote:So, question. I am a novice with dashticzso please be gentle.
I added the trashcan "device"Code: Select all
var trashcan = {} trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'XXXXxx', housenumber:'X' } var trashnames = {} trashnames['Rest'] = 'Restafval'; trashnames['Gft'] = 'GFT'; trashnames['Pmd'] = 'Plastic'; var trashcolors = {} trashcolors['Gft'] = 'Lime'; trashcolors['Pmd'] = 'Orange';
Then added it to columnsclosed the CONFIG.js and my dashtica gave the following error:Code: Select all
columns[1] = {} columns[1]['blocks'] = [ 'clock', 'currentweather', buttons.buienradar, trashcan.hvc] columns[1]['width'] = 2;
Pretty strange, because line 165 in the CONFIG.js is a line with the // at the beginning so it should be non working code. Also in Dashtica you can see the "garbage bin" loading but not coming through. Any ideas?
Done, no change. Maybe you see some something in my CONFIG.js?robgeerts wrote:Could you test latest beta?
Code: Select all
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://192.168.X.XXX:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _APIKEY_WUNDERGROUND = 'xxxxxxxxxxxxxxxx';
var _WEATHER_CITY = 'xxxxx';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = false; //Bft instead of m/s
var _TRANSLATE_SPEED = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE = false;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _APIKEY_MAPS = '';
var _MAPS_LATITUDE = '';
var _MAPS_LONGITUDE = '';
//Buttons or images to open webpages in an iframe, like a news website or weather forecast
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=XXX&h=XXX', url: 'http://www.weeronline.nl/Europa/Nederland/xxxxxx/xxxxx'}
// http://fontawesome.io/cheatsheet/
var screens = {}
screens[1] = {}
screens[1]['background'] = 'toscane.jpg';
screens[1]['columns'] = [1,2,3]
var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'XXXXxx', housenumber:'3X }
var trashnames = {}
trashnames['Rest'] = 'Restafval';
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
var trashcolors = {}
trashcolors['Gft'] = 'Lime';
trashcolors['Pmd'] = 'Orange';
var blocks = {}
// WEER
// WOONKAMER
// KEUKEN
// SLAAPKAMER
// MEDIA
blocks['blocktitle_1a'] = {}
blocks['blocktitle_1a']['type'] = 'blocktitle';
blocks['blocktitle_1a']['title'] = 'Schakelaars';
blocks['blocktitle_1b'] = {}
blocks['blocktitle_1b']['type'] = 'blocktitle';
blocks['blocktitle_1b']['title'] = 'Temperatuur';
blocks['blocktitle_1c'] = {}
blocks['blocktitle_1c']['type'] = 'blocktitle';
blocks['blocktitle_1c']['title'] = 'Divers';
blocks['news_1'] = {}
blocks['news_1']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/Algemeen';
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss/Sport';
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [
'clock',
'currentweather',
buttons.buienradar,
trashcan.hvc]
columns[1]['width'] = 2;
columns[2] = {}
columns[2]['blocks'] = [
'weather',
'traffic',
'train',
'news_1',
'news_2']
columns[2]['width'] = 5;
columns[3] = {}
columns[3]['blocks'] = [
'blocktitle_1a',
61,
'blocktitle_1b',
'blocktitle_1c',
]
columns[3]['width'] = 5;
columns[4] = {}
columns[4]['blocks'] = [
]
columns[4]['width'] = 5;
columns[5] = {}
columns[5]['blocks'] = [
]
columns[5]['width'] = 5;
columns[6] = {}
columns[6]['blocks'] = [
]
columns[6]['width'] = 2;
Thanks for the help, i adjusted the 'USE_FAVORITES' to FALSE. But no changes....EdKo66 wrote:Could it be because you have set the 'USE_AUTO_POSTIONING' and 'USE_FAVORITES' to 'TRUE'.
You are missing a ' ??krizzz wrote: var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'XXXXxx', housenumber:'3X }
Try latest beta version...jake wrote:I updated to the latest beta and I lost the custom names and colors of the garbage types. Also the different font sizes is gone. Settings are still there in config.js and custom.css