Http binding - different for status and command setpoint thermostat

Hi,
i have a problem to set the model of read and command setpoint of thermostat

For read the status i send a http request

UID: http:url:TermoLetto23
label: Fancoil Camera da Letto Ospiti 23p
thingTypeUID: http:url
configuration:
  authMode: BASIC
  ignoreSSLErrors: false
  baseURL: http://192.168.30.105/Hi4Supervisor/ApiService/v3/getStatus?username=lli&userpass=Lli&p1=BB-01-TERM2
  delay: 0
  stateMethod: GET
  refresh: 5
  commandMethod: POST
  contentType: application/json
  timeout: 3000
  bufferSize: 2048
channels:
  - id: TemperaturaAmbienteCameraDaLetto23
    channelTypeUID: http:string
    label: Fancoil Camera da Letto 23p - Temperatura Ambiente
    description: ""
    configuration:
      mode: READONLY

And 3 channel with a JS decoder i read the value of temperature, set temperature, set fan

For Send a command to a thermostat this is the url to use

http://192.168.30.105/Hi4Supervisor/ApiService/v3/sendDevi
ceCommand?username=lli&userpass=Lli&device=BB-01-TERM2&comman
ds=%7B"setGuestTemp"%3A22,"setGuestFan":2%7D

Do you have an idea of i set this.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.