Here’s where you run into limitations of the platform. Automations can’t manipulate variables.
You possibly could set up some number of routines that check for ranges of values reported by webrequestor, and then set the virtual thermostat temp to some arbitrary value within that range. It would take a number of automations to achieve any granularity, but maybe it would be workable if there are a few ‘setpoints’ that are really important to you.
Sorry I don’t have a better answer. There are some ‘mirroring’ drivers available from @Mariano_Colmenarejo; I don’t know if those will achieve this particular goal.
I’m pulling out my hair trying to figure this out. I admit I don’t know much about web requests… I’m trying to use your Web Requestor and the Edge Bridge to hit TankUtility for my propane tank level. I can put the URL I have in a browser and get a response with data. TankUtility requires a token in every request. The token is 247 characters long. I’m totally baffled on how to set up the Web Requestor. The field isn’t large enough and I can’t figure out how (if possible) to use the body and more body to make it work.
So it HAS to be provided as a parameter as part of the request URL?
Usually there is a second option where instead of using URL parameters, the data is provided in the ‘body’ part of the request- typically in a JSON format. The body is just additional data that is sent along with the URL request and HTTP headers.
See if you can find out if you have this alternative option for sending the token.
If you don’t, I have another solution for you: use my HTTP Devices driver. It provides a second ‘more’ field for the URL itself, so you’d be able to fit it all in.
FYI, each of these device Setting fields have a max character limit of 250 characters.
I don’t see anything about another option. This what their website says: Your token is expected to be included in all API requests to the server in a header that looks like the following: token=my_personal_token
Should I be putting this in the header? I can’t fit “token=” and the token in the field
Well here’s the problem: what do you intend to do with the response data? You can extract one value from the response if it is JSON- formatted. But then what? Automations don’t have a whole lot of flexibility.
I just realized that using the HTTP Devices driver will not help since it doesn’t have the data extract feature.
It may be time for me to add a ‘more’ URL field to the first webrequestor request slot…
Yes… I hadn’t got that far yet but I intended to figure out how to extract the tank level. I was doing it in Webcore… My propane company provided the Tank Utility device and I tapped into it to keep an eye on the levels.
You have been a tremendous help with your drivers. You have solved practically all of my issues with Webcore going away. I can’t thank you enough but expect some coffee!