Hi,
yes, I would suggest using the iphone app “shortcuts” and homey webhooks for this (they are default on).
Steps:
- Create a Homey Flow with Webhook Trigger:
- Open the Homey app.
- Go to Flows and create a new flow.
- Add the “When” card: Webhook received.
- Name the webhook, e.g.,
nfc_tag. - Add “Then” actions based on the NFC tag value, such as turning on lights or setting specific actions.
- Read NFC Tag with iPhone:
- Use the Shortcuts app:
- Create a new Shortcut.
- Add the “NFC” action and scan your NFC tag to associate it with the Shortcut.
- Add the “Get Contents of URL” action in the Shortcut to send a webhook request.
- Use the URL format:
https://webhook.homey.app/[yourcloudid]/nfc_tag?tag=front_door
Replace [yourcloudid] with your Homey Cloud ID, you can find it in the url when you go to https://my.homey.app/
You can either use a different webhook for each NFC-Tag, or use different “tag=” for each. The tag parameter is automatically captured as a variable in the Flow:
Add a “And” condition to check the value of the tag parameter:
- Choose Logic > Is exactly.
- Set the variable to
tag(it will be available automatically). - Enter the specific value to match (e.g.,
front_door).