Coder Social home page Coder Social logo

nice_bust4's Introduction

Russian translation available Russian

ESPHOME component to control Nice drives via Bus T4 protocol

Nice Bus T4 protocol

Allowes ESP8266 to communicate with Nice gate/garage openers using the Bus T4 port. Nice controll board must be equipped with BusT4 connector.

Current capabilities

  • Sending commands: "Open", "Stop", "Close", "Partial opening", "Step by step (SBS)" and others via buttons.
  • Sending arbitrary HEX commands via the "raw_command" service. Byte separators can be periods or spaces. Example: 55 0c 00 03 00 81 01 05 86 01 82 01 64 e6 0c or 55.0D.00.FF.00.66.08.06.97.00.04.99.00.00.9D.0D
  • Formation and sending of arbitrary GET/SET requests through the "send_inf_command" service. Allows you to configure the device or get its status.
  • Display packets from all devices in the BusT4 network.
  • Tested with Wingo5000 with MCA5 block, Robus RB500HS, SO2000, Road 400, DPRO924.

BusT4:

This is a modified UART 19200 8n1 with a uart break duration of 519us-590us before each burst. You can connect several devices; for this, CAN-BUS transceivers are added to the physical layer. Physical transmission often occurs through CAN transceivers, but there are no CAN frames.

alt text

BusT4 RX/TX are running on 5V. ESP8266 RX/TX are using 3.3V - level shifter must be used! BusT4 VCC pin provides power with voltage in range of 24V to 28V. Take extra care to follow the correct pinout - incorrect wiring to the BusT4 can immediately kill you Nice control board. Manually check voltage on the VCC port before connecting to the unit!

alt text

The component supports sending an arbitrary command to the drive via the ESPHome service:

SBS:   55 0c 00 03 00 81 01 05 86 01 82 01 64 e6 0c
Open:  55 0c 00 03 05 81 01 05 83 01 82 03 64 e4 0c
Close: 55 0c 00 03 05 81 01 05 83 01 82 04 64 e3 0c
Stop:  55 0c 00 03 00 81 01 05 86 01 82 02 64 e5 0c

Original version available at https://github.com/pruwait/Nice_BusT4, most of credit goes to @pruwait.

nice_bust4's People

Contributors

pruwait avatar xdanik avatar damianeroo avatar ekozan 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.