Hello,
I have heat pump neore with web interface based on XML pages.
I have tested download data by this script which return data:
curl -c x -d"USER=$USER&PASS=$PASS" $URL/page19.xml -L /login.xml 2>/dev/null >/dev/null
curl -s -b x $URL/data/
When I tried use HTTP binding in OH32, I alwas get timeout. Is possible create cookie like this commands in binding?
I tried something like this:
UID: http:url:041d306bf1
label: Neore
thingTypeUID: http:url
configuration:
headers:
- USER=neore,PASS=xxxxx
ignoreSSLErrors: false
stateMethod: POST
refresh: 30
commandMethod: POST
timeout: 1000
authMode: BASIC
baseURL: http://neore.pavkamlc.cz/login.xml
delay: 0
contentType: application/xml
bufferSize: 2048
channels:
- id: neore_TeplotaVody
channelTypeUID: http:number
label: TeplotaVody
description: “”
configuration:
mode: READONLY
stateExtension: data
stateContent: state