# Aeotech Micro Smart Switch 2nd Edition - how to get power usage?

**URL:** <https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177>\
**Category:** Bindings\
**Tags:** zwave1\
**Created:** [March 29, 2016, 2:52pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177 "2016-03-29T14:52:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [March 29, 2016, 2:52pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/1 "2016-03-29T14:52:55Z")

</div>

I have installed the above z-wave switch and the actually switching of it is working pretty well! It would be nice to have the power reading (so I can see when a bulb goes for example).

This is my bindings:

Switch Hall\_Main\_Light “Main Hall Light” (Hall) { zwave=“4:command=switch\_binary”}

Number Hall\_Main\_Light\_Power “Main Hall Light Power [%.2f W]” { zwave=“4:command=meter,meter\_scale=E\_W,refresh\_interval=60” }

Have I missed something obvious?

Ta!

---

<div class="post-metadata">

**Author:** ![KjetilA](https://community.openhab.org/user_avatar/community.openhab.org/kjetila/32/841_2.png) [@KjetilA](https://community.openhab.org/u/KjetilA)\
**Post date:** [March 30, 2016, 8:17pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/2 "2016-03-30T20:17:48Z")

</div>

I have a couple of these devices that seems to work just fine.

My setup (in the items file) is as follows:

```
Switch S01D006_sSwitch { zwave="12:command=basic" autoupdate="false" }
Number S01D006_nPower { zwave="12:command=meter, meter_scale=E_W" }
Number S01D006_nEnergy { zwave="12:command=meter, meter_scale=E_KWh" }
Switch S01D006_sReset { zwave="12:command=meter, meter_reset=true" }

```

Note! The \_sReset switch is used for resetting (setting to zero) the internal “energy meter” in the device.

Your items setup seems to be quite similar, apart for the refresh\_interval statement, but I don’t think that should matter.

What does your sitemap look like?

I just realized that you are not really saying what is not working out for you (if anything), 🙂 Can you clarify what you expect to happen and what does (or does not) happen?

---

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [March 30, 2016, 8:33pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/3 "2016-03-30T20:33:55Z")

</div>

Sorry the power usage just stays as “-” so it never gets set. I wonder if it could be the reset thing? What exactly does that do?

I’m decorating my office at the minute so it’s tricky to get the sitemap, but it’s just a switch for the actual binary switch, and a text item for the power usage.

---

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [March 30, 2016, 8:49pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/4 "2016-03-30T20:49:16Z")

</div>

Why do you have your switch as a basic thing with auto update set to false?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [April 3, 2016, 12:03pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/5 "2016-04-03T12:03:17Z")

</div>

I wonder if this explains the issues I’m having:

2016-04-03 12:58:52.536 [WARN] [.b.z.i.c.ZWaveConverterHandler] - No command class found for item = Hall\_Main\_Light\_Power, command class name = meter, using 0 refresh interval.

---

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [April 3, 2016, 7:07pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/6 "2016-04-03T19:07:18Z")

</div>

I’m wondering if the fact that the association groups don’t appear to have any group members could be causing the issue?

![](https://community-openhab-org.s3-eu-central-1.amazonaws.com/original/2X/a/a0297014e6fab07a4261dc23d3f9ae7a372aa6bf.PNG)

Could that be the problem?

---

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [April 3, 2016, 7:08pm UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/7 "2016-04-03T19:08:09Z")

</div>

Do you have Habmin set up? If so can you see if you have any group members in your association groups?

---

<div class="post-metadata">

**Author:** ![greg](https://community.openhab.org/user_avatar/community.openhab.org/greg/32/1754_2.png) [@greg](https://community.openhab.org/u/greg)\
**Post date:** [April 4, 2016, 6:19am UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/8 "2016-04-04T06:19:50Z")

</div>

Are you 100% sure you have the “smart” version? Its only the “smart” version that has the powermonitoring feature.

I bought some off ebay which were marked “smart” by the seller, but arrived as just the base version… got some $ back but a bit annoyed.

---

<div class="post-metadata">

**Author:** ![rossdargan](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rossdargan](https://community.openhab.org/u/rossdargan)\
**Post date:** [April 4, 2016, 6:37am UTC](https://community.openhab.org/t/aeotech-micro-smart-switch-2nd-edition-how-to-get-power-usage/9177/9 "2016-04-04T06:37:18Z")

</div>

This is the one I bought:L [Micro Switch (2nd Edition) : Amazon.co.uk: DIY & Tools](http://www.amazon.co.uk/Diy-Aeotec-Micro-Switch-Edition-DSC26103-ZWEU/dp/B00JGSDJUA?ie=UTF8&psc=1&redirect=true&ref_=oh_aui_detailpage_o04_s00)

To be fair it doesn’t say smart or anything about power monitoring 😕

That’s what it will be. Thats a shame ☹

Thanks Greg!
