Hallo,
am Mittwoch, 12. Dezember 2018 um 12:46 hat Andreas Goetz geschrieben: > Kann ich ohne Config nix zu sagen- bitte immer mit angeben. War praktisch wie ausgeliefert, aber ich gelobe Besserung. ;) > Nein. Siehe mein Posting- Übersetzung gibt es noch nicht. Ok, da war meine Vorfreude zu groß und hab nur gelesen was ich lesen wollte. > Immer schön eins nach dem anderen. Hm. Hab trotzdem 2. :P #1: pi@bananapi:~/ingress$ go run cmd/ingress/main.go -d Parsed configuration -------------------- sources: - name: homie type: mqtt url: tcp://localhost:1883 user: "" password: "" topic: homie/meter10/Import targets: - name: vz type: http url: https://demo.volkszaehler.org/middleware.php/data/%name%.json user: "" password: "" topic: "" method: POST headers: Accept: application/json Content-type: application/json payload: '[[%timestamp%,%value%]]' wires: - sources: - homie targets: - vz mappings: - homie-to-volkszaehler mappings: - name: homie-to-volkszaehler entries: - from: Import to: cc0cd980-fdf2-11e8-ae8d-df58523f3dd6 uuid: "" 2018/12/13 08:45:41 wiring: wiring homie -> vz 2018/12/13 08:45:41 homie: connected to tcp://localhost:1883 2018/12/13 08:45:41 connector: starting homie 2018/12/13 08:45:41 homie: subscribed to topic homie/meter10/Import 2018/12/13 08:45:41 homie: recv (homie/meter10/Import=171.666) 2018/12/13 08:45:41 homie: matched topic (id=Import,name=Import) 2018/12/13 08:45:41 connector: recv from homie (Import=171.666000) 2018/12/13 08:45:41 mapper: routing homie -> vz 2018/12/13 08:45:41 mapper: mapping Import -> cc0cd980-fdf2-11e8-ae8d-df58523f3dd6 2018/12/13 08:45:41 vz: send POST https://demo.volkszaehler.org/middleware.php/data/cc0cd980-fdf2-11e8-ae8d-df58523f3dd6.json 2018/12/13 08:45:43 homie: recv (homie/meter10/Import=171.666) 2018/12/13 08:45:43 homie: matched topic (id=Import,name=Import) 2018/12/13 08:45:43 connector: recv from homie (Import=171.666000) 2018/12/13 08:45:43 mapper: routing homie -> vz 2018/12/13 08:45:43 mapper: mapping Import -> cc0cd980-fdf2-11e8-ae8d-df58523f3dd6 2018/12/13 08:45:43 vz: send POST https://demo.volkszaehler.org/middleware.php/data/cc0cd980-fdf2-11e8-ae8d-df58523f3dd6.json [...] Das wiring klappt, value oder timestamp wird halt noch nicht übergeben: https://demo.volkszaehler.org/middleware.php/data.json?uuid%5B%5D=cc0cd980-fdf2-11e8-ae8d-df58523f3dd6&options=raw {"version":"0.3","data":[{"tuples":[[1544686928140,1,1],[1544686929117,1,1],[1544686930752,1,1],[1544686933518,1,1],[1544686935082,1,1],[1544686936653,1,1],[1544686937777,1,1],[1544686939387,1,1],[1544687142782,1,1],[1544687143945,1,1],[1544687145091,1,1],[1544687145823,1,1],[1544687147395,1,1]],"uuid":"cc0cd980-fdf2-11e8-ae8d-df58523f3dd6","from":1544686927592,"to":1544687147395,"average":0,"consumption":0,"rows":14}]} Wobei ich von gosdm aktuell auch gar kein timestamp mit geliefert bekomme. #2 pi@bananapi:~/ingress$ go run cmd/ingress/main.go -d Parsed configuration -------------------- sources: - name: homie type: homie url: tcp://localhost:1883 user: "" password: "" topic: "" targets: - name: vz type: http url: https://demo.volkszaehler.org/middleware.php/data/%name%.json user: "" password: "" topic: "" method: POST headers: Accept: application/json Content-type: application/json payload: '[[%timestamp%,%value%]]' wires: - sources: - homie targets: - vz mappings: - homie-to-volkszaehler mappings: - name: homie-to-volkszaehler entries: - from: Import to: cc0cd980-fdf2-11e8-ae8d-df58523f3dd6 uuid: "" 2018/12/13 08:57:42 homie: connected to tcp://localhost:1883 2018/12/13 08:57:42 wiring: wiring homie -> vz 2018/12/13 08:57:42 connector: starting homie Das wars dann leider. Kein Datenverkehr. mfg Daniel