Search found 1 match

by dcanogar
Saturday 10 March 2018 14:24
Forum: Zigbee
Topic: Xiaomi Doorbell
Replies: 2
Views: 2566

Re: Xiaomi Doorbell

Hi,


I found this Lua code that works for me:

commandArray = {}

-- sound values:
-- 10 = Doorbell
-- 20 = Knock
-- 30 = Hilarious
-- 40 = Alarm clock

sound = 10
volume = 80

if devicechanged['Timbre'] == 'Group On' then
commandArray['Xiaomi Gateway Volume']='Set Level '..tostring(volume ...