Giter Site home page Giter Site logo

pppp's Introduction

HDWiFiCam Pro (DGOA/DGOC WiFi Prefix) JS-Api

Thanks to all the people in this Home Assistant Community thread.

This code is tested for a cheap WiFi cam with software version "A9_IPC_20220506 10:41:05" and the "HB3_V0.3D210726" marking on the PCB. This Camera opens a WiFi Access Point with the "DGOA" or "DGOC" prefix and works with the HDWiFiCam Pro App.

HB3_V0.3D210726

This Camera uses the PPPP-Protocol with some sort of "propietary XOR encryption". Actual Commands to the Camera are JSON embedded in a custom Payload header in the MSG_DRW packets.

Video is received as MJPEG stream, the audio samples are ADPCM encoded.

Usage

The run.js starts a webserver on port 3000 wich serves the mjpeg data. The run_with_audio.js additionally plays audio using the npm plugin speaker.

If you have the "DGOC" prefix, you may need to change the boradcast address: If your run.js dosent connect ('Broadcast message sent' line on screen that just repeats), use the option '-b 192.168.0.255'.

Replace the '192.168.0.' part with your own wifi ip range.

pppp's People

Contributors

magicus avatar bluscream avatar datenstau avatar imgbotapp avatar antonio-a2m avatar

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.