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

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin