4
11
78
注册会员
使用道具 举报
12
149
1764
论坛技术达人
var time = (new Date()).getHours(); if (time < 8 || time >= 20) { msg.payload = "off"; } else { msg.payload = "on"; } return msg;
18
90
823
论坛UI达人
gasment 发表于 2024-12-30 14:32 安装第三方node-red-contrib-time-range-switch节点
9
55
182
[email protected] 发表于 2024-12-30 16:54 这个是简单,不需要写代码 ,谢谢
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-23 05:21 , Processed in 0.085701 second(s), 26 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.