Menu

Wiring a GemeOpen MQTT smart plug into Home Assistant in 10 minutes
πŸ“°

Wiring a GemeOpen MQTT smart plug into Home Assistant in 10 minutes

DEV Community: tutorialΒ·GemeOpenΒ·11 days ago
#hDF7VSKd
#devtotutorial#devto#dev#device#home
Reading 0:00
15s threshold

Wiring a GemeOpen MQTT smart plug into Home Assistant in 10 minutes

Most "smart" plugs assume you want an app. I don't want an app. I want a device that connects to the broker I already run, publishes JSON I can read, and never phones home.

This is a walkthrough for the GemeOpen GSPM1B-UK (a UK Type-G plug with energy metering, ESP8266 inside), from unboxing to a working Home Assistant switch + 4 sensors. Everything below is real config I copied out of my own configuration.yaml .

If you've ever flashed Tasmota just to escape a walled garden, this is the same outcome with less swearing β€” the firmware is already open.

TL;DR β€” what the device actually speaks

Protocols: MQTT, TCP, HTTP (no gateway, no hub)

Payload: plain JSON, one object per command

Turn the relay on:

{ "key" : 1 , "type" : "event" }

Enter fullscreen mode

Exit fullscreen mode

It reports back: voltage, current, power and cumulative kWh on an interval you set (5s to 24h)

Response time: sub-50ms on a local broker

Cloud: optional and…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.