Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Need help for camera #790

Open
piltous opened this issue Nov 9, 2021 · 0 comments
Open

Need help for camera #790

piltous opened this issue Nov 9, 2021 · 0 comments

Comments

@piltous
Copy link

piltous commented Nov 9, 2021

Hi! (again...),

I need some help to valide my code for a TTGO camera that works with ESPHome in HA.

I enabled stream in ESPHome to be able to get img stream direct from an http url without using HA to get more fts (I have +/- 1.3fts).

I use this code in Tileboard but after some times it freeze.

Could you help me to correct this if possible?

``
//Doorbell Camera
{
position: [1.7, 0],
width: 3.5,
height: 2.2,
type: TYPES.CAMERA,
id: {},
// bgSize: 'contain',
//width: 2,
state: false,
fullscreen: {
type: TYPES.CAMERA,
refresh: 1000,
filter: function (item, entity) {
return "http://192.168.178.77:8080"; },
// refresh: 500, // can be number in milliseconds
bgSize: 'contain'
},
// refresh: 1000,
filter: function (item, entity) {
return "http://192.168.178.77:8080" }
},

//Doorbell Camera

// {
// position: [1.7, 0],
// id: 'camera.doorbell_camera',
// type: TYPES.CAMERA,
//// //bgSize: 'cover',
// width: 3.5,
// height: 2.2,
// state: false,
// //fullscreen: {
// // type: TYPES.CAMERA_STREAM,
// // objFit: 'contain', // https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
// // id: 'camera.doorbell_camera', // Optional: camera entity to use on fullscreen, defaults to the tile camera entity if omitted
// // bufferLength: 5 // Optional: buffer length in seconds for the HLS buffer, default is 5 seconds
// //},
//// refresh: 1000, // can be number in milliseconds
// refresh: function () { // can also be a function
// return 1000 + Math.random() * 1000 }
// },
``

I already tried many things based on my research but no luck for now...

Thanks in advance.
Rgds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant