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. Gurux/Python

Gurux/Python

By gilles_de_rais , 3 April, 2023
Forums
Gurux.DLMS

Hi,

I have tried to implement gateway functionality in python gurux in Gurux.DLMS.Client.Example

reader = None
settings = GXSettings()
try:
# //////////////////////////////////////
# Handle command line parameters.
ret = settings.getParameters(args)
gateway = GXDLMSGateway()
gateway.networkId = 0
gateway.physicalDeviceAddress = bytearray([0x76, 0x90, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03])
settings.client.gateway = gateway

it did not add my Phy address and increment the wrapper frame size

gurux_dlms version: 1.0.142
gurux_net version: 1.0.20
gurux_serial version: 1.0.20
Authentication: 2
ClientAddress: 0x30
ServerAddress: 0x1
Standard: 0
Security: 48
System title: 41 42 43 44 45 46 47 48
Authentication key: 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36
Block cipher key: 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36
TX: 17:39:09 00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 5D FF FF
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3

Profile picture for user Kurumi

Kurumi

3 years 2 months ago

Hi, There was an issue with…

Hi,

There was an issue with the gateway. This is fixed for the version 1.0.143.

BR,
Mikko

gilles_de_rais

3 years 2 months ago

In reply to Hi, There was an issue with… by Kurumi

Thank you same thing with…

Thank you same thing with GXDLMS director

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin