[APP][Pro] Homewizard 🧙‍♂️

Hi Jeroen,

First of all thanks for making this app so we can see it in Homey.
Maybe I got the same problem as Marco, but the devices are offline and when I want to re-add then to homey, the devices can’t be found. (removed them from homey)
This is my code to see hopefully the problem: 9e189691-5b25-48a1-8ff6-c0a1568ded41

  • Running version v3.2.22
  • Also used DNS discovery on iOS and then I can find the 2 devices on the network.
  • Already rebooted everything to hope solve the issue.

Hope this is enough for now to get an idea of the situation.

Your diagnostic report is empty so got no leads to what might be wrong.
As you removed them I dont have a clue what was the cause. Remove power to P1, sockets etc first and then power them. Then restart the Homewizard Homey app and try again.

Hope photo is viable, but strange that log was empty.
Remove devices and waited around 30 sec - 1 min after it was online in homewizard app I tried to add it in honey but sadly still no luck

Then I cant help you. Something must be wrong with mDNS.
Check if Local API is enabled in the Homewizard Energy app.
Restart your access point that connects both your Homey and/or your Homewizard Energy devices.
Are both in the same network? Same SSID?
Is there no AP Client isolation? Vlans? mDNS relay/proxy active?

Here same problem like Lars.
No connection error and when I try to re add nothing found. Have multiple plugs and the other ones are working fine.
The plug that isn’t found anymore still works fine in home assistant.
Local api enabled, tried restarting router.
Still going to try another IP address.

Did you try static reservation in your DHCP server?

Thanks for your reaction of the diagnostic report. My local API is on and not off. Home assistant also uses local APi

Well the log clearly says forbidden on one of your sockets. I can’t tell which socket is what. Also it shows some host unreachables entries so that refers WiFi connection issues.

Thanks, I will try a full reset than.

Did a full reset, doesn’t work either
82dab557-1ee5-46ec-a2d2-eaf8217206b9

Op address of the socket has changed, still not findable

So yeah…still connection issues:

2024-01-26T16:32:47.787Z [err] [ManagerDrivers] [Driver:energy_socket] [Device:1e3d31f4-25e3-4882-914a-8e7f21744e7e] FetchError: request to http://192.168.2.68/api/v1/state failed, reason: connect EHOSTUNREACH 192.168.2.68:80
at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (node:events:517:28)
at Socket.socketErrorListener (node:_http_client:501:9)
at Socket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: ‘system’,
errno: ‘EHOSTUNREACH’,
code: ‘EHOSTUNREACH’
}
2024-01-26T16:32:47.788Z [err] [ManagerDrivers] [Driver:energy_socket] [Device:1e3d31f4-25e3-4882-914a-8e7f21744e7e] TypeError: Cannot read properties of undefined (reading ‘ok’)
at /app/drivers/energy_socket/device.js:172:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-01-26T16:32:50.857Z [err] [ManagerDrivers] [Driver:energy_socket] [Device:1e3d31f4-25e3-4882-914a-8e7f21744e7e] FetchError: request to http://192.168.2.68/api/v1/data failed, reason: connect EHOSTUNREACH 192.168.2.68:80
at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (node:events:517:28)
at Socket.socketErrorListener (node:_http_client:501:9)
at Socket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: ‘system’,
errno: ‘EHOSTUNREACH’,
code: ‘EHOSTUNREACH’
}

With mdns app I get this

energysocket-075862._hwenergy._tcp.local.

energysocket-075862.local:80
192.168.2.69:80

api_enabled = 1
path = /api/v1
product_name = Energy Socket
product_type = HWE-SKT
serial = xxxx075862

Ok so error is from other socket.
connect EHOSTUNREACH 192.168.2.68:80

So are all devices on same wifi access point? Same network? No AP client isolation active? Any VLAN in play? Which flavor/vendor/brand wifi are you using? Sorry to many unknown parameters.

Same socket is just about 5cm next to it.
Works fine.
Unifi access point (other socket is on the same access point as well. Same vlan, nothing changed in the network before it stopped working.

All the rest is working fine, socket not showing up is also working fine in home assistant

No socket on .192.168.2.68 anymore btw (moved to 192.168.2.69)

46bf4790-a9b8-494f-bee1-f10d1a251672

Did you restart the HomeWizard Homey app too?

Now other device is losing connection:

2024-01-26T18:06:31.619Z [err] [ManagerDrivers] [Driver:energy_socket] 3c39e7281804 FetchError: request to http://192.168.2.13/api/v1/data failed, reason: read ECONNRESET
at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (node:events:517:28)
at Socket.socketErrorListener (node:_http_client:501:9)
at Socket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: ‘system’,
errno: ‘ECONNRESET’,
code: ‘ECONNRESET’
}

My socket is reachable by other instances like home assistant, by the web browser, it’s also showing up in mdns.

Weet het niet meer….

Homey rebooted?

Did a PtP just now, didn’t help unfortunately

92f5cd8e-0c17-4d91-a72d-2e2cd2e161a4