Page 1 of 1

dashticz popup a camera block

Posted: Wednesday 02 February 2022 8:57
by pvklink
Is it possible to popup a camera block.
I have my cameras working ok in two blocks with sliders etc.
I tried to popup these blocks but get a black screen..

buttons.camtuin= {key: "Camtuin", width: 3, title:"Camera tuin",icon: 'fas fa-camera', popup:'camera1'} // slide:10 is working ok

// CAMERA's

blocks["camera1"] =
{
type: "camera",
cameras:[
{title: "Straatview",imageUrl: "http://#IP_CAMSERVER:8901",},
],
width: 12,
height: 680,
refresh: 3,
traytimeout: 3,
slidedelay: 3,
forcerefresh: 1,
};

Re: dashticz popup a camera block

Posted: Wednesday 02 February 2022 9:34
by pvklink
Solved it!
That is great! Even the button on my tile main menu got an image

buttons.camtuin = {width:3, isimage:true, forceheight: '225px', refresh:2, btnimage: 'http://#IP_CAMSERVER:8902', url: 'http://#IP_CAMSERVER:8902', framewidth:800, frameheight:600}

Re: dashticz popup a camera block

Posted: Wednesday 02 February 2022 10:14
by pvklink
Only part i cant get to work is to get the weather_pvk in the button as well, the popup works

buttons.weer = {width:3, isimage:true, forceheight: '225px', refresh:2, btnimage: 'https://www.weeronline.nl/Europa/Nederl ... ting-48uur', popup: 'weather_pvk', framewidth:800, frameheight:600}

blocks['weather_pvk'] = {
type: 'weather',
apikey: 'xxxxx',
city: 'Gemeente Rijswijk',
name: 'Rijswijk (zh)',
country: 'nl',
lang: 'nl',
layout: 4,
count: 6,
showDetails: false,
showHourly: false,
monochrome: false,
colors: {
cloud: 'blue',
light_cloud: 'grey',
dark_cloud: 'blue',
}
}