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. Is There Any Python Xml Client Demo

is there any python xml client demo

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 953313493@qq.com , 23 May, 2022
Forums
General discussion

python support xml client?
is there any python xml client demo ?

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

XML client example is not implemented for Python at the moment.

BR,
Mikko

953313493@qq.com

4 years ago

ok ,so

ok ,so
java and C# is implemented
C++ nocode for xml client
python is not implemented
right ?

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

Yes. Those are the programming languages that our clients have asked for. Support for XML client can be added at some point for Python and C++, but I don't have an exact time for that yet.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

One of our clients asked for support for Python and it's now added.
https://github.com/Gurux/Gurux.DLMS.Python/tree/master/Gurux.DLMS.XmlCl…

BR,
Mikko

953313493@qq.com

4 years ago

thankyou

thankyou

I donot know if it is the bug , both in c# and python when use xml to read block
both in get and action in c#

I need to fix settings.command when to recv block like that , other wise cmd=none
```
def handleMethodResponse(cls, settings, data, index):
type_ = int(data.data.getUInt8())
data.invokeId = data.data.getUInt8()
if data.xml:
data.xml.appendStartTag(Command.METHOD_RESPONSE)
data.xml.appendStartTag(Command.METHOD_RESPONSE, type_)
data.xml.appendLine(TranslatorTags.INVOKE_ID, None, data.xml.integerToHex(data.invokeId, 2))
if type_ == ActionResponseType.NORMAL:
GXDLMS.handleActionResponseNormal(settings, data)
elif type_ == 2:
settings.command=0xc3 --------------------------------------add it
GXDLMS.handleActionResponseWithBlock(settings, data, index)
elif type_ == 3:
raise ValueError("Invalid Command.")
```

953313493@qq.com

4 years ago

error pdu like that if I do

error pdu like that if I do not fix it

TX: 17:18:44 00 01 00 11 00 01 00 19 C3 01 C1 00 7B 00 00 12 00 00 FF 02 01 02 02 11 00 02 02 12 00 01 12 F4 47
RX: 17:18:44 00 01 00 01 00 11 02 57 C7 02 C1 00 00 00 00 01 82 02 4C 01 82 02 55 02 09 0A 01 30 0A 05 39 39 39 39 39 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 06 38 38 38 38 38 38 0A 01 32 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 02 31 35 0A 01 32 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 02 31 36 0A 01 32 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 02 31 37 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 02 31 38 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 02 31 39 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 33 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 34 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 35 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 36 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 37 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 38 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 31 39 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 32 30 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32 32 31 0A 01 31 0A 00 0A 01 31 0A 0A 30 30 30 30 30 30 30 30 30 30 0A 00 0A 00 0A 00 02 09 0A 01 30 0A 03 32
TX: 17:18:44 00 01 00 11 00 01 00 04 00 00 00 01
RX: 17:18:44 00 01 00 01 00 11 00 03 D8 02 05
TX: 17:18:44 00 01 00 11 00 01 00 04 00 00 00 02
RX: 17:18:44 00 01 00 01 00 11 00 03 D8 02 05
TX: 17:18:44 00 01 00 11 00 01 00 04 00 00 00 03
RX: 17:18:44 00 01 00 01 00 11 00 03 D8 02 05
TX: 17:18:44 00 01 00 11 00 01 00 04 00 00 00 04

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

Please, create a new topic if you have a new question.
Create a new topic and add a hex trace from all the frames so I can check what is causing this.

BR,
Mikko

  • 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