Can I connect 230V to S1 and S2 on the SONOFF Mini?
User manual: http://dl.itead.cc/mini/MINI-user-manual%20V1.0.pdf
Can I connect 230V to S1 and S2 on the SONOFF Mini?
User manual: http://dl.itead.cc/mini/MINI-user-manual%20V1.0.pdf
Sonoff is cheap Cheese junk, and the very fact that you have to even ask this question is the canary in the coal mine.
They also cut corners on safety; this thing is Alibaba-cheap. The CE mark is forged; CE is a European company's good word that they self-certified. Meaningless coming from a Chinese company. CE compliance is the responsibility of the importer, who is you. (that's why retail shops won't touch Sonoff and you have to mail order it from eBay, Banggood or Amazon Marketplace). Dropshipping via Amazon's warehouse does not make Amazon the importer, since Amazon is not the seller (it's Marketplace).
Product safety regs are things like "don't catch on fire, don't make toxic smoke if you somehow do catch on fire, actually handle your rated voltage and amperage with sensible safety margins, fail gently if overloaded, and provide for an appropriate means of physical installation", and on that, the mini is even worse than the original, which at least tried a cheap Cheese version of a strain relief.
The inability to mount this unit safely and to any country's electrical code is a dealkiller.
What you can glean from random documentation is the S1 and S2 buttons are for a remote switch. You shunt them, or you do not. Presumably one side is 3.3V through a resistor, and the other side is an input on the chip. This would be on the LV side. Having that on the same header as mains is super sloppy and I'm sure not allowed in the UL White Book or any other standard.
Like they say, don't put power on them. They're not for power.
In fact, don't put mains power on any Sonoff. Ever.
At least until they produce something approved by an actual NRTL (and I've heard Sonoff is trying to get legit).
This is mandated by NEC 110.2 and 110.3, or your jurisdiction's equivalent.
You must also comply with all the other electrical codes regarding enclosures, wiring methods, manner of installation etc.
From the sales page:
To ensure safety of devices, please do not connect the wire with high current flowing to S1 and S2 wire connector, such as L and N wire.
the switch inputs on the sonoff mini must be treated as mains wiring, but they must not be connected to the mains (except by the internal connections inside the sonos mini).
Documentation on the internals is scant, but from the information I can find the switch inputs appear to go to an input of microcontroller that is fed from a non-isolated power supply. Hence the signal ground (not to be confused with safety ground) will likely be live with a pulsating DC voltage that has a peak value equivalent to the supply voltage.
Therefore