Yesterday at 12:21 AM1 day Took a run at the code with stability in mind and my good friend Cursor helped me find a bunch of small items which are small but truly errors in my code. Going to run for a week or so then will push to production barring issues.VERSION = "1.13.5""""DONE sync versionHistory.md with hunterdouglas-poly.py; older history in versionHistory.md onlyDONE fix ready_event poll checks (Controller, Shade, Scene)DONE fix updateAllFromServer throttling and in-progress guardDONE fix parameterHandler startup flag after checkParamsDONE replace eval() with json/ast parsing for gatewayip listDONE accept gateway hostnames in addition to IP addressesDONE thread-safe stale gateway event cleanupDONE reset controller event_polling_in on thread exitDONE add HTTP GET timeout to match PUTDONE G3 shade discovery sets roomId and default batteryStatusDONE Shade updateData null guards for missing shade dataDONE fix battery-alert event batteryLevel key handlingDONE fix Scene Gen2 active check (generation not gateway IP)DONE safe scene-deactivated remove from sceneIdsActiveDONE consolidate PowerView URL constants into utils/urls.pyDONE consolidate gateway event lookup helpers in utils/gateway_events.pyDONE shared start_event_poll_thread helper for node event pollingDONE fix start_event_poll_thread when called from ControllerDONE get_gateway_event wait timeout so pollers cannot block indefinitelyDONE SSE Not Found handling restarts stream without stopping node pollersDONE G2 updateAllFromServerG2 fails if rooms/shades/scenes fetch fails
Create an account or sign in to comment