Hue dimmer switch - Shims device

Posted on
Fri Jun 12, 2020 8:06 am
siclark offline
Posts: 1333
Joined: Jun 13, 2017
Location: UK

Hue dimmer switch - Shims device

Hi Joe,

I am wondering if you could help with me debugging my Shims device. I have set it up just as I did the Aqara buttons and I see it updating on the MQTT connector device, and the MQTT topic component match trigger fires when I press a button, so it all appears to be working.

From the connector device, it shows the payload as
Code: Select all
{"battery":100,"linkquality":47,"counter":1,"brightness":255,"action":"on-press","duration":0,"elapsed":4126935,"last_seen":"2020-06-12T13:42:01.057Z"}


Screenshot 2020-06-12 at 15.08.24.png
Screenshot 2020-06-12 at 15.08.24.png (90.15 KiB) Viewed 94 times

Screenshot 2020-06-12 at 15.03.46.png
Screenshot 2020-06-12 at 15.03.46.png (25.39 KiB) Viewed 97 times


Above is the device I have created, and it updates as I press the buttons, so all good there.

My trouble is that this trigger never fires.

Screenshot 2020-06-12 at 15.05.33.png
Screenshot 2020-06-12 at 15.05.33.png (70.54 KiB) Viewed 97 times


I have been round in so many circles and recreated everything, but same thing.

Posted on
Fri Jun 12, 2020 8:10 am
FlyingDiver offline
User avatar
Posts: 4306
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Hue dimmer switch - Shims device

The state is 'action'. The value of that state is 'on-press'. So change that field to 'action' and then put in a condition for 'action' == 'on-press'.

That field is there to avoid errors when a state isn't present at all.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Jun 12, 2020 8:16 am
siclark offline
Posts: 1333
Joined: Jun 13, 2017
Location: UK

Re: Hue dimmer switch - Shims device

I have been back to my working triggers on other devices so many times, but never spotted that. Thank you. The Hue dimmer is also working now.

Still got a few holes in my zigbee mesh, but getting some Ikea mains sockets to patch those.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest