
I have a sonoff R2 (board revision 1.3). This means i have the following gpio PINs available:
3v3,G,RX,TX
The US-100 sensor (ultrasonic) can be powered with 3.3V and via UART. In order to get the distance, I need to send "0x55" via serial and receive a two byte long response (and do some maths afterwards).
This result should be published via mqtt after requesting via mqtt.
Some Details can be found here: https://bananarobotics.com/shop/US-100- ... sor-Module
Can this be archieved with espeasy? I have no experience with the firmware
