Skip to content

Releases: ASomerN/node-red-contrib-octopus-intelligent

v1.0.3 - Charging State Detection & Sensor Fixes

06 Dec 10:21

Choose a tag to compare

🚗⚡ Charging State Detection & Sensor Fixes

This release fixes critical bugs with charging state detection and Home Assistant sensor stability, plus adds
Flow Library scorecard compliance.

✨ What's New

State Reconciliation Loop

  • Checks charging state every 10 seconds using cached slot data
  • No extra API calls - efficient local processing
  • Automatically handles immediate/imminent charging slots when car is plugged in
  • Self-healing: corrects state if timers miss edge cases

Flow Library Compliance

  • ✅ All scorecard criteria now pass
  • Added version requirement in package.json (Node-RED >=2.0.0)
  • Included 3 example flows for easy getting started

🐛 Bug Fixes

Home Assistant Sensors Going "Unknown"

  • Fixed: Sensors no longer go "unknown" when adjusting control sliders/dropdowns
  • Sensors maintain last known values while editing pending preferences
  • Only update when fresh data arrives from API

Charging State Not Updating

  • Fixed: "Charging Now" sensor now updates correctly for immediate slots
  • Handles edge case where slots start within 30 seconds of polling
  • Reconciliation loop detects changes within 10 seconds maximum

🔧 Improvements

  • Enhanced charging state management with redundant detection methods
  • Better MQTT state publishing to preserve sensor data during updates

[1.0.2] - 2025-11-30

30 Nov 14:02

Choose a tag to compare

[1.0.2] - 2025-11-30

Changed

  • Updated flow example description in Node-RED help panel for better clarity
  • Improved explanation of default behavior: reads by default, manually refreshable, and accepts commands

[1.0.1] - 2025-11-30

Added

  • Node.js and Node-RED version requirements in package.json engines field
    • Minimum Node.js: >=14.0.0
    • Minimum Node-RED: >=2.0.0
    • Addresses Flow Library scorecard requirements
  • Comprehensive example flows in Node-RED help panel
    • Basic monitoring flow (inject every 5 min)
    • Set preferences from flow (JSON payload with set_limit/set_time)
    • Home Assistant MQTT integration example
  • Visual documentation with screenshots
    • Node-RED flow examples showing monitoring, preferences, and preset buttons
    • MQTT integration flow example
    • Home Assistant device page with all entities
  • Visual Examples section in Node-RED help panel with embedded GitHub-hosted images
  • Screenshots section in README.md showing real-world usage