All Projects → maxmacstn → MQTT-MotorizeBlinds

maxmacstn / MQTT-MotorizeBlinds

Licence: other
Code for ESP8266 Microcontrollers that control DIY motorized blids made from IKEA TUPPLUR blinds. Code in this repo is intentionaly to use with Homebridge MQTT plugin on raspberry Pi

Programming Languages

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

Projects that are alternatives of or similar to MQTT-MotorizeBlinds

homebridge-roomba
Roomba plugin for Homebridge
Stars: ✭ 13 (-23.53%)
Mutual labels:  smarthome, homebridge, homeautomation
Haswitchplate
LCD touchscreen for Home Automation
Stars: ✭ 666 (+3817.65%)
Mutual labels:  esp8266, smarthome, homeautomation
Esp8266 smartconfig flutter example
Esp8266 smartconfig(onetouch) config using flutter example
Stars: ✭ 33 (+94.12%)
Mutual labels:  esp8266, smarthome
Pysmartnode
Micropython Smarthome framework
Stars: ✭ 58 (+241.18%)
Mutual labels:  esp8266, smarthome
SmartLEDLamp
A smart, web-enabled floor lamp with nice visual effects based on IKEA Vidja powered by ESP8266 and WS2801.
Stars: ✭ 22 (+29.41%)
Mutual labels:  esp8266, smarthome
homebridge-bravia-tv
Homebridge dynamic platform plugin for Sony Bravia Android TVs
Stars: ✭ 34 (+100%)
Mutual labels:  smarthome, homebridge
Waterius
Передача показаний воды по Wi-Fi. Watermeter Wi-Fi transmitter.
Stars: ✭ 295 (+1635.29%)
Mutual labels:  esp8266, smarthome
Home Assistant Config
My Home Assistant configuration & documentation.
Stars: ✭ 99 (+482.35%)
Mutual labels:  esp8266, smarthome
esp8266 homekit temp
Small project to send data from a temperature sensor connected to an esp8266 to a HomeKit server, running on a Raspberry Pi.
Stars: ✭ 38 (+123.53%)
Mutual labels:  esp8266, homebridge
Wirehome.core
Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS.
Stars: ✭ 180 (+958.82%)
Mutual labels:  esp8266, smarthome
Templates
Tasmota Device Templates Repository. Your one stop shop to get templates for devices running Tasmota!
Stars: ✭ 162 (+852.94%)
Mutual labels:  esp8266, smarthome
home-assistant-opentherm-thermostat
Home Assistant OpenTherm Thermostat
Stars: ✭ 26 (+52.94%)
Mutual labels:  esp8266, smarthome
Tuya Convert
A collection of scripts to flash Tuya IoT devices to alternative firmwares
Stars: ✭ 3,338 (+19535.29%)
Mutual labels:  esp8266, smarthome
homekit-qrcode
Generate a pairing HomeKit QR code label for your HomeKit accessory from the command line
Stars: ✭ 17 (+0%)
Mutual labels:  esp8266, homebridge
thermomat
Low cost smart home IOT heating with adapted eq3n and esp8266-07. Server, Webapp and ESP8266 code for autonomous thermostat controling over the internet.
Stars: ✭ 17 (+0%)
Mutual labels:  esp8266, smarthome
Rgb
Offline smart home - esp8266 and WS2811/WS2812/NeoPixel LEDs Smart home / Gudra māja / Умны дом
Stars: ✭ 99 (+482.35%)
Mutual labels:  esp8266, smarthome
Brad Homeassistant Config
Home Assistant configuration
Stars: ✭ 212 (+1147.06%)
Mutual labels:  esp8266, homeautomation
Homebridge Homematic
Homematic plugin for homebridge: https://github.com/nfarina/homebridge
Stars: ✭ 163 (+858.82%)
Mutual labels:  smarthome, homebridge
Jarolift MQTT
Controlling Jarolift TDEF 433MHZ radio shutters via ESP8266 and CC1101 Transceiver Module in asynchronous mode
Stars: ✭ 43 (+152.94%)
Mutual labels:  esp8266, smarthome
Mycontroller V1 Legacy
The Open Source Controller
Stars: ✭ 135 (+694.12%)
Mutual labels:  esp8266, homeautomation

IKEA motorize blinds

header

Code for ESP8266 Microcontrollers that control DIY motorized blids made from IKEA TUPPLUR blinds. Code in this repo is intentionaly to use with Homebridge MQTT plugin on raspberry Pi. I use 3D printed motor mount from here instructables - MOTORIZED WIFI IKEA ROLLER BLIND

Features

  • Buttons up and down for manual control.
  • Persistence state - Saved current position to EEPROM.
  • Calibrate mode - Calibrate lenght, top and buttom position of the window and store to EEPROM.

Hardware

  • 28BJY-48 Stepper motor + ULN2003 motor driver
  • Wemos D1 mini (or any ESP8266 modules)
  • two momentary switches
  • IKEA TUPPLUR blinds

schematic

Add this devices to Homebridge-MQTT

You can use program like MQTTLENS to send this command

Topic

homebridge/to/add

Payload

{
     "name": "Blind 1",
     "service_name": "blind_1",
     "service": "WindowCovering"
}

Instruction

  1. I developed this program with VSCode. If you want to use Arduino IDE, please copy content in "ESP8266 Dependencies" folder to libraries folder.
  2. Don't forget to change MQTT server ip address to match yours.
  3. For the first time, use Wifi setup to connect to your router.
  4. Press and hold down button while inputting power or reset to enter calibrate mode. Release button, blind will going down, press again when it reached lowese point, it will go up, press again when it reach highest point, it will stop and record the value.

Dependencies

  • CheapStepper Library - I modified from this library a little bit.
  • PubSubClient

Known issues

Calibrate mode is hard to perform, motor rotate wrong rotation but it can solve by restart the process again (Maybe caused by switch debouncing). Rapidly press up or down button may cause system to crash, maybe it blocked main loop.

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].