Monitoring non-smart devices 💡
Tags: homeassistant, automation, smarthome
Published: 2024-01-13 19:16:08

![](https://blog.disane.dev/content/images/2024/01/monitoring_non-smart-devices_banner-1.jpeg)

I show you how you can make normal devices smart in a relatively simple way in the article ☝️

---

For some time now, I have been trying to make my entire home smart and react to certain things or automate them. However, there are appliances in my home that are new but don't have smart functions. These include my washing machine and dryer, both from Samsung.

With both of them, I would like to receive a notification when the laundry is finished washing or drying.

💶

The following article contains ref links. If you buy something through this link, I get a small commission for it. Your price does not change and helps me to continue running this blog. All corresponding links are marked with the emoji on the left.

## Prerequisites 🔧

To make this work, you should already have a Home Assistant set up and running. You should also have so-called "smart plugs" in use. These are simply adapter plugs that are plugged in between the device and the socket and can be controlled via an app.

Here I can warmly recommend the smart adapter plugs from [Meross](https://www.amazon.de/gp/product/B08VDYXTP7?ie=UTF8&psc=1&linkCode=ll1&tag=disane-dev-21&linkId=5c95be71187609ccd135a8d9e0bfea0c&language=en%5FDE&ref%5F=as%5Fli%5Fss%5Ftl) 💶:

![](https://blog.disane.dev/content/images/2023/12/7eb29d7865468ec04e30f422ca896eb-1673261919406_1200x.webp)

These are available in a 4-pack at [Amazon](https://amzn.to/3RWDR6V)💶 for just under €41 (currently with an 18% discount, which means they only cost €33.80). I now have almost 14 of them in use:

![](https://blog.disane.dev/content/images/2023/12/IMG_0561.jpeg)

With this you can not only control devices, but also monitor the energy consumed in the energy dashboard:

![](https://blog.disane.dev/content/images/2023/12/image-43.png)

## Integration in Home Assistant

Integration is quite simple via the appropriate integration in Home Assistant:

[GitHub - krahabb/meross\_lan: Home Assistant integration for Meross devices![Preview image](https://opengraph.githubassets.com/81a1b63c6ec3ba21142ed2e48fef3ae6f0fbc1a31f94c5af79a39d13c209a2b4/krahabb/meross_lan)Home Assistant integration for Meross devices. Contribute to krahabb/meross\_lan development by creating an account on GitHub.](https://github.com/krahabb/meross%5Flan)

This integration means that Home Assistant no longer communicates with the devices via the Meross cloud, but directly via the network. Integration into the home network via the app is still necessary (but only once).

## The automation 🤖

Once the sockets are active in the network and integrated into Home Assistant, you can also create a new automation that measures the power consumption and sends a corresponding notification if it is above or below a threshold value (in this case 5W). In the `entity_id`, replace the sensors for `power` to match your sockets:

```yaml
alias: Device is ready ✅
description: Device is ready
trigger:
  - platform: numeric_state
    above: 5
    entity_id:
      - sensor.washing_machine_power
      - sensor.dryer_power
  - platform: numeric_state
    below: 5
    entity_id:
      - sensor.washing_machine_power
      - sensor.dryer_power
condition: []
action:
  - variables:
      device: "{{ trigger.entity_id }}"
      device_friendlyname: "{{ state_attr(trigger.entity_id, 'friendly_name') }}"
      device_state: "{% if trigger.below %}off{% else %}on{% endif %}"
      device_state_friendly: "{% if device_state == 'on' %}started{% else %}finished{% endif %}"
      device_state_icon: "{% if device_state == 'on' %}⏳{% else %}✅{% endif %}"
  - service: notify.notify
    data:
      title: >-
        {{ device_friendlyname }} is {{device_state_friendly}}
        {{ device_state_icon }}
      message: Have fun 😒
mode: single

```

That's basically it.

## Conclusion 💡

With the smart sockets from [Meross](https://www.amazon.de/gp/product/B08VDYXTP7?ie=UTF8&psc=1&linkCode=ll1&tag=disane-dev-21&linkId=5c95be71187609ccd135a8d9e0bfea0c&language=de%5FDE&ref%5F=as%5Fli%5Fss%5Ftl) 💶 it is quite easy to make devices that are otherwise not smart smart smart at low cost and integrate them into your smart home system (e.g. Home Assistant).I show you how you can make normal devices smart relatively easily in the article ☝️

---

If you like my posts, it would be nice if you follow my [Blog](https://blog.disane.dev) for more tech stuff.