NEWS
Node-red: Spritpreise einlesen
-
Ich habe den Flow mal kopiert und exportiert. Ich schreibe ein paar Variablen mehr, als ich eigentlich benötige.
In den drei http requst nodes müssen noch die eigenen Detailabfragen rein kopiert werden.
[{"id":"db49b0eb.24b65","type":"inject","name":"Abfrage Spritpreise","topic":"","payload":"","payloadType":"date","repeat":"600","crontab":"","once":false,"x":457.5,"y":112.5,"z":"5542285c.aabdd8","wires":[["46d2d727.b92d28","e953a261.16ac6","6c3a1816.93c5e8"]]},{"id":"46d2d727.b92d28","type":"http request","name":"Details - Esso Heinrich-Eberhardt-Str.","method":"GET","ret":"obj","url":"","x":504.5,"y":161.50006103515625,"z":"5542285c.aabdd8","wires":[["169092cb.e96f6d","255cdea1.daa322","3bbd32d7.c442ce","637d47c5.9c82b8","fe255c7b.01daa","6d4446ef.92bbb8","d123bc32.2edc4","8d197885.72e688","b047a8b6.4fb858"]]},{"id":"169092cb.e96f6d","type":"function","name":"Diesel Preis extrahieren","func":"msg.payload = parseFloat(msg.payload.station.diesel);\nreturn msg;","outputs":"1","x":716.5000381469727,"y":255.9444580078125,"z":"5542285c.aabdd8","wires":[["4f53d6a2.b0ac28","ed706878.128f98","cdcce89.f323318"]]},{"id":"255cdea1.daa322","type":"debug","name":"","active":false,"console":"false","complete":"false","x":807.5000381469727,"y":159.94464111328125,"z":"5542285c.aabdd8","wires":[]},{"id":"3bbd32d7.c442ce","type":"function","name":"E10 extrahieren","func":"msg.payload = parseFloat(msg.payload.station.e10);\nreturn msg;","outputs":"1","x":682.5000381469727,"y":380.61138916015625,"z":"5542285c.aabdd8","wires":[["87b222aa.784de","4ff72e53.b008d","c98fbc46.36704"]]},{"id":"637d47c5.9c82b8","type":"function","name":"E5 extrahieren","func":"msg.payload = parseFloat(msg.payload.station.e5);\nreturn msg;","outputs":"1","x":688.5000381469727,"y":316.61138916015625,"z":"5542285c.aabdd8","wires":[["374e92bb.c8b16e","538c5251.ac73ac","bc951124.436af"]]},{"id":"fe255c7b.01daa","type":"function","name":"ist auf","func":"msg.payload = msg.payload.station.isOpen;\nreturn msg;","outputs":"1","x":656.5000381469727,"y":463.6113586425781,"z":"5542285c.aabdd8","wires":[["957212ac.6a8df","879a9f22.78656"]]},{"id":"6d4446ef.92bbb8","type":"function","name":"ganztags auf","func":"msg.payload = msg.payload.station.wholeDay;\nreturn msg;","outputs":"1","x":670.5000381469727,"y":501.611328125,"z":"5542285c.aabdd8","wires":[["89496f7a.76b69","18acb2ce.e7534d"]]},{"id":"d123bc32.2edc4","type":"function","name":"Öffnungszeiten Text","func":"msg.payload = msg.payload.station.openingTimes[0].text;\nreturn msg;","outputs":"1","x":678.5000381469727,"y":557.8335571289062,"z":"5542285c.aabdd8","wires":[["c7ad7560.385288","211f893d.dee076"]]},{"id":"8d197885.72e688","type":"function","name":"Start","func":"msg.payload = msg.payload.station.openingTimes[0].start;\nreturn msg;","outputs":"1","x":675.5000381469727,"y":616.8336486816406,"z":"5542285c.aabdd8","wires":[["ec41dc3b.13be2","530ad19d.acf53"]]},{"id":"b047a8b6.4fb858","type":"function","name":"End","func":"msg.payload = msg.payload.station.openingTimes[0].end;\nreturn msg;","outputs":"1","x":676.5000381469727,"y":649.8336486816406,"z":"5542285c.aabdd8","wires":[["ab4bc5a0.54b438","331284de.cced7c"]]},{"id":"4f53d6a2.b0ac28","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":999.5000305175781,"y":258.8333740234375,"z":"5542285c.aabdd8","wires":[["f829879d.07d678","ea65a5b8.159a58"],["f829879d.07d678","96b8b366.69475"]]},{"id":"f829879d.07d678","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1437.5000381469727,"y":254.8333740234375,"z":"5542285c.aabdd8","wires":[]},{"id":"ed706878.128f98","type":"ioBroker out","name":"","topic":"Tanke1_diesel","ack":"true","autoCreate":"true","x":897.6111221313477,"y":217.94439697265625,"z":"5542285c.aabdd8","wires":[]},{"id":"ea65a5b8.159a58","type":"ioBroker out","name":"","topic":"Tanke1_diesel_kurz","ack":"true","autoCreate":"true","x":1251.6111221313477,"y":222.94451904296875,"z":"5542285c.aabdd8","wires":[]},{"id":"96b8b366.69475","type":"ioBroker out","name":"","topic":"Tanke1_diesel_3stelle","ack":"true","autoCreate":"true","x":1257.6111221313477,"y":254.83355712890625,"z":"5542285c.aabdd8","wires":[]},{"id":"538c5251.ac73ac","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":996.6111145019531,"y":336.83349609375,"z":"5542285c.aabdd8","wires":[["579fb86c.a86048","2f9fc6bb.d0603a"],["579fb86c.a86048","ff890578.0076f8"]]},{"id":"579fb86c.a86048","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1434.6111221313477,"y":332.83349609375,"z":"5542285c.aabdd8","wires":[]},{"id":"374e92bb.c8b16e","type":"ioBroker out","name":"","topic":"Tanke1_e5","ack":"true","autoCreate":"true","x":888.7222061157227,"y":301.94451904296875,"z":"5542285c.aabdd8","wires":[]},{"id":"2f9fc6bb.d0603a","type":"ioBroker out","name":"","topic":"Tanke1_e5_kurz","ack":"true","autoCreate":"true","x":1248.7222061157227,"y":300.94464111328125,"z":"5542285c.aabdd8","wires":[]},{"id":"ff890578.0076f8","type":"ioBroker out","name":"","topic":"Tanke1_e5_3stelle","ack":"true","autoCreate":"true","x":1254.7222061157227,"y":332.83367919921875,"z":"5542285c.aabdd8","wires":[]},{"id":"4ff72e53.b008d","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":993.6111145019531,"y":414.83349609375,"z":"5542285c.aabdd8","wires":[["2c6fb321.d3904c","6b53cc6.f94ac34"],["2c6fb321.d3904c","851b60c4.7ae4a"]]},{"id":"2c6fb321.d3904c","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1431.6111221313477,"y":410.83349609375,"z":"5542285c.aabdd8","wires":[]},{"id":"87b222aa.784de","type":"ioBroker out","name":"","topic":"Tanke1_e10","ack":"true","autoCreate":"true","x":888.7222061157227,"y":379.94451904296875,"z":"5542285c.aabdd8","wires":[]},{"id":"6b53cc6.f94ac34","type":"ioBroker out","name":"","topic":"Tanke1_e10_kurz","ack":"true","autoCreate":"true","x":1238.7222061157227,"y":377.94464111328125,"z":"5542285c.aabdd8","wires":[]},{"id":"851b60c4.7ae4a","type":"ioBroker out","name":"","topic":"Tanke1_e10_3stelle","ack":"true","autoCreate":"true","x":1247.7222061157227,"y":410.83380126953125,"z":"5542285c.aabdd8","wires":[]},{"id":"957212ac.6a8df","type":"ioBroker out","name":"","topic":"Tanke1_geöffnet","ack":"true","autoCreate":"true","x":1225.6111221313477,"y":465.83367919921875,"z":"5542285c.aabdd8","wires":[]},{"id":"879a9f22.78656","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1436.6111221313477,"y":464.83355712890625,"z":"5542285c.aabdd8","wires":[]},{"id":"89496f7a.76b69","type":"ioBroker out","name":"","topic":"Tanke1_ganztags_auf","ack":"true","autoCreate":"true","x":1228.6111221313477,"y":507.83355712890625,"z":"5542285c.aabdd8","wires":[]},{"id":"18acb2ce.e7534d","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1435.6111221313477,"y":506.83367919921875,"z":"5542285c.aabdd8","wires":[]},{"id":"c7ad7560.385288","type":"ioBroker out","name":"","topic":"Tanke1_ÖffnungszeitText","ack":"true","autoCreate":"true","x":1226.6111145019531,"y":557.27783203125,"z":"5542285c.aabdd8","wires":[]},{"id":"211f893d.dee076","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1433.6111145019531,"y":556.2779541015625,"z":"5542285c.aabdd8","wires":[]},{"id":"ec41dc3b.13be2","type":"ioBroker out","name":"","topic":"Tanke1_ÖffnungszeitStart","ack":"true","autoCreate":"true","x":1225.6111145019531,"y":608.27783203125,"z":"5542285c.aabdd8","wires":[]},{"id":"530ad19d.acf53","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1432.6111145019531,"y":607.2779541015625,"z":"5542285c.aabdd8","wires":[]},{"id":"ab4bc5a0.54b438","type":"ioBroker out","name":"","topic":"Tanke1_ÖffnungszeitEnd","ack":"true","autoCreate":"true","x":1225.6111145019531,"y":654.27783203125,"z":"5542285c.aabdd8","wires":[]},{"id":"331284de.cced7c","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1432.6111145019531,"y":653.2779541015625,"z":"5542285c.aabdd8","wires":[]},{"id":"cdcce89.f323318","type":"debug","name":"","active":true,"console":"false","complete":"false","x":1048.6111221313477,"y":219.38861083984375,"z":"5542285c.aabdd8","wires":[]},{"id":"bc951124.436af","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1055.6111221313477,"y":302.38885498046875,"z":"5542285c.aabdd8","wires":[]},{"id":"c98fbc46.36704","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1050.6111221313477,"y":381.38885498046875,"z":"5542285c.aabdd8","wires":[]},{"id":"e953a261.16ac6","type":"http request","name":"Details - Esso Nördlicher Zubringer","method":"GET","ret":"obj","url":"","x":495.6111145019531,"y":712.135009765625,"z":"5542285c.aabdd8","wires":[["2b1d93fd.d4e26c","b4a75e5e.4b58a","559ee809.aa6118","2f9770ec.d0689","d47093b0.2b8f7","f537d2e3.0ac83","a213826a.5dec8","19a09470.e65f6c","ef572b81.10a8d8"]]},{"id":"2b1d93fd.d4e26c","type":"function","name":"Diesel Preis extrahieren","func":"msg.payload = parseFloat(msg.payload.station.diesel);\nreturn msg;","outputs":"1","x":707.6111526489258,"y":806.5794067382812,"z":"5542285c.aabdd8","wires":[["a86ebba5.579148","a85ee768.57a118","fb05b4f9.04fa48"]]},{"id":"b4a75e5e.4b58a","type":"debug","name":"","active":false,"console":"false","complete":"false","x":798.6111526489258,"y":710.57958984375,"z":"5542285c.aabdd8","wires":[]},{"id":"559ee809.aa6118","type":"function","name":"E10 extrahieren","func":"msg.payload = parseFloat(msg.payload.station.e10);\nreturn msg;","outputs":"1","x":673.6111526489258,"y":931.246337890625,"z":"5542285c.aabdd8","wires":[["cbc2fbba.343d08","4a772528.b588dc","235189d4.dcae76"]]},{"id":"2f9770ec.d0689","type":"function","name":"E5 extrahieren","func":"msg.payload = parseFloat(msg.payload.station.e5);\nreturn msg;","outputs":"1","x":679.6111526489258,"y":867.246337890625,"z":"5542285c.aabdd8","wires":[["9f7209ef.608df8","9bf54384.640ac","5c678e0e.a3987"]]},{"id":"d47093b0.2b8f7","type":"function","name":"ist auf","func":"msg.payload = msg.payload.station.isOpen;\nreturn msg;","outputs":"1","x":647.6111526489258,"y":1014.2463073730469,"z":"5542285c.aabdd8","wires":[["1988bb67.e67745","6243dd1c.9dbc24"]]},{"id":"f537d2e3.0ac83","type":"function","name":"ganztags auf","func":"msg.payload = msg.payload.station.wholeDay;\nreturn msg;","outputs":"1","x":661.6111526489258,"y":1052.2462768554688,"z":"5542285c.aabdd8","wires":[["91d0da32.6e2f28","a2681b3c.5d97e8"]]},{"id":"a213826a.5dec8","type":"function","name":"Öffnungszeiten Text","func":"msg.payload = msg.payload.station.openingTimes[0].text;\nreturn msg;","outputs":"1","x":669.6111526489258,"y":1108.468505859375,"z":"5542285c.aabdd8","wires":[["60cd66b2.9f3298","d2c44e5f.2d3bb"]]},{"id":"19a09470.e65f6c","type":"function","name":"Start","func":"msg.payload = msg.payload.station.openingTimes[0].start;\nreturn msg;","outputs":"1","x":666.6111526489258,"y":1167.4685974121094,"z":"5542285c.aabdd8","wires":[["42d9cee5.bd263","493ad822.b6c528"]]},{"id":"ef572b81.10a8d8","type":"function","name":"End","func":"msg.payload = msg.payload.station.openingTimes[0].end;\nreturn msg;","outputs":"1","x":667.6111526489258,"y":1200.4685974121094,"z":"5542285c.aabdd8","wires":[["65503aa7.9aafc4","7c85786b.837a88"]]},{"id":"a86ebba5.579148","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":990.6111450195312,"y":809.4683227539062,"z":"5542285c.aabdd8","wires":[["b51cdf37.4ae32","3e37e792.c1c818"],["b51cdf37.4ae32","f3f49d6b.0c0b6"]]},{"id":"b51cdf37.4ae32","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1428.6111526489258,"y":805.4683227539062,"z":"5542285c.aabdd8","wires":[]},{"id":"a85ee768.57a118","type":"ioBroker out","name":"","topic":"Tanke2_diesel","ack":"true","autoCreate":"true","x":888.7222366333008,"y":768.579345703125,"z":"5542285c.aabdd8","wires":[]},{"id":"3e37e792.c1c818","type":"ioBroker out","name":"","topic":"Tanke2_diesel_kurz","ack":"true","autoCreate":"true","x":1242.7222366333008,"y":773.5794677734375,"z":"5542285c.aabdd8","wires":[]},{"id":"f3f49d6b.0c0b6","type":"ioBroker out","name":"","topic":"Tanke2_diesel_3stelle","ack":"true","autoCreate":"true","x":1248.7222366333008,"y":805.468505859375,"z":"5542285c.aabdd8","wires":[]},{"id":"9bf54384.640ac","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":987.7222290039062,"y":887.4684448242188,"z":"5542285c.aabdd8","wires":[["446349f1.bb9cb8","c1ccacbd.3e335"],["446349f1.bb9cb8","39852f1f.c67ad"]]},{"id":"446349f1.bb9cb8","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1425.7222366333008,"y":883.4684448242188,"z":"5542285c.aabdd8","wires":[]},{"id":"9f7209ef.608df8","type":"ioBroker out","name":"","topic":"Tanke2_e5","ack":"true","autoCreate":"true","x":879.8333206176758,"y":852.5794677734375,"z":"5542285c.aabdd8","wires":[]},{"id":"c1ccacbd.3e335","type":"ioBroker out","name":"","topic":"Tanke2_e5_kurz","ack":"true","autoCreate":"true","x":1239.8333206176758,"y":851.57958984375,"z":"5542285c.aabdd8","wires":[]},{"id":"39852f1f.c67ad","type":"ioBroker out","name":"","topic":"Tanke2_e5_3stelle","ack":"true","autoCreate":"true","x":1245.8333206176758,"y":883.4686279296875,"z":"5542285c.aabdd8","wires":[]},{"id":"4a772528.b588dc","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":984.7222290039062,"y":965.4684448242188,"z":"5542285c.aabdd8","wires":[["98f5d7fd.670a28","c3705920.3c8fa8"],["98f5d7fd.670a28","d22e1c20.2dd1e"]]},{"id":"98f5d7fd.670a28","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1422.7222366333008,"y":961.4684448242188,"z":"5542285c.aabdd8","wires":[]},{"id":"cbc2fbba.343d08","type":"ioBroker out","name":"","topic":"Tanke2_e10","ack":"true","autoCreate":"true","x":879.8333206176758,"y":930.5794677734375,"z":"5542285c.aabdd8","wires":[]},{"id":"c3705920.3c8fa8","type":"ioBroker out","name":"","topic":"Tanke2_e10_kurz","ack":"true","autoCreate":"true","x":1229.8333206176758,"y":928.57958984375,"z":"5542285c.aabdd8","wires":[]},{"id":"d22e1c20.2dd1e","type":"ioBroker out","name":"","topic":"Tanke2_e10_3stelle","ack":"true","autoCreate":"true","x":1238.8333206176758,"y":961.46875,"z":"5542285c.aabdd8","wires":[]},{"id":"1988bb67.e67745","type":"ioBroker out","name":"","topic":"Tanke2_geöffnet","ack":"true","autoCreate":"true","x":1216.7222366333008,"y":1016.4686279296875,"z":"5542285c.aabdd8","wires":[]},{"id":"6243dd1c.9dbc24","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1427.7222366333008,"y":1015.468505859375,"z":"5542285c.aabdd8","wires":[]},{"id":"91d0da32.6e2f28","type":"ioBroker out","name":"","topic":"Tanke2_ganztags_auf","ack":"true","autoCreate":"true","x":1219.7222366333008,"y":1058.468505859375,"z":"5542285c.aabdd8","wires":[]},{"id":"a2681b3c.5d97e8","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1426.7222366333008,"y":1057.4686279296875,"z":"5542285c.aabdd8","wires":[]},{"id":"60cd66b2.9f3298","type":"ioBroker out","name":"","topic":"Tanke2_ÖffnungszeitText","ack":"true","autoCreate":"true","x":1217.7222290039062,"y":1107.9127807617188,"z":"5542285c.aabdd8","wires":[]},{"id":"d2c44e5f.2d3bb","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1424.7222290039062,"y":1106.9129028320312,"z":"5542285c.aabdd8","wires":[]},{"id":"42d9cee5.bd263","type":"ioBroker out","name":"","topic":"Tanke2_ÖffnungszeitStart","ack":"true","autoCreate":"true","x":1216.7222290039062,"y":1158.9127807617188,"z":"5542285c.aabdd8","wires":[]},{"id":"493ad822.b6c528","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1423.7222290039062,"y":1157.9129028320312,"z":"5542285c.aabdd8","wires":[]},{"id":"65503aa7.9aafc4","type":"ioBroker out","name":"","topic":"Tanke2_ÖffnungszeitEnd","ack":"true","autoCreate":"true","x":1216.7222290039062,"y":1204.9127807617188,"z":"5542285c.aabdd8","wires":[]},{"id":"7c85786b.837a88","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1423.7222290039062,"y":1203.9129028320312,"z":"5542285c.aabdd8","wires":[]},{"id":"fb05b4f9.04fa48","type":"debug","name":"","active":true,"console":"false","complete":"false","x":1039.7222366333008,"y":770.0235595703125,"z":"5542285c.aabdd8","wires":[]},{"id":"5c678e0e.a3987","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1046.7222366333008,"y":853.0238037109375,"z":"5542285c.aabdd8","wires":[]},{"id":"235189d4.dcae76","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1041.7222366333008,"y":932.0238037109375,"z":"5542285c.aabdd8","wires":[]},{"id":"6c3a1816.93c5e8","type":"http request","name":"Details - Esso Ulmenstr.","method":"GET","ret":"obj","url":"","x":489.89683532714844,"y":1274.9921875,"z":"5542285c.aabdd8","wires":[["66a38ec6.995c7","c9d0fccc.362f","b39cc035.4c634","c8d3457.f372cb8","2400d41c.dbff2c","7b74dd02.848b24","cdbf3d78.3240c","c40832e4.3bf7d","a40a4231.5bf5c"]]},{"id":"66a38ec6.995c7","type":"function","name":"Diesel Preis extrahieren","func":"msg.payload = parseFloat(msg.payload.station.diesel);\nreturn msg;","outputs":"1","x":701.8968734741211,"y":1369.4365844726562,"z":"5542285c.aabdd8","wires":[["6e3ad2ce.91c52c","85e980de.7a168","eb4247b9.14bdb8"]]},{"id":"c9d0fccc.362f","type":"debug","name":"","active":false,"console":"false","complete":"false","x":792.8968734741211,"y":1273.436767578125,"z":"5542285c.aabdd8","wires":[]},{"id":"b39cc035.4c634","type":"function","name":"E10 extrahieren","func":"msg.payload = parseFloat(msg.payload.station.e10);\nreturn msg;","outputs":"1","x":667.8968734741211,"y":1494.103515625,"z":"5542285c.aabdd8","wires":[["7c1f6566.83e09c","df460984.20b9f8","ccfb7a4a.330488"]]},{"id":"c8d3457.f372cb8","type":"function","name":"E5 extrahieren","func":"msg.payload = parseFloat(msg.payload.station.e5);\nreturn msg;","outputs":"1","x":673.8968734741211,"y":1430.103515625,"z":"5542285c.aabdd8","wires":[["ae3f5b32.51c0a8","dbc3f8ed.243c08","3d67888d.c29878"]]},{"id":"2400d41c.dbff2c","type":"function","name":"ist auf","func":"msg.payload = msg.payload.station.isOpen;\nreturn msg;","outputs":"1","x":641.8968734741211,"y":1577.1034851074219,"z":"5542285c.aabdd8","wires":[["c2dabf05.3d254","5d838f07.a27c7"]]},{"id":"7b74dd02.848b24","type":"function","name":"ganztags auf","func":"msg.payload = msg.payload.station.wholeDay;\nreturn msg;","outputs":"1","x":655.8968734741211,"y":1615.1034545898438,"z":"5542285c.aabdd8","wires":[["35e505a0.ca1afa","e0209f4f.1fdf6"]]},{"id":"cdbf3d78.3240c","type":"function","name":"Öffnungszeiten Text","func":"msg.payload = msg.payload.station.openingTimes[0].text;\nreturn msg;","outputs":"1","x":663.8968734741211,"y":1671.32568359375,"z":"5542285c.aabdd8","wires":[["1c93ca93.e36c35","b6d32028.492ce"]]},{"id":"c40832e4.3bf7d","type":"function","name":"Start","func":"msg.payload = msg.payload.station.openingTimes[0].start;\nreturn msg;","outputs":"1","x":660.8968734741211,"y":1730.3257751464844,"z":"5542285c.aabdd8","wires":[["488622ae.b779dc","ffe02b82.001fd8"]]},{"id":"a40a4231.5bf5c","type":"function","name":"End","func":"msg.payload = msg.payload.station.openingTimes[0].end;\nreturn msg;","outputs":"1","x":661.8968734741211,"y":1763.3257751464844,"z":"5542285c.aabdd8","wires":[["46330be2.b9ccf4","624f183d.9db0e8"]]},{"id":"6e3ad2ce.91c52c","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":984.8968658447266,"y":1372.3255004882812,"z":"5542285c.aabdd8","wires":[["660d7bd4.99f284","5c3100e8.a3cf"],["660d7bd4.99f284","27e527da.d81ad8"]]},{"id":"660d7bd4.99f284","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1422.896873474121,"y":1368.3255004882812,"z":"5542285c.aabdd8","wires":[]},{"id":"85e980de.7a168","type":"ioBroker out","name":"","topic":"Tanke3_diesel","ack":"true","autoCreate":"true","x":883.0079574584961,"y":1331.4365234375,"z":"5542285c.aabdd8","wires":[]},{"id":"5c3100e8.a3cf","type":"ioBroker out","name":"","topic":"Tanke3_diesel_kurz","ack":"true","autoCreate":"true","x":1237.007957458496,"y":1336.4366455078125,"z":"5542285c.aabdd8","wires":[]},{"id":"27e527da.d81ad8","type":"ioBroker out","name":"","topic":"Tanke3_diesel_3stelle","ack":"true","autoCreate":"true","x":1243.007957458496,"y":1368.32568359375,"z":"5542285c.aabdd8","wires":[]},{"id":"dbc3f8ed.243c08","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":982.0079498291016,"y":1450.3256225585938,"z":"5542285c.aabdd8","wires":[["cac37faf.353c8","50dacf89.af253"],["cac37faf.353c8","899c62a2.7663a"]]},{"id":"cac37faf.353c8","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1420.007957458496,"y":1446.3256225585938,"z":"5542285c.aabdd8","wires":[]},{"id":"ae3f5b32.51c0a8","type":"ioBroker out","name":"","topic":"Tanke3_e5","ack":"true","autoCreate":"true","x":874.1190414428711,"y":1415.4366455078125,"z":"5542285c.aabdd8","wires":[]},{"id":"50dacf89.af253","type":"ioBroker out","name":"","topic":"Tanke3_e5_kurz","ack":"true","autoCreate":"true","x":1234.119041442871,"y":1414.436767578125,"z":"5542285c.aabdd8","wires":[]},{"id":"899c62a2.7663a","type":"ioBroker out","name":"","topic":"Tanke3_e5_3stelle","ack":"true","autoCreate":"true","x":1240.119041442871,"y":1446.3258056640625,"z":"5542285c.aabdd8","wires":[]},{"id":"df460984.20b9f8","type":"function","name":"auf 2-Stellen, Nachkomma extra","func":"// Preis kürzen\n var rechenwert = msg.payload * 100; // 100facher Preis jetzt mit einer Nachkommastelle\n var rechenwert2 = msg.payload * 1000; // 1000facher Preis ohne Nachkommastelle\n rechenwert = Math.floor(rechenwert); // Nachkommastelle (.x) wird abgeschnitten\n rechenwert = rechenwert/100; // es bleiben zwei Nachkommastellen\n msg1 = {};\n msg1.payload = rechenwert.toFixed(2); // Preis mit 2 Nachkommastellen ausgeben (abgeschnitten)\n msg2 = {};\n msg2.payload = rechenwert2 - (rechenwert * 1000); // Dritte Nachommastelle einzeln ermitteln\n\nreturn [msg1,msg2];","outputs":"2","x":979.0079498291016,"y":1528.3256225585938,"z":"5542285c.aabdd8","wires":[["39ef5ec8.c610a2","df422c4d.20bdd"],["39ef5ec8.c610a2","1c81b4c8.e37e4b"]]},{"id":"39ef5ec8.c610a2","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1417.007957458496,"y":1524.3256225585938,"z":"5542285c.aabdd8","wires":[]},{"id":"7c1f6566.83e09c","type":"ioBroker out","name":"","topic":"Tanke3_e10","ack":"true","autoCreate":"true","x":874.1190414428711,"y":1493.4366455078125,"z":"5542285c.aabdd8","wires":[]},{"id":"df422c4d.20bdd","type":"ioBroker out","name":"","topic":"Tanke3_e10_kurz","ack":"true","autoCreate":"true","x":1224.119041442871,"y":1491.436767578125,"z":"5542285c.aabdd8","wires":[]},{"id":"1c81b4c8.e37e4b","type":"ioBroker out","name":"","topic":"Tanke3_e10_3stelle","ack":"true","autoCreate":"true","x":1233.119041442871,"y":1524.325927734375,"z":"5542285c.aabdd8","wires":[]},{"id":"c2dabf05.3d254","type":"ioBroker out","name":"","topic":"Tanke3_geöffnet","ack":"true","autoCreate":"true","x":1211.007957458496,"y":1579.3258056640625,"z":"5542285c.aabdd8","wires":[]},{"id":"5d838f07.a27c7","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1422.007957458496,"y":1578.32568359375,"z":"5542285c.aabdd8","wires":[]},{"id":"35e505a0.ca1afa","type":"ioBroker out","name":"","topic":"Tanke3_ganztags_auf","ack":"true","autoCreate":"true","x":1214.007957458496,"y":1621.32568359375,"z":"5542285c.aabdd8","wires":[]},{"id":"e0209f4f.1fdf6","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1421.007957458496,"y":1620.3258056640625,"z":"5542285c.aabdd8","wires":[]},{"id":"1c93ca93.e36c35","type":"ioBroker out","name":"","topic":"Tanke3_ÖffnungszeitText","ack":"true","autoCreate":"true","x":1212.0079498291016,"y":1670.7699584960938,"z":"5542285c.aabdd8","wires":[]},{"id":"b6d32028.492ce","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1419.0079498291016,"y":1669.7700805664062,"z":"5542285c.aabdd8","wires":[]},{"id":"488622ae.b779dc","type":"ioBroker out","name":"","topic":"Tanke3_ÖffnungszeitStart","ack":"true","autoCreate":"true","x":1211.0079498291016,"y":1721.7699584960938,"z":"5542285c.aabdd8","wires":[]},{"id":"ffe02b82.001fd8","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1418.0079498291016,"y":1720.7700805664062,"z":"5542285c.aabdd8","wires":[]},{"id":"46330be2.b9ccf4","type":"ioBroker out","name":"","topic":"Tanke3_ÖffnungszeitEnd","ack":"true","autoCreate":"true","x":1211.0079498291016,"y":1767.7699584960938,"z":"5542285c.aabdd8","wires":[]},{"id":"624f183d.9db0e8","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1418.0079498291016,"y":1766.7700805664062,"z":"5542285c.aabdd8","wires":[]},{"id":"eb4247b9.14bdb8","type":"debug","name":"","active":true,"console":"false","complete":"false","x":1034.007957458496,"y":1332.8807373046875,"z":"5542285c.aabdd8","wires":[]},{"id":"3d67888d.c29878","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1041.007957458496,"y":1415.8809814453125,"z":"5542285c.aabdd8","wires":[]},{"id":"ccfb7a4a.330488","type":"debug","name":"","active":false,"console":"false","complete":"false","x":1036.007957458496,"y":1494.8809814453125,"z":"5542285c.aabdd8","wires":[]}]
Ist als Basis vielleicht schneller, wenn Du in dem Flow die nicht benötigten Variablen löscht, als die Fleissarbeit die benötigten Variablen zusammen zu klicken.
-
Und ergänzend auch dafür die passende widgets bitte hier posten.
Genau dafür habe ich import/export Funktionalität von einzelnen widgets implementiert (vis 0.3.0)
Gewünschte Widgets selektieren. Dann auf "Widgets exportieren" drucken:
Kopieren in Zwischenpuffer.Danach View auswählen, wo dass sein wollte und "Widgets importieren" drucken:
:!: Nur die Bilder müssen noch getrennt kopiert werden. -
Oh… das ist ja einfach...
Dann kann ich Rainers Wunsch ja doch einfach nachkommen.
Anbei die Widgets:
[ { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_e5_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke1_e5_3stelle", "html_prepend": "E5", "html_append": "<sup>9</sup> €" }, "style": { "left": "30px", "top": "310px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_diesel_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke1_diesel_3stelle", "html_prepend": "Diesel", "html_append": "<sup>9</sup> €" }, "style": { "left": "30px", "top": "210px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_e10_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke1_e10_3stelle", "html_prepend": "E10", "html_append": "<sup>9</sup> €" }, "style": { "left": "30px", "top": "260px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplImage", "data": { "visibility-cond": "==", "visibility-val": 1, "refreshInterval": "0", "refreshOnWakeUp": "false", "refreshOnViewChange": "false", "src": "/vis.0/main/img/esso-logo-200px.png" }, "style": { "left": "60px", "top": "80px", "width": "120px", "z-index": "1" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "Heinrich- Eberhard-Str.", "html_append": "" }, "style": { "left": "30px", "top": "160px", "width": "170px", "height": "44px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "node-red.0.Tanke1_geöffnet", "html_prepend": "geöffnet", "html_append": "" }, "style": { "left": "30px", "top": "360px", "width": "180px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(0, 255, 0)", "padding-right": "", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": "0", "visibility-oid": "node-red.0.Tanke1_geöffnet", "html_prepend": "geschlossen", "html_append": "" }, "style": { "left": "30px", "top": "360px", "width": "180px", "height": "24px", "color": "white", "text-align": "center", "font-size": "18px", "background": "red", "padding-right": "", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_ÖffnungszeitText", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "", "html_append": "" }, "style": { "left": "30px", "top": "390px", "width": "170px", "height": "44px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_ÖffnungszeitStart", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "von ", "html_append": "" }, "style": { "left": "30px", "top": "440px", "width": "170px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_ÖffnungszeitEnd", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "bis ", "html_append": "" }, "style": { "left": "30px", "top": "470px", "width": "170px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_diesel_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke1_diesel_3stelle", "html_prepend": "Diesel", "html_append": "<sup>4</sup> €" }, "style": { "left": "30px", "top": "210px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_e10_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke1_e10_3stelle", "html_prepend": "E10", "html_append": "<sup>4</sup> €" }, "style": { "left": "30px", "top": "260px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_e5_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke2_e5_3stelle", "html_prepend": "E5", "html_append": "<sup>4</sup> €" }, "style": { "left": "240px", "top": "310px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_diesel_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke2_diesel_3stelle", "html_prepend": "Diesel", "html_append": "<sup>9</sup> €" }, "style": { "left": "240px", "top": "210px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_e10_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke2_e10_3stelle", "html_prepend": "E10", "html_append": "<sup>9</sup> €" }, "style": { "left": "240px", "top": "260px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "Nördlicher Zubringer", "html_append": "" }, "style": { "left": "240px", "top": "160px", "width": "170px", "height": "44px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "node-red.0.Tanke2_geöffnet", "html_prepend": "geöffnet", "html_append": "" }, "style": { "left": "240px", "top": "360px", "width": 178, "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(0, 255, 0)", "padding-right": "", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": "0", "visibility-oid": "node-red.0.Tanke2_geöffnet", "html_prepend": "geschlossen", "html_append": "" }, "style": { "left": "240px", "top": "360px", "width": "180px", "height": "24px", "color": "white", "text-align": "center", "font-size": "18px", "background": "red", "padding-right": "", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_ÖffnungszeitText", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "", "html_append": "" }, "style": { "left": "240px", "top": "390px", "width": "170px", "height": "44px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_ÖffnungszeitStart", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "von ", "html_append": "" }, "style": { "left": "240px", "top": "440px", "width": "170px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_ÖffnungszeitEnd", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "bis ", "html_append": "" }, "style": { "left": "240px", "top": "470px", "width": "170px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_diesel_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke2_diesel_3stelle", "html_prepend": "Diesel", "html_append": "<sup>4</sup> €" }, "style": { "left": "240px", "top": "210px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_e10_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke2_e10_3stelle", "html_prepend": "E10", "html_append": "<sup>4</sup> €" }, "style": { "left": "240px", "top": "260px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke1_e5_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke1_e5_3stelle", "html_prepend": "E5", "html_append": "<sup>4</sup> €" }, "style": { "left": "30px", "top": "310px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke2_e5_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke2_e5_3stelle", "html_prepend": "E5", "html_append": "<sup>9</sup> €" }, "style": { "left": "240px", "top": "310px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_e5_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke3_e5_3stelle", "html_prepend": "E5", "html_append": "<sup>4</sup> €" }, "style": { "left": "450px", "top": "310px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_diesel_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke3_diesel_3stelle", "html_prepend": "Diesel", "html_append": "<sup>9</sup> €" }, "style": { "left": "450px", "top": "210px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_e10_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke3_e10_3stelle", "html_prepend": "E10", "html_append": "<sup>9</sup> €" }, "style": { "left": "450px", "top": "260px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "Tankstelle Ulmenstr.", "html_append": "" }, "style": { "left": "450px", "top": "160px", "width": "170px", "height": "44px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "node-red.0.Tanke3_geöffnet", "html_prepend": "geöffnet", "html_append": "" }, "style": { "left": "450px", "top": "360px", "width": 178, "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(0, 255, 0)", "padding-right": "", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": "0", "visibility-oid": "node-red.0.Tanke3_geöffnet", "html_prepend": "geschlossen", "html_append": "" }, "style": { "left": "450px", "top": "360px", "width": "180px", "height": "24px", "color": "white", "text-align": "center", "font-size": "18px", "background": "red", "padding-right": "", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_ÖffnungszeitText", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "", "html_append": "" }, "style": { "left": "450px", "top": "390px", "width": "170px", "height": "44px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_ÖffnungszeitStart", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "von ", "html_append": "" }, "style": { "left": "450px", "top": "440px", "width": "170px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_ÖffnungszeitEnd", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "bis ", "html_append": "" }, "style": { "left": "450px", "top": "470px", "width": "170px", "height": "24px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "10px", "padding-top": "0px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_diesel_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke3_diesel_3stelle", "html_prepend": "Diesel", "html_append": "<sup>4</sup> €" }, "style": { "left": "450px", "top": "210px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_e10_kurz", "visibility-cond": "==", "visibility-val": "4", "visibility-oid": "node-red.0.Tanke3_e10_3stelle", "html_prepend": "E10", "html_append": "<sup>4</sup> €" }, "style": { "left": "450px", "top": "260px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "node-red.0.Tanke3_e5_kurz", "visibility-cond": "==", "visibility-val": "9", "visibility-oid": "node-red.0.Tanke3_e5_3stelle", "html_prepend": "E5", "html_append": "<sup>9</sup> €" }, "style": { "left": "450px", "top": "310px", "width": "170px", "height": "40px", "color": "ghostwhite", "text-align": "right", "font-size": "30px", "background": "darkslategray", "padding-right": "10px", "padding-top": "4px", "z-index": "5" }, "widgetSet": "basic" }, { "tpl": "tplImage", "data": { "visibility-cond": "==", "visibility-val": 1, "refreshInterval": "0", "refreshOnWakeUp": "false", "refreshOnViewChange": "false", "src": "/vis.0/main/img/esso-logo-200px.png" }, "style": { "left": "270px", "top": "80px", "width": "120px", "z-index": "1" }, "widgetSet": "basic" }, { "tpl": "tplImage", "data": { "visibility-cond": "==", "visibility-val": 1, "refreshInterval": "0", "refreshOnWakeUp": "false", "refreshOnViewChange": "false", "src": "/vis.0/main/img/esso-logo-200px.png" }, "style": { "left": "480px", "top": "80px", "width": "120px", "z-index": "1" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "", "html_append": "" }, "style": { "left": "440px", "top": "150px", "width": "200px", "height": "355px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "whitesmoke", "padding-right": "", "padding-top": "0px", "z-index": "", "border-radius": "20px" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "", "html_append": "" }, "style": { "left": "230px", "top": "150px", "width": "200px", "height": "355px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(245, 245, 245) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "", "padding-top": "0px", "z-index": "", "border-radius": "20px" }, "widgetSet": "basic" }, { "tpl": "tplValueString", "data": { "oid": "", "visibility-cond": "==", "visibility-val": 1, "visibility-oid": "", "html_prepend": "", "html_append": "" }, "style": { "left": "20px", "top": "150px", "width": "200px", "height": "355px", "color": "rgb(68, 68, 68)", "text-align": "center", "font-size": "18px", "background": "rgb(245, 245, 245) none repeat scroll 0% 0% / auto padding-box border-box", "padding-right": "", "padding-top": "0px", "z-index": "", "border-radius": "20px" }, "widgetSet": "basic" } ]
-
Super!
Jetzt muss ich nur noch mal eben den Dachausbau fertig machen, dann werde ich es bei testen.
DANKE
Rainer
Gesendet von meinem Cynus T7 mit Tapatalk
-
Na dann viel Spaß beim der Arbeit
Ich nehme die Widgets aber mal zum Anlass für eine Frage nach einer Optimierung.
Um Zustände offen (true) und geschlossen (false) zu visualisieren nutze ich bei mir immer zwei Widgets übereinander.
Das geht mit hoher Sicherheit auch mit einem Widget.
Diverse Versuche scheiterten bei mir immer. Ich habe nicht das gewünschte Aussehen mit einem Widget hinbekommen.
Ein Versuch (siehe das OK oben) war z.B.:Bei Basic Bool html kann ich zwar zwei Zustände mit unterschiedlichem Text und unterschiedlicher Farbe darstellen, bekomme es aber nicht hin, dass die Formatierung so ist, wie bei dem Tankstellenbeispiel.
Wahrscheinlich "nur" CSS.
Ein kleiner Tipp würde meine Views so um geschätzte 100 Widgets optimieren
-
Um Zustände offen (true) und geschlossen (false) zu visualisieren nutze ich bei mir immer zwei Widgets übereinander.
Das geht mit hoher Sicherheit auch mit einem Widget. `
Moin,ich nutze das für z.B. An-/Abwesenheit, Fenster auf/zu, usw.
Das geht mit dem Widget "basic - val ValueList HTML Style"
Dabei kannst Du dann angeben, was bei true/false ausgegeben wird (welcher Text) und mit html-Formatierung auch die Farbe anpassen.
Für An-Abwesend habe ich z.B. folgende Werte drin (siehe auch Screenshot):
Werteanzahl bis = 1
Wert[0] = abwesend
Wert[1] = anwesend
Stil für [0] = background-color:yellow; color:black; padding:1px
Stil für [1] = background-color:green; color:white; padding:1px
Dadurch bekommen ich den jeweiligen Text in Schwarz auf entweder gelben oder grünen Hintergrund.
Gruß,
Eric
-
danke Eric das probiere ich nachher
Gesendet von iPhone mit Tapatalk
-
Werteanzahl bis = 1
Wert[0] = abwesend
Wert[1] = anwesend `
Hi Eric,
ich danke Dir!
Ich hatte mir das Widget auch schon angeschaut, hatte aber die Felder Wert[0] und Wert[0] falsch interpretiert.
Ich dachte immer, dass da der Wert drinstehen muss, der das Feld aktiviert. Also habe ich dort entweder true & false reingeschrieben, bzw. 0 und 1.
Im Ergebnis habe ich dann natürlich kein Text mehr eintragen können und hatte immer true oder false im Widget stehen.
Danke, dass Du diesen Knoten gelöst hast
VG,
Michael
-
Immer gerne.
Gruß,
Eric
-
filename="Tankstellen.jpg" index="1">~~
Tankstellen per Detailabfrage.
Design der Preisangaben von pix.
Dritte Stelle hinter Komma nach Angaben von von Homoran berücksichtigt (4 und 9).
Script für zwei Stellen hinterm Komma und separate dritte Stelle von pix angepasst. `
Super ich konnte reproduzieren.
Dabei aber ein Fehler entdeckt… Die neue Widgets tauchen in der Widgets-Liste nicht auf. Muss man F5 drucken. Werde fixen.
-
puh… alles nicht so einfach. Mein Respekt vor Programmierern wächst immer mehr.
Ich habe ein paar Themen in meinem Flow für das Beispiel mit den drei Tankstellen entdeckt:
Das passt leider nur, wenn die Tankstellen 24h geöffnet haben.
Ich wollte gerade noch zwei Tankstellen in der Nähe meines Büros ergänzen.
Diese haben nicht 24h geöffnet.D.h. in der Detailabfrage bei Tankerkoenig tauchen nun mehrere Items zu den Öffnungszeiten (z.B. Sonn- und Feiertags, Samstag, Mo. - Fr.) auf.
Ich passe das gerade für mich an. Das bekommt man aber leider nicht allgemeingültig hin, da die Daten bei Tankerkoenig unterschiedlich gepflegt werden.
Bei den neuen Tankstellen ist es dann so, dass das dynamisch das richtige Item angezeigt wird, zum passenden Tag (heute Feiertag. Sonst Wochentag, Samstag, Sonntag) mit den dann passenden Öffnungszeiten.
Das muss aber leider jeder für seine Tankstellen selbst machen (wg. dem fehlendem Standard bei den Daten).
Bei den Detailabfragen ist das recht einfach. Eine dynamische Liste stelle ich mir dann beliebig schwierig vor. Bzw. für jeden individuell ist es wieder machbar.
-
Aktueller Stand bei mir. Die Tankstellen mit den Logos sind feste Tankstellen über die Detailabfrage bei Tankerkönig.
Die eine Seite sind die Tankstellen daheim, die andere Seite die in der Nähe vom Büro.
Darunter wird jeweils die gerade günstigste Tankstelle im Umkreis angezeigt (Abfrage nach Liste bei Tankerkönig, mit der Sortierung nach dem Preis)..
Die beiden Esso und die Aral haben 24h geöffnet. Dort liefert die Detailabfrage nur ein Item für openingTimes zurück.
Die Shell liefert drei Items. [0] Sonn- und Feiertags, [1] Mo-Fr und [3] Samstag.
In der Darstellung oben wird immer die richtige Kategorie angezeigt, je nachdem welcher Tag gerade ist.
Gestern wurde z.B. Feiertag angezeigt, mit den dazu passenden Öffnungszeiten.
Ich meine, dass die Aral ein Tag bevor ich sie in VIS eingerichtet habe auch unterschiedliche Öffnungszeiten geliefert hatte.
Und da fängt das Thema an (zu mindestens für mich). Das bisschen Dynamic innerhalb der Öffnungszeiten ist kein Thema, solange es feste Tankstellen sind und sich die Anzahl der Items und deren Sortierung nicht ändert.
Hier habe ich noch Platz für Verbesserungen. Eine Frage dazu:
Wie kann man beim JSON Format abfragen, ob eine Position aus mehr als ein Item besteht und wie viele Items ein Array hat. Das Handling dürfte anders als bei einem Array in Javascript sein.
msg.payload.station.openingTimes[0].text
…
msg.payload.station.openingTimes[?].text
Hat da jemand einen kleinen Tipp für mich?
-
Vielleicht sollte man das Problem mal dem tankerkönig schildern.
Im homematic forum hat er sich schon mal gemeldet.
http://homematic-forum.de/forum/viewtop … 77#p214677
Dort hat er zum Schluss explizit um verbesserungs- und erweiterungswünsche für die API gebeten.
Ein einheitliches raster für die Öffnungszeiten wäre doch so was.
Gruß
Rainer
Gesendet von meinem Cynus T7 mit Tapatalk
-
Hi Rainer,
ich fürchte, dass wird nicht viel bringen.
Laut CCU.IO Forum sind sie ja sehr hilfsbereit und willig. Da geht es aber um die API an sich.
Zu der Datenqualität schreiben sie selbst:
` > Auszug aus https://creativecommons.tankerkoenig.de/#techInfo
Hinweis zu den Daten
Nicht alle Tankstellen führen alle 3 Spritsorten. Fehlende Sorten haben den Preis 'null'.
Mit beiden Aufrufen können nur Informationen zu aktuell geöffneten Tankstellen geholt werden.
Alle Daten kommen von den Tankstellenbetreibern über die MTS-K und die Tankerkönig-Datenbank.
Abgesehen von den Preis-Informationen, die sehr zuverlässig sind, sind andere Daten-Elemente oft ungenau, fehlend, oder inkonsistent.
Beispielsweise enthalten Namen (Strasse, Ort, Tankstelle) oft Schreibfehler (fehlende Umlaute, Groß- / Kleinschreibung etc.).
Selbst Markennamen werden oft beliebig geschrieben: bft, Bft, BFT.
Gelegentlich wird der Pächter auch im Markennamen angeführt.
Markenname (brand) und Tankstellenname (name) kann leer sein.
Die Angabe des Bundeslandes fehlt bei den meisten Datensätzen.
Es gibt keine Öffnungszeit 'durchgehend', so dass die Betreiber hier kreativ werden müssen: 00:00:00 - 00:00:00, 00:00:01 - 00:00:00, 00:00:00 - 23:59:00 und weitere Varianten sind hier möglich.
Wir ändern diese Daten grundsätzlich nicht - es findet lediglich eine Aufbereitung der Rohdaten bei den Öffnungszeiten und den geänderten Öffnungszeiten (overrides) statt, so dass diese Angaben direkt angezeigt werden können. `
[EDIT]
Ich sehe das auch überhaupt nicht als Problem. Wenn sich da mal was ändert, dann ist das ja sehr schnell angepasst.
Mir geht es eher um den Lerneffekt. Der Aufwand das "perfekter" (Automatismus, Anzeige von Fehler/Änderungen in VIS) zu machen ist wahrscheinlich zehnmal größer, als mal auf eine Änderung zu reagieren und das Zuordnungsscript in Node-red schnell anzupassen.
-
Ersteres klingt tatsächlich nicht gerade ermutigend.
Zum Schluss steht da immerhin, dass der Tankerkönig gerade die Öffnungszeiten aufbereitet.
Das ist doch das was du brauchst.
Gruß
Rainer
Gesendet von meinem Cynus T7 mit Tapatalk
-
Hallo ruhr70,
die Spritpreise einlesen und Darstellen habe ich hinbekommen.
Was ich nicht hinbekomme ist der Vorschlag von Eric
> Das geht mit dem Widget "basic - val ValueList HTML Style"
Kannst du mir da vielleicht auf die Sprünge helfen?Dann verstehe ich nicht wie du die Günstigste Tankstelle darstellst.
Gruß
Arno
-
Hallo ruhr70,
die Spritpreise einlesen und Darstellen habe ich hinbekommen.
Was ich nicht hinbekomme ist der Vorschlag von Eric
> Das geht mit dem Widget "basic - val ValueList HTML Style"
`In meinem Widgets habe ich das Thema "offen" (true = 1) und geschlossen (false = 0) über zwei Widgets gelöst, die übereinander liegen.
Wenn der Wert 1 ist, dann greigt dieser Wert auch unter Sichtbarkeit beim "grünen Widget" und dieses wird angezeigt.
Umgekehrt (0) wird das rote Widget angezeigt.
Eirc hat dies eleganter mit einem Widget gelöst:
> Das geht mit dem Widget "basic - val ValueList HTML Style"
Hier brauch man nur dieses eine Widget.
Ist der Wert [0], dann wird der Text aus der Zeile Wert [0] angezeigt, mit dem STil, beschrieben in Stil[0].
Analog bei true (1) die beiden Zeilen mit [1].
"Für An-Abwesend habe ich z.B. folgende Werte drin (siehe auch Screenshot):
Werteanzahl bis = 1
Wert[0] = abwesend
Wert[1] = anwesend
Stil für [0] = background-color:yellow; color:black; padding:1px
Stil für [1] = background-color:green; color:white; padding:1px
"
Kannst du mir da vielleicht auf die Sprünge helfen?
Dann verstehe ich nicht wie du die Günstigste Tankstelle darstellst.
Gruß
Arno `
Bei den festen Tankstellen aus den Widgets nehme ich Werte aus der Rückmeldung der Detailabfrage bei Tankerkönig, mit der zuvor ermittelten ID.
Die ID habe ich über eine Listenabfrage mit den günstigsten Tankstellen im Umkreis von 3 km ermittelt, indem ich mir aus der Liste meine Lieblingstankstellen rausgesucht habe.
Diese Listenabfrage (Abfrage mit der Sortierung nach Preis) nutze ich auch für das Widget unter den festen Tankstellen. Der erste Eintrag ist die derzeit günstigste Tankstelle.
Hier nehme ich die Felder Preis und Name und zeige diese an.
-
Dann verstehe ich nicht wie du die Günstigste Tankstelle darstellst. `
Habe gerade gesehen, dass die Listenabfrage die Variable price momentan nicht ausgibt :shock:
@opul: Wenn das Dein Problem bei dem Wert für die günstigste Tankstelle ist, dann kannst Du da natürlich lange suchen.
Ich hoffe, dass ist nur vorübergehend. Ansonsten muss man mal schauen.
-
Habe gerade gesehen, dass die Listenabfrage die Variable price momentan nicht ausgibt :shock:
@opul: Wenn das Dein Problem bei dem Wert für die günstigste Tankstelle ist, dann kannst Du da natürlich lange suchen.
Ich hoffe, dass ist nur vorübergehend. Ansonsten muss man mal schauen. `
Heute liefert die Listenabfrage, ohne dass diese verändert wurde, wieder den Preis (Variable: price) mit.
D.h. die Anzeige der günstigsten Tankstellen im Umkreis funktioniert wieder.
Da lag das Problem beim Tankerkönig.
-
hallo,
ich kenne mich mit node red überhaupt nicht aus, aber finde die idee mit dem anzeigen der spritpreise super,
kommt es irgend wann mal so das auch leihen wie ich das nutzen kann, ne anleitung , und am besten irgendwas vorbereitetes wo man nur noch seine daten eintragen muss?