Echelon/NES Smart Meters – MQTT now part of the main software

We have merged a long standing pull request, so MQTT is now part of our main software. While here we did some long due cleanup of the headlines on the Dashboard page.

This update consists of two files. Please update them both and in this order:

  1. A new firmware: “\NES-MEP-UI\build\esp32.esp32.esp32doit-devkit-v1\NES-MEP-UI.ino.bin”
  2. A new wwws-file: “\NES-MEP-UI-SPIFFS\update.wwws”

You’ll find the files and documentation on how to update them on our GitHub: Click here to go there!

4 Replies to “Echelon/NES Smart Meters – MQTT now part of the main software”

    1. Hi Dan
      I hope one of the contributors have a walk through of this, because I don’t even have a HA setup here, so I have no clue :-).

      If it can help, a page with the following information (in a table) has been added to the software. You can open it from the configure page – where you also setup the MQTT parameters:

      All information from the MEP, will be delivered on the following topic with the following content, all JSON formatted.
      Topic: Information

      /frequency/mydatajson: Grid frequency in mHz

      /meterConsumptionFwd/mydatajson: Fwd_W: Total power consumption [W], Fwd_Avg_W: Total average power consumption for the past ? seconds [W], L[1,2,3]_Fwd_W: Power consumption on each phase [W], L[1,2,3]_Fwd_Avg_W: Average power consumption for the past ? seconds [W]

      /meterConsumptionRev/mydatajson: Rev_W: Total power production [W], Rev_Avg_W: Total average power production for the past ? seconds [W], L[1,2,3]_Rev_W: Power production on each phase [W], L[1,2,3]_Rev_Avg_W: Average power production for the past ? seconds [W]

      /meterConsumptionTotal/mydatajson: Fwd_Act_Wh: Last state of total energy consumption [Wh], Rev_Act_Wh: Last state of total energy production [Wh]
      /sensors/mydatajson: L[1,2,3]_RMS_A: Current in each phase [mA], L[1,2,3]_RMS_V: Voltage on each phase [mV], L[1,2,3]_PF_Fac: Power Factor on each phase [CosPhi], ExportReactive_VAr: Current export of VAr, ImportReative_VAr: Current import of VAr

      /lwt/: Last will topic, to give information if sensor has lost connection to MQTT broker

      Best regards,
      Gert Lynge

  1. If anyone stumbles over this at some point I wonders if I got it working with MQTT. Yes, it is pretty easy to add the MQTT sensors in HA…add something like this to configuration.yaml, not under the normal sensors but mqtt:

    Replace β€œmep/sommerhus” with the topic you set in config on the module. There are more sensors to add you can look them up using i.e. MQTT explorer.

    mqtt:
    sensor:
    – name: “MEP L1 RMS Current”
    state_topic: “mep/sommerhus/sensors/mydatajson”
    value_template: “{{ value_json.L1_RMS_A }}”
    unit_of_measurement: “mA”

    – name: “MEP L2 RMS Current”
    state_topic: “mep/sommerhus/sensors/mydatajson”
    value_template: “{{ value_json.L2_RMS_A }}”
    unit_of_measurement: “mA”

    – name: “MEP L3 RMS Current”
    state_topic: “mep/sommerhus/sensors/mydatajson”
    value_template: “{{ value_json.L3_RMS_A }}”
    unit_of_measurement: “mA”

    Best regards,
    Dan

    1. Hi Dan

      Sorry the captcha didn’t work when you tried to write your reply – I must have been in the middle of updating the WordPress plugins I guess.

      Anyway – thanks for your contribution. It is highly appreciated.

      Best Regards
      gert@dabbler.dk

Leave a Reply to Dan Cancel reply

Your email address will not be published. Required fields are marked *