This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT Client app
#68
Hi,

I have a Zigbee bridge that sends MQTT topics from devices, which I process on LM. In one particular case, I want to connect two devices — a button and a relay — so that one can switch the other. I’ve created a mapping, and in the script for the button, I write to the group address (GA) that is mapped to the relay.

However, this action doesn’t work (i.e. triggering a mapping rule from within another mapping rule). I suspect this is to prevent processing loops.

Is there a way to make this work without creating a proxy GA for the button and using an event script to write to the relay GA?

Example config in MQTT Client:
zigbee/relay (on/off) -> 1/0/0 (bit)
zigbee/relay/set (on/off) <- 1/0/0 (bit)
zigbee/button (single/double) -> if (action=="single") then grp.write('1/0/0', true) end
Reply


Messages In This Thread
MQTT Client app - by Daniel - 10.09.2024, 14:12
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 08:58
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 09:50
RE: MQTT Client app - Beta testing - by admin - 23.09.2024, 10:04
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 10:41
RE: MQTT Client app - Beta testing - by myg - 23.09.2024, 12:50
RE: MQTT Client app - Beta testing - by myg - 01.10.2024, 09:37
RE: MQTT Client app - Beta testing - by admin - 01.10.2024, 12:53
RE: MQTT Client app - Beta testing - by myg - 01.10.2024, 13:11
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 08:18
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 08:18
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 08:29
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 08:40
RE: MQTT Client app - Beta testing - by AEK - 02.10.2024, 08:48
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 09:19
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 12:58
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 13:00
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 13:07
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 13:08
RE: MQTT Client app - Beta testing - by cekca - 02.10.2024, 13:11
RE: MQTT Client app - Beta testing - by admin - 02.10.2024, 13:37
RE: MQTT Client app - Beta testing - by admin - 11.10.2024, 10:52
RE: MQTT Client app - Beta testing - by myg - 14.10.2024, 08:05
RE: MQTT Client app - by admin - 16.10.2024, 07:46
RE: MQTT Client app - by myg - 17.10.2024, 12:13
RE: MQTT Client app - by admin - 17.10.2024, 12:36
RE: MQTT Client app - by Snoolik - 06.11.2024, 15:10
RE: MQTT Client app - by antony.19 - 04.12.2024, 23:08
RE: MQTT Client app - by admin - 05.12.2024, 09:49
RE: MQTT Client app - by antony.19 - 05.12.2024, 18:33
RE: MQTT Client app - by admin - 11.12.2024, 10:18
RE: MQTT Client app - by LKBA - 16.01.2025, 08:23
RE: MQTT Client app - by admin - 16.01.2025, 14:01
RE: MQTT Client app - by LKBA - 16.01.2025, 14:09
RE: MQTT Client app - by admin - 16.01.2025, 14:10
RE: MQTT Client app - by myg - 16.01.2025, 19:01
RE: MQTT Client app - by admin - 17.01.2025, 07:54
RE: MQTT Client app - by myg - 19.01.2025, 16:57
RE: MQTT Client app - by Pierluigi - 28.03.2025, 12:59
RE: MQTT Client app - by Daniel - 28.03.2025, 13:02
RE: MQTT Client app - by Pierluigi - 28.03.2025, 13:03
RE: MQTT Client app - by admin - 28.03.2025, 13:03
RE: MQTT Client app - by admin - 28.03.2025, 13:11
RE: MQTT Client app - by Pierluigi - 28.03.2025, 13:14
RE: MQTT Client app - by tomnord - 24.04.2025, 12:09
RE: MQTT Client app - by admin - 24.04.2025, 12:25
RE: MQTT Client app - by tomnord - 27.05.2025, 13:41
RE: MQTT Client app - by tomnord - 24.04.2025, 13:09
RE: MQTT Client app - by admin - 24.04.2025, 13:10
RE: MQTT Client app - by tomnord - 25.04.2025, 09:47
RE: MQTT Client app - by admin - 25.04.2025, 09:52
RE: MQTT Client app - by admin - 27.05.2025, 13:47
RE: MQTT Client app - by jmir - 30.05.2025, 16:07
RE: MQTT Client app - by admin - 02.06.2025, 08:21
RE: MQTT Client app - by jmir - 11.06.2025, 14:11
RE: MQTT Client app - by jmir - 13.06.2025, 07:00
RE: MQTT Client app - by admin - 13.06.2025, 07:39
RE: MQTT Client app - by tomnord - 17.06.2025, 09:14
RE: MQTT Client app - by admin - 17.06.2025, 10:08
RE: MQTT Client app - by batistacaceres - 19.06.2025, 08:24
RE: MQTT Client app - by admin - 19.06.2025, 08:33
RE: MQTT Client app - by batistacaceres - 19.06.2025, 09:03
RE: MQTT Client app - by myg - Yesterday, 07:36
RE: MQTT Client app - by Daniel - Yesterday, 07:40
RE: MQTT Client app - by myg - Yesterday, 08:20
RE: MQTT Client app - by Daniel - Yesterday, 08:32

Forum Jump: