thomluther / anker-solix-api

Python library for Anker Solix API
MIT License
74 stars 15 forks source link

Translate the smart meter fields and grid status codes #112

Closed thomluther closed 3 months ago

thomluther commented 3 months ago

Example of smart meter info in scene info: "grid_info": { "grid_list": [ { "device_pn": "p", "device_sn": "SN", "device_name": "Smart Meter", "device_img": "", "create_time": 1718626744, "status": "1", "bind_site_status": "", "wireless_type": "" } ], "photovoltaic_to_grid_power": "0", => grid export in W "grid_to_home_power": "669", => grid import in W "grid_status": 0, => translation table needed "has_history_data": true => App indicator field to display extra tab for grid statistics? },

A translation table for the grid_status is needed with possible codes seen and their actual meaning to the smart meter or grid, e.g. outage, connection loss, AI mode activation etc.

thomluther commented 3 months ago

Duplicate