(NEW RELEASE) Version 5 of the Edge Beta Driver: Zigbee Switch Mc

(NEW RELEASE) Version 5 of the Edge Beta Driver: Zigbee Switch Mc

As this driver has many users I have put it in a new separate thread
Link to original thread:
https://community.smartthings.com/t/beta-zigbee-edge-driver-compatible-with-lidl-ecosmart-osram-smartthings-others/231689?u=mariano_colmenarejo

Improvements:

At the request of @milandjurovic71 , one of his many good ideas, Add to devices a simulated meter of power and energy consumption.

(I will implement it in a few days in Zigbee Light Multifunction Mc too)

  • Added Capability PowerMeter:
    • Displays the rated power entered in preferences, when device is On
    • The standard graph shows the consumption in each hour or day
  • Added Capability EnergyMeter:
    • Displays the energy consumption accumulated during the device’s operating time (On)
    • The Standard Graph shows the accumulated Energy meter by hour or days of the last month
  • Added Custom Capability to Reset Energy Meter Accumulated Value:
    • The switch always gets into On state (blue)
    • When device is first installed, it displays the installation date.
    • when you run a Energy reset it displays the current date as the last reset

  • Added in Preference the setting to enter the Rated Power in W of the load connected to the device:
    • Power range between 0 w and 4000 w
    • If 0 w is entered , the power calculation and power and Energy consumption function is disabled. The accumulated values are not deleted.

As the driver has a new Capabilities, profiles and changes in preferences the update will not be done automatically .

To facilitate the update, I am going to change driver version 4.0 to the name Zigbee Switch Mc- (OLD).

I will publish the new version 5 with the original name Zigbee Switch Mc

In this way, your driver installed will renamed with (OLD), indicating that there is a new version available and you can install the new version with a driver change whenever you want.

Devices supported at (Feb/2)

  • Zigbee Switch Mc:

  • With Functions for optional:

  • Random-ON & OFF
  • Change Profile Icon
  • Simulated Power and Energy Meter
  • id: "LIDL Plug/TS011F"
    deviceLabel: Lidl Plug
    manufacturer: _TZ3000_kdi2o9m6
    model: TS011F
    deviceProfileName: single-switch-plug
  • id: "MOES/MS-104Z "
    deviceLabel: Moes Switch
    manufacturer: _TZ3000_zmy1waw6
    model: TS011F
    deviceProfileName: single-switch
  • id: "SAMOTECH/MS-104Z"
    deviceLabel: Samotech Switch
    manufacturer: _TYZB01_iuepbmpv
    model: TS0121
    deviceProfileName: single-switch
  • id: "3A SMart/Switch "
    deviceLabel: 3A SMart Switch
    manufacturer: 3A SMart Home DE
    model: LXN56-LC27LX1.3
    deviceProfileName: single-switch
  • id: "eWeLink/Switch"
    deviceLabel: eWeLink Plug
    manufacturer: eWeLink
    model: SA-003-Zigbee
    deviceProfileName: single-switch-plug
  • id: "eWeLink/SA-003"
    deviceLabel: eWeLink Plug
    manufacturer: eWeLink
    model: SA-003-Zigbee
    deviceProfileName: single-switch-plug
  • id: "NET2GRID/SP31"
    deviceLabel: NET2GRID Switch
    manufacturer: NET2GRID
    model: SP31
    deviceProfileName: single-switch-plug
  • id: "3A Smart/LXN"
    deviceLabel: 3A Smart Switch
    manufacturer: 3A Smart Home DE
    model: LXN-1S27LX1.0
    deviceProfileName: single-switch
  • id: "Cloud Even/Switch"
    deviceLabel: Cloud Even Switch
    manufacturer: _TYZB01_ncutbjdi
    model: TS0003
    deviceProfileName: single-switch
  • id: "Vimar/Switch"
    deviceLabel: Vimar Switch
    manufacturer: Vimar
    model: On_Off_Switch_v1.0
    deviceProfileName: single-switch
  • id: "SONOFF/BASICZBR3"
    deviceLabel: SONOFF Switch
    manufacturer: SONOFF
    model: BASICZBR3
    deviceProfileName: single-switch
  • id: "SZ/Switch"
    deviceLabel: SZ Switch
    manufacturer: SZ
    model: Lamp_01
    deviceProfileName: single-switch
  • id: "IKEA/Plug"
    deviceLabel: IKEA Plug
    manufacturer: IKEA of Sweden
    model: TRADFRI control outlet
    deviceProfileName: single-switch-plug
  • id: "TUYATEC-ymxzzux6/Switch "
    deviceLabel: TUYATEC Switch
    manufacturer: TUYATEC-ymxzzux6
    model: TS0011
    deviceProfileName: single-switch
  • id: "TZ3000_3wkqni6o/Switch"
    deviceLabel: TZ3000 Switch
    manufacturer: _TZ3000_3wkqni6o
    model: TS0011
    deviceProfileName: single-switch
  • id: "TUYATEC-j5khr9vo/Switch"
    deviceLabel: TUYATEC Switch
    manufacturer: TUYATEC-j5khr9vo
    model: TS0011
    deviceProfileName: single-switch
  • id: "TZ3000_hktqahrq/Switch"
    deviceLabel: TZ3000 Switch
    manufacturer: _TZ3000_hktqahrq
    model: TS0001
    deviceProfileName: single-switch
  • id: "LDS/Plug"
    deviceLabel: LDS Plug
    manufacturer: LDS
    model: ZB-ONOFFPlug-D0005
    deviceProfileName: single-switch-plug
  • id: "SONOFF/01MINIZB"
    deviceLabel: SONOFF Switch
    manufacturer: SONOFF
    model: 01MINIZB
    deviceProfileName: single-switch
  • id: "Switch"
    deviceLabel: Switch
    manufacturer: 麦克力特
    model: 55e0fa5cdb144ba3a91aefb87c068cff
    deviceProfileName: single-switch
  • id: "innr/Plug"
    deviceLabel: innr Plug
    manufacturer: innr
    model: SP 222
    deviceProfileName: single-switch-plug
  • id: "LUMI/l0acn1"
    deviceLabel: Aqara Switch
    manufacturer: LUMI
    model: lumi.switch.l0acn1
    deviceProfileName: single-switch
  • id: "Third Reality/3RSP019BZ"
    deviceLabel: Third Reality Plug
    manufacturer: Third Reality, Inc
    model: 3RSP019BZ
    deviceProfileName: single-switch-plug
  • id: "_TZ3000_00mk2xzy/TS011F"
    deviceLabel: Lidl Plug
    manufacturer: _TZ3000_00mk2xzy
    model: TS011F
    deviceProfileName: single-switch
  • id: "LXN59-1S7LX1.0/Switch"
    deviceLabel: Zemismart Switch
    manufacturer: 3A Smart Home DE
    model: LXN59-1S7LX1.0
    deviceProfileName: single-switch
  • id: "FeiBit/FNB56-ZSW01LX2.0"
    deviceLabel: FeiBit Switch
    manufacturer: FeiBit
    model: FNB56-ZSW01LX2.0
    deviceProfileName: single-switch
  • id: "_TZ3000_oiymh3qu/TS011F "
    deviceLabel: LoraTap Switch
    manufacturer: _TZ3000_oiymh3qu
    model: TS011F
    deviceProfileName: single-switch
  • id: "IKEA/TRADFRI on/off switch"
    deviceLabel: IKEA on/off switch
    manufacturer: IKEA of Sweden
    model: TRADFRI on/off switch
    deviceProfileName: single-switch
  • id: "_TYZB01_phjeraqq/Switch "
    deviceLabel: TS0001 Switch
    manufacturer: _TYZB01_phjeraqq
    model: TS0001
    deviceProfileName: single-switch
  • id: "_TZ3000_fgkrj3bi/Switch"
    deviceLabel: TS0011 Switch
    manufacturer: _TZ3000_fgkrj3bi
    model: TS0011
    deviceProfileName: single-switch
  • id: "Jasco-43076/Switch"
    deviceLabel: Jasco Switch
    manufacturer: Jasco Products
    model: 43076 Sin
    deviceProfileName: single-switch
  • id: "_TZ3000_5f43h46b/TS011F"
    deviceLabel: TZ3000 Plug
    manufacturer: _TZ3000_5f43h46b
    model: TS011F
    deviceProfileName: single-switch
  • id: "_TZ3000_ark8nv4y/Switch"
    deviceLabel: TZ3000 Switch
    manufacturer: _TZ3000_ark8nv4y
    model: TS0001
    deviceProfileName: single-switch
  • id: "eWeLink/SWITCH-ZR02-1"
    deviceLabel: eWeLink Switch
    manufacturer: eWeLink
    model: SWITCH-ZR02-1
    deviceProfileName: single-switch-plug
  • id: "Jasco/43076/Switch"
    deviceLabel: Jasco 43076 Switch
    manufacturer: Jasco Products
    model: 43076
    deviceProfileName: single-switch
  • id: "_TZ3000_yl3zuyaw/Switch"
    deviceLabel: TZ3000 Switch
    manufacturer: _TZ3000_yl3zuyaw
    model: TS0001
    deviceProfileName: single-switch
  • id: "_TZ3000_qmi1cfuq/Switch"
    deviceLabel: TZ3000 Switch
    manufacturer: _TZ3000_qmi1cfuq
    model: TS0011
    deviceProfileName: single-switch
  • id: "TUYATEC-dp5y39af/TS0001"
    deviceLabel: TUYATEC Switch
    manufacturer: TUYATEC-dp5y39af
    model: TS0001
    deviceProfileName: single-switch
  • id: "_TZ3000_tqlv4ug4/Switch"
    deviceLabel: TUYATEC Switch
    manufacturer: _TZ3000_tqlv4ug4
    model: TS0001
    deviceProfileName: single-switch

