[APP][Pro] Homewizard 🧙‍♂️

test/beta
v3.6.44

  • Actual gas meter measurement added (5min poll pending on smartmeter) (user request)
2 Likes

test/beta
v3.6.46

  • P1 (apiv1) code refactored (clean up of repetitive sections)
  • Bugfix batteryCapacityWh is not defined
1 Like

v3.6.48 (test/beta)

  • Added phase monitoring
  • Adjust settings to align with your energy grid
  • Bugfix for sliders when gridconnection has 3 phases
  • Actual gas meter measurement added (5min poll pending on smartmeter)
  • P1apiv1 - Code refactored (clean up repetive lines)
  • Extra plugin battery trigger cards (state change, time to full, time to empty)
2 Likes

Just updated to latest version and are getting this. See screenshot.
Tried reinstalling and Homey restart but no success.

This is odd, as I have no other reports on this. Please share a diagnostic report may be that gives me a clue.

Thanks!

8effdb0c-5dc9-47ed-970e-c184825c60de

I would say, check your wifi network as it is all about connection resets and errors there in the log.

    stderr:
        at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501: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'
}
2025-07-18T08:42:02.296Z [err] [ManagerDrivers] [Driver:energy] [Device:10d3d717-e13c-4c9d-a11f-dd88e4a04715] FetchError: request to http://x.x.x.252/api/v1/data failed, reason: read ECONNRESET
    at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501: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'
}
2025-07-18T08:42:02.298Z [err] [ManagerDrivers] [Driver:energy] [Device:10d3d717-e13c-4c9d-a11f-dd88e4a04715] FetchError: request to http://x.x.x.252/api/v1/data failed, reason: read ECONNRESET
    at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501: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'
}
2025-07-18T08:42:02.301Z [err] [ManagerDrivers] [Driver:energy] [Device:10d3d717-e13c-4c9d-a11f-dd88e4a04715] FetchError: request to http://x.x.x.252/api/v1/data failed, reason: read ECONNRESET
    at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501: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'
}
2025-07-18T08:42:02.403Z [err] [ManagerDrivers] [Driver:energy] [Device:10d3d717-e13c-4c9d-a11f-dd88e4a04715] FetchError: request to http://x.x.x.252/api/v1/data failed, reason: read ECONNRESET
    at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501: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'
}
2025-07-18T08:42:03.551Z [err] [ManagerDrivers] [Driver:plugin_battery] [Device:f81a2007-7424-45c9-b531-c6f43bcf365c] Error: Network error: request to https://x.x.x.251/api/measurement failed, reason: read ECONNRESET
    at /app/includes/v2/Api.js:65:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async module.exports.api.getMeasurement (/app/includes/v2/Api.js:59:17)
    at async /app/drivers/plugin_battery/device.js:138:20
2025-07-18T08:42:03.559Z [err] [ManagerDrivers] [Driver:plugin_battery] [Device:f81a2007-7424-45c9-b531-c6f43bcf365c] Error: Network error: request to https://x.x.x.251/api/measurement failed, reason: read ECONNRESET
    at /app/includes/v2/Api.js:65:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async module.exports.api.getMeasurement (/app/includes/v2/Api.js:59:17)
    at async /app/drivers/plugin_battery/device.js:138:20
2025-07-18T08:42:03.560Z [err] [ManagerDrivers] [Driver:plugin_battery] [Device:f81a2007-7424-45c9-b531-c6f43bcf365c] Error: Network error: request to https://x.x.x.251/api/measurement failed, reason: read ECONNRESET
    at /app/includes/v2/Api.js:65:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async module.exports.api.getMeasurement (/app/includes/v2/Api.js:59:17)
    at async /app/drivers/plugin_battery/device.js:138:20
2025-07-18T08:42:04.407Z [err] [ManagerDrivers] [Driver:energy_socket] [Device:f914c6e9-ab4d-48d0-847a-83c56cf64d2d] FetchError: request to http://x.x.x.75/api/v1/state failed, reason: read ECONNRESET
    at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501: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'
}
2025-07-18T08:42:04.410Z [err] [ManagerDrivers] [Driver:energy_socket] [Device:f914c6e9-ab4d-48d0-847a-83c56cf64d2d] TypeError: Cannot read properties of undefined (reading 'statusText')
    at /app/drivers/energy_socket/device.js:213:29
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-07-18T08:42:04.903Z [err] [ManagerDrivers] [Driver:energy] [Device:10d3d717-e13c-4c9d-a11f-dd88e4a04715] FetchError: request to http://x.x.x.252/api/v1/data failed, reason: socket hang up
    at ClientRequest. (/app/node_modules/node-fetch/lib/index.js:1501:11)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketOnEnd (node:_http_client:525:9)
    at Socket.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1400:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET'
}

Nothing wrong in the Homewizard app, all devices are connected there.
Could it be because I changed from the experimental to the stable version? That’s when it happened.
Perhaps try and go back to experimental?
Do you have a link?

Sorry don’t understand experimental, screenshot shows v3.6.37 which is my stable Homewizard app for Homey. Or are you on experimental for Homey firmware?

I mean the test/beta.
Before I had this because battery wasn’t supported.

Latest test/beta is as of last night v3.6.48 so check if the toggle auto install for the app is enabled in your Homey app. I am running this version myself and have another user running with battery without issues. If you still experience problems I advise you to put some effort in your local wifi network/accesspoints and or connectivity as it is clearly an issue as per log that I received from you.

Very strange because all is fine in my network. I also get this when I try to select a device. See screenshot.
If you can’t help me, I will remove all devices and try to install them again. Very strange.


You might want to start by rebooting your router and WiFi access point(s). Followed by a restart of Homey.

Which version is this screen shot? I had that error before in an earlier version which is a mess up when there is a 3 phased grid connection.

And you cant compare what you see in my app for Homey versus what Homewizard Energy does in the cloud as that is a push data to their cloud platform while all Homey comms are locally which is totally different method.

This is the latest version and that could be the problem. I have three phase.
I remember changing this in settings recently so that could be the reason?
Also which P1 should I install. I see two versions now.

Right this 3 phased slider in the GUI is more of a pain and looks cool for Homey their own dongle but impossible for me to make it work. I will remove it and stick to the capability instead. I will work on an update and remove them.

What’s the difference between P1 and P1(APIv2)
Which one should I use?

Both work. APIv2 is new method and recently added due to plugin battery also supports APIv2.
I removed the sliders please try this version v3.6.49

1 Like

Great thanks. I will.
What should I choose in settings for battery mode?

Default is Zero which means the battery will auto charge/discharge. But you shouldn’t touch it if you don’t know what to do with it. I exposed the setting there so you can see what it is.

1 Like