Project: 4.0 — Curious Matter

CurMttr :: Act I :: How to remotely switch lights via Terminal using MiJia Smart Socket

Task: We have a bunch of accelerometers connected to a Raspberry Pi. An audience is going to interact with the sensors and once a certain event occurred we have to remotely switch a neon sign and/or luminescent lamps (powered by wall sockets) on and off. Solution: Probably, the easiest way to do that is to buy MiJia Smart Sockets and hack them to be able to control them from the Terminal on Raspberry Pi. So I have bought a socket: Make sure to get a standard version, not a Zigbee, because it has to work without Xiaomi Multifunctional Gateway. Then I downloaded Hi Home app… More