Git Product home page Git Product logo

wifi_alarm's Introduction

MQTT Tuya Wifi Alarm siren

The purpose of this esphome based firmware is to provide a replacement of the official ESP8266 firmware of Tuya Wifi Alarm sirens. This software works fully offline and can be controlled via MQTT instead of official Tuya Cloud compatible apps.

This devices can be bought on some chinese retailers. Example

A Tuya wifi alarm siren has 2 modules:

  • Tuya MCU: manages all device behavior.
  • ESP8266: act as a gateway between Tuya MCU and Tuya Cloud.

Both modules communicate via serial port (UART).

This software is a replacement for the ESP8266 and allows you to control the MCU trough MQTT.

Advantages

  • Can be controlled offline without internet connection.
  • Can be integrated with other home automation controllers through MQTT (e.g. Home Assistant).
  • Improved security. Are there any secure cloud alarms?
  • You have the control.

Disadvantages

  • You have to flash the ESP8266, and it's not as easy as I expected. Doable, but a little tricky.

Alarm features not supported

  • Notifications from the MCU are not supported. The MCU has the ability to send text messages designed to end up on your mobile device. But this notifications are just ignored.
  • Accesories on zone "24 hours silent", because this accessory trigger just generate a notification, wich is ignored.
  • Accessory/remote list does not work reliably. If devices are not listed, a factory reset should fix it.

How to flash the ESP8266

Flash guide

MQTT Protocol

A description of the MQTT protocol can be found here.

Licensing

Arturo Casal

Shield: CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

This software uses ESPHome

Copyright (c) 2019 ESPHome

wifi_alarm's People

Contributors

berfenger avatar

Watchers

 avatar  avatar

wifi_alarm's Issues

tuya-convert?

Hi there,

I have purchased a 4G PGST branded Tuya Alarm (PG108 I believe) for experimenting with. Do you see any reason that tuya-convert can't be used to flash this firmware?

Paul

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.