Closer and closer to the final solution!
After adding a new Soma device, I can select my 3 devices. After selecting these 3, the devices are visible in my Homey Device list with a red exclamation mark: âDevice unavailable, HTTP error: not foundâ. My 3 devices are online and work with Google Home commands and Soma app.
I have checked the USB bridge option.
Perhaps it has something to do with the battery level and shade state. The command in the log says "âhttp://192.168.2.12/get_battery_level/ca:18:e8:xx:xx:xxâ, but for the USB connector it has to be âhttp://192.168.2.12:3000/get_battery_level?mac=ca:18:e8:xx:xx:xxâ. The same for the parameter get_shade_state (please see Soma Api description)
* 2023-11-03T11:27:06.494Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:27:06.495Z
* Luxaflex 3 onCapabilityPosition Error: HTTP Error: Not Found
* 2023-11-03T11:27:06.521Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:27:06.523Z
* Luxaflex 2 onCapabilityPosition Error: HTTP Error: Not Found
* 2023-11-03T11:28:03.882Z
* Get from: http://192.168.2.12/list_devices
* 2023-11-03T11:28:04.074Z
* getDevices: {
"result": "success",
"version": "3.0.9",
"shades": [
{
"name": "Luxaflex 3",
"mac": "f2:26:02:xx:xx:xx",
"type": "tilt",
"count": "48862"
},
{
"name": "Luxaflex 2",
"mac": "ed:4d:1b:xx:xx:xx",
"type": "tilt",
"count": "48764"
},
{
"name": "Luxaflex 1",
"mac": "ca:18:e8:xx:xx:xx",
"type": "tilt",
"count": "42069"
}
]
}
* 2023-11-03T11:28:04.076Z
* getDevices: [
{
"name": "Luxaflex 3",
"icon": "venetianblind.svg",
"data": {
"id": "f2:26:02:xx:xx:xx"
},
"settings": {
"deviceType": "tilt",
"bridgeId": "somaconnect"
}
},
{
"name": "Luxaflex 2",
"icon": "venetianblind.svg",
"data": {
"id": "ed:4d:1b:xx:xx:xx"
},
"settings": {
"deviceType": "tilt",
"bridgeId": "somaconnect"
}
},
{
"name": "Luxaflex 1",
"icon": "venetianblind.svg",
"data": {
"id": "ca:18:e8:xx:xx:xx"
},
"settings": {
"deviceType": "tilt",
"bridgeId": "somaconnect"
}
}
]
* 2023-11-03T11:28:04.079Z
* getDevices: [
{
"name": "Luxaflex 3",
"icon": "venetianblind.svg",
"data": {
"id": "f2:26:02:xx:xx:xx"
},
"settings": {
"deviceType": "tilt",
"bridgeId": "somaconnect"
}
},
{
"name": "Luxaflex 2",
"icon": "venetianblind.svg",
"data": {
"id": "ed:4d:1b:xx:xx:xx"
},
"settings": {
"deviceType": "tilt",
"bridgeId": "somaconnect"
}
},
{
"name": "Luxaflex 1",
"icon": "venetianblind.svg",
"data": {
"id": "ca:18:e8:xx:xx:xx"
},
"settings": {
"deviceType": "tilt",
"bridgeId": "somaconnect"
}
}
]
* 2023-11-03T11:28:06.530Z
*
*** Refreshing Values ***
* 2023-11-03T11:28:06.532Z
* *** Refreshing Values Finished ***
* 2023-11-03T11:28:06.673Z
* Device initialising( Name: Luxaflex 3, Class: blinds)
* 2023-11-03T11:28:06.676Z
* Device initialise complete( Name: Luxaflex 3, Class: blinds)
* 2023-11-03T11:28:06.678Z
* Get from: http://192.168.2.12/get_shade_state/f2:26:02:xx:xx:xx
* 2023-11-03T11:28:06.682Z
* Get from: http://192.168.2.12/get_battery_level/f2:26:02:xx:xx:xx
* 2023-11-03T11:28:06.695Z
* Device initialising( Name: Luxaflex 2, Class: blinds)
* 2023-11-03T11:28:06.698Z
* Device initialise complete( Name: Luxaflex 2, Class: blinds)
* 2023-11-03T11:28:06.700Z
* Get from: http://192.168.2.12/get_shade_state/ed:4d:1b:xx:xx:xx
* 2023-11-03T11:28:06.703Z
* Get from: http://192.168.2.12/get_battery_level/ed:4d:1b:xx:xx:xx
* 2023-11-03T11:28:06.721Z
* Device initialising( Name: Luxaflex 1, Class: blinds)
* 2023-11-03T11:28:06.724Z
* Device initialise complete( Name: Luxaflex 1, Class: blinds)
* 2023-11-03T11:28:06.726Z
* Get from: http://192.168.2.12/get_shade_state/ca:18:e8:xx:xx:xx
* 2023-11-03T11:28:06.729Z
* Get from: http://192.168.2.12/get_battery_level/ca:18:e8:xx:xx:xx
* 2023-11-03T11:28:06.906Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:28:06.909Z
* Triggering device Online State with: false
* 2023-11-03T11:28:06.911Z
* Luxaflex 3 onCapabilityPosition Error: HTTP Error: Not Found
* 2023-11-03T11:28:06.915Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:28:06.920Z
* Luxaflex 3 getBatteryValues Error HTTP Error: Not Found
Error: HTTP Error: Not Found
at ClientRequest.<anonymous> (/app/lib/SomaConnectBridge.js:218:33)
at Object.onceWrapper (node:events:632:26)
at ClientRequest.emit (node:events:517:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:700:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at Socket.socketOnData (node:_http_client:541:22)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:335:12)
at readableAddChunk (node:internal/streams/readable:308:9)
at Readable.push (node:internal/streams/readable:245:10)
* 2023-11-03T11:28:06.922Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:28:06.925Z
* Triggering device Online State with: false
* 2023-11-03T11:28:06.927Z
* Luxaflex 2 onCapabilityPosition Error: HTTP Error: Not Found
* 2023-11-03T11:28:07.012Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:28:07.015Z
* Luxaflex 2 getBatteryValues Error HTTP Error: Not Found
Error: HTTP Error: Not Found
at ClientRequest.<anonymous> (/app/lib/SomaConnectBridge.js:218:33)
at Object.onceWrapper (node:events:632:26)
at ClientRequest.emit (node:events:517:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:700:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at Socket.socketOnData (node:_http_client:541:22)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:335:12)
at readableAddChunk (node:internal/streams/readable:308:9)
at Readable.push (node:internal/streams/readable:245:10)
* 2023-11-03T11:28:07.036Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:28:07.040Z
* Triggering device Online State with: false
* 2023-11-03T11:28:07.042Z
* Luxaflex 1 onCapabilityPosition Error: HTTP Error: Not Found
* 2023-11-03T11:28:07.957Z
* HTTPS Error: 404: Not Found
* 2023-11-03T11:28:07.959Z
* Luxaflex 1 getBatteryValues Error HTTP Error: Not Found
Error: HTTP Error: Not Found
at ClientRequest.<anonymous> (/app/lib/SomaConnectBridge.js:218:33)
at Object.onceWrapper (node:events:632:26)
at ClientRequest.emit (node:events:517:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:700:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at Socket.socketOnData (node:_http_client:541:22)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:335:12)
at readableAddChunk (node:internal/streams/readable:308:9)
at Readable.push (node:internal/streams/readable:245:10)