Høiax varmtvannsbereder settpunkt syntax

Er det noen som kjenner settpunkt syntax i thingsplex flow for Høiax?

tenker her når en sender settpunkt til Høiax, forsøkte dette men fungerte ikke:

{
“temp” : “60”,
“type” : “heat”,
“unit” : “C”
}

Ser i messag stream at at det er dette format som sendes fra Høiax:
“temp” : “60”,
“type” : “heat”,
“unit” : “C”

Så endret dette, men får event error report, se under:

//Setpoint event report når setpunkt endres i FH

{
“serv”: “water_heater”,
“type”: “evt.setpoint.report”,
“val_t”: “object”,
“val”: {
“type”: “external”,
“temp”: 69,
“unit”: “C”
},
“props”: null,
“tags”: null,
“src”: “hoiax”,
“ver”: “1”,
“uid”: “daffaf0c-bac7-4daa-9c1b-2edbf7df75fd”,
“topic”: “pt:j1/mt:evt/rt:dev/rn:hoiax/ad:1/sv:water_heater/ad:1”
}

Event setpoint når det sendes fra flow
{
“serv”: “water_heater”,
“type”: “cmd.setpoint.set”,
“val_t”: “str_map”,
“val”: {
“temp”: “66”,
“type”: “external”,
“unit”: “C”
},
“props”: {},
“tags”: null,
“src”: “flow_ZtWHzIAAn6XUf1s”,
“ver”: “1”,
“uid”: “dbc3ed76-9984-4e29-89ca-7cba75ae540d”,
“topic”: “pt:j1/mt:cmd/rt:dev/rn:hoiax/ad:1/sv:water_heater/ad:1”
}

Event error report
{
“serv”: “water_heater”,
“type”: “evt.error.report”,
“val_t”: “string”,
“val”: “failed to process incoming message”,
“props”: {
“cmd_service”: “water_heater”,
“cmd_topic”: “pt:j1/mt:cmd/rt:dev/rn:hoiax/ad:1/sv:water_heater/ad:1”,
“cmd_type”: “cmd.setpoint.set”,
“msg”: “adapter: provided setpoint object has an incorrect format: unexpected end of JSON input”
},
“tags”: null,
“src”: “hoiax”,
“ver”: “1”,
“uid”: “ba65f038-9f5e-440f-9a37-1c5099e5e78e”,
“topic”: “pt:j1/mt:evt/rt:dev/rn:hoiax/ad:1/sv:water_heater/ad:1”
}

Ok fant problemet interface krever at temperatur setpunkt sendes som et tal uten “”, da tar Høiax imot verdien.

Dette fungere:
{
“type”:“external”,
“temp”:66,
“unit”:“C”
}
men ikke dette:
{
“type”:“external”,
“temp”:“66”,
“unit”:“C”
}

Og derfor fungere dette ikke:
{
“temp” : “{{.Variable}}”,
“type” : “external”,
“unit” : “C”
}

1 Like