tp fan
Tibbo-Piのファンの制御を行います。
本ノードはCPU冷却ユニット付きの「Tibbo-Pi P4」でのみ使用できます。
ファンはTibbo-PiボードとRaspberry Pi の間にあります。
ノードの配置
changeノードを使用します。
changeノードの編集を開き、payload.v に値を指定します。
payload.v : 1: 回転, 0: 停止
実行するとファンが回転します。
サンプルフロー
1 |
[{"id":"776c03ed.acd55c","type":"tp-fan out","z":"bf6fcb45.d153b8","name":"","tpSlot":"S00","communication":"TP_FAN","connectedStatus":"start","host":"","x":990,"y":760,"wires":[]},{"id":"15d993a1.600c4c","type":"inject","z":"bf6fcb45.d153b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":660,"y":660,"wires":[["8e1c39b2.94ed38"]]},{"id":"8e1c39b2.94ed38","type":"change","z":"bf6fcb45.d153b8","name":"","rules":[{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"payload.v","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":820,"y":720,"wires":[["776c03ed.acd55c"]]}] |