Coder Social home page Coder Social logo

watchdog's People

Contributors

dependabot[bot] avatar grechut avatar szimek avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

watchdog's Issues

Mobile support

  • Being able to run owner on a mobile device (with a decent browser version)
  • Being able to receive push notifications on a mobile device (with a decent browser version)

Detectors config

Stored in the devices collection. Simple adjustment of detectors params. Also, turning them on/off.

Finish push notifications

It's mostly done, but needs to be finished both on the client (responding to push notification) and server (actually sending them to GCM).

Sync listeners count with the owner page

Currently when new listener subscribes, the count of listeners on the camera / device owner / whatever we call it page is not updated and shows 0 until the page is reloaded.

Use FCM topics to subscribe to a device alerts

We could subscribe to devices in general or to a specific detector on this device (e.g. /devices/:device-id or /devices/:device-id/:detector). This way we can send only one notification and FCM will send it to all subscribed devices.

This info needs to be stored in both FCM and Firebase db, so that we can show state of each subscription.

More info how to subscribe a device to a topic: https://developers.google.com/instance-id/reference/server#create_relationship_maps_for_app_instances (Instance ID is the token we get from Firebase on the client).

Better error messages

  • When not supporting/errors with push notifications
  • When having issues with WebRTC

Try to use web worker for motion detection

The motion detection works pretty slow and causes video to pause quite often. We could try out using web worker, send an image to it and perform the detection there.

RTC issues

  • 'Cannot signal after peer is destroyed' error thrown. Happens (as far as I registered) after trying to reload listener.
  • Sometimes the connection breaks and reload is needed.
  • Lack of disconnection after leaving the device (on unmounting)

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.