Within the current version of iHost 1.4.2, it isn’t possible to sync Sonoff TH-Origin (THR316) and TH-Elite (THR316D) devices (running on latest version 1.1.0) since it states it has an invalid capability mentioned in the sync-process.
Error looks like this:
2023-11-08T18:25:40.866919312Z [2023-11-08T18:25:40.863] [ERROR] out - sync device to iHost error params------------------ {*
2023-11-08T18:25:40.867116768Z type: ‘INVALID_PARAMETERS’,*
2023-11-08T18:25:40.867254724Z description: ‘“event.payload.endpoints[0].capabilities[3].capability” must be one of [power, toggle, brightness, color-temperature, color-rgb, percentage, motor-control, motor-reverse, startup, camera-stream, motor-clb, detect, temperature, humidity, battery, press, rssi, power-consumption, voltage, electric-current, electric-power]’*
Looking at the payload it has the following capability mentioned:
“capabilities”: [
{
“capability”: “power”,
“permission”: “readWrite”
},
{
“capability”: “temperature”,
“permission”: “read”,
“configuration”: {
“range”: {
“min”: -55,
“max”: 125
}
}
},
{
“capability”: “humidity”,
“permission”: “read”
},
{
“capability”: “mode”,
“permission”: “readWrite”,
“name”: “thermostatMode”
},
{
“capability”: “rssi”,
“permission”: “read”
}
],
This capability isn’t allowed, but what does it mean?
{
"capability": "mode",
"permission": "readWrite",
"name": "thermostatMode"
},
And how can I adjust the payload in this sync process? This looks like a bug. Can this being fixed on short notice? Or does anyone has an workaround?