S-Controller version 1.1 released December 21, 2018

S-Controller is a vb.net open source project for controlling a Sonoff 4CH Pro R2 flashed with Tasmota-Sonoff firmware.

For instructions on how to setup and use S-Controller please watch the video below.

If you haven't yet watched the video, you may be asking yourself "Why would I use a Windows app to control my Sonoff when I can simply use the Tasmota web interface?". Well, because the S-Controller lets you do more. For example you can send a series of custom commands to the Sonoff - like switching a relay on and off automatically three times in quick succession. Additionally, if you're familiar with Visual Studio programming you can make a copy the code and build upon it for your own purposes.

S-Controller works with your Sonoff device directly, but can also optionally make use of an MQTT server. Using a MQTT server allows buttons on S-Controller's main window to be updated in real time when a button on the Sonoff is pressed. Not using the MQTT server just means you need to wait for a period of time, which you set in S-Controller Settings window, for that to happen. Myself I use Eclipse Mosquitto as my MQTT software. So far I've set it up on three different hardware platforms for testing, and its worked quite reliably on each. The platforms I used were a Raspberry Pi, a Windows laptop, and a QNAP TS-251A (running Mosquitto in Container Station). In the end I settled on the QNAP because it runs 7/24 and need less attention than the Windows laptop. However, the Pi would have been an equally good choice.

For the time being S-Controller has been developed to work with the Sonoff 4CH Pro R2 only. As time permits I may expand it to support other devices; and in fact it may already work with other devices, I just haven't tested it with any yet. The whole project has been a bit of a leaning experience for me - while I have released several other programs (see bottom of this web page) this is my first open source one, and I'm happy to share what I've built with you.

You're welcome to use S-Controller for free on as many computers as you like!

Click here to download the S-Contoller setup program for Windows.

If you're interested in its source code you can find it here.


info.s-controller@rlatour.com
Copyright 2018 Rob Latour


Privacy and Cookie Statement

Other great software by Rob Latour:
A Form Filler   A Ruler for Windows   CallClerk   Cast   Concentration  FixMyLocation  MyArp   Push2Run  Reporting for Rackspace   SetVol   UDPRun