senec-battery
TypeScript icon, indicating that this package has built-in type declarations

1.12.0 • Public • Published

senec-battery

API to read charging level and state from senec battery using lala.cgi

You can try the curl statement to determine if it in gernal works with your senec battery

curl -k -X POST "https://<IP_ADDRESS>/lala.cgi" -H "Content-Type: application/json" -d "{ "ENERGY": { "GUI_HOUSE_POW": "", "GUI_GRID_POW": "", "GUI_INVERTER_POWER": "", "GUI_BAT_DATA_POWER": "", "GUI_BAT_DATA_FUEL_CHARGE": "", "STAT_STATE": "", "STAT_STATE_TEXT": "" }, "STATISTIC": { "LIVE_GRID_IMPORT": "" }, "PM1OBJ1": { "P_AC": "" } }"

Replace the <IP_ADDRESS> with the ip of the senec battery.

Dependencies (2)

Dev Dependencies (3)

Package Sidebar

Install

npm i senec-battery

Weekly Downloads

1

Version

1.12.0

License

ISC

Unpacked Size

82.5 kB

Total Files

32

Last publish

Collaborators

  • buddyshome