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 3 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 3 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin