Code Monkey home page Code Monkey logo

lunacam's People

Contributors

dependabot[bot] avatar reynoldsbd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

euidem

lunacam's Issues

Automatically resize root partition

After booting for the first time, a LunaCam system should automatically resize its root partition to fill any remaining space on the SD card.

Actual resize operation is easily scripted using sfdisk and resize2fs. This script could be registered to run after first boot using systemd-run.

Configuration changes

Currently, changes to LunaCam configuration require manually editing /etc/lunacam/config.json on the Pi and restarting lunacam.service.

Eventually, it should be possible to change configuration via the Web UI. Additionally, such changes should generally not require any restart.

Proposal

Move config.json under /var, into some directory accessible by the lunacam user (which we can setup using tmpfiles.d). When the user makes a configuration change using the web UI, the server process should then:

  1. reload any run-time components to observe the configuration change (e.g. reloading templates or restarting the HTTP server)
  2. flush an updated config.json onto disk

Auto-restart daemon

Current implementation of "session reset" requires completely restarting the daemon process (because there's no easy way to force actix-web to reload itself).

However, the deamon is not being restarted as expected. The process exits by design, but it is not restarted by systemd in spite of its RestartSec=5s directive. As a result, some user must log in via SSH and manually restart the service to re-enable web access.

Intermittent webstream stuttering

Per our message on reddit, I am having the occasional stuttering issue. It sounds like you have looked into it a bit and determined it is not related to the load on the pi's CPU.

My initial thought was that there was too much data for my wireless network so I was going to decrease the size/resolution of the video and see if that had an impact on this issue.

Image Customization

It should be possible to configure some properties of the SD card image during construction, for instance:

  • hostname
  • default username
  • SSH public key for default user

USB gadget interferes with host

On at least one occasion, I've lost the ability to resolve DNS names on my workstation while connected to a LunaCam device using the USB gadget network. I think systemd's DHCP server is handing out bad information.

Fix is to make sure the gadget network's DHCP server is properly configured. (Full docs are here.)

Stream storage

Sorry in advance if the feature is already there and I didn't see it ..... But currently in the released package there is a module for camera, web interface, and both bundled together ..

Please can you implement a stream capture too ? .... Idea is to use this as a full fledged CCTV system ....

The project is working seamlessly,
But live stream only allows you to observe the feed in real-time .... if users could store the feed to a desired location locally would be great feature

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.