Git Product home page Git Product logo

wofea_v10_hack's Introduction

WOFEA V10 Hack

Objective

WOFEA V10 Wifi is a chinese low cost alarm system based on ESP8266. Objective of this project is to create a custom and open source firmware based on esphome and Home Assistant !

drawing

Hardware

  • WOFEA V10 Base:
    • ESP8266 4M
    • 433Mhz RF transmiter & receiver
    • 2 status Leds
    • Audio ouput & HP
    • Internal Siren 5V output
    • Battery pin
  • PIR & contact sensor :
    • 433Mhz transmiter with unique code
    • Detection = send 10 frame of 24bits
    • PIR pulse lenght : 385 us
    • Contact sensor pulse lenght : 433 us
  • External siren :
    • 433Mhz receiver only
    • 3 codes : arm, disarm, siren
  • Remote control :
    • 433Mhz transmiter
    • 4 codes : arm, disarm, siren, ?
    • pulse lenght : 325 us

Internal ESP8266 Pin

drawing

  • GPIO5 : RF receiver
  • GPIO4 : RF transmiter
  • GPIO0 : Status led 2 (RED)
  • GPIO2 & GPIO15 : Status led 1 (RED/BLUE)
  • GPIO3 : Siren ouput
  • GPIO16 : Reset button
  • GPIO14, GPIO12, GPIO13 : Audio output (probably I2S protocol or pwm audio)

Wofea board :

drawing

Extract original firmware

  • Solder serial connector (see picture)
  • Connect GND on IO0 (boot loader mode)
  • Turn device on (with usb power)
  • Run :

    esptool read_flash 0x00000 0x400000 firmware.bin

  • Dont use crappy usb to serial like Prolific PL2303HX

Flash ESPHOME firmware

  • Solder serial connector (see picture)
  • Connect GND on IO0 (boot loader mode)
  • Turn device on (with usb power)
  • Run :

    esphome alarm.yaml run

  • Add to Home assitant
  • Enjoy

Current ESPHOME support

  • Status leds
  • Reset button
  • Siren ouput
  • RF receiver
  • RF transmiter
    • Chip is CMT2110A (HopeRf or cmostek)
  • Support alarm automation
  • SMS Alert
  • RF jamming detection
  • Support audio output

Add backup battery

  • Pin charge is ~4.66v
  • Find compatible battery : TODO

Install Home Assitant on OrangePi lite

# Configure Wifi
armbian-config

# Install missing packets
apt-get install jq avahi-daemon dbus apparmor-utils

# Install Docker-CE
curl -sSL https://get.docker.com | sh

# Install Hass.io (H3 is equivalent to RPI2)
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -s -- -m raspberrypi2

# Protect sd card
vi /etc/fstab
# add : commit=5,data=journal

# Open url : http://orangepilite:8123

wofea_v10_hack's People

Watchers

 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.