Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.21 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.21 KB

TM1638JaroMQTTRemote

Remotecontrol via MQTT for the Jarolift_MQTT-project: https://github.com/madmartin/Jarolift_MQTT You need a WEMOS D1 R2 (or other ESP8266based board) and a 16-button QYF-TM1638-board and a few cables:

Module: https://www.aliexpress.com/w/wholesale-tm1638.html?catId=0&SearchText=tm1638

Based on the famous TM1638plus-library by Gavin Lyons https://github.com/gavinlyonsrepo/TM1638plus

For each shutter, two buttons are used. Up and down. If the shutter is in motion, it stops when you press the button again. You can send messages to the display via MQTT, (default topic: TM1638/message). You can adjust brightness in 8 steps via topic TM1638/brightness

Examples: mosquitto_pub -d -t TM1638/message -m "MESSAGE"; mosquitto_pub -d -t TM1638/brightness -m 1 (valid from 0-7)

For testing purpose, the display shows the pressed button and its send out on the serial port. Feel free to comment it out when its working for you.

Connect:

GND <-> GND 
D1  <-> STB
D2  <-> CLK
D3  <-> DIO
3.3 <-> VCC

Edit the wifidata.h according to your local network and compile.

TODO: Shade function, Housing, powersource etc etc.

This is a project in development, so feel free to participate!