Old ~/.config/credentials deleted on the operator's go (R-1134 closed); R-1130 accepted; R-1138 for its two backup copies (176 rows)
gates / gates (push) Successful in 7m0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
2026-10-17 14:40:49 +02:00
parent e281de37c0
commit d4ce52e1bb
13 changed files with 108 additions and 11 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ lifetime total. Use watts × time for energy.
When the plug moves address or is paired again: re-run the tinytuya wizard in `~/.config/felhom-bench/`
(credentials `TUYA_ID`, `TUYA_SECRET`, `TUYA_DEVICE_ID`, region `eu`) and update `plug.json`. Its output prints the
key — send it to a file, never to a terminal or a log. The credentials belong in the CC secret store and are used
through `sec run TUYA_ID,TUYA_SECRET,TUYA_DEVICE_ID -- …` (`admin/cc-secrets`); **they are not in the store yet** —
the old `~/.config/credentials` did not hold them either on 2026-10-17 (R-1118 build).
through `sec run TUYA_ID,TUYA_SECRET,TUYA_DEVICE_ID_N100,TUYA_DEVICE_ID_HP -- …` (`admin/cc-secrets`; the operator added
them 2026-10-17, and a read-only cloud status call through `sec run` passed for both plugs).
## plugswitch.py — switch the N100's plug (`on`, `off`, `status`)