Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

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

Breadcrumb

  1. Home
  2. Forums
  3. GuruX Arduino Client

GuruX Arduino Client

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By EO , 5 January, 2020
Forums
General discussion

Hello,

We are trying to build Client to read information from meters using an Arduino and Optical IR probe. Do you have any Guide (based on Arduino), or suggestions we can follow?

kind regards

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

Hi,

Hi,

You should check this one.
https://github.com/Gurux/GuruxDLMS.c/tree/master/Arduino_IDE

DLMS is not a light protocol and memory might cause problems with some Arduino versions.

BR,
Mikko

EO

6 years 4 months ago

In reply to Hi, by Kurumi

Hi,

Hi,

Thanks a lot for the response. Yes, I figured there might be a memory issue which was why I tried following the raspberry pi example on your twitter page here( https://twitter.com/guruxorg/status/1164488658755444737 ), but I was unable to get a response from the device. The response i got is shown in the image attached. So i have two questions.

1. what could be the cause of this error, since everything installed correctly.
2. Can you recommend an Energy meter and Optical Probe(probably a vendor) that works seamlessly with the example?

Your response will be highly appreciated

Image
Profile picture for user Kurumi

Kurumi

6 years 4 months ago

Hi,

Hi,

The reason for this is that the meter didn't reply. One of your settings might be wrong or your connection settings are wrong.

Do you know what baud rate your meter is using? Do you try to connect using optical probe (head) or serial port connection?

BR,
Mikko

EO

6 years 4 months ago

Hi Mikko,

Hi Mikko,

Thanks for the quick response.

I thought so too but was not sure what.

I connected to the meter using an optical probe head which is connected to the Pi via one of the Pi's usb port. not sure of the meter's baud rate. It's an hexing HXE310-KP

Profile picture for user Kurumi

Kurumi

6 years 4 months ago

Hi,

Hi,

Try to run your app with -i parameter.

BR,
Mikko

EO

6 years 4 months ago

In reply to Hi, by Kurumi

Hi,

Hi,

I did. but got the same response I got running the app without it. Can you share the full command?

Profile picture for user Kurumi

Kurumi

6 years 4 months ago

Hi,

Hi,

Can you try to read your meter with GXDLMSDirector first? If one of the settings is wrong connection fails. What optical probe you are using? This should work if your optical probe is working.

python main.py -P YOUR_SERIAL_PORT -i

BR,
Miko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin