This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT how to get started
#3
(27.04.2023, 08:17)Daniel Wrote: Does the objects in your script exists? Any errors?
On the client LM with broker in use ip 127.0.0.1

Yes, I have created the same objects included in the script just to avoid any bug on my side (indeed I have tried with different data types as I don't know if that is relevant). 

The LM log shows "* arg: 1  * string: mqtt connect status * arg: 2  * bool: true * arg: 3  * number: 0 * arg: 4  * string: connection accepted * arg: 5  * number: 0 * arg: 6  * nil".

And yes, on the client with the installed broker I use the localhost IP.
Reply


Messages In This Thread
MQTT how to get started - by alexll - 26.04.2023, 16:30
RE: MQTT how to get started - by Daniel - 27.04.2023, 08:17
RE: MQTT how to get started - by alexll - 27.04.2023, 10:35
RE: MQTT how to get started - by admin - 27.04.2023, 10:56
RE: MQTT how to get started - by alexll - 27.04.2023, 12:02

Forum Jump: