when
Channel 'mqtt:topic:be6e02f3:Cube:action' triggered
then
I’m not 100% sure if that will make a difference but it’s what I use and it works so worth a try. Also what is triggered? You may need to add that after the word triggered like below where START is used.
when
Channel 'astro:sun:local:civilDusk#event' triggered START
then
Thank you,friends. I used item based driven rules and this work fine for me.
rule "Zigbee2Mqtt Cube action"
when
Item Cube_Action received update
then
logError("xiaomicube", "cube action fired")
switch(Cube_Action.state.toString) {
case "slide": {
Sorry, I should have been clearer when asking: I don’t get the ITEMS part specifically.
I understand how “thing” references mqtt channel.
E.g. zigee2mqtt//… etc
But having defined things, why does one need to reference items like this:
“mqtt:topic:broker:0x00158d00015aa9b5:click”
And sometimes like this:
“mqtt:topic:mosquitton:osramrgbbulb:color”
?
Can any one recommend me good hardware to get started with zigbee2mqttt. It some of the hardware sold on Amazon has bad ratings. That’s why I wanted to ask for advice which hardware to get
Or from here. If you want a a device that in my case covers 4 floors with battery devices and without a repeater. And not like the CC2531 that hardly reached the devices on the same floor.