Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Interfacing ESP8266 With DLMS Protocol

Interfacing ESP8266 with DLMS protocol

By madagaskar99, 2 September, 2024
Forums
Gurux DLMS for Android

Hello everyone,
i've god a project that includes esp-01s modul and meter. I have to create wifi modem for meter, my meter use dlms hdlc protocol. Modem should be connected with meter through pins (v+12, gnd, rx,tx). As far as hardware i have a plan what to use. But from the software side i don't know how to implement that. So my wifi modem should be a server and when i use uMeter as a client it should read and send data. My wifi modem only forward data as it received.
So can i use DLMS for Arduino code that Gurux has and modified it, and if i can, how can i set that code properly? I've tried to use that arduino code but it didn't work. I don't know how can i set properly. Any help would be great?
Thanks in advance!

Profile picture for user Kurumi

Kurumi

8 months 3 weeks ago

Hi, Your meter doesn't reply…

Hi,

Your meter doesn't reply is one of the settings is different than the meter expects.

Try to connect with GXDSLMDirector first. You can get the correct settings and it will help you to understand your meter and what it can offer.

Can you establish the connection with the Arduino example?

BR,
Mikko

madagaskar99

8 months 3 weeks ago

Hello Sir, i tried to use…

Hello Sir,
i tried to use pushlistener example and i didn't change anything in the code. I manage to upload that code on ESP-01s. My esp is connected to COM5 and 9600 baud. I don't have any physical meter, so how do i set GXDSLMDirector and try to establish connection between simulator and my arduino? In the device properties i set like this:
name: name
Manufacturer: Mikroelektronika a.d (i have to use this)
Interface: HDLC
Authentication: None
Address Type: Default
Logicak Server: 0
Media: Serial
Serial Port: COM5 (my esp is connected to this port)
Baud: 9600
Data Bits: 8
Parity: Even
Stop Bits: One
Flow control: None
Client Address: 10
ASCII check
Resend count: 3
Physical Server:1

and i got this -S COM5:9600:8NoneOne -w 1 -f 128 -t Verbose

How do i establish server and what is chronological steps from now?

I really appreciate Your time and help! It means a lot to me
Big thanks!

With respect,
Sinisa

Profile picture for user Kurumi

Kurumi

8 months 3 weeks ago

Hi, If you are using a push…

Hi,

If you are using a push listener example. The client doesn't establish the connection when the meter sends push messages. The client just waits for push messages that the meter sends and then parses the received data.

BR,
Mikko

madagaskar99

8 months 3 weeks ago

Hi Sir, so what should i do?…

Hi Sir,
so what should i do? How can see that the Push Listener example work on my arduino?

With Respect,
Sinisa

Profile picture for user Kurumi

Kurumi

8 months 3 weeks ago

Hi, Read data from the UART…

Hi,

Read data from the UART and then parse it in the same way as the push listener example does. I believe it's easier if you at first use the push listener in Windows or Linux.

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • HDLC Adress resolver configuration
  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin