https://github.com/zmoog/zcs
ZCS Arrurro client (and CLI) for Go
https://github.com/zmoog/zcs
Last synced: about 1 year ago
JSON representation
ZCS Arrurro client (and CLI) for Go
- Host: GitHub
- URL: https://github.com/zmoog/zcs
- Owner: zmoog
- License: apache-2.0
- Created: 2024-10-21T06:22:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T21:51:40.000Z (about 1 year ago)
- Last Synced: 2025-06-12T22:56:49.816Z (about 1 year ago)
- Language: Go
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zcs
`zcs` is a CLI tool and Golang client to fetch real time data from ZCS Azzurro inverters. `zcs` fetches inverter data from the ZCS cloud platform at https://www.zcsazzurroportal.com.
To get your API credentials, install the [Azzurro Operators](https://apps.apple.com/it/app/azzurro-operators/id6447290301?l=en-GB) app, and create a support request.
## Quick Start
```shell
$ zcs azzurro fetch-realtime \
--client-id "JohnDoe" \
--api-auth "Zcs a0CHc2e9Y88h" \
--thing-key "ZMG8982372HCCB76"
Power importing: 900.00
Power exporting: 0.00
Power generating: 0.00
Power consuming: 900.00
Battery level: 20%
Last update: 2024-10-22 20:12:27 +0000 UTC
```
You can also set `client-id` and `api-auth` using environment variables:
```shell
export ZCS_CLIENT_ID="JohnDoe"
export ZCS_CLIENT_API_AUTH="Zcs a0CHc2e9Y88h"
zcs azzurro fetch-realtime \
--thing-key "ZMG8982372HCCB76"
```
Or the config file `~/.zcs`:
```shell
$ cat ~/.zcs
client_id: JohnDoe
api_auth: "Zcs a0CHc2e9Y88h"
zcs azzurro fetch-realtime \
--thing-key ZMG8982372HCCB76
```