All Projects → Legion2 → Somfy_Remote_Lib

Legion2 / Somfy_Remote_Lib

Licence: Apache-2.0 License
Emulate a Somfy remote using a 433.42 MHz transmitter.

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Somfy Remote Lib

Pzem004t
Arduino communication library for Peacefair PZEM-004T Energy monitor
Stars: ✭ 165 (+283.72%)
Mutual labels:  esp8266, esp32, arduino-library
Easybutton
Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
Stars: ✭ 187 (+334.88%)
Mutual labels:  esp8266, esp32, arduino-library
Espmqttclient
Wifi and MQTT handling for ESP8266 and ESP32
Stars: ✭ 169 (+293.02%)
Mutual labels:  esp8266, esp32, arduino-library
PCF8575 library
Library to use i2c digital expander with arduino, esp8266 and esp32. Can read write digital value with only 2 wire (perfect for ESP-01).
Stars: ✭ 28 (-34.88%)
Mutual labels:  esp8266, esp32, arduino-library
TP Arduino DigitalRain Anim
A library that represents Digital Rain Animation on color displays that support TFT_eSPI
Stars: ✭ 80 (+86.05%)
Mutual labels:  esp8266, esp32, arduino-library
Irremoteesp8266
Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Stars: ✭ 1,964 (+4467.44%)
Mutual labels:  esp8266, esp32, arduino-library
Arduino Applemidi Library
Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
Stars: ✭ 177 (+311.63%)
Mutual labels:  esp8266, esp32, arduino-library
Tft espi
Arduino and PlatformIO IDE compatible TFT library optimised for the STM32, ESP8266 and ESP32 that supports different driver chips
Stars: ✭ 1,215 (+2725.58%)
Mutual labels:  esp8266, esp32, arduino-library
FirebaseJson
🗃 JSON parser and builder for ESP8266, ESP32, Teensy3.x and Teensy4.x, SAM, SAMD and STM32 (128 k flash or more)
Stars: ✭ 29 (-32.56%)
Mutual labels:  esp8266, esp32, arduino-library
Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (+369.77%)
Mutual labels:  esp8266, esp32, arduino-library
Webserial
Remote Serial monitor for ESP8266 & ESP32
Stars: ✭ 133 (+209.3%)
Mutual labels:  esp8266, esp32, remote
Pixie Chroma
Arduino library and documentation for Pixie Chroma displays!
Stars: ✭ 33 (-23.26%)
Mutual labels:  esp8266, esp32, arduino-library
Pagebuilder
An arduino library to create html string in the sketch for ESP8266/ESP32 WebServer.
Stars: ✭ 104 (+141.86%)
Mutual labels:  esp8266, esp32, arduino-library
Split Single Phase Energy Meter
Split Single-phase Energy Meter
Stars: ✭ 158 (+267.44%)
Mutual labels:  esp8266, esp32, arduino-library
Wifiespnow
ESP-NOW Arduino library for ESP8266 and ESP32
Stars: ✭ 90 (+109.3%)
Mutual labels:  esp8266, esp32, arduino-library
Influxdb Client For Arduino
Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32.
Stars: ✭ 176 (+309.3%)
Mutual labels:  esp8266, esp32, arduino-library
Sx126x Arduino
Arduino library to use Semtech SX126x LoRa chips and modules to communicate
Stars: ✭ 55 (+27.91%)
Mutual labels:  esp8266, esp32, arduino-library
Aunit
Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with AUniter or EpoxyDuino for continuous builds.
Stars: ✭ 73 (+69.77%)
Mutual labels:  esp8266, esp32, arduino-library
Esp Webota
Simple web based Over-the-Air (OTA) updates for ESP based projects
Stars: ✭ 189 (+339.53%)
Mutual labels:  esp8266, esp32, arduino-library
Arduinowebsockets
A library for writing modern websockets applications with Arduino (ESP8266 and ESP32)
Stars: ✭ 213 (+395.35%)
Mutual labels:  esp8266, esp32, arduino-library

Somfy Remote Lib Test

Based on Somfy Remote by Nickduino.

This project is an Arduino Library able to emulate a Somfy RTS (Radio Technology Somfy) remote control on Arduino, ESP8266 and ESP32 devices. It provides out of the box support for multiple remotes and different storage solutions for the rolling codes. Because it is a Arduino Library it can easily included in existing projects or used standalone using one of its included example sketches.

If you want to learn more about the Somfy RTS protocol, check out Pushtack.

Getting Started

This library was tested with ESP32 and the CC1101 transceiver module. It should also work on any Arduino and ESP8266 Board with any 433.42 Mhz RF transmitter. I have not the time and resources to test them all, so please let me know (open an Issue) when you have any problem or have tested other hardware with this library.

Hardware Requirements

For this library to work you need an 433.42 Mhz RF transmitter. The regular 433.92 MHz RF transmitter do not work, so watch out when buying a transmitter that you get a 433.42 Mhz RF transmitter. An example for such an compatible transmitter is the CC1101 module, see the CC1101 example. For the CC1101 module the SmartRC-CC1101-Driver-Lib must be installed.

Installation

This library can be install using the Library-Manager. Open the Library-Manager in Arduino IDE via Tools->Manage Libraries... Search for "Somfy_Remote_Lib" and install the Somfy Remote Lib library.

Usage

See the SomfyRemote example.

All the examples can be controlled via the Serial Monitor. Open the Serial Monitor and set the baud rate to 115200 and set line endings to Newline (\n). You can type in the name of the command or the hexadecimal representation of it.

Rolling Code Storage

This library has a plugable interface for storing the rolling codes, described in RollingCodeStorage.h.

Currently, there are two implementations of the storage available:

  1. EEPROM - should work on any device with EEPROM
  2. NVS - should work on ESP32 with Non Volatile Storage

Most examples use the EEPROM implementation. See the ESP32-NVS example for NVS.

Available commands

Name Description HEX code
My The My button pressed 1
Up The Up button pressed 2
MyUp The My and Up button pressed at the same time 3
Down The Down button pressed 4
MyDown The My and Down button pressed at the same time 5
UpDown The Up and Down button pressed at the same time 6
Prog The Prog button pressed 8
SunFlag Enable sun and wind detector 9
Flag Disable sun detector A

The sendCommand function can be customized with a second parameter. The parameter controlls how often the command is repeated, default is 4 times.

For remote control Telis 4 Modulis RTS5 the following applies: When the UP command is sent once, the blinds go up (Open).

sendCommand(Command::Up, 1);

When the DOWN command is sent once, the blinds go down (Close).

sendCommand(Command::Down, 1);

If you want to tilt the blinds, send the Up / Down command four times.

sendCommand(Command::Up, 4);

or

sendCommand(Command::Down, 4);

Register the Somfy Remote

Before the emulated Somfy remote can control RTS devices, the remote must be registered. Therefore you can refer to the original manual of your RTS device, the only difference is that instead of pressing buttons, the commands from above must be used. So for example if the PROG button should be pressed, instead send the Prog command.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].