It would be nice if there was a way to create a Virtual device to run code on to be able to do math and rout virtual pins on. This can be useful when we only use the phone sensors for the app function.
Is this already possible?
If so, can anyone point me in the right directions?
I’m running a self hosted server.

Right now you can do this with very simple rules in Eventor. For more complex formulas and flows - not possible right now. However, this is possible in the new Blynk Platform (it is not released to the public yet). Complex rules and formulas already supported there and used by industrial companies.