I don’t understand the question.
Legacy code doesn’t usually take much work to make it IoT compatible.
You’ll need to set-up the appropriate datastreams, and design a mobile and/or web dashboard to suit your needs using the widgets available to you with whatever level of subscription you are using.
Pete.