-
Hello, I am using Tasmota w/BLE, trying to receive iBeacons signals from an android phone with iBeacons generator. I am receiving iBeacon events like this:
I am trying to create a rule that triggers when IBEACON#NAME=KNOWNPG and IBEACON#STATE=ON
But there is a problem (I don't understand where) with the checking of (IBEACON#STATE=ON), because the Rule is triggered, but the action POWER1 TOGGLE is never executed. Thank you very much for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no straightforward way of doing that with rules, but since Bluetooth is typically on ESP32 devices, I'd recommend you to use the Berry language, where the Tasmota integration specifically allows combined trigger conditions. The issue with your attempt is that trigger expressions with |
Beta Was this translation helpful? Give feedback.
There is no straightforward way of doing that with rules, but since Bluetooth is typically on ESP32 devices, I'd recommend you to use the Berry language, where the Tasmota integration specifically allows combined trigger conditions.
The issue with your attempt is that trigger expressions with
#
can only be used in the trigger part of a rule, beforedo
, only a single trigger value, and not available in the body part afterdo
. You'd have to use multiple rules, but again, Berry is a better approach.