GithubHelp home page GithubHelp logo

exoterra-terrasky-modbus-remote-firmware's Introduction

ExoTerra Terrasky IR Remote, RS-485 Modbus RTU controller

This is my codebase for a STM32 powered 38kHz IR remote that can 'learn' and then send out specfic signals for day, night and twilight lighting effects for the Exo Terrasky light. It makes use of the NEC protocol to learn and send commands.

The purpose is to automate an ExoTerra Terrasky using IR, since the default remote control doesn't have any timers.

RS-485 Modbus RTU can be used to send commands to change the lights, using a Modbus enabled PLC.

The hardware repository can be found here.

Modbus

Register 40001

Write to this register to change the type of IR command that is sent out to the light.

  • 0: 'Day' cycle
  • 1: 'Night' cycle
  • 2: 'Twilight' cycle

Typically twilight cycle can be called between sunset and sunrise. Modbus commands are debounced every 1 min. Other commands sent within that minute to this register are ignored. It is advised to often send this command to ensure your light functions well even thought sometimes commands get lost because of IR signal problems.

Learning new light settings

Cycle through the different light settings with the cycle button to the setting you wish to change. Push the learn button. Now press the corresponding key (color or program) on the Terrasky remote control, pointing it to the back of this device. The command will be stored in memory and the device will send out immediately the new commands. Modbus is temporary disabled while in this learning mode.

The device will lost the settings if power is cut off

exoterra-terrasky-modbus-remote-firmware's People

Contributors

michaelcastiau avatar

Watchers

James Cloos avatar  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.