處理 Famiclean 熱水器、瓦斯、水溫與剩餘瓦斯量相關請求,包含 discovery、總瓦斯用量查詢、目前設定溫度查詢、溫度設定與每日門檻通知。當使用者提到熱水器、瓦斯、水溫或剩餘瓦斯量時,優先使用這個 skill。
Use this skill to control a single Famiclean water heater over LAN from Orangepi3 or Picoclaw-style hosts.
The bundled scripts cover device discovery, total gas queries, temperature reads, temperature changes, and the 08:00 daily threshold check with Telegram, LINE, and Email notifications.
For PicoClaw-triggered runs, prefer the skill-local ./fami-claw wrapper so the agent can use stable command names and JSON output.
gas_total_m3 as 20 - (gas_total_m3 % 20).references/protocol.mdreferences/deployment.md if you need local .env setup, cron, or deployment guidance../fami-claw discover
./fami-claw read-gas
./fami-claw read-temp
./fami-claw set-temp 42
./fami-claw check-threshold
python scripts/famiclean.py discover
python scripts/famiclean.py get-total-gas
python scripts/famiclean.py get-temp
python scripts/famiclean.py set-temp 42
python scripts/famiclean.py check-threshold
~/.picoclaw/workspace/skills/fami-claw-skill/fami-claw.~/.picoclaw/workspace/bin/fami-claw as a symlink or copy of the same wrapper when you want a shell-friendly path.--json output and translates PicoClaw-friendly aliases:
read-temp -> get-tempwater-temp -> get-tempread-gas -> get-total-gasremaining-gas -> get-total-gasset-temperature -> set-tempread-temp / get-temp) and report the confirmed value.read-gas / get-total-gas and answer with remaining_to_next_threshold_m3.DEVICE_IP / DEVICE_MAC from your local config/.env copied from config/.env.example.discover when IP or MAC is missing or needs verification.request_usage may reply to the source port used by the earlier request_mac discovery packet.get-total-gas or read-gas to read the app-aligned total gas display value in M3.remaining_to_next_threshold_m3.get-temp or read-temp to read the current settemp.round(heatvalue_total / 9100, 2).request_usage.heatvalue_total + request_data.heatvalue_count before dividing by 9100.20 - (gas_total_m3 % 20).set-temp <N> or set-temperature <N> to request a new target temperature.50°C.request_data after sending the control payload.check-threshold for the 08:00 scheduled check.20 M3 boundary.discoverget-total-gasrequest_usage and returns:
heatvalue_totalheatvalue_countgas_total_m3gas_count_m3remaining_to_next_threshold_m3read-gasget-temprequest_data and returns the current settemp.read-tempset-tempcontrol_type:waterheatersettemp:<N>...settemp by polling request_data .set-temperaturecheck-thresholddata/famiclean-state.jsonscripts/famiclean.pyCLI entrypoint for all interactive and scheduled tasks.
fami-clawSkill-local PicoClaw wrapper that resolves the project home automatically, defaults to JSON output, and accepts stable aliases such as read-temp.
scripts/tools/Protocol, config, state, and notification helpers used by the CLI.
references/protocol.mdPacket-level protocol notes, field mapping, and the request_usage reply-port quirk.
references/deployment.mdDeployment notes for Orangepi3 / Picoclaw, .env configuration, and daily cron wiring.