I am doing testing for Push notification using a given example Gurux.DLMS.Push.Listener.Example.Net.
I have configured the list of objects in the Push setup object. We receive only one push notification from a server (Meter) for all configured objects.
Even also using GXDLMSDirector we receive only one push notification for configured objects.
Is there any configuration we need to do from GXDLMSDirector to get periodic push notification from a server?
Let me know how to get push notification periodically from server to client?
There will be only one push notification. This push object contains all the objects what you have selected. You need to create timer that calls push objects when needed.
As per the Indian Standard, Push Notifications are automatically pushed by a server to the client.
As you suggested to create a timer(which will be set Client-side), it seems that we need to poll for parameters from the meter, instead of getting their values through periodic notifications.
One more question:
Do we need to configure timer at the server-side or client-side?
I'm sorry. There has been a misunderstanding. I thought that you are implementing the server-side.
There is a timer on the server-side that is triggered when a new push message is scheduled.
Try to set values to the "Communication Window" with GXDLMSDirector.
Communication Window defines how often push messages are triggered.
Thanks for providing very useful information. However, we are also eager to know what exactly the interval is set for the communication window time. As we don't find any interval input for the Push notification.
Thanks.
But we are also eager to know what exactly the interval is set for the communication window time. As we don't find any interval input for the Push notification. As you say if time is *-*-* 01:00:00 AM this is executed every day at 1:00:00 AM, but what if I want to get them executed after every 15 mins. Is this possible using GXDLMSDirector?
As you know that I found an issue in setting values for "Communication Window", in which I was unable to write values and got an error message that "String was not recognized as a valid DateTime".
There is a new version available were this is fixed. Idea was to use -1 ad -2 to indicate last and 2th last day of the month, but we didn't remember that - is used date separator.
You can't set the interval directly with DLMS. You define times when push messages are sent.
Start and end times are communication window during that time push messages are sent.
Push message is sent once during that time window.
If meter is busy it might be that push message is not necessarily sent as 01:00:00 AM.
Hi Bhaumik,
Hi Bhaumik,
There will be only one push notification. This push object contains all the objects what you have selected. You need to create timer that calls push objects when needed.
Note that there might be several push objects.
BR,
Mikko
Hi Mikko,
Hi Mikko,
As per the Indian Standard, Push Notifications are automatically pushed by a server to the client.
As you suggested to create a timer(which will be set Client-side), it seems that we need to poll for parameters from the meter, instead of getting their values through periodic notifications.
One more question:
Do we need to configure timer at the server-side or client-side?
Hi,
Hi,
I'm sorry. There has been a misunderstanding. I thought that you are implementing the server-side.
There is a timer on the server-side that is triggered when a new push message is scheduled.
Try to set values to the "Communication Window" with GXDLMSDirector.
Communication Window defines how often push messages are triggered.
BR,
Mikko
Hi Mikko
Hi Mikko
I am trying to set values from "Communication Window". In that, I am unable to write values and got an error message as shown in the attached image.
Can You please check and provide an update.
Hi,
Hi,
What is your Windows date-time format?
https://www.windowscentral.com/how-change-date-and-time-formats-windows…
What is your GXDLMSDirector version?
Select "About" from "Help" menu.
BR,
Mikko
Thanks, Mikko for your quick
Thanks, Mikko for your quick reply.
My system date format is "dd-MM-yyyy" and GXDLMSDirector version is 8.2.1912.0501
Hi,
Hi,
What is your Region and format?
https://www.windowscentral.com/how-change-date-and-time-formats-windows…
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thanks for providing very useful information. However, we are also eager to know what exactly the interval is set for the communication window time. As we don't find any interval input for the Push notification.
Thanks
Hi,
Hi,
You can check it from the attached image.
Hi,
Hi,
If time is *-*-* 01:00:00 AM this is executed every day at 1:00:00 AM.
BR,
Mikko
Thanks.
Thanks.
But we are also eager to know what exactly the interval is set for the communication window time. As we don't find any interval input for the Push notification. As you say if time is *-*-* 01:00:00 AM this is executed every day at 1:00:00 AM, but what if I want to get them executed after every 15 mins. Is this possible using GXDLMSDirector?
Hi Mikko,
Hi Mikko,
As you know that I found an issue in setting values for "Communication Window", in which I was unable to write values and got an error message that "String was not recognized as a valid DateTime".
Can You please check and provide an update.
Hi Bhaumik,
Hi Bhaumik,
If you want to send push messages every 15 mins you add four intervals.
*-*-* *:00:00
*-*-* *:15:00
*-*-* *:40:00
*-*-* *:45:00
This is possible with GXDLMSDirector. You need to verify that the meter also supports this.
We have verified this and we are testing it at the moment. We'll release the next version next week.
You can use GXDLMSDirector in the meantime if you change your Windows Date-time format to
English-US.
We added new functionality on the last release and it broke *-*-* date format.
Minus sign is causing the problem.
You can use example Month/Day/Year
BR,
Mikko
Hi,
Hi,
There is a new version available were this is fixed. Idea was to use -1 ad -2 to indicate last and 2th last day of the month, but we didn't remember that - is used date separator.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Using updated GXDLMSDirector, I am able to insert date-time.
As you said
"If you want to send push messages every 15 mins you add four intervals.
*-*-* *:00:00
*-*-* *:15:00
*-*-* *:40:00
*-*-* *:45:00
This is possible with GXDLMSDirector. You need to verify that the meter also supports this. "
But from the GXDLMSDIrector, I can see there is Start Time and End Time inputs in the communication window.
How to set intervals (e.g 15 min) from GXDLMSDirector?
Hi,
Hi,
You can't set the interval directly with DLMS. You define times when push messages are sent.
Start and end times are communication window during that time push messages are sent.
Push message is sent once during that time window.
If meter is busy it might be that push message is not necessarily sent as 01:00:00 AM.
BR,
Mikko