[APP][Pro] Homewizard 🧙‍♂️

Change log

v3.8.22

  • Finetune energy_v2 updates primary values are updated instant, other lesser values once every 10s
  • Additional watchdog code to reconnect energy_v2 and plugin_battery upon firmware up/downgrades
  • Websocket finetuning (energy_v2 and plugin battery)
  • Centralized fetch queue for all fetch calls to spread all queries
  • Removed interval check in onPoll loop
  • Restore custom polling sockets (got removed by accident rollback)

v3.8.18

  • Bugfix: Failed to recreate agent: TypeError: Assignment to constant variable (energy)
  • async/await update on several drivers

v3.8.16

  • Updated APIv2 to add more text upon fetch failed
  • Websocket based battery mode settings added (both condition and action)
  • Websocket heartbeat (30s) to keep battery mode updated (workaround as battery mode is the only realtime update when it changes)
  • P1 & EnergySocket driver (apiv1) http agent tuning (ETIMEOUT and ECONNRESET)

v3.8.13

  • Extra error handling (updateCapability) based on received crashreports
  • Bugfix: ReferenceError: err is not defined (energy-socket)

v3.8.11

  • Rollback energy dongle code from earlier version v3.7.0
  • Strange SD630 problem on older Homey’s
  • Extra verbose logging in urls to expose mDNS problems for older Homeys (url)

v3.8.8

  • After attempting conditional fetch, roll back to node-fetch until 12.9.x releases (Homey Pro 2016 - 2019)
  • Bugfix: SDM230-p1mode - error during initialization

v3.8.4

  • Conditional require (node-fetch) it will try to use native fetch with a fallback to take the node-fetch module instead
  • Moved Websocket functions to include to clean up P1 and plugin_battery code

v3.7.9

  • Extra check upon websocket creation to avoid crashes
  • Plugin battery catch all error (unhandled exception)
  • Additional checking and error handling on bad wifi connections (websocket based)
  • Fetch was not defined for fetchWithTimeout function
  • Missed net_frequency update, also made it 3 decimals
  • Capability update fix (avoid removal check)

v3.7.1

  • Trigger card for battery SoC Drift (triggers on expected vs actual State-of-charge)
  • Trigger card for battery error (based on energy returned to grid while battery group should be charging)
  • Trigger card for battery netfrequency out of range
  • Icon update for various capabilities
  • Battery group details added to P1apiv2. (Charging state)
  • Realtime data for P1 (apiv2) via Websocket
  • Realtime data for Plugin Battery via Websocket
  • Bugfixes/crashes on P1 (apiv2) - no gas data on first poll / ignore
  • Websocket reconnect code for covering wifi disconnect & terminate issues
  • Plugin Battery group fix (tracking combined set of batteries) - bugfix / Refenece error
  • Netfrequency capability added for Plugin Battery
  • Homewizard Legacy - code rollback (pairing problems after improvements)
  • P1 (apiv2) - Added checkbox setting to fallback to polling if websocket is to heavy for Homey device

v3.6.77

  • Custom polling-interval option made for Homewizard Legacy unit (default 20s, when adjusted restart app to active it)
    To adjust setting check the main unit advanced settings
  • Energy sockets with poor wifi connection will have 3 attempts now
  • Fallback url for P1 mode SDM230 / SDM630

v3.6.75

  • More try/catch code to avoid any crashes on Homewizard Legacy main unit getStatus fail (Device not found)
  • Fine tune “estimated kwh” plugin battery calculation based on user feedback
  • Code fixes: unhandledRejections CloudOn/Off for sockets and P1
  • Thermometer (Homewizard Legacy) - full code refractoring
  • Homewizard Legacy doesnt support keep-alive, changed back to normal fetch / retry
  • Finetune code keepAlive for other devices 10s
  • Bugfix: number_of_phases setting incorrectly updated
  • Added verbose mDNS discovery results for troubleshooting

