Switch to desktop version  

Ewon TechForum
Providing technical solutions to technical requests



Getting Started with MQTT on your Flexy using BASIC
Jaisantosh
Junior Member
#16
This thread has been marked as solved. If you have a similar issue, it would be better to post your own thread rather than bump this one, to help keep everybody's different issues separate.

(12-01-2021, 09:14 PM)simon Wrote: Are you sure the TCP port 1883 (MQTT) or 8883 (MQTT over TLS) is opened on your network ?

Yes, I have used MQTT before in my system on same ports.
Reply

AmbaH
Junior Member
#17
Hi Simon,

When I use this code with the Ewon MQTT broker to publish messages to /topic/flexy/serialnumber/command   I get the following errors:
  • For the message: hi
    Dim index error(19) 113: TagNameToWrite$ = JsonPart$(Pos1stQuote% TO Pos2stQuote%-1)
  • For a larger message: { "month" :6 , "day": 7}
    Not a variable(4) 124: SETSYS Tag, "load", TagNameToWrite$Not a variable(4) 133: SETIO TagNameToWrite$, VAL TagValueToWrite$
Reply

simon
eWON Support
#18
Hi,

This is normal.

The message format the Ewon is expecting is { "month" :6 , "day": 7} where month and day must be the TAG name where to put the values.

I guess you did not create the Tags.
Reply

AmbaH
Junior Member
#19
This thread has been marked as solved. If you have a similar issue, it would be better to post your own thread rather than bump this one, to help keep everybody's different issues separate.

(08-06-2023, 11:25 AM)simon Wrote: Hi,

This is normal.

The message format the Ewon is expecting is { "month" :6 , "day": 7} where month and day must be the TAG name where to put the values.

I guess you did not create the Tags.

Thank you Simon.

You are correct I did not create the tags, could you please point me towards a thread that explains how to do that?
Reply

simon
eWON Support
#20
Hi,

I suggest you follow the videos on https://elearning.hms-networks.com/
Reply




Possibly Related Threads…
12-09-2025, 05:36 PM
Last Post: LuisEnrique
18-07-2025, 07:22 AM
Last Post: LuisEnrique
  AWS IOT MQTT support Started by remi.reppert
1 Replies - 418 Views
01-07-2025, 08:44 AM
Last Post: simon
18-06-2025, 04:57 PM
Last Post: mickaa
05-06-2025, 12:23 PM
Last Post: simon
15-05-2025, 05:57 PM
Last Post: LuisEnrique
20-03-2025, 12:55 PM
Last Post: driesdebouver
17-03-2025, 07:14 PM
Last Post: Houns
  Ewon Flexy and Telegram Started by spessi
12 Replies - 7.861 Views
30-01-2025, 10:49 AM
Last Post: Ellantra
24-10-2024, 01:52 PM
Last Post: anas.rhouati



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy