When you want to connect an IoT device to anything (or, for that matter, anything to anything), you should take a serious look at Node-RED, a free, open source visual process wiring system from IBM ...
Sparrow wallet is a desktop software application that is designed to be used with your own Bitcoin full node. In this example, I connected it to my Raspberry Pi Bitcoin full node running Bitcoin Core.