I would like to have my cell phone act, in a limited way, as a LAN device connected to Hubitat.
I have written a program for the phone that recognizes notifications for phone calls, text messages, and Skype calls. When a notification is recognized, the phone then sends LAN commands to flash Wi-Fi connected lightbulbs.
I am deaf so unless I am sitting right next to the phone, I don't feel it vibrate, and of course I don't hear it ring. I use the flashing bulbs as "Alerters". My doorbell also causes bulbs to flash.
I would like my phone to send something over the LAN, as a device, to Hubitat instead of sending the commands over the LAN directly to Wi-Fi bulbs. Hubitat would be able to perform more complex actions.
I believe what I need is a Hubitat device driver that listens for HTTP or UDP commands coming from the LAN. In my documentation or Package Manager searches I have not found anything like this.
Does something like this exist? Is there something close which I can use as a starting point to develop my own driver?
The Maker API native app can receive HTTP Requests to turn lights on/off. Or, you can just use a Local or Cloud endpoint as a trigger in Rule Machine. All can react to HTTP requests. Using Rule Machine will allow a single HTTP Request and do multiple things.
EDIT: If you had not already written something for your phone, there is Tasker app ($4) that can do what your program can do and a whole lot more.
I set up both a cloud and local endpoint for same rule. In Tasker, if phone is connected to home wifi, it sends local endpoint HTTP Request and if not connected to home wifi, it sends the cloud one