1. Connect the following PINs of the CB3S to your FTDI
Short to GND for 1s after issuing the flashing command below
2. Download the firmware OpenBK7231N_QIO_X.Y.Z.bin from the releases.
3. Follow the flashing instructions in the OpenBK wiki. After issuing the uartprogram command short the PIN 1 of the CB3S to GND on the FTDI.
Configuration 0. Disconnect the wires and plug in the device.
1. You'll see an OpenBK7231N_####### wifi network. Connect and configure the device to connect to your home network.
2. Find the device's IP in your home network. The devices don't seem to have a unique MAC address, if you have multiple, make sure to set unique names and MACs in the configuration.
3. Go to the web application and configure the PINs in the "Config" tab as follows:
4. In the "Logs" tab, run the command startdriver IR
Now when you point a remote at the device where the "DIY" is written you should see the IR Protocol and code inside the logs. To send IR commands, you can run IRSend <PROTOCOL>-<ADDRESS>-<COMMAND>-<REPEAT>, e.g. IRSend RC5-0x0-0x54-1 inside the console or also via MQTT cmnd/<device>/IRSend with payload RC5-0x0-0x54-1.
I am very happy to see that people are using our latest contribution from @btsimonh , the IR driver. Thank you for teardown. By the way, you can also send IR from a script that is saved in LittleFS file system. For example:
and then, if you execute "mysequence" command, it will run this script. Of course, it would start two separate script threads if executed twice in a short time, so you have to be aware of that. There will be soon an option to make new script thread kill old script thread, but that's TODO
I have a similar noname ir remote purchased on aliexpress. Flashed firmware OpenBK7231N. The remote control is working, receives and sends commands via the command line and Little FS scripts.
But it does not appear in MQTT, although it is connected in the log.
And how do I add a device to HA or at least call a script from LittleFS?