Closed ads1230 closed 5 months ago
I mean, the decision logic looks correct, as for a payload format and request type, that depends on what solution you're trying on hooking up to, and what API it uses.
I'm gonna keep this thread open in case someone can provide a real example for something like Home Assistant.
I mean, the decision logic looks correct, as for a payload format and request type, that depends on what solution you're trying on hooking up to, and what API it uses.
I'm gonna keep this thread open in case someone can provide a real example for something like Home Assistant.
Thanks, it's a HA web hook. The web hooks work fine if not in the conditional statements, but when in the statement fail.
Ok worked it out. During testing I was using the home app to lock unlock. Seems to work well when phone tapped on reader.
Hi, I'm struggling a bit to get this to work I want to make it so if locked it performs one action and if unlocked another. My current code is below I would appreciate help if anyone could.