Okay, I’m struggling here:
I’m very simply trying to send an HTTP GET request to a device on my local network. I don’t need a reply; I don’t (at this stage) need to get any user input. Simply send a string when a contact is opened.
The flow is: contact.open -> send GET to local device.
I realise that I need a hubAction as the device is local. I’ve worked my way through the tutorials etc, but it seems about as clear as mud. The tutorials concentrate on far more complicated examples.
Some say you need a device handler and SmartApp to do this. Others say it can be done in a SmartApp only. Some say the IP and port must be in hex, some say not.
Can anyone supply a clear, definitive answer on what is required for, what should be, a very simple app?
My many thanks in advance!