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

 找回密码
 立即注册
查看: 14349|回复: 13

[流程系列] 【node-red】京东商品价格监控

[复制链接]

15

主题

108

帖子

1351

积分

论坛技术达人

积分
1351
金钱
1238
HASS币
20

教程狂人

发表于 2018-11-5 11:18:38 | 显示全部楼层 |阅读模式
本帖最后由 antsunzj 于 2020-1-30 14:42 编辑

先看流程图

  • 依赖节点

京东返回数据不是utf-8,所以需要下面节点转换一样编码

node-red-contrib-iconv
node-red-dashboard
  • 显示信息
    • 手机价格
    • app价格
    • pc端价格
    • 库存状态
    • 优惠信息
    • 退货提示

无法获取优惠券信息,这个需要登录状态
无法获取优惠券信息,这个需要登录状态
无法获取优惠券信息,这个需要登录状态

  • 设置详细地区

  • 修改商品参数
    按照下面图片修改商品参数即可

  • 流程信息
[{"id":"de28976.b66f468","type":"tab","label":"京东价格监控","disabled":false,"info":""},{"id":"354e24d.7c73adc","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":2,"width":0,"height":0,"name":"","label":"手机端价格","format":"{{msg.payload.app}}","layout":"row-spread","x":1135.2856826782227,"y":678.0000114440918,"wires":[]},{"id":"4701c775.b5ca88","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":4,"width":0,"height":0,"name":"","label":"PC端","format":"{{msg.payload.pc}}","layout":"row-spread","x":1125.2856826782227,"y":737.0000114440918,"wires":[]},{"id":"bb53eef6.28cb7","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":3,"width":0,"height":0,"name":"","label":"微信端","format":"{{msg.payload.wechat}}","layout":"row-spread","x":1126.2856826782227,"y":801.0000114440918,"wires":[]},{"id":"cc3b2e35.53b17","type":"inject","z":"de28976.b66f468","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":308.28568267822266,"y":367.0000114440918,"wires":[["48f3bbcc.3111a4"]]},{"id":"79f0ff6f.7c21e","type":"http request","z":"de28976.b66f468","name":"PC端","method":"GET","ret":"obj","url":"https://p.3.cn/prices/get?type=1&skuid=J_{{{skuId}}}","tls":"","x":808.2856826782227,"y":226.0000114440918,"wires":[["54abd749.256738"]]},{"id":"7198f916.4b7248","type":"http request","z":"de28976.b66f468","name":"APP端","method":"GET","ret":"obj","url":"https://pm.3.cn/prices/mgets?origin=2&skuIds={{{skuId}}}","tls":"","x":797.2856826782227,"y":318.0000114440918,"wires":[["9ae0a392.6206f"]]},{"id":"2fdc717f.b5471e","type":"http request","z":"de28976.b66f468","name":"微信端","method":"GET","ret":"obj","url":"https://pe.3.cn/prices/mgets?origin=5&skuids={{{skuId}}}","tls":"","x":796.2856826782227,"y":388.0000114440918,"wires":[["a0126b49.00fb98"]]},{"id":"48f3bbcc.3111a4","type":"function","z":"de28976.b66f468","name":"数据源","func":"/*\n{\n1:'北京',2:'上海',3:'天津',4:'重庆',5:'河北',6:'山西',7:'河南',8:'辽宁',9:'吉林',10:'黑龙江',\n11:'内蒙古',12:'江苏',13:'山东',14:'安徽',15:'浙江',16:'福建',17:'湖北',18:'湖南',19:'广东',20:'广西',\n21:'江西',22:'四川',23:'海南',24:'贵州',25:'云南',26:'西藏',27:'陕西',28:'甘肃',29:'青海',30:'宁夏',\n31:'新疆',32:'台湾',84:'钓鱼岛',52993:'港澳'\n}\n*/\n//https://item.jd.com/7437788.html\nmsg.name = 'xxx'\nmsg.skuId=5056259 // 就是链接里面的数字\n\n//这是自己详细的地区,和下面注释或删除的保留一个\n//msg.province='15-1213-1215-52668'\n\n//一下处理未默认市,一般是省会, 从这里开始注释掉或删除\nmsg.province=12 //从上面注释获取对应的\nprovinces = {1: 72, 2: 78, 3: 51035, 4: 113, 5: 142, 6: 303, 7: 412, 8: 560, 9: 639, 10: 698, 11: 799, 12: 904, 13: 1000, 14: 1116, 15: 1158, 16: 1303, 17: 1381, 18: 1482, 19: 1601, 20: 1715, 21: 1827, 22: 1930, 23: 2121, 24: 2144, 25: 2235, 26: 2951, 27: 2376, 28: 2487, 29: 2580, 30: 2628, 31: 2652, 32: 2768, 84: 84, 52993: 2754}\nids = {\"72\":\"2799\",\"78\":\"79\",\"113\":\"9775\",\"114\":\"9893\",\"115\":\"9938\",\"119\":\"9970\",\"123\":\"9754\",\"126\":\"13518\",\"128\":\"10002\",\"129\":\"10032\",\"130\":\"10058\",\"131\":\"10377\",\"132\":\"9827\",\"133\":\"10089\",\"134\":\"10131\",\"135\":\"10158\",\"136\":\"10187\",\"137\":\"10213\",\"138\":\"10244\",\"139\":\"10283\",\"140\":\"10307\",\"141\":\"10346\",\"142\":\"143\",\"148\":\"167\",\"164\":\"183\",\"199\":\"203\",\"224\":\"225\",\"239\":\"241\",\"248\":\"261\",\"258\":\"2756\",\"264\":\"265\",\"274\":\"284\",\"275\":\"291\",\"303\":\"304\",\"309\":\"310\",\"318\":\"319\",\"325\":\"326\",\"330\":\"331\",\"336\":\"338\",\"350\":\"351\",\"368\":\"369\",\"379\":\"380\",\"398\":\"399\",\"412\":\"415\",\"420\":\"421\",\"427\":\"428\",\"438\":\"439\",\"446\":\"447\",\"454\":\"455\",\"458\":\"459\",\"468\":\"469\",\"475\":\"476\",\"482\":\"483\",\"489\":\"490\",\"495\":\"496\",\"502\":\"503\",\"517\":\"518\",\"527\":\"529\",\"538\":\"540\",\"549\":\"551\",\"560\":\"567\",\"573\":\"574\",\"579\":\"580\",\"584\":\"585\",\"589\":\"591\",\"593\":\"596\",\"598\":\"599\",\"604\":\"606\",\"609\":\"610\",\"613\":\"614\",\"617\":\"618\",\"621\":\"623\",\"632\":\"633\",\"639\":\"640\",\"644\":\"645\",\"651\":\"652\",\"657\":\"658\",\"664\":\"665\",\"674\":\"675\",\"681\":\"682\",\"687\":\"3312\",\"698\":\"699\",\"712\":\"713\",\"727\":\"728\",\"731\":\"733\",\"737\":\"739\",\"742\":\"744\",\"753\":\"754\",\"757\":\"758\",\"765\":\"766\",\"773\":\"774\",\"776\":\"777\",\"782\":\"784\",\"793\":\"794\",\"799\":\"801\",\"805\":\"807\",\"810\":\"811\",\"812\":\"814\",\"823\":\"824\",\"835\":\"836\",\"848\":\"849\",\"870\":\"871\",\"880\":\"881\",\"891\":\"892\",\"895\":\"896\",\"902\":\"3142\",\"904\":\"905\",\"911\":\"914\",\"919\":\"920\",\"925\":\"926\",\"933\":\"934\",\"939\":\"940\",\"951\":\"955\",\"959\":\"960\",\"965\":\"967\",\"972\":\"973\",\"978\":\"980\",\"984\":\"3381\",\"988\":\"993\",\"1000\":\"1002\",\"1007\":\"1014\",\"1016\":\"1019\",\"1022\":\"3522\",\"1025\":\"1026\",\"1032\":\"1033\",\"1042\":\"1044\",\"1053\":\"1054\",\"1058\":\"1059\",\"1060\":\"1061\",\"1072\":\"1073\",\"1081\":\"1082\",\"1090\":\"1092\",\"1099\":\"1101\",\"1108\":\"2934\",\"1112\":\"3132\",\"1114\":\"19783\",\"1116\":\"1119\",\"1121\":\"1122\",\"1124\":\"19223\",\"1127\":\"1128\",\"1132\":\"1133\",\"1137\":\"1138\",\"1140\":\"1141\",\"1151\":\"1153\",\"1158\":\"1224\",\"1159\":\"1161\",\"1167\":\"1168\",\"1174\":\"1176\",\"1180\":\"1181\",\"1201\":\"1202\",\"1206\":\"1207\",\"1213\":\"1214\",\"1233\":\"1237\",\"1243\":\"1244\",\"1250\":\"1251\",\"1255\":\"1257\",\"1262\":\"1263\",\"1273\":\"1275\",\"1280\":\"1281\",\"1290\":\"1291\",\"1298\":\"1300\",\"1303\":\"1305\",\"1315\":\"1316\",\"1317\":\"1319\",\"1329\":\"1331\",\"1332\":\"1334\",\"1341\":\"1343\",\"1352\":\"1354\",\"1362\":\"1364\",\"1370\":\"1372\",\"1381\":\"1386\",\"1387\":\"1389\",\"1396\":\"1397\",\"1405\":\"1406\",\"1413\":\"1414\",\"1421\":\"1423\",\"1432\":\"1435\",\"1441\":\"1444\",\"1458\":\"1461\",\"1466\":\"1467\",\"1475\":\"3601\",\"1477\":\"1478\",\"1479\":\"3163\",\"1482\":\"1485\",\"1488\":\"1489\",\"1495\":\"1496\",\"1499\":\"1500\",\"1501\":\"1502\",\"1511\":\"1512\",\"1522\":\"1523\",\"1530\":\"1532\",\"1540\":\"1541\",\"1544\":\"1545\",\"1555\":\"1556\",\"1560\":\"1563\",\"1574\":\"1575\",\"1586\":\"1588\",\"1592\":\"1593\",\"1601\":\"3633\",\"1607\":\"3155\",\"1609\":\"41653\",\"1611\":\"1614\",\"1617\":\"1618\",\"1627\":\"1628\",\"1634\":\"1635\",\"1643\":\"1647\",\"1650\":\"1653\",\"1655\":\"2950\",\"1657\":\"2777\",\"1659\":\"37258\",\"1666\":\"1669\",\"1672\":\"1673\",\"1677\":\"1679\",\"1684\":\"1687\",\"1690\":\"1693\",\"1698\":\"1700\",\"1704\":\"1795\",\"1705\":\"1707\",\"1709\":\"1712\",\"1715\":\"1716\",\"1720\":\"1721\",\"1726\":\"1727\",\"1740\":\"1741\",\"1746\":\"1747\",\"1749\":\"1750\",\"1753\":\"1754\",\"1757\":\"1758\",\"1761\":\"1762\",\"1792\":\"1803\",\"1806\":\"1807\",\"1818\":\"1820\",\"1827\":\"1828\",\"1832\":\"1833\",\"1836\":\"1837\",\"1842\":\"1843\",\"1845\":\"1846\",\"1857\":\"1858\",\"1861\":\"1863\",\"1874\":\"1875\",\"1885\":\"1887\",\"1898\":\"1899\",\"1911\":\"1912\",\"1930\":\"4284\",\"1946\":\"1947\",\"1950\":\"1951\",\"1954\":\"1955\",\"1960\":\"1970\",\"1962\":\"1965\",\"1977\":\"1978\",\"1983\":\"1984\",\"1988\":\"1989\",\"1993\":\"1994\",\"2005\":\"2006\",\"2016\":\"2017\",\"2022\":\"2028\",\"2033\":\"2034\",\"2042\":\"2044\",\"2047\":\"2049\",\"2058\":\"2060\",\"2065\":\"2068\",\"2070\":\"2071\",\"2084\":\"2085\",\"2103\":\"2105\",\"2121\":\"22466\",\"2144\":\"2145\",\"2150\":\"2151\",\"2155\":\"2156\",\"2169\":\"2170\",\"2180\":\"2182\",\"2189\":\"2190\",\"2196\":\"2197\",\"2205\":\"2206\",\"2222\":\"2223\",\"2235\":\"2236\",\"2247\":\"2249\",\"2258\":\"2259\",\"2270\":\"2271\",\"2281\":\"2282\",\"2291\":\"2292\",\"2298\":\"2299\",\"2304\":\"2305\",\"2309\":\"2310\",\"2318\":\"2319\",\"2332\":\"2333\",\"2336\":\"2338\",\"2347\":\"2349\",\"2360\":\"2361\",\"2366\":\"2367\",\"2376\":\"2380\",\"2386\":\"2387\",\"2390\":\"2392\",\"2402\":\"2403\",\"2416\":\"2417\",\"2428\":\"2429\",\"2442\":\"2443\",\"2454\":\"2456\",\"2468\":\"2469\",\"2476\":\"2478\",\"2487\":\"2488\",\"2492\":\"2493\",\"2495\":\"2496\",\"2501\":\"2504\",\"2509\":\"2970\",\"2518\":\"2519\",\"2525\":\"2526\",\"2534\":\"2535\",\"2544\":\"2545\",\"2549\":\"2550\",\"2556\":\"2558\",\"2564\":\"2565\",\"2573\":\"2574\",\"2580\":\"2581\",\"2585\":\"2586\",\"2592\":\"2593\",\"2597\":\"2598\",\"2603\":\"4012\",\"2605\":\"2606\",\"2612\":\"2613\",\"2620\":\"2621\",\"2628\":\"2629\",\"2632\":\"2633\",\"2637\":\"2638\",\"2644\":\"2647\",\"2652\":\"2653\",\"2654\":\"2655\",\"2656\":\"2657\",\"2658\":\"2659\",\"2662\":\"2663\",\"2666\":\"2667\",\"2675\":\"2676\",\"2686\":\"2687\",\"2699\":\"2700\",\"2704\":\"2705\",\"2714\":\"2715\",\"2723\":\"2724\",\"2727\":\"2728\",\"2736\":\"2737\",\"2744\":\"2745\",\"2754\":\"2755\",\"2768\":\"2769\",\"2770\":\"2771\",\"2780\":\"35173\",\"2800\":\"2848\",\"2801\":\"2827\",\"2802\":\"2821\",\"2803\":\"2829\",\"2804\":\"2828\",\"2805\":\"2832\",\"2806\":\"2831\",\"2807\":\"51552\",\"2808\":\"51528\",\"2809\":\"51216\",\"2810\":\"4194\",\"2812\":\"51125\",\"2813\":\"2863\",\"2814\":\"2847\",\"2815\":\"2870\",\"2816\":\"2862\",\"2817\":\"2873\",\"2820\":\"2879\",\"2822\":\"2856\",\"2823\":\"2884\",\"2824\":\"51911\",\"2825\":\"2892\",\"2826\":\"2864\",\"2830\":\"51800\",\"2833\":\"2869\",\"2834\":\"2866\",\"2835\":\"2868\",\"2837\":\"2888\",\"2841\":\"2876\",\"2900\":\"2908\",\"2901\":\"2906\",\"2919\":\"50779\",\"2922\":\"23585\",\"2951\":\"2952\",\"2953\":\"2954\",\"2971\":\"2972\",\"2980\":\"23618\",\"2983\":\"23646\",\"2992\":\"2993\",\"3034\":\"3125\",\"3044\":\"3046\",\"3065\":\"51505\",\"3071\":\"3072\",\"3074\":\"3075\",\"3080\":\"3081\",\"3107\":\"3108\",\"3115\":\"3720\",\"3129\":\"3130\",\"3137\":\"3768\",\"3138\":\"3139\",\"3144\":\"3160\",\"3154\":\"23610\",\"3168\":\"3169\",\"3173\":\"3780\",\"3690\":\"3693\",\"3698\":\"3752\",\"3699\":\"3712\",\"3701\":\"3790\",\"3702\":\"3801\",\"3703\":\"3811\",\"3704\":\"3820\",\"3705\":\"3828\",\"3706\":\"3834\",\"3707\":\"3878\",\"3708\":\"3858\",\"3709\":\"3869\",\"3710\":\"3845\",\"3711\":\"3887\",\"3970\":\"3972\",\"3971\":\"3979\",\"4108\":\"6823\",\"4110\":\"4122\",\"4164\":\"10406\",\"6858\":\"6859\",\"15945\":\"15948\",\"15946\":\"15947\",\"48131\":\"48185\",\"48132\":\"48163\",\"48133\":\"48134\",\"48201\":\"48295\",\"48202\":\"48351\",\"48203\":\"48237\",\"48204\":\"48209\",\"48205\":\"48325\",\"48206\":\"48277\",\"48207\":\"48254\",\"50950\":\"88\",\"50951\":\"4298\",\"50952\":\"106\",\"50953\":\"50979\",\"50954\":\"111\",\"50995\":\"50996\",\"51026\":\"103\",\"51027\":\"50956\",\"51028\":\"50955\",\"51035\":\"39620\",\"51036\":\"2984\",\"51037\":\"2987\",\"51038\":\"3000\",\"51039\":\"2985\",\"51040\":\"2986\",\"51041\":\"98\",\"51042\":\"36157\",\"51043\":\"2907\",\"51044\":\"25708\",\"51045\":\"25711\",\"51046\":\"22846\",\"51047\":\"25704\",\"51048\":\"23672\",\"51049\":\"8545\",\"51050\":\"6646\",\"51051\":\"22848\",\"51052\":\"23674\"}\n\ntem = msg.province\ntem1 = provinces[tem]\ntem2 = ids[tem1]\n\nreal = `${tem}_${tem1}_${tem2}`\nmsg.province=real\n\n// 结束注释或删除\n\nreturn msg;","outputs":1,"noerr":0,"x":479.28568267822266,"y":365.0000114440918,"wires":[["788f2a4f.1dbc24","79f0ff6f.7c21e","7198f916.4b7248","2fdc717f.b5471e","a15d226f.640a2"]]},{"id":"a15d226f.640a2","type":"http request","z":"de28976.b66f468","name":"库存情况","method":"GET","ret":"bin","url":"https://c0.3.cn/stock?skuId={{{skuId}}}&cat=670,699,983&venderId=647310&area={{{province}}}&extraParam={%22originid%22:%221%22}","tls":"","x":800.2856826782227,"y":453.0000114440918,"wires":[["3f4155b0.f4125a"]]},{"id":"79bab24f.bff88c","type":"debug","z":"de28976.b66f468","name":"调试节点","active":true,"tosidebar":true,"console":true,"tostatus":false,"complete":"true","x":321.28568267822266,"y":464.0000114440918,"wires":[]},{"id":"54abd749.256738","type":"function","z":"de28976.b66f468","name":"数据处理","func":"var p = msg.payload[0][\"p\"]\nmsg.payload = {}\nmsg.payload['pc'] = p\nreturn msg;","outputs":1,"noerr":0,"x":1123.2856826782227,"y":215.0000114440918,"wires":[["5bd4144b.3d16ac"]]},{"id":"a0126b49.00fb98","type":"function","z":"de28976.b66f468","name":"数据处理","func":"var p = msg.payload[0]['p']\nmsg.payload = {}\nmsg.payload['wechat'] = p\nreturn msg;","outputs":1,"noerr":0,"x":1112.2856826782227,"y":351.0000114440918,"wires":[["5bd4144b.3d16ac"]]},{"id":"9ae0a392.6206f","type":"function","z":"de28976.b66f468","name":"数据处理","func":"var p = msg.payload[0]['p']\nmsg.payload = {}\nmsg.payload['app'] = p\nreturn msg;","outputs":1,"noerr":0,"x":1120.2856826782227,"y":293.0000114440918,"wires":[["5bd4144b.3d16ac"]]},{"id":"760a745d.0796dc","type":"function","z":"de28976.b66f468","name":"数据处理","func":"var json = JSON.parse(msg.payload);\nvar tmp = msg\nmsg.payload = {}\nmsg.payload['StockStateName'] = json['stock']['StockStateName']\nmsg.payload['promiseYX'] = json['stock']['promiseYX']['iconTip']\nmsg.payload['name'] = msg.name\nreturn msg;","outputs":1,"noerr":0,"x":1121.2856826782227,"y":414.0000114440918,"wires":[["5bd4144b.3d16ac"]]},{"id":"3f4155b0.f4125a","type":"converter","z":"de28976.b66f468","name":"垃圾京东,返回数据需要转码","from":"gb2312","x":834.7856826782227,"y":523.0000114440918,"wires":[["760a745d.0796dc"]]},{"id":"5bd4144b.3d16ac","type":"join","z":"de28976.b66f468","name":"","mode":"custom","build":"merged","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"5","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":491.78568267822266,"y":651.0000114440918,"wires":[["354e24d.7c73adc","4701c775.b5ca88","bb53eef6.28cb7","626b989.1aa3468","11b061e4.950f1e","5a989189.d457b","16bf285e.dcbf38","3a9a4e4.daaafb2","79bab24f.bff88c"]]},{"id":"626b989.1aa3468","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":5,"width":0,"height":0,"name":"","label":"库存状况","format":"{{msg.payload.StockStateName}}","layout":"row-spread","x":1138.7856826782227,"y":875.0000114440918,"wires":[]},{"id":"11b061e4.950f1e","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":1,"width":0,"height":0,"name":"","label":"名称","format":"{{msg.name}}","layout":"row-spread","x":1106.7856826782227,"y":623.0000114440918,"wires":[]},{"id":"5a989189.d457b","type":"mqtt out","z":"de28976.b66f468","name":"mqtt转发京东价格监控","topic":"/node-red/jd","qos":"0","retain":"","broker":"1550bab3.2a8365","x":519.2856826782227,"y":783.0000114440918,"wires":[]},{"id":"788f2a4f.1dbc24","type":"http request","z":"de28976.b66f468","name":"获取优惠信息","method":"GET","ret":"bin","url":"https://cd.jd.com/promotion/v2?skuId={{{skuId}}}&area={{{province}}}&venderId=1000001782&cat=737%2C794%2C880&isCanUseDQ=isCanUseDQ-1&isCanUseJQ=isCanUseJQ-1&platform=0&orgType=2","tls":"","x":822.2856826782227,"y":174.0000114440918,"wires":[["cc101efb.0289a"]]},{"id":"cc101efb.0289a","type":"converter","z":"de28976.b66f468","name":"","from":"gb2312","x":809.7856826782227,"y":99.0000114440918,"wires":[["f1acba1c.113f28"]]},{"id":"f1acba1c.113f28","type":"function","z":"de28976.b66f468","name":"数据处理-优惠","func":"var payload = JSON.parse(msg.payload);\n\nvar pickOneTag = payload[\"prom\"][\"pickOneTag\"]\nnode.error(pickOneTag)\nmsg.payload = {}\nmsg.payload['pickOneTag'] = []\n\n\nif (pickOneTag) {\n    for (var i = 0; i < pickOneTag.length; i++) {\n        msg.payload[\"pickOneTag\"][i] = pickOneTag[i][\"content\"]\n    }\n}\n\nif (msg.payload[\"pickOneTag\"].length < 1) {\n    msg.payload[\"pickOneTag\"][0] ='暂无优惠信息'\n}\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":1146.2856826782227,"y":114.0000114440918,"wires":[["5bd4144b.3d16ac"]]},{"id":"16bf285e.dcbf38","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":0,"width":0,"height":0,"name":"","label":"优惠信息","format":"{{msg.payload.pickOneTag}}","layout":"row-spread","x":1140.2856826782227,"y":933.0000114440918,"wires":[]},{"id":"3a9a4e4.daaafb2","type":"ui_text","z":"de28976.b66f468","group":"93979218.e314c","order":0,"width":0,"height":0,"name":"","label":"退货提示","format":"{{msg.payload.promiseYX}}","layout":"row-spread","x":1157.2856826782227,"y":994.0000114440918,"wires":[]},{"id":"93979218.e314c","type":"ui_group","z":"","name":"京东价格监控","tab":"63e47422.1e5c5c","order":2,"disp":true,"width":"6","collapse":false},{"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":""},{"id":"63e47422.1e5c5c","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":1}]
QQ截图20181105111104.png
QQ截图20181105165155.png
QQ截图20181105164012.png
QQ截图20181105164801.png
回复

使用道具 举报

8

主题

2073

帖子

6053

积分

论坛元老

流水无味

Rank: 8Rank: 8

积分
6053
金钱
3980
HASS币
145

灌水之王

发表于 2018-11-5 11:21:23 | 显示全部楼层
本帖最后由 xieahui 于 2018-11-5 12:15 编辑

先顶 在看!!!!!!
只有一个数据源
花开兄看下代码问题还是我插件啥的问题
依赖的插件装了

QQ图片20181105121356.png
回复

使用道具 举报

0

主题

86

帖子

365

积分

论坛积极会员

积分
365
金钱
279
HASS币
0
发表于 2018-11-5 11:23:01 来自手机 | 显示全部楼层
厉害了,去除顽固。学习学习^0^~
回复

使用道具 举报

0

主题

204

帖子

1165

积分

金牌会员

Rank: 6Rank: 6

积分
1165
金钱
961
HASS币
0
发表于 2018-11-5 11:34:38 | 显示全部楼层
学习学习
回复

使用道具 举报

8

主题

2073

帖子

6053

积分

论坛元老

流水无味

Rank: 8Rank: 8

积分
6053
金钱
3980
HASS币
145

灌水之王

发表于 2018-11-5 12:15:33 | 显示全部楼层
花开兄看下一楼!!!!!
回复

使用道具 举报

15

主题

108

帖子

1351

积分

论坛技术达人

积分
1351
金钱
1238
HASS币
20

教程狂人

 楼主| 发表于 2018-11-5 14:10:56 | 显示全部楼层
xieahui 发表于 2018-11-5 11:21
先顶 在看!!!!!!
只有一个数据源
花开兄看下代码问题还是我插件啥的问题

好了,重新导出了一下
回复

使用道具 举报

12

主题

397

帖子

2289

积分

金牌会员

Rank: 6Rank: 6

积分
2289
金钱
1892
HASS币
10
发表于 2018-11-5 14:20:55 | 显示全部楼层
谢谢分享  厉害了
回复

使用道具 举报

66

主题

779

帖子

4407

积分

论坛元老

Rank: 8Rank: 8

积分
4407
金钱
3623
HASS币
20
发表于 2018-11-5 14:21:49 | 显示全部楼层
厉害了!!!!!!!!
回复

使用道具 举报

4

主题

303

帖子

1159

积分

金牌会员

Rank: 6Rank: 6

积分
1159
金钱
846
HASS币
40
发表于 2018-11-5 17:06:26 | 显示全部楼层
大神厉害了!!666
回复

使用道具 举报

9

主题

787

帖子

3858

积分

论坛元老

Rank: 8Rank: 8

积分
3858
金钱
3071
HASS币
87
发表于 2018-11-6 09:05:37 | 显示全部楼层
这个方便,优惠是亮点,赞一个
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-22 01:57 , Processed in 0.076413 second(s), 36 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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