Matter Smart Plugs with Node Red

I have several DIY current sensors attached to my circuit breaker box using MQTT so I can monitor them in Node-Red. These I really like since I can use them on 120VAC or 240VAC, but I was looking for something so I didn’t have to make them, and that supported switching the power on and off in addition to the monitoring.
I have a couple of old Wemo smart/monitoring plugs. They’re kind of flakey and I have to use their App which is an even bigger kludge. I was doing a cursory search and found something called Matter which appears to be another open source protocol that can, but doesn’t require some Cloud connection and I found a set of plugs using Matter on a Black Friday deal.

I see there is a Matter plug-in for Node-Red. Does anyone have any experience using the plug-in with these plugs? I’m wondering can I get the usage data and control them into my flows in a similar manner as with MQTT?

There is this node in the Flows library...
Note: I don't have any Matter devices, so no idea how it works.

Going off on a tangent.
I use these mains plugs flashed,with Tasmota, to talk to/from Node-RED using MQTT.

https://www.aliexpress.com/item/1005008584169841.html
They report usage-data... V, A, W, kWh, power factor.

1 Like

+1 for Tasmota flashed smart plugs.

Once upon a time you could get almost any brand and flash Tasmota without opening up the case but no longer.

There are are a couple of brands that come pre-flashed: Localbytes in the UK and Athom elsewhere. I guess the iotorero plugs are Athom by another name.

I personally will not buy from Athom because a batch were delivered to the wrong address and stolen. Athom would not take responsibility, despite Evri taking a photo of the package on someone else's doormat.

Don't believe the assertion "The IoTorero plug arrives pre-flashed and pre-assembled, requiring no calibration for immediate use.". You definitely need to calibrate the power monitoring feature.

1 Like

It’s good to know there are alternatives to Matter in case these don’t work out. On sale, these Kasa plugs were about the same price at < $10US. I also need them in 120VAC here in the US vs your 220 in Europe versions. I see they also have 120 though. Although I don’t do Google, Apple Home or Amazon Alexa yet, this Matter works with them also if I need. Does the Tasmota standard work with those interfaces?

I use the @sammachin/node-red-matter-controller node which allows the Matter device to be controlled by Alexa & Google (plus Node-RED of course). I only have a Sonoff MiniR4 running on it at the moment but it works OK.

Edit: It requires Alexa or Google to register the device first (or whatever Apple use - probably)

PS Sam also has the @sammachin/node-red-matter-bridge which allows devices to be virtual Matter devices. This allows all my zigbee devices to be virtual Matter devices (again all showing in Google & Alexa)

I as well using the Matter-Modules from @sammachin and they work reliably since the node was released

I use it in Alexa and Apple environment

Hi Dave, I've got a lot of those devices which I also flashed with tasmota, and they've worked great using mqtt.

However, I understand that tasmota also give Matter support - Matter - Tasmota which should work with that ESP chip, although I haven't got around to trying it yet….

Until fairly recently Matter didn't have a standardised cluster for Energy Monitoring so devices were all using vendor propriatary implementations for that (the on/off part was standard)
I suspect these devices might be tp-link specific.

My Matter Controller nodes should be able to read them though but it might be a bit of a chore to figure it out as you'll just get some raw data without any documentation.

You might like to consider using Zigbee devices. I am switching over to those from flashed devices so that everything works out of the box.

I've read that IKEA are switching all their techie devices to Matter in the new year, and phasing out zigbee.

1 Like