dashticz popup a camera block Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

dashticz popup a camera block

Post 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,
};
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: dashticz popup a camera block

Post 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}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: dashticz popup a camera block

Post 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',
}
}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest