# Node-red to control a meross mss315 device locally

**URL:** <https://forum.ewelink.cc/t/node-red-to-control-a-meross-mss315-device-locally/94746>\
**Category:** Free discussion\
**Created:** [November 25, 2024, 11:15am UTC](https://forum.ewelink.cc/t/node-red-to-control-a-meross-mss315-device-locally/94746 "2024-11-25T11:15:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [November 25, 2024, 11:15am UTC](https://forum.ewelink.cc/t/node-red-to-control-a-meross-mss315-device-locally/94746/1 "2024-11-25T11:15:13Z")

</div>

Hello colleagues. I need help. How to configure a flow in Node-red to control a meross mss315 device locally. If possible, please provide a ready flow.

---

<div class="post-metadata">

**Author:** ![john.e.dixon](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/john.e.dixon/32/1626_2.png) [@john.e.dixon](https://forum.ewelink.cc/u/john.e.dixon)\
**Post date:** [November 25, 2024, 12:41pm UTC](https://forum.ewelink.cc/t/node-red-to-control-a-meross-mss315-device-locally/94746/2 "2024-11-25T12:41:15Z")

</div>

> [@ociepa.ekotox](#):
>
> flow in Node-red

I don´t have a Meross plug, and ignore its capabilities, but I assume it will be local, Matter, as is this Sonoff S60 wifi plug that I have. The flow for switching is an inject node that can be edited on/off while the energy values are retrieved using an inject node and saved to context and a debug node. I don´t know what you want to do with that, neither how you want to control but these will need wiring into your automations. Hope it works for the Meross,  
[flows.json](https://forum.ewelink.cc/uploads/short-url/1ICfl5oGhNZitgVDrYIQtLq1k8c.json) (6.7 KB)
