ebusd icon indicating copy to clipboard operation
ebusd copied to clipboard

fyi: using ebusd with mqtt and node-red to log to volkszaehler

Open andig opened this issue 8 years ago • 12 comments

Hi everyone,

I've pieced together a small node-red flow that:

  • pulls ebusd via mqtt
  • converts the results (especially Status01 as well as pump and vent state) into numbers
  • pushes the results- if updated- to volkszaehler

Any interest please let me know to add some details here.

andig avatar Feb 05 '17 17:02 andig

Any interest please let me know to add some details here.

please provide details

NemoN avatar Mar 17 '17 15:03 NemoN

screen shot 2017-03-17 at 19 13 37 screen shot 2017-03-17 at 19 14 18 screen shot 2017-03-17 at 19 15 02

andig avatar Mar 17 '17 18:03 andig

I can share the flows if you want

andig avatar Mar 17 '17 18:03 andig

please share the flows :-)

NemoN avatar Mar 26 '17 20:03 NemoN

please share the flows

Any questions/improvements please let me know. Error handling is rudimentary since I obviously know that the required channels exist ;)

https://gist.github.com/andig/9b1d715ba1fcb60b6fb646bf69dfb7f3

andig avatar Mar 27 '17 08:03 andig

@andig do you have a screenshot from the final charts in VZ?

NemoN avatar Apr 03 '17 07:04 NemoN

@NemoN Etwa so in der Monatsansicht, nur die interessantesten Kanäle ausgewählt:

unbenannt

andig avatar Apr 21 '17 11:04 andig

this can be achieved easier now by using the new ebusd argument --mqttjson since 259f9b76ef44b4d5873443e24d911a604fe271f4

john30 avatar Jul 02 '17 09:07 john30

@john30 couldn't find it in the wiki and don't want to break my prod setup. Could you add json example to the docs?

andig avatar Jul 02 '17 16:07 andig

its just using "--mqttjson" additionally and then you'll get the data in json format just as by retrieving from HTTP port /data

john30 avatar Jul 02 '17 18:07 john30

Sure, but what do you mean by "json format"? I'm getting a single value per channel only, what advantage does json have here?

andig avatar Jul 02 '17 19:07 andig

then leave it as it is :-)

john30 avatar Jul 06 '17 05:07 john30