花开堪折枝 发表于 2018-11-16 13:24:05

【Node-Red】 每日古诗词 - 抓取网站已经挂了,不能用了

本帖最后由 花开堪折枝 于 2024-5-7 13:45 编辑

流程图




通过http获取古诗词,然后通过mqtt发送,可以配合各种传感器做tts

输出信息




节点信息


[{"id":"9f7bc6d2.1403b8","type":"tab","label":"流程4","disabled":false,"info":""},{"id":"aebb6f6e.de34e","type":"http request","z":"9f7bc6d2.1403b8","name":"获取古诗词","method":"GET","ret":"obj","url":"https://api.gushi.ci/all.json","tls":"","x":587,"y":384,"wires":[["6a470f6f.5a52b","aee69402.c4c838"]]},{"id":"1b07ae22.997312","type":"inject","z":"9f7bc6d2.1403b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":"","x":398,"y":384,"wires":[["aebb6f6e.de34e"]]},{"id":"6a470f6f.5a52b","type":"debug","z":"9f7bc6d2.1403b8","name":"调试节点","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":758,"y":205,"wires":[]},{"id":"aee69402.c4c838","type":"mqtt out","z":"9f7bc6d2.1403b8","name":"mqtt发送","topic":"node-red/guishi","qos":"0","retain":"","broker":"1550bab3.2a8365","x":778,"y":375,"wires":[]},{"id":"1550bab3.2a8365","type":"mqtt-broker","z":"","name":"home","broker":"shenfan.f3322.net","port":"2883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]


zuola1006 发表于 2018-11-16 13:38:17

学习学习,天天向上

xuyang 发表于 2018-11-16 13:44:00

学习一下

crazybobby 发表于 2018-11-16 14:47:16

学习!!!!

gzroc 发表于 2018-11-16 16:03:52

还没搞懂node-red是什么

gzh 发表于 2018-11-16 16:06:29

谢谢分享

Suptink 发表于 2018-11-16 16:17:17


学习学习,天天向上

robotxc 发表于 2018-11-16 18:57:00

谢谢分享

缥缈的孤鸿 发表于 2018-11-16 20:20:11

666,好好学习天天向上

test20171717 发表于 2018-11-17 04:27:48

super great!let me do it
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 【Node-Red】 每日古诗词 - 抓取网站已经挂了,不能用了