I have started with publishing the temperature every 5 minutes as this is simpler than having a twin virtual device. I have the rule (see below) calling my raspberry pi every 5 minutes by using the Web Requester edge driver. Now I need to append the value of the device’s temperature onto the URL string.
Any thoughts?
This may be a question for Mr Web Requester @TAustin.
I installed the HTTP Devices edge driver written by @TAustin.
Created a Temperature virtual device.
Configured the Temperature virtual device to send a HTTP GET request to my Raspberry Pi, with its temperature reading in the URL string, when the device’s temperature value changes.
Created a SmartThings Rule using the JSON below to update the virtual temperature device when my Study thermostat device changes its value.