cgarwood / homeassistant-fullykiosk

Fully Kiosk Browser integration for Home Assistant
Apache License 2.0
153 stars 27 forks source link

Add camera #35

Open SamMousa opened 3 years ago

SamMousa commented 3 years ago

The FKB API exposes the camera, my config to load it looks like this:

camera:
  - platform: generic
    verify_ssl: false
    still_image_url: http://192.168.2.12:2323/?cmd=getCamshot&password=xxx

It would be nice if this integration could expose the camera.

Senbei123 commented 3 years ago

I realy like this behaviour. Is there an idea how to get a kind of "livestream"?

SamMousa commented 3 years ago

HA will create a livestream by refreshing the image constantly; you can even set a framerate afaik.

Exit2Studios commented 3 years ago

This would be great!

bcutter commented 3 years ago

+1 ❗

thefunkygibbon commented 2 years ago

dev? is this to be considered? seems to be to be a very important feature. I'd love for my tablet HA management device to double up as a security camera without having to separately install some webcam server software when effectively it's already there

cgarwood commented 2 years ago

@thefunkygibbon if someone wants to submit a PR for it it would certainly be accepted, I've had a couple other projects take priority lately and haven't had time to do it myself.

bcutter commented 2 years ago

@thefunkygibbon if someone wants to submit a PR for it it would certainly be accepted, I've had a couple other projects take priority lately and haven't had time to do it myself.

Is this still the case? While I'd love to see that available via the FullyKiosk integration, I don't have the expertise to submit a PR. Latest v1.0 release made a few huge steps forwards by the way. In general I'd like to see more things available via the FK remote admin webinterface by the HA integration - the camera is on top of my personal wish list. :-)

thefunkygibbon commented 2 years ago

yeah unfortunately I have no idea what creating a PR involves either since i'm not a dev. Happy to create a 'change request'/RFE for it, but from a dev perspective...... nopes 👍

timmartijn commented 2 years ago

The FKB API exposes the camera, my config to load it looks like this:

camera:
  - platform: generic
    verify_ssl: false
    still_image_url: http://192.168.2.12:2323/?cmd=getCamshot&password=xxx

It would be nice if this integration could expose the camera.

This does not work for me. I don't get to see the image. In a browser this link works for me

bcutter commented 2 years ago

The FKB API exposes the camera, my config to load it looks like this:

camera:
  - platform: generic
    verify_ssl: false
    still_image_url: http://192.168.2.12:2323/?cmd=getCamshot&password=xxx

It would be nice if this integration could expose the camera.

This does not work for me. I don't get to see the image. In a browser this link works for me

It worked (immediately) for me. For the moment within a first test. But it seems like HA is constantly pulling images, which will probably reduce the devices battery significantly I think.

Anyway, provided by the integration with a few config parameters (frames per second, start/stop etc.) would be great.

Update: ...aaaaaaand it's gone. No idea what killed it, but there's no image in HA any longer (while it's still provided by the FK API). Very unreliable. What are your long-term experiences on this @SamMousa ?

rpitera commented 2 years ago

I was passing by and saw this... I use REST for my Kiosk stuff and was looking to see if there was any advantage to this integration and really couldn't see a point (FOR ME) as everything was working well. I just have a generic camera for my Kiosk set up and it's been working for a year now. Still working great.

- platform: generic
  still_image_url: http://MY_KIOSK_IP:2323/?cmd=getCamshot&password=MYPASSWORD
  name: Living Room

Until this feature gets added, you guys may want to just set this up. Hope this helps someone.

SamMousa commented 2 years ago

This is essential my original post repeated 😅

thefunkygibbon commented 2 years ago

so what was your actual request then?

rpitera commented 2 years ago

This is essential my original post repeated 😅

Man do I feel stupid. Sorry - thought I was helping. If anyone wants my REST setup, just ask. Again, sorry - I'll read slower next time!

albanevrard commented 2 years ago

bonjour faut ajouté sa ou dans home assistant pour que sa marche ? platform: generic still_image_url: http://MY_KIOSK_IP:2323/?cmd=getCamshot&password=MYPASSWORD name: Living Room

bcutter commented 2 years ago

bonjour faut ajouté sa ou dans home assistant pour que sa marche ? platform: generic still_image_url: http://MY_KIOSK_IP:2323/?cmd=getCamshot&password=MYPASSWORD name: Living Room

  1. Essaie plutôt English...
  2. See the original post https://github.com/cgarwood/homeassistant-fullykiosk/issues/35#issue-810310926
VaillantHassIo commented 2 years ago

This is essential my original post repeated 😅

Man do I feel stupid. Sorry - thought I was helping. If anyone wants my REST setup, just ask. Again, sorry - I'll read slower next time!

hi rpitera, i'd love to see the REST setup. i went trough your github homeassistant.config and realised its more than 5 years old hence i am asking. thx