GXDLMSDirector excution error {Method not found: 'MQTTnet.TopicFilterBuilder MQTTnet.TopicFilterBuilder.WithTopic(System.String)

10 posts / 0 new
Last post
zilic
GXDLMSDirector excution error {Method not found: 'MQTTnet.TopicFilterBuilder MQTTnet.TopicFilterBuilder.WithTopic(System.String)

Hi,

Hopefully, you are doing good.

I want to read meter parameters in the cloud server with the Dynamic Ip Address. I come across this forum through a search engine. I have downloaded the GURUX.MQTT and the GXDLMSDirector, but during the connection, the GXDLMSDirector brings this error (Method not found: 'MQTTnet.TopicFilterBuilder MQTTnet.TopicFilterBuilder.WithTopic(System.String)'.

Kindly assist how can resolve this, or any way around that can help me to accomplish this project.

Kurumi
Kurumi's picture

Hi,

Get the latest version from the GXDLMSDirector from the GitHub.
https://github.com/Gurux/GXDLMSDirector/

Build it and you can communicate with MQTT.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

zilic

Thanks! It works now. Kudos Mikko.

kz

zilic

Helo Kurumi,
I'm trying to simulate the connection with Gurux.MQTT and GXDLMSDirector. But it shows the error on the attached photo. The broker is running in the default port with a localhost address.

Image: 

kz

Kurumi
Kurumi's picture

Hi,

Try to read the meter with GXDLMSDirector using serial or TCP/IP port first. If one of your meter settings is wrong, the meter doesn't reply. For this reason, it's impossible to say why the meter is not answering.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

zilic

Still, I'm receiving errors even using a serial port. But by using the Meter Vendor [DonSun] application I can be able to connect via Serial port.

Note: The Meter setting is ok.

Image: 

kz

zilic

I have installed the Mosquitto broker in my server and I'm running the GuruX bridge but still, I'm receiving the errors. What could be the issue/missing configuration?

Image: 

kz

Kurumi
Kurumi's picture

Hi,

One of your settings is invalid and the meter doesn't reply because of that.
Make the connection work with the serial port before try with MQTT.

If you can get a byte trace what the another application is sending and receiving I can get the correct parameters for you.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

zilic

Hello,

I tried to use the serial port but still, I was receiving the same error. But using the Manufacturer App the Meter can not to a serial port.

kz

Kurumi
Kurumi's picture

Hi,

I can help you only if you can get a hex trace from send bytes. You can try to get bytes with fireshark and then convert them to hex.
https://www.wireshark.org/

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi