『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 6450|回复: 3

[流程系列] 想利用node red,为斐讯T1盒子添加数字按键功能

[复制链接]

7

主题

220

帖子

749

积分

高级会员

Rank: 4

积分
749
金钱
524
HASS币
20
发表于 2018-12-19 19:39:17 | 显示全部楼层 |阅读模式
大佬们,这两天刚开始接触node red。参考前辈们的帖子,在盒子端安装盒子精灵后,可以用指令输入数字。现在想用node red控制T1盒子,输入数字键,方便快速选台……弱弱地想问下这条指令,在node red中如何实现……
curl -d "text=1" -X POST http://192.168.50.222:9978/text
………………需要运用哪些节点。谢谢
回复

使用道具 举报

9

主题

228

帖子

2052

积分

超级版主

Rank: 8Rank: 8

积分
2052
金钱
1799
HASS币
100

突出贡献

发表于 2018-12-19 22:41:26 | 显示全部楼层
[{"id":"6e3ce7fa.284b48","type":"inject","z":"d1917a9e.e87698","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":173.5,"y":376,"wires":[["560d6226.881e6c"]]},{"id":"30a71317.8d94cc","type":"http request","z":"d1917a9e.e87698","name":"","method":"POST","ret":"txt","url":"http://192.168.50.222:9978/text","tls":"","x":548.5,"y":382,"wires":[["1629fc75.e5e2b4"]]},{"id":"1629fc75.e5e2b4","type":"debug","z":"d1917a9e.e87698","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":749.5,"y":381,"wires":[]},{"id":"560d6226.881e6c","type":"function","z":"d1917a9e.e87698","name":"","func":"msg.payload={text:1}\nreturn msg;","outputs":1,"noerr":0,"x":357.5,"y":379,"wires":[["30a71317.8d94cc"]]}]
回复

使用道具 举报

7

主题

220

帖子

749

积分

高级会员

Rank: 4

积分
749
金钱
524
HASS币
20
 楼主| 发表于 2018-12-22 20:13:53 | 显示全部楼层
flashsoft 发表于 2018-12-19 22:41
[{"id":"6e3ce7fa.284b48","type":"inject","z":"d1917a9e.e87698","name":"","topic":"","payload":"","pa ...

谢谢f大
回复

使用道具 举报

0

主题

19

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
43
HASS币
0
发表于 2024-3-21 17:03:27 | 显示全部楼层
flashsoft 发表于 2018-12-19 22:41
[{"id":"6e3ce7fa.284b48","type":"inject","z":"d1917a9e.e87698","name":"","topic":"","payload":"","pa ...

回帖收藏 一下,超版就是厉害。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-22 17:19 , Processed in 0.047757 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表