We have an extensive library of various bOS configuration examples. Select your heating pump, AC, TV or almost any other device and import it to your smart building configuration. We also encourage all system integrators and DIYs to add their own examples to ComfortClick library.
Integration of Sonoff Basic relay and D1 dimmer in 'DIY mode' via HTTP driver.
Example allows us to control Sonoff BASICR3, RFR3, MINI relays and D1 dimmer. Mentioned devices must be in 'DIY mode'.
Relay:
Dimmer:
NOTE: to monitor Device state POST requests are sending periodically, in example Send Delay is 5 seconds. To establish connection, IP and DEVICE_ID should be entered (by default port number is 8081).
For all additional information about the connection and Sonoff API refer to SONOFF DIY Mode Overview at API documentation
November 26, 2023
How do I control a Sonoff Basic R2? Can you give me an example? Thank you very much.
Please login to post a comment.
We use cookies to personalize content, use live chat, provide social media features and to analyze our traffic. We also share information about your use of our site with analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.