Real-time Monitoring
Poll solar, battery, and grid power every 15 seconds with automatic push-mode data collection from the inverter.
Native Node.js library for local Modbus TCP communication — no cloud required
npm install givenergy-modbusRequires Node.js 20+. TypeScript types included.
import { GivEnergyInverter } from 'givenergy-modbus';
const inverter = await GivEnergyInverter.connect({ host: '192.168.1.100' });
inverter.on('data', (snapshot) => {
console.log(`Solar: ${snapshot.solarPower}W`);
console.log(`Battery: ${snapshot.stateOfCharge}%`);
console.log(`Grid: ${snapshot.gridPower}W`);
});