Accéder au contenu principal


Affichage des articles du 2020

AVATTO S06 IR gateway compatible with OpenMQTTGateway

For this new post we will make compatible with OpenMQTTGateway; the BAKEEY IR remote on bangood or AVATTO S06 on Aliexpress (the links are affiliated).
From this discussion on Home Assistant forum I have deducted that the AVATTO gateways may be uploaded with a new firmware, so I bought 2 of them. Thanks to their pinout informations I was able to quickly get this device up and running with OMG.OverviewThe S06 is a compact IR bridge with FCC, CE and RoHS marks,you can find it for less than 15$. Here is some photos:

DisassemblyIt is not so easy to open, you will need a thin plate, insert it on the junction between the two box parts and do a lever effect at several locations.

We can see inside that the micro controller is a TYWE3S, the FCC datasheet  give us plenty of information:ESP82661mb flash50K RAMSo we may be able to flash it with an FTDI and upload OMG.
Here is the LED setup:

SONOFF MICRO USB switch review

I had the chance to test the sonoff micro (product given by itead), this device is an USB connected switch. You can control it from the Ewelink app and by the way power ON or OFF your USB devices. You can also program the start or the stop.

It can answer several use cases:
Restart your raspberry pi <4 if you are not at your home from a third party applicationRestart your ESP or ArduinoCut your smartphone power when it is chargedSwitch on or off devices powered by USB (mini lamp, mini fans...)The device is tiny but nevertheless be carefull it will not fit on all USB port environments.

The button enable to power it on or off without smartphone and to put into pairing mode.

The interesting stuff comes here, the device is rated for 5V 2.5A, it doesn't support Quick charge or power supply >5V. We see that the device support 2.4Ghz wifi as the other sonoff devices.

If we check the current consumption without device we can see that it is less than 0.1A.
If the Sonoff is disconnected from …