enzoldhazam
Control NGBS iCON Smart Home thermostats via enzoldhazam.hu.
Setup
- 1. Install the CLI:
CODEBLOCK0
- 2. Login (credentials stored in macOS Keychain):
CODEBLOCK1
Or set environment variables:
CODEBLOCK2
Commands
| Command | Description |
|---|
| INLINECODE0 | Show all rooms with temperatures |
| INLINECODE1 |
JSON output for parsing |
|
enzoldhazam get <room> | Get specific room details |
|
enzoldhazam set <room> <temp> | Set target temperature |
|
enzoldhazam login | Save credentials to Keychain |
|
enzoldhazam logout | Clear stored credentials |
Examples
CODEBLOCK3
Instructions
When the user asks about home temperature, heating, or thermostats:
- 1. Use
enzoldhazam status to check current state - Use
enzoldhazam set <room> <temp> to change temperature - Parse
--json output when you need to process the data
Always confirm temperature changes with the user before executing.
enzoldhazam
通过 enzoldhazam.hu 控制 NGBS iCON 智能家居恒温器。
安装
- 1. 安装命令行工具:
bash
git clone https://github.com/daniel-laszlo/enzoldhazam.git
cd enzoldhazam
go build -o enzoldhazam ./cmd/enzoldhazam
sudo mv enzoldhazam /usr/local/bin/
- 2. 登录(凭据存储在 macOS 钥匙串中):
bash
enzoldhazam login
或设置环境变量:
bash
export ENZOLDHAZAM_USER=your-email
export ENZOLDHAZAM_PASS=your-password
命令
| 命令 | 描述 |
|---|
| enzoldhazam status | 显示所有房间及其温度 |
| enzoldhazam status --json |
输出 JSON 格式以便解析 |
| enzoldhazam get <房间> | 获取特定房间详情 |
| enzoldhazam set <房间> <温度> | 设置目标温度 |
| enzoldhazam login | 将凭据保存到钥匙串 |
| enzoldhazam logout | 清除已存储的凭据 |
示例
bash
查看当前温度
enzoldhazam status
将房间设置为 22°C
enzoldhazam set Living Room 22
以 JSON 格式获取房间信息
enzoldhazam get Bedroom --json
使用说明
当用户询问家庭温度、供暖或恒温器时:
- 1. 使用 enzoldhazam status 检查当前状态
- 使用 enzoldhazam set <房间> <温度> 更改温度
- 在需要处理数据时解析 --json 输出
在执行温度更改前,务必先与用户确认。