This is an example of a blinds 433Mhz based controller. It receives commands from a MQTT Broker and transmit control commands to blinds through a RF 433Mhz transmitter.
This version is now being built using the ESPHome open-source system. You must have installed it on your computer using the installation procedure available at the following location.
The application requires the presence of a file named secrets.yaml located in the main application folder. To do so, please
- Update the supplied
secrets.example.yamlfile with your network configuration parameters - Rename it to
secrets.yaml
Use the following commands in a terminal window to compile and upload the application to the ESP32-based controller. After moving to the application folder, do the following:
esphome compile main.yaml
esphome upload main.yamlThe controller expects receiving messages from the defined mqtt_command_topic. The message must be composed of the following three comma separated parameters on a single line:
- The command. One of the following words (in uppercase):
DOWN,UP,STOP,PAIR,LIMIT, orCHGDIR. - The Blind's Device Identification Number
- The channel numbers: 1 to 14 for a specific channel, 15 to send to all channels. Many channels can be identified, adding comma separated channel numbers after the first one.
Example messages:
- DOWN,65530,1
- UP,65530,1,3,5
Once received, the controller will compute the message checksum and send the coded 40 bits message through the connected 433Mhz transmitter. The message will be repeated 10 times in a row.
The controller offers a web interface access to it's logging output on the standard HTTP port 80. For example, you first need to find the IP address or DNS name of the device from your router and use one of the following addresses in your browser:
http://10.0.0.133(here is an example IP address)http://blindsv2.local(default DNS address)