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