Everything is tested, in my devices or other user devices
This is the invitation link to the channel:

SmartThings. Add a little smartness to your things.

8 Likes

Using IFTTT, virtual switch and automation, Power consumption can be reset on specific date

@Mariano_Colmenarejo
Excellent work and thank you Mariano, is there a way to aggregate the energy useage of devices ?

The ideal way would be to have the ability to add a new service on the (life) tab, ST already have there energy useage service but it is of no use, if a new service could be created that gives more flexibility for data collation and usefull results such as total kwh / costs of collated driver totals

Is any of this possible ?

1 Like

To collect data from various devices, I think it would have to be done to a smartApp, which obtains data from the api.

In that I have no idea how to make it out of groovy.

Milan was looking to see if lifestyle smart energy could collect the data as driver use stock capabilities.

In Spain it is not available and I do not know how it works.

It was worth an ask, needs move faster than the main developers can take notice, have zoom meetings and send emails

The pace of development with ST is less than agile leaving the wholly grail of home power management a continued dream

@fido,

Here in Spain we all users already have smart meters installed, internet connected, and electric companies have applications where you can see:

  • Daily consumption by hours and by tariff sections. We have 3 daily rates: peak, valley and flat.

  • Consumption by monthly section.

  • Consumption by yearly or personalized sections

  • They can be data downloaded in excel, csv format and taken to another application that calculates the invoice with the electriciti price that it had each day and each hourly section.

With this you know perfectly what you are consuming in each section and reprogram it to the cheapest period.

I don’t think smartthings can give so much information.

These are some screenshots, they can also be translated into another language :grinning_face_with_smiling_eyes:

In the UK the Stupid smart meter rollout has been a disaster, the meters give no usefull information, totals for the day but what good is that at controlling devices consumption

And that only works if you have a Smets2 meter, however if you change supplier your existing meter might work with the next supplier and it might not, if you have a Smets1 meter no supplier will change the meter as the government has tried to change the system where Smets1 becomes enrolled but that has been curtailed due to multiple energy suppliers going bust

The whole smart meter rollout has been an expensive outdated disaster

it is very unusual for any UK resident to easily access there data and even if it was possible it is totals which does not help with limiting expensive to run devices

Recently SmartThings introduced smart app SmartThings Energy, however i don’t see data aggregation for this devices, and on the app text states add appliances. Maybe it’s only meant for Samsung’s appliances.

It does have potential, looking at the screens, however it is not aggregating this data.


Maybe someone from SmartThings side can help with this?
@nayelyz is there any way you can find out, if this app can be used for collecting data from non-appliances?

Although available to some of us (but totaly flawed, short sighted and useless) the energy app/service seems aimed at the Korean Market, to be honest all the services seem so niche I would not be surprised if they were all developed for Korea

Yup, Samsung only, which is my point, in Korea with a different culture, smaller properties it is easy to understand the Samsung only device selection but it fails to allow flexability for multi national use for different brands and cultures

What could be simpler, add a smart plug with or without power sense, add the wattage of the device if not power sense, all device power useage fed into a smart app/service where you add your own unit cost, all data could then be collated into multi national useful information

Millions of customers world wide are being hit by an energy crisis, the ability to see in detail your costs and control those costs is absolutely crucial

Is it that the Korean owners are short sighted or the American side which to be perfectly frank cares little for anything outside of the US that is failing to address what COULD be a game changer… who knows !

Or if US / Korean citizens had to pay upward of $350 per month for home energy, would useful power useage and reactive control become available ?? You can bet your bottom Euro it would

A Smart app/home should be able to estimate
Current total power useage
Current total power cost
Current highest lowest power useage device
Estimate weekly monthly costs based on history
Advise on device run times to save energy
Have the ability to know when cheaper rates are available and advise of courses of action
Corralate a rooms energy consumption
And NOT with those hard to read graphs that’s have taken up residence in the ST app, proper usefull easy to read list that react to changes

