You can make https call from “http binding” it should be equivalent to curl or wget, There is a way to specify GET/PUT/POST (GET is default) - it is just a matter of figuring out the headers format, i would turn on verbose on the http binding and see what response you are getting from using something like this or different combinations. I’m not familiar with headers formatting and i can not do any testing until the software upgrade.
Thing http:url:sol_http "Solar HTTP" [
baseURL="https://192.168.1.xxx/production.json",
headers="Accept: application/json", "Authorization: Bearer eyJraWQiOi...’",
refresh=15,
ignoreSSLErrors=true ] {
Channels:
Type number : Prod "Production" [ stateTransformation="JSONPATH:$..production[1].wNow" ]
Type number : Use "Consumption 0" [ stateTransformation="JSONPATH:$..consumption[0].wNow" ]
Type number : Net "Consumption 1" [ stateTransformation="JSONPATH:$..consumption[1].wNow" ]
}
Based on this post → How to send header via HTTP binding? - #14 by mark56 you do not need “keyx”