Skip to content

Releases: db-EV/ZoePHP

20260520

Choose a tag to compare

@db-EV db-EV released this 20 May 05:29
9624036

Changed Gigya API key for Europe.

20260619 (testing/beta)

Pre-release

Choose a tag to compare

@db-EV db-EV released this 19 Jun 08:54
9624036

Security & performance hardening

This release tightens error handling and output security, speeds up data refresh, and makes file writes report failures correctly. Backward-compatible: no configuration or session-format changes.

Security

  • API errors no longer expose the account ID or VIN — failed requests report only the host, and user-facing/cron messages are now generic.
  • Consistent output escaping (htmlspecialchars with ENT_QUOTES/UTF-8), rel="noopener noreferrer" on external map links, and Cache-Control: no-store on all pages.

Performance

  • Cockpit, charge-mode and (Ph2) location are now fetched concurrently via curl_multi, noticeably reducing dashboard load time; weather still follows afterwards as it depends on the GPS data.
  • cURL timeouts are centralized and lowered (8s connect / 15s total) so an unresponsive API can no longer stack up across the calls in a single page load.

Reliability

  • Session and CSV writes now return false on a lock or write failure instead of always reporting success.

After updating you may delete the session file as usual; no settings need to change.

Full Changelog: 2024080...20260619-testing

20260520 (testing/beta)

Pre-release

Choose a tag to compare

@db-EV db-EV released this 20 May 15:58
07c368b

Changed Gigya API key for Europe.

20260222 (testing/beta)

Pre-release

Choose a tag to compare

@db-EV db-EV released this 22 Feb 10:48
4e40b7e

Overview
This is a substantial refactoring of ZoePHP with help of Claude AI. The changes modernize the codebase without adding new user-facing features.

Migrating from old codebase
Don't overwrite your old config.php. After uploading all other files, run migration.php and delete it afterwards.

New file src/functions.php
Central library of helper functions extracted from the main scripts:

  • Session management
  • HTTP/cURL wrappers
  • Gigya key resolution
  • Utility helpers

New file src/migration.php
One-time migration script for users upgrading from the old format:

  • Converts config.php boolean flags from 'Y'/'N' strings → PHP true/false
  • Migrates the session file from pipe-separated indexed format → JSON with named keys
  • Adds $timezone to config if missing

New files src/templates/dashboard.php and src/templates/history.php

  • HTML templates extracted from index.php and history.php to separate presentation from logic

20240809

Choose a tag to compare

@db-EV db-EV released this 09 Aug 16:08
013aa1c

Removed some data which Renault isn't delivering anymore and optimized history viewing.

20240101

Choose a tag to compare

@db-EV db-EV released this 01 Jan 09:27
47e2df9

Resolved a bug if no GPS coordinates are transmitted, for example when navigation subscription is inactivce.

20230418

Choose a tag to compare

@db-EV db-EV released this 18 Apr 14:14
798687d

Updated Kamereon API key (thanks to @TheReiner)

20230221

Choose a tag to compare

@db-EV db-EV released this 21 Feb 20:23
7f7577d

Added average charging power in history for Ph2 vehicles (thanks to @Malimalo).

20221228

Choose a tag to compare

@db-EV db-EV released this 28 Dec 07:36
764443f

Fixed error for OpenWeatherMap API

20221225

Choose a tag to compare

@db-EV db-EV released this 25 Dec 17:01
5dbd2d2

Added MeganE i config.php