I don't use blue iris but I would start with installing this app and configuring and then using the motion from the HUE motion sensor to switch the recording on.
Introducing 'BI Control'
This app is designed to work locally with Blue Iris security software.
Note: This was written for BI4. If using BI5 results may vary.
This app has been merged into Event Engine - Automate your world with easy to use Cogs. Rev up complex automations with just a few clicks!
100% Local Control - No Internet needed
Ability to change BI Profile based on HE Mode, Switch or Motion
Ability to move a camera to a Preset using a Switch or Motion
Ability to get a Camera Snapsh…