v3.6.71

  • Finetuning polling and capability during init phase of various drivers
  • Bugfix SDM230 solar capability error
  • Added estimate kwh measurement for plugin battery
  • Homewizard Legacy getStatus error handling (device unreachable problem / crash)

v3.6.67

  • Enforcing interval clears on various devices when interval is reset
  • try_authorize handler bugfix (interval / timeout) app crash logs

v3.6.66

  • Fall back url setting upon initial poll for P1, sockets, kwh’s, watermeter. (older Homey Pro;s 2016/2019 seems to struggle with mDNS updates)
  • Removed retry code for Homewizard legacy devices (changed to keeping http agent session open / keepAlive)
  • Battery Group data removed from P1 after a fetch fail (bugfix)
  • Increased timeouts (authorize / pairing APIv2)
  • Language adjustment P1 warning (overload EN/NL)

NOTE: First time running this version will fail as the url setting is empty so it should improve onwards.

v3.6.63

  • SDM230 (p1 mode added)
  • P1apiv2 - added daily usage kwh (resets at nightime) (does not cater for directly consumed solar-used energy as this does not pass the smart meter at all)
  • Adjustment for P1 to look at Amp datapoints to detect 3-Phased devices in Norway
  • HTTP - keepalive agent added to P1, sockets, APIv2 devices
  • KeepAlive timeout increased from default 1000ms
  • AbortController code added for APiv2
  • Wifi quality capability added (-48dBm is not always clear to users if it is good or bad)
  • Bugfix: P1, missed setAvailable(). Code didn’t recover from a failed P1 connection and kept P1 offline

v3.6.58

  • Bugfix that was caused by experimental firmware Homey 12.5.2RC3 and slider capability that could not be removed
  • Added energy flags for sockets so they can trace imported/exported energy in Homey Energy Dashboard (Home Batteries connected via sockets)
  • Code cleanup
  • Added some fine tuning to spread the API call’s to the P1

v3.6.50

  • 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)
  • Removed sliders from Homeycompose

v3.6.40

  • Cloud connection setting made available for P1, Sockets, Watermeter, SDM230, SDM630
  • Bugfix Offset watermeter (Cannot read properties of undefined - reading ‘offset_water’)

v.3.6.37

  • Bug fix daily tracking Energy usage (only imported from net) (wasnt working for gas-less households)
  • Bug fix daily tracking gas usage

v3.6.34

  • P1(apiv2) gas meter bugfixes
  • P1(apiv2) aggregated total usage added (support for PowerByTheHour app)
  • Custom polling for Watermeter, SDM230, SDM630 and SDM630-p1 mode, Default 10s, adjust in advanced settings
  • Action cards plugin battery - P1apiv2 device is required (P1 firmware version 6.0201 or higher)
  • Wifi metric (dBm) added for P1(apiv2) and Plugin Battery
  • Custom Polling interval added for Plugin Battery
  • Daily usage imported power and gas (P1apiv1) - User request
  • Plugin Battery: added time_to_empty and time_to_full (minutes)

v3.6.6

  • Reverted interval back 10s as this has an increased load on some wifi networks and (older) homeys (Early2019). So only the HomeyPro2023 have P1 and kwh meters with a 1s interval.

v3.6.5

  • Reverted socket interval back 10s as this has an increased load on some wifi networks and (older) homeys
  • Adjusted P1 polling for slower Homey Early2019 models

v3.6.3

  • Homey Energy - Polling interval for all Energy devices (P1, kwh, sockets etc.) lowered to 1s (was 10s)

v3.6.2

  • Homey Energy dashhboard: Energylink meter_gas capability added
  • Text fix in Plugin Battery driver
  • APIv2 timer timeout problem

v3.6.0

  • Massive code rework (credits to DCSBL for time and effort)
    Warning note: code has been tested but could potentially break devices so please be careful and if case o
Summary

This text will be hidden

1 Like