Coder Social home page Coder Social logo

maddoct / esp-crowalarminterface Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 166 KB

Interface for Crow Runner 8/16 Alarm System using an ESP8266 connected to CLK and DAT lines usually used by the Keypads

License: GNU General Public License v3.0

C++ 100.00%

esp-crowalarminterface's People

Contributors

grawlinson avatar maddoct avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

runekr zipleen

esp-crowalarminterface's Issues

Protocol documentation

I designed a custom pcb that will use a m5Atom lite as controller to connect to the keypad bus.

Schematic_AAP-Bus-Interface_2024-05-26

Screenshot 2024-05-26 at 16 47 42

I assume that the current code can be installed on an m5Atom but have not yet tried.
I am also try to port this to esphome and was wondering if there is any protocol documentation available.

Also looking at the AAP BUS-RS232 document it seems that keypads have an address which would somehow point to using something similar to the I2C protocol and the Wire library could be used for doing the send/read data.

Is there any protocol documentation available that could be useful?

Only get alarm status - unsure of cabling direction

Setup is:
Crow Runner 4 (same as Runner 8 but with less inputs)
ESP8266 / NodeMCU ESP-12F Module
Logic level converter (https://www.jaycar.com.au/duinotech-arduino-compatible-logic-level-converter-module/p/XC4486)
Wiring diagram for logic level converter here - https://www.jaycar.com.au/medias/sys_master/images/images/10096754262046/XC4486-manualMain.jpg

I'm really struggling with the wiring.

I do get some MQTT messages such as:

Message 486 received on Alarm/status at 9:17 PM:
Desarmado
Message 485 received on Alarm/tele at 9:17 PM:
{"Uptime":"0D 00:21:45","IP":"192.168.1.130","RSSI":-77}
Message 484 received on Alarm/status at 9:17 PM:
Desarmado
Message 483 received on Alarm/lwt at 9:17 PM:
Online

Any tips on how to wire it up correctly incase that is the problem?

Can the cabling run in parallel to the old school control panel I have on the wall or do I need to remove those wires?

How to flash in a wemos D1 mini (ESP8266)

I tryed to flash my Wemos D1, but without success.
Can you explain how to do this?
I used arduino and platformio (I tried this 2 tools with no success).

Peço desculpa mas não sei como compilar o ficheiro main.cpp para obter um ficheiro .bin que permita programar o ESP.
Qual o procedimento para programar e que ferramentas usar?
Peço esculpa mais uma vez e obrigado.

Circuit diagram

Hi! I'm currently using a Saleae logic analyser hooked up to DAT/CLK to reverse engineer the communications.

I would like to switch to using a ESP with logic level converters (3.3V - 5V) for bi-directional communications, but I am wondering how you've wired yours up because I don't see a 5V supply on the alarm panel.

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.