How to safely control a "Dangerous Power Grid" with your IoT device.
It is dangerous to handle power lines without care.
If you connect an IoT device or microcomputer to a 100-200V power line, it will burn instantaneously. This is a basic understanding of how to safely connect IoT devices.