github grzegorz914/homebridge-enphase-envoy v10.6.11

latest release: v10.6.12
9 hours ago

Fixed

  • RESTFul / MQTT data not updating after nightly Envoy reset (22:57–23:10 window):
    • handleError was clearing jwtToken.token on every 401 response, forcing a 30-second delay and a full JWT re-fetch from the Enlighten API even when only the session cookie had expired; now only tokenValid is invalidated — checkToken already checks expires_at independently
    • cron 23:10 restart changed to runOnStart=false to prevent all update handlers firing simultaneously right after the Envoy reset, which caused cascading 401 errors
    • handleWithLock now catches exceptions thrown by checkToken (e.g. from validateToken) instead of leaking unhandled promise rejections

Changed

  • Characteristic.SheduleCharacteristic.Schedule (class name corrected; UUID unchanged)
  • Service.AcBatterieServiceService.AcBatteryService, Service.AcBatterieSummaryServiceService.AcBatterySummaryService (class names corrected; UUIDs unchanged)
  • ApiUrls.EnchrgeStatusApiUrls.EnchargeStatus, ApiUrls.InternalMeterRevelsalEidApiUrls.InternalMeterReversalEid
  • corrected display strings: "Generstor""Generator", "Powwr on unused phase""Power on unused phase", "State oF Charge""State of Charge", "AC Batterie""AC Battery", "Shedule""Schedule", acvoltagehighline2 / acvoltagelowline2 descriptions fixed
  • removed unused imports XMLBuilder, XMLValidator from envoydata.js
  • internal variable renames: lockControTimelockControlTime, generatorModeContolsgeneratorModeControls, comsumptionNetconsumptionNet
  • missing await added to axiosInstance.put in setEnchargeSettings

What's Changed

  • Potential fix for code scanning alert no. 1: Workflow does not contain permissions by @grzegorz914 in #228

Full Changelog: v10.6.0...v10.6.11

Don't miss a new homebridge-enphase-envoy release

NewReleases is sending notifications on new releases.