Works like a charm! Thanks again!robgeerts wrote:And what about:Code: Select all
columns[2]['blocks'] = [140]
Wizjos
Moderators: leecollings, htilburgs, robgeerts
Works like a charm! Thanks again!robgeerts wrote:And what about:Code: Select all
columns[2]['blocks'] = [140]
This is what I was tryingrobgeerts wrote:Try adding to config.js:EdKo66 wrote:Nope, no image yet. Need to find some. Thought I saw some in that topic.
Code: Select all
blocks[1120] = {} //use idx of upload blocks[1120]['icon'] = 'fa-long-arrow-up'; blocks[1120] = {} //use idx of download blocks[1120]['icon'] = 'fa-long-arrow-down'; blocks[1120] = {} //use idx of ping blocks[1120]['icon'] = 'fa-arrows-v';
Code: Select all
blocks[116] = {}
blocks[116]['icon'] = 'fa-upload';
blocks[117] = {}
blocks[117]['icon'] = 'fa-download';
Rob, I get the part of the var_STREAMPLAYER, but how do I use the key 'streamradio' in the block defintions?robgeerts wrote: Radio Plugin
In config add:(Find Mp3 sources at: http://www.hendrikjansen.nl/henk/streaming.html )Code: Select all
var _STREAMPLAYER_TRACKS = [ {"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"}, {"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"}, {"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"}, {"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"}, {"track":5,"name":"StuBru","file":"http://mp3.streampower.be/stubru-high.mp3"}, ];
To enable, use the key: 'streamradio' in the block definitions!
Code: Select all
blocks['streamradio'] ={}
blocks['streamradio']['width'] = 12;
Code: Select all
columns[5] = {}
columns[5]['blocks'] = ['news_2','streamradio']
columns[5]['width'] = 6;
Using them on the domoticz front-end now.gjaa wrote:Yep I made them (see attachments)EdKo66 wrote:Nope, no image yet. Need to find some. Thought I saw some in that topic.
Try:gjaa wrote:Thats quick
Its bigger but not the same
Schermafbeelding 2017-04-16 om 23.13.42.png
Can I change it with custom css
Code: Select all
#weather .wi {
font-size:34px !important;
}
Not, unfortunately...gjaa wrote:How can I edit when USE_AUTO_POSITIONING=Truerobgeerts wrote:Try adding to config.js:EdKo66 wrote:Nope, no image yet. Need to find some. Thought I saw some in that topic.
Code: Select all
blocks[1120] = {} //use idx of upload blocks[1120]['icon'] = 'fa-long-arrow-up'; blocks[1120] = {} //use idx of download blocks[1120]['icon'] = 'fa-long-arrow-down'; blocks[1120] = {} //use idx of ping blocks[1120]['icon'] = 'fa-arrows-v';
Did you add the key 'streamplayer' to one of the columns? And, try the latest version (i forgot to push this new function)wizjos wrote:Tried the streamradio thingy as well... Not working yet (doesn't show)....
Yes, I do mean something like that, but I made a mistake, you have to use: 'streamplayer'!htilburgs wrote: Rob, I get the part of the var_STREAMPLAYER, but how do I use the key 'streamradio' in the block defintions?
Do you mean something like this?
Code: Select all
blocks['streamradio'] ={} blocks['streamradio']['width'] = 12;
Code: Select all
columns[5] = {} columns[5]['blocks'] = ['news_2','streamradio'] columns[5]['width'] = 6;
Code: Select all
columns[5] = {}
columns[5]['blocks'] = ['news_2','streamplayer']
columns[5]['width'] = 6;
Code: Select all
columns[8]['blocks'] = ['blocktitle_2_2','streamplayer']
Ok, took 5 minutes, but now there's sound. Was something on my site...htilburgs wrote:Ok, thanks. Now it's visible, but no sound? Problem on my site?
Hmm.. First time for me to change the custom.css, but this doesn't seem to make the icons any bigger on my tablet. Wondering what i'm doing wrong..Try adding in custom.css, although 80 is a bit too big, but you get the idea:axelbaas wrote:Maybe this question is already asked. But is it possible to change the size of the icons? On a smaller screen, like a iPad, the icons are too small to click them.
I've tried some custom css, but cannot find the right option (yet).Code: Select all
.fa,.wi { font-size:80px !important; }
Try another tabletwizjos wrote:In the mean time... I'm beginning to run out of screens with al these nice goodies
Try cleaning your browser cache... ?Dropshot wrote:Hmm.. First time for me to change the custom.css, but this doesn't seem to make the icons any bigger on my tablet. Wondering what i'm doing wrong..Try adding in custom.css, although 80 is a bit too big, but you get the idea:axelbaas wrote:Maybe this question is already asked. But is it possible to change the size of the icons? On a smaller screen, like a iPad, the icons are too small to click them.
I've tried some custom css, but cannot find the right option (yet).Code: Select all
.fa,.wi { font-size:80px !important; }
I think something is mixed up here. You like to make larger icons, so you have to find out the name of the icon and then make an entry in de CUSTOM.CSS. I posted a piece of mine custom.cssDropshot wrote:Hmm.. First time for me to change the custom.css, but this doesn't seem to make the icons any bigger on my tablet. Wondering what i'm doing wrong..Try adding in custom.css, although 80 is a bit too big, but you get the idea:axelbaas wrote:Maybe this question is already asked. But is it possible to change the size of the icons? On a smaller screen, like a iPad, the icons are too small to click them.
I've tried some custom css, but cannot find the right option (yet).Code: Select all
.fa,.wi { font-size:80px !important; }
Code: Select all
.fa-thermometer-1:before{
font-size: 24px;
}
.fa-tint:before{
font-size: 24px;
}
.fa-newspaper-o:before{
font-size: 24px;
}
.fa-thermometer-half:before{
font-size: 24px;
}
Yep that did the trick, thanks.robgeerts wrote:
Try cleaning your browser cache... ?
No, actually all icons are changed all at once!htilburgs wrote: I think something is mixed up here. You like to make larger icons, so you have to find out the name of the icon and then make an entry in de CUSTOM.CSS. I posted a piece of mine custom.css
Wow, nice...Dropshot wrote:No, actually all icons are changed all at once!htilburgs wrote: I think something is mixed up here. You like to make larger icons, so you have to find out the name of the icon and then make an entry in de CUSTOM.CSS. I posted a piece of mine custom.css
I do use it on a desktop... Any chance in 'restoring it' for desktop (or what was the code? can alter it here as well to suit my own needs)robgeerts wrote:Thats right, only at click because mousemove gave some problems. And since it is designed for tablet, where you dony have mousemove it will not be missed... Or are you mainly using it on a desktop??
Users browsing this forum: No registered users and 0 guests