Items like that create a Smart app/home

Hi Mariano

I seem to have a issue with this plug. I had to delete them and rescanned and they paired using the Zigbee Switch Power MC.


It’s now not showing any power usage.
This worked with the Zigbee switch power MC - (old) but that driver seems to missing from your drivers.

Thanks

Did you clear the cache? This has a new capability.
Don’t have the - (OLD) in your Hub?
Do you want me to publish it for you to try?

I still had the old one which I have deleted.
I have now switched them to the new driver and all ok now.

1 Like

In the US power is cheaper and at least I’m my area we do NOT have smart metering.

1 Like

@milandjurovic71, @fido

Good and bad news

Power and energy events can be captured in a google sheet with the smart app simple event logger.
With this you can perform calculations by device, periods, totals …

The bad news is that this app is groovy.

Date/Time Device Event Name Event Value Description
30/12/2021 19:19:58 Lidl Plug energy 0.06785 0.06785 kWh
30/12/2021 19:19:55 Lidl Plug power 150 150 W
30/12/2021 19:19:52 Lidl Plug energy 0.067725 0.067725 kWh
30/12/2021 19:19:52 Lidl Plug power 0 0 W
30/12/2021 19:16:33 Puerta Sotano temperature 14.3 14.3 C
30/12/2021 19:16:11 Termostato temperature 20 20.0 C
30/12/2021 19:14:54 Sensor Mov-3 temperature 16 16.0 C
30/12/2021 19:14:41 Lidl Plug energy 0.06664166667 0.066641666666667 kWh
30/12/2021 19:09:24 Lidl Plug energy 0.06593333333 0.065933333333333 kWh

According to the official page, SmartThings Energy is not used only for Samsung Appliances but I don’t know the requirements (capabilities, etc.) that devices must meet to show data there.

@SamsungZell, do you know something about that? Thanks!

1 Like

According to that page, no plugs are mentioned, only appliances.

If SmartThings allows other hub connected devices to be added that would be great, and to open this to other countries, too.

Not only open it to other devices but allow a device to have a virtual purpose

A Smart plug that is NOT power sense to have the option for the addition of

  1. Power of the device attached
  2. A virtual purpose, a plug or pocket socket to take on a device type… ie, washing machine, dishwasher, air fryer, fridge freezer, lighting type, TV etc

This will then enable the existing but currently useless energy service/groovy app to recognise and offer appropriate details and advice as it does with official integration from Samsung appliances

The bones are there, the service just needs to be expanded not slightly but fully to encompass virtual finger prints

Possible issues can be devices that draw power which greatly vary between the devices off state and running, (devices that go into standby)
Ie. Washing machine etc
Instead of a non power sense plug use a power sense plug and allow it to defined virtually as a washing machine ( virtual fingerprint) etc

But for other devices that do not vary
Ie. Lighting
on off only which uses a fixed power draw once on with no standby, a simple non power sense plug could be utilised, off = 0watts on = user defined and allow it to be defined as the item it is plugged into

Samsungs own promises…

"PlanetFirst”

Our slogan incorporates Samsung Electronics’ determination and action to put Earth and the environment. Samsung Electronics laid the foundations for Eco-management as a philosophy for the 21st century in the Samsung Environmental Declaration in 1992. Since then, we have gone beyond mere passive adherence to environmental regulations and laws. We have put Eco-management into action, offering our customers eco-friendly solutions and leading the way to a sustainable future. A healthy environment is essential to our future.

Saving power and the environment fits with the Samsung ethos… the question is, how commited are they ?

Hey there! Happy to clear up any confusion, upon adding the Smart Things Energy service it advises that the requirements to use are Samsung home appliances.

It allows you to manage the energy usage of your Samsung Home Appliances electricity usage to save energy with data available in monthly, weekly, daily, and hourly reports to allow you to determine which devices are using the most energy and what time they are using it.

@milandjurovic71, is correct plugs are not included.

Only Samsung Home Appliances like the ones mentioned in the above post: Air Conditioners, Washer, Dryer, Dishwasher, Air dresser, Air Purifier, Vaccum cleaners and select family hub refrigerators.

I hope this message finds you well!

^SamsungZell

@SamsungZell

Can you clarify the requirements please as the official page does appear to suggest different

Quote from official product page
“not just of your Samsung appliances but of your entire home”

This seems to strongly suggest other products in the home that are not Samsung

2 Likes