For Android I use the app “automagic” on the tablet. It has a built in http server. In the app you can define URLs the app is listening for.
- install “automagic” on the Android tablet
- define a URL listening for, define actions (switch display on, start a Homscreen URL-link to HomeyDash…)
- in Homey you install the app “HTTP request flow cards”.
- create a flow which reacts on a motion sensor
- In THEN part call HTTPRequestFlowCards with GET and the URL (IP of tablet + URL part set in automagic).