Hi there,
I want a genetic camera where I can manipulate the status to show the status of another sensor. Does anyone know if this is possible by any chance? Or how I could achieve something like this?
Thanks!
You question doesn’t make much sense , maybe you could specify more exact what you want to accomplice ?
And somehow i assume you mean “Generic Camera” ? , in other words Using the Generic-Camera integration to show “Something” ?
And “example” of this is made by “someone” ( camera.www_yr_no )
Basically what you do is provide an url to an “Image” ( on an external website ) which i.e is updated frequently
" https://www.yr.no/en/content/2-8130039/meteogram.svg "
Or
The Icon in this Forum
https://community-assets.home-assistant.io/original/4X/8/d/f/8df951532473a630b4dcebe75b86658b76968b53.png.
Yes, maybe I should have included an example. It is a still image from a news website. It also includes a news title. I want to pass this as a state so that it becomes visible on my dashboard.
See the image below:
Instead of Inactief i want the title of the news
Then you have to “pick out” the word/words (title on the site) you want from that url (which is not the same as the pic-url), you can’t use Generic-Camera for that.
You Have to use a scrape-sensor ( Search this forum for i.e scrape-sensor )
I have already managed to do that with RSS. I have this sensor in Home Assistant, but I want to use the sensor status (the title) as the state of the camera. Hopefully, I am clearer now
Thanks for your quick response, by the way!
The “State” of a Camera-Entity, is the STREAM or PICTURE, Do you want the camera.entity to only Show a “String” ? , and not a stream/picture ?
Sorry , no you are not clearer now, or im just confused
If you already have the Title via RSS, in a sensor, place both in a vertical stack
V-Stack:
Sensor-Title
Camera.ur_pic
I want this state to be the state of another sensor, to put it short.
Don’t want it to state idle, but something different.
Yes, i figured as i just looked in states
Then you might be able to use a template. (or another template-sensor)
If state camera.entity != unavailable
return state of RSS-entity
Or is it actually the “administration” UI which bother you ?, because you can hide states basically everywhere, not that i know why you have this big blackish entity there, seems kind of “redundant”
On the other hand you haven’t showed any code , or a view ( Just a fraction )
Why is it there ? why not just remove it and show whatever entity you got your Title in, instead ?