All Projects → roleoroleo → Sonoff Hack

roleoroleo / Sonoff Hack

Licence: gpl-3.0
Custom firmware for Sonoff GK-200MP2B camera

Programming Languages

c
50402 projects - #5 most used programming language
hack
652 projects

Projects that are alternatives of or similar to Sonoff Hack

Yi Hack Allwinner
Custom firmware for Yi 1080p camera based on Allwinner platform
Stars: ✭ 243 (+492.68%)
Mutual labels:  camera, firmware, custom
Yi Hack Allwinner V2
Custom firmware for Yi 1080p camera based on Allwinner platform
Stars: ✭ 100 (+143.9%)
Mutual labels:  camera, firmware, custom
Yi Hack V4
New Custom Firmware for Xiaomi Cameras based on Hi3518e Chipset. It features RTSP, SSH, FTP and more!
Stars: ✭ 1,183 (+2785.37%)
Mutual labels:  camera, firmware, custom
Yi Hack Mstar
Custom firmware for Yi 1080p camera based on MStar platform
Stars: ✭ 446 (+987.8%)
Mutual labels:  camera, firmware, custom
Nextlevel
NextLevel was initally a weekend project that has now grown into a open community of camera platform enthusists. The software provides foundational components for managing media recording, camera interface customization, gestural interaction customization, and image streaming on iOS. The same capabilities can also be found in apps such as Snapchat, Instagram, and Vine.
Stars: ✭ 1,940 (+4631.71%)
Mutual labels:  camera, custom
Br Hisicam
*WIP* Buildroot based sample firmware with embedded GoHisiCam for HiSilicon`s System-On-a-Chip ip cameras
Stars: ✭ 89 (+117.07%)
Mutual labels:  camera, firmware
Esparto
Esparto v3.3 is a rapid development framework, synchronous task queue and GPIO manager with web UI for ESP8266 devices
Stars: ✭ 108 (+163.41%)
Mutual labels:  sonoff, firmware
Tasmota
Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
Stars: ✭ 16,624 (+40446.34%)
Mutual labels:  sonoff, firmware
Espurna
Home automation firmware for ESP8266-based devices
Stars: ✭ 2,650 (+6363.41%)
Mutual labels:  sonoff, firmware
Tasmocompiler
Web GUI for custom Tasmota compilation
Stars: ✭ 143 (+248.78%)
Mutual labels:  sonoff, firmware
EspBuddy
Wrapper to easily upload (OTA or Serial), backup, batch query, monitor ESP8266 boards using Esptool.py, Espota.py and Platformio
Stars: ✭ 47 (+14.63%)
Mutual labels:  firmware, sonoff
CAM
macOS camera recording using ffmpeg
Stars: ✭ 43 (+4.88%)
Mutual labels:  camera, cam
826-x-ip-camera
For the examination of an mipc connected camera
Stars: ✭ 49 (+19.51%)
Mutual labels:  camera, firmware
home
Monorepo for all home automation related development, including integrated firmware, PCBs, configuration, and bridges
Stars: ✭ 104 (+153.66%)
Mutual labels:  firmware, sonoff
liemoth
Development Kit For Ambarella Devices
Stars: ✭ 20 (-51.22%)
Mutual labels:  custom, firmware
Kmansonoff
Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant / mqtt
Stars: ✭ 282 (+587.8%)
Mutual labels:  sonoff, firmware
Sonoff Homeassistant
Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant
Stars: ✭ 354 (+763.41%)
Mutual labels:  sonoff, firmware
Videojscustomization
HTML5 视频播放器 自定制: React + video.js 详细讲解
Stars: ✭ 32 (-21.95%)
Mutual labels:  custom
Flysky I6x firmware bugfix
Fixes a bug in the original FS-i6X firmware
Stars: ✭ 36 (-12.2%)
Mutual labels:  firmware
Nb Choices
Angular wrapper for choices.js, vanilla, lightweight, configurable select box/text input plugin
Stars: ✭ 32 (-21.95%)
Mutual labels:  custom

Custom firmware for Sonoff camera (model GK-200MP2B)

This firmware is based on the yi-hack-Allwinner project. https://github.com/roleoroleo/yi-hack-Allwinner

It's a clone made for Sonoff camera based on Goke platform.

This firmware doesn't overwrite the original one, simply it add some features. For example: RTSP stream is provided through the sonoff original application.

Thanks to @EpicLPer for writing the hack guide for this cam: https://github.com/EpicLPer/Sonoff_GK-200MP2-B_Dump

I have no time to support the project, so feel free to clone/fork this git and modify it as you want.

Table of Contents

Contributing and Bug Reports

See CONTRIBUTING

Features

This firmware contains the following features.

  • FEATURES
    • ONVIF server (with support for h264 stream, snapshot, ptz, presets and WS-Discovery) - standardized interfaces for IP cameras.

      ONVIF compatible devices/software:

      • Onvif Device Manager
      • Hikvision
      • Qnap Surveillance Station
      • Xiongmai based DVR
      • Home Assistant
      • Onvifer (Android app)

      Beta testing devices/software:

      • Synology Surveillance Station
    • Snapshot service - allows to get a jpg (1920x1080) with a web request.

    • MQTT - Motion detection through mqtt protocol.

    • Web server - web configuration interface (port 8080).

    • SSH server - dropbear.

    • FTP server.

    • Authentication for HTTP, RTSP and ONVIF server.

    • Management of motion detect events and videos through a web page.

    • PTZ support through a web page.

    • Goto and set presets through a web page.

    • The possibility to disable all the cloud features.

    • Swap File on SD

    • Online firmware upgrade.

    • Load/save/reset configuration.

Performance

The performance of the cam is not so good (CPU, RAM, etc...). If you enable all the services you may have some problems. Disable cloud is recommended to save resources.

If you notice problems and you have a SD to waste, try to enable swap file.

Supported cameras

Currently this project supports only GK-200MP2B camera with firmware version V2524.1.245build20191030.

USE AT YOUR OWN RISK.

Do not try to use this fw on an another model

Getting Started

  1. Check that you have a correct Sonoff camera.

  2. Get a microSD card, 16gb or less, and format it by selecting FAT32 File System.

  3. Get the correct firmware file from the releases section (https://github.com/roleoroleo/sonoff-hack/releases).

  4. Decompress the file (tgz format) on root path of microSD card.

  5. Remove power to the camera, insert the microSD card, turn the power back ON.

  6. Wait a minute.

  7. Go in the browser and access the web interface of the camera as a website (http://IP-CAM:8080). Find the IP address on your router's portal (see connected devices).

  8. Don't remove the microSD card (yes this hack requires a dedicated microSD card).

  9. Done.

URLs, Ports and Default RTSP Password

For both streams if you've set a custom username and password on the config screen don't forget to replace "hack" at the beginning of the URLs! First one is username, second is password. If you want to view the stream in, as example, VLC and haven't set a password you need to enter "hack" for both user and pass.

  • Configuration Website: http://IP-CAM:8080
  • High Res Stream: rtsp://hack:[email protected]/av_stream/ch0
  • Low Res Stream: rtsp://hack:[email protected]/av_stream/ch1
  • 1080p Snapshot URL: http://IP-CAM:8080/cgi-bin/snapshot.sh
  • PTZ Port: 80
    • In Blue Iris you need to manually enable "PTZ Controls" and change it to "ONFIV (OXML)" in the camera settings. If PTZ doesn't work delete the camera and add it again, also try to set the port to "80" manually.

Build your own firmware

If you want to build your own firmware, clone this git and compile it using a linux machine. Quick explanation:

  • Download and install the toolchain I compiled.
  • Prepare the system installing all the necessary packages.
  • Clone this git.
  • git submodule update --init
  • ./scripts/compile.sh
  • ./scripts/pack_fw.all.sh

Unbricking

If your camera doesn't start, no panic. This hack is not a permanent change, remove your SD card and the cam will come back to the original state.

Acknowledgments

Special thanks to the following people for the previous projects I started from.

Donation

If you like this project, you can buy me a beer :) paypal


DISCLAIMER

I AM NOT RESPONSIBLE FOR ANY USE OR DAMAGE THIS SOFTWARE MAY CAUSE. THIS IS INTENDED FOR EDUCATIONAL PURPOSES ONLY. USE AT YOUR OWN RISK.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].