Sonoff Basic R2 or R3 DIY use for Windows based Home Automation
(last revised 2024-04-22)


R3 picture

Sample wirings shown below

What you can do with R3 in DIY mode and HttpPost.exe
  • A. Use it to turn a device on or off
  • B. Test to see if the device is on or off
  • C. Used in a circuit, test if the circuit is live or not
  • D. Used as a push button in any circuit [with board modification, see below]

What you can do with R2 and R3 [not in DIY mode] & eWeLink
  • A. Use it to turn a device on or off
  • B. Test to see if the device is on or off
  • C. Used in a circuit, test if the circuit is live or not
  • D. Used as a push button in any circuit [with board modification, see below]

In eWeLink , a device can be seen On or Off or not connected
Ping can also be used to see if it responds or not.


Note: an R3 in DIY mode becomes inaccessible from
eWeLink .

Both R2 and R3 DIY [in either mode] can be converted
 
Conversion of the board for use as a button

Convert to a button press [open garage or gate] wiring diagram



Vendor production
Sonoff Basic R3 Product overview
Guide for Setup and using the Device
Instructions for switching to DIY mode and using the device
How to use the HttpPost tool
Sample usage in a BAT file
Tool to operate the Device in DIY mode
Download Windows HttpPost.exe operating program
Download Windows HttpPost.zip operating program
Tool to reformat JSON files into a more readable format
Download Windows JSON.exe Converter tool
Download Windows JSON.zip Converter tool


Modes