Furnace UV Light Trigger Ecobee

Good day,

I have an Ecobee Premium Thermostat that I have paired with SmartThings.
The UV lamp is a standard plugin that I have connected through a Smart Plug to turn it off an on.

My problem is this, I am looking for a way to trigger it only when the furnace fan is running, but the Ecobee status does not include fan on or off only ON and AUTO. So i can’t get the functionality to work.

There is also an HRV which can trigger the fan but not through the Ecobee, so i figured that functionality would be lost, but would also be helpful to capture this on state as well.

I thought about a pressure switch but can not find a compatible one with smart things.

Does anybody have any suggestions or other routes to tackle my dillema?

Since the Ecobee integration is already cloud->cloud and Routines don’t run locally, I would suggest using the 3rd party rules engine sharptools.io which does have access to the thermostat operating mode. You can either turn the lamp on directly in Sharptools or create a virtual device in ST which can be used as a proxy in Sharptools and then have a ST Routine actually turn the lamp on.