Skip to content

One image/video gallery for integrate in Hass like a panel

Notifications You must be signed in to change notification settings

dave-code-ruiz/hass-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hass-gallery

The purist programmers must stay away for the sake of their mental health

I recomended use this other repository: https://github.com/TarheelGrad1998/GalleryPanel

Sorry for my English

One image/video gallery for integrate in Hass like a panel

It is a panel with one or several image galleries.

These galleries are paginated, in principle up to 8 pages

The image and video data are obtained from a folder inside /.homeassitant/www folder.

Through a ".json" file the details of the image and the video are specified.

Using two .sh scripts that are provided it is possible to add and remove images from the .json file

I use the gallery to show the latest images and videos associated with movements in the motion application , when motion is detect I move image and the video file with best movement to galery and insert one line to .json file.

The file subirdropbox.sh is used in motion.conf like this:

on_movie_end sudo bash /home/homeassistant/dropbox/scriptdropbox/subirdropbox.sh %f cam1

I use dropbox-uploader.sh for upload files to dropbox

With this script i upload to dropbox and www folder all files of motion, then i drop files in dropbox for 2 days and in local gallery for 6 days

Instalation

  • Copy repository content in .homeassistant folder

  • Include in configuration.yaml

    panel_custom: !include panel_custom.yaml

NOTE: I have no intention of maintaining or improving the repository, I only share it if it is useful, I will gladly accept the contributions of other users to improve the repository, is at a very early version

Example of visualization

Ejemplo

Example of video (click on image)

video

About

One image/video gallery for integrate in Hass like a panel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published