This paper proposes a Modified Versoria Zero Attraction-based Least Mean Square (MVZA-LMS) control strategy for a grid-supportive PV battery system designed for hydrogen production and uninterrupted power supply in hybrid EV charging stations. The system ensures seamless operation in grid-connected and islanded modes, maintaining power delivery during grid outages. In grid-connected mode, current control extracts reference currents, suppresses harmonics, and supports accurate parameter estimation under distorted conditions. In islanded mode, voltage control ensures a stable power supply to the electrolyzer and local loads. A Dual Higher-Order Generalized Integrator Quasi-Type 2 (DHOQ)-based PLL ensures synchronization across modes. A PV feed-forward loop enhances power extraction and grid integration. Simulation and OPAL-RT-based real-time experiments validate the system's smooth mode transitions, compliance with IEEE-519-2022 THD standards, and robust performance across diverse conditions. The proposed strategy enhances system stability, bridging simulation, and practical deployment and offers a reliable solution for hydrogen generation and EV charging in grid-connected and off-grid settings.