# \[APP\]\[Pro\] Homewizard 🧙‍♂️

**URL:** <https://community.homey.app/t/app-pro-homewizard/19267>\
**Category:** Apps\
**Tags:** app, official, homey-pro\
**Created:** [October 14, 2019, 2:25pm UTC](https://community.homey.app/t/app-pro-homewizard/19267 "2019-10-14T14:25:58Z")\
**Posts on this page:** 20\
**Page:** 65

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 20, 2024, 8:54am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1293 "2024-01-20T08:54:09Z")

</div>

That communication is cloud based and has nothing to do with the direct polling every 10s between Homey and every Homewizard device.  
But the log definitely points to connection issues. A json payload that is broken (ie. Json message lacks brackets or lines) gives me proof the connection is dropped or disconnected/broken.

Check the first post in this ticket for troubleshooting tips.

EDIT: my guess your Homey maybe has wifi issues, move it or see how you can improve wifi stability. (try ping test for a long run (1 hour?) to see if ping is dropped, same for P1 and/or energy sockets.

---

<div class="post-metadata">

**Author:** ![Marco\_Rombout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marco_rombout/32/47933_2.png) [@Marco\_Rombout](https://community.homey.app/u/Marco_Rombout)\
**Post date:** [January 20, 2024, 9:26am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1294 "2024-01-20T09:26:26Z")

</div>

Okay Jeroen, for the sake of troubleshooting I will perform some network stability tests.  
Just recovered from another glitch. After restarting the homewizard app in homey, things return to normal.  
Screenshot homewizard ;

 ![IMG_0244](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/4/d4c489a9ac93dbb9ced8fb154c560ea2cb5191b1.png)  
Screenshot homey ;  
 ![IMG_0246](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c69d25ba8b6ebb6f51a6a9e57eb6f90e0712448d.jpeg)  
Restart app;  
 ![IMG_0247](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/52938ee7dd58ca7c50b414067c862d0ae6a37aa8.jpeg)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 20, 2024, 9:52am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1295 "2024-01-20T09:52:25Z")

</div>

Sorry Marco but I try to help/think what might the problem, okay?  
I have no clue how everyone has their wifi or network has been set up.  
I can only judge on what is said/experienced and what potentially is captured in the logfile. The rest is a black box for me. I do this voluntarily and pure hobby driven. Just read this topic you can see there are other users that almost share the same experience, yet have different problems or causes. Being routers, access points, firmware updates of devices.  
I try my best here but also could not care and spend more time with my family.

---

<div class="post-metadata">

**Author:** ![Marco\_Rombout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marco_rombout/32/47933_2.png) [@Marco\_Rombout](https://community.homey.app/u/Marco_Rombout)\
**Post date:** [January 20, 2024, 10:12am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1296 "2024-01-20T10:12:10Z")

</div>

Jeroen, please dont feel/see my report as an insult to your efforts! I know and realise there are many variables, certainly when a device is wifi connected. So please be aware, your efforts are deeply appreciated.  
A quick ping to my Homey the last half hour from a laptop showed me  
Packets: Sent = 1948, Received = 1946, Lost = 2 (0% loss),  
2 packets lost seems negligible.  
I will investigate further. Pinging the powersockets and P1.

**Update:**  
Energy socket:  
Ping statistics for 172.16.11.136:  
Packets: Sent = 1609, Received = 1604, Lost = 5 (0% loss),

P1:  
Ping statistics for 172.16.11.163:  
Packets: Sent = 1258, Received = 1255, Lost = 3 (0% loss),

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 20, 2024, 10:22am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1297 "2024-01-20T10:22:14Z")

</div>

Your choice of words “for the sake of troubleshooting” that sounded wrong to me. But fine thanks for responding to correct my feeling.

---

<div class="post-metadata">

**Author:** ![LarsieRijst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/larsierijst/32/78928_2.png) [@LarsieRijst](https://community.homey.app/u/LarsieRijst)\
**Post date:** [January 23, 2024, 2:33pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1298 "2024-01-23T14:33:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 23, 2024, 2:50pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1299 "2024-01-23T14:50:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![LarsieRijst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/larsierijst/32/78928_2.png) [@LarsieRijst](https://community.homey.app/u/LarsieRijst)\
**Post date:** [January 23, 2024, 3:15pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1300 "2024-01-23T15:15:27Z")

</div>

![IMG_0071](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/006a0e0699cf20454a69c3c2887966fa14c0a0bb.jpeg)

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

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 23, 2024, 4:00pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1301 "2024-01-23T16:00:30Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 10:50am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1302 "2024-01-26T10:50:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 26, 2024, 11:03am UTC](https://community.homey.app/t/app-pro-homewizard/19267/1303 "2024-01-26T11:03:28Z")

</div>

Did you try static reservation in your DHCP server?

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 1:33pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1304 "2024-01-26T13:33:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 26, 2024, 1:49pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1305 "2024-01-26T13:49:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 2:22pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1306 "2024-01-26T14:22:07Z")

</div>

Thanks, I will try a full reset than.

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 4:36pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1307 "2024-01-26T16:36:04Z")

</div>

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

Op address of the socket has changed, still not findable

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 26, 2024, 4:52pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1308 "2024-01-26T16:52:04Z")

</div>

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](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](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’  
}

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 5:39pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1309 "2024-01-26T17:39:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [January 26, 2024, 5:50pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1310 "2024-01-26T17:50:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 5:56pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1311 "2024-01-26T17:56:49Z")

</div>

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

 ![IMG_5243](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0e6dca0cb7ced708ee32a7cec93ada353ad02039.jpeg)

---

<div class="post-metadata">

**Author:** ![Richie80](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richie80/32/36477_2.png) [@Richie80](https://community.homey.app/u/Richie80)\
**Post date:** [January 26, 2024, 6:05pm UTC](https://community.homey.app/t/app-pro-homewizard/19267/1312 "2024-01-26T18:05:32Z")

</div>

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

46bf4790-a9b8-494f-bee1-f10d1a251672

[Previous page](https://community.homey.app/t/app-pro-homewizard/19267.md?page=64)

[Next page](https://community.homey.app/t/app-pro-homewizard/19267.md?page=66)
