Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dudanov/iot-uni-dongle
An project of universal minimalistic Wi-Fi dongle for various IOT appliances controlled via UART.
https://github.com/dudanov/iot-uni-dongle
esp8266 esp8266-arduino esphome esphome-devices haier-dongle home-assistant home-automation iot-device midea-dongle usb-dongles
Last synced: about 5 hours ago
JSON representation
An project of universal minimalistic Wi-Fi dongle for various IOT appliances controlled via UART.
- Host: GitHub
- URL: https://github.com/dudanov/iot-uni-dongle
- Owner: dudanov
- Created: 2021-07-13T19:10:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T05:10:13.000Z (7 months ago)
- Last Synced: 2025-01-15T11:39:07.321Z (7 days ago)
- Topics: esp8266, esp8266-arduino, esphome, esphome-devices, haier-dongle, home-assistant, home-automation, iot-device, midea-dongle, usb-dongles
- Homepage:
- Size: 2.63 MB
- Stars: 301
- Watchers: 18
- Forks: 44
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iot-uni-dongle
An project of universal stick for various IOT appliances controlled via UART.
![1](images/main.gif)
## Main goals
1. Unified design for all types of home devices from different manufacturers.
2. Use of various connectors with a pitch of 2.54 mm and USB.
3. Possibility of swapping the middle signal TX/RX contacts.
4. IR transmission and receiving via one wire connected to TSOP output.
5. Minimalistic design: 30.5x19mm (PCB size: 23.5x19mm).
6. Using popular Wi-Fi module [ESP12-F](https://docs.ai-thinker.com/_media/esp8266/docs/esp-12f_product_specification_en.pdf) based on ESP8266 SoC.![1](images/view01.jpg) ![1](images/view02.jpg)
A far from complete list of supported brands:
1. [Midea](https://www.midea.com/)
2. [Electrolux](https://www.electrolux.ru/)
3. [Qlima](https://www.qlima.com/)
4. [Artel](https://www.artelgroup.com/)
5. [Carrier](https://www.carrier.com/)
6. [Comfee](http://www.comfee-russia.ru/)
7. [Inventor](https://www.inventorairconditioner.com/)
8. [Dimstal/Simando](https://www.simando24.de/)## Some sockets mounting examples
![1](images/sockets01.jpg) ![1](images/sockets02.jpg)
## Signal lines TX/RX
To select the location of the signal contacts, it is necessary to close the jumper platforms with drops of solder (in the photos is marked in red). Signal lines are named according to the master, that is, ESP12-F.
![1](images/midea.png) ![2](images/haier.png)
## Sending and receiving IR remote control commands
Due to the fact that not all capabilities are implemented in the UART protocol (for example, indication control and `FollowMe` feature), it is possible to sending IR commands by supplying a demodulated signal (duty: 100%) to pin `GPIO13`.
To do this, connect the `IR-` pad located on the top side of the stick and the output of the TSOP IR demodulator on the display board.
The pictures below show an example for a `TSOP1738` IR receiver.![2](images/tsop_stick.jpg)
![2](images/tsop_display.jpg)
You can also read the IR signal on the `GPIO12` pin from all remote controls, including third party ones. It can help in researching protocols and various automation goals without resorting to additional devices, thus saving energy.
## SMT assembly on JLCPCB
The [single-smt](jlcpcb/single-smt) directory contains the files necessary for manufacturing and assembling the board at the [JLCPCB](https://jlcpcb.com) factory.
That is, the received order will look like this:
![1](images/smt.png) ![2](images/smt_after.png)
You just have to solder the module and the required connector on the back of the board and select the position of the signal contacts depending on your device.
## Frequently asked Questions:
> How can I flash my stick?I've written some [tutorial](FLASHING.md). Read it.
> How can I tell if my air conditioner is supported or not?
*None 100% answer to the question. But there is a high probability of support if your air conditioner has a USB connector, a regular place for a stick, UART is used.*
> What firmware would you recommend?
*Initially, the stick was developed for [ESPHome](https://esphome.io) and [Home Assistant](https://www.home-assistant.io), but it is possible to write your own firmware for your tasks and needs if you have the appropriate skills.*
## Support
If you find this project was useful and want to support me and my work, you can do this by sending me a donation in [TONs](https://ton.org/): `UQCji6LsYAYrJP-Rij7SPjJcL0wkblVDmIkoWVpvP2YydnlA`.