Is there an 'MQTT how to' for SmartThings

Have been looking at the Sonoff ZBMINIR2 but not sure there is any edge driver specifically available for this device. I note it has some settings which only seem available through MQTT, like detach mode.

Is there an introductory ‘how to’ anywhere for a SmartThings user looking to use MQTT ? Do I need to use some third party tool like MQTT Explorer ? Is the SmartThins hub an MQTT broker ? How would I send an MQTT message to put the ZBMINIR2 into detach mode as a SmartThings user ?

That sonoff device communicates using Zigbee, not MQTT. Detach mode is a custom Zigbee attribute configurable via a custom cluster (apparently it’s cluster 0xfc11 and the boolean attribute 0x0017, although there’s one more attribute, a bitmap 0x0019, related to that feature so maybe there’s more to it).

An Edge driver would need explicit code to read/write that attribute and expose it to SmartThings, maybe there’s a custom driver around or one that you could ask the developer to modify in exchange for a coffee.

Maybe you can use Mariano’s new tool to configure that attribute: (EDGE Driver-Mc). New Zigbee Device Config Mc driver

3 Likes

Hi there, did you have any success getting the device into detached mode, or did anyone follow up? the zbminir2’s detach mode is very promising, and such driver would be awesome. i can’t help since i have no experience at all coding, many people will be interested on this too

Sonoff knows how to write Edge Drivers:

You could try to convince them to provide a driver for this device. Writing a driver shouldn’t take longer than a few hours.

And if they had a nicely structured (with lazy loaded sub drivers) driver for all of their switches/relays, adding ST support for every new product would take less than an hour.

They should hire on of us for a month to do that and maybe for another month to guide them through the WWST process.

But that’s what’s most important for them:

1 Like