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. TemporaryFailure (2) In a SetResponse

TemporaryFailure (2) in a SetResponse

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 orim , 24 February, 2017
Forums
General discussion

Hi!

Anyone else here who've received the TemporaryFailure error code from a DLMS meter?

I'm getting it while requesting day_profile_table_passive from the Activity Calendar class.

Starting to think that it might be a meter bug but I thought I'd check if someone else has experienced and perhaps knows why it happens?

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

ActionResponse

Hi,

What meter you try to read? If you read meter again is same error sent or is this random?

BR,

Mikko

orim

9 years 3 months ago

TemporaryFailure

It's a Chinese meter (can't say which vendor specifically).

I figured out what was wrong. I was sending a GXDLMSDayProfile object with an empty list of GXDLMSDayProfileAction to the day_profile_table_passive attribute. This caused the meter to return "TemporaryFailure" every time I requested the day_profile_table_passive object. The error persisted until I wrote a complete GXDLMSDayProfile object instead (which contained full GXDLMSDayProfileAction objects) .

In my opinion, it's a bug in the meter firmware because it would be better if I'd received an error when writing incomplete data to the day_profile_table_passive object.

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

TemporaryFailure

Hi,

I'm glad that you solved this. It's a little problem that there are limited number of possible errors.
Lack of error codes is causing that we have to sometimes guess what is the problem.

BR,

Mikko

orim

9 years 3 months ago

Validation

Indeed, lots of guessing included!

Perhaps there should be a Gurux.DLMS.Validation library (optional), which provides validation for stuff that's beyond explicit data errors.

A scenario:

If I try to create a week_profile containing day id 4, but day id 4 does not exist in the day_profile_table, it will probably result in an "Other Reason" error.

But I had this (or something like it):
Gurux.Validation.RunValidation(week_profile);

I would spot the error early on and perhaps avoid a few headaches!

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

Validation

Hi,

Your idea is good. We have actually implemented something like this, but problem is that it's newer ready. Amount of different scenarios is huge. But I'll think this if we I can get some kind of idea how to do it.

BR,

Mikko

orim

9 years 3 months ago

Validation

Well, how about putting up a github repo for it and it can be WIP until it has enough functionality? I would gladly contribute, it would be easy to add cases whenever they are discovered. Could be a very simple repo, based around unit tests.

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

Validation

Hi,

I have thinking how we can use exists code. In my mind there is no point to start from scratch. Idea what I'm thinking is can or should we use XML for validation.

But as I say before, I'm still thinking it.

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