sample script AN158 Power Meter

Moderator: leecollings

Post Reply
superhuub
Posts: 1
Joined: Tuesday 27 September 2016 17:50
Target OS: Linux
Domoticz version:
Contact:

sample script AN158 Power Meter

Post by superhuub »

Hello,

I am a bit new to programming with lua. There are examples but I have not found one for this:

I have an Everspring Switch with power meter (AN158). This is working as expected with z-wave. Now I would like to have a lua script which triggers a commandArray when for example the powermeter reaches an svalue above 40. But it does not work because the svalue reads out with the syntax 86.0

Does anybody have an example?

Many thanks in advance,
Huub.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest