# Read device by RS485 ASCII

**URL:** https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719
**Category:** General
**Created:** [15 May 2020 18:30 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719 "2020-05-15T18:30:27Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 13:28 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/21 "2020-05-16T13:28:32Z")

</div>

I don't know if that is what you want, flow is changing all the time, if you want me to temporary stop or hang it, it's not possible, because today I am working from my home.

 ![10](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4d5c501c98969757ef6d902d13244ff372e3f021.png)

I've got this program already and I red some informations about mqtt and yes, it looks good, better than modbus in this case 🙂  
The last thing is, if I have more these devices is possible to read them all? They are on the same RS485 line

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 13:59 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/22 "2020-05-16T13:59:13Z")

</div>

> [@json\_lame](#):
>
> The last thing is, if I have more these devices is possible to read them all? They are on the same RS485 line

As it is RS485 it will be possible but we will have to sequence the serial commands in a round-robin style

> [@json\_lame](#):
>
> I don't know if that is what you want, flow is changing all the time

yes, i know, but I was hoping you would export your current flow (CTRL+E, copy to clipboard, paste in a reply) so I could prepare the next part.

Do you have mqtt explorer downloaded & ready?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 15:42 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/23 "2020-05-16T15:42:26Z")

</div>

@json_lame Could you copy the data returned by your serial port (for BOTH 81L and 81D commands)

like this...

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6f8776c6883c27c9a7fbfba52ea1e0ad95dd446e.png)

and paste it between backticks please?

I have some flow for you (just need test data)

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 15:55 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/24 "2020-05-16T15:55:04Z")

</div>

Quick promotion, thanks 🙂  
You mean like this?

`FP210v20 81 200516175021 210.9`  
`FP210v20 81 68535h1200001377480000137748`

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 15:58 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/25 "2020-05-16T15:58:27Z")

</div>

Which one is which?

`FP210v20 81 200516175021 210.9` - 81D? or 81L?  
`FP210v20 81 68535h1200001377480000137748` - 81D? or 81L?

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 16:01 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/26 "2020-05-16T16:01:36Z")

</div>

The first one is 81L, second is 81D

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 16:17 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/27 "2020-05-16T16:17:16Z")

</div>

_NOTE: this solution uses the node-red MQTT broker node [node-red-contrib-aedes](https://flows.nodered.org/node/node-red-contrib-aedes). If you already have a broker, deleted it otherwise install node/node-red-contrib-aedes node from the pallet manager._

So this is what I put together to make a (semi) final solution...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f1ff3bd43898de353badb494624e40d832bc1a39.png)

Please read through all the notes on the screen shot, the comment nodes and all the notes inside the functions to understand what its doing.

Once you understand (or not) give me a shout for the final stage (how to acces these MQTT values outside of Node-red - i.e. your SCADA)

the flow ....

```auto
[{"id":"90bf94b7.269648","type":"aedes broker","z":"c4135bb4.a5f418","name":"","mqtt_port":1883,"mqtt_ws_port":"","cert":"","key":"","certname":"","keyname":"","dburl":"","usetls":false,"x":330,"y":80,"wires":[[]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"560dc5a6.ccf43c","type":"comment","z":"c4135bb4.a5f418","name":"NODE RED Based broker - delete if using mosquito","info":"### consider using standalone mosquito on the finished system","x":430,"y":40,"wires":[]},{"id":"f0999926.0a7238","type":"mqtt in","z":"c4135bb4.a5f418","name":"subscribe to # for testing purposes","topic":"#","qos":"2","datatype":"auto","broker":"4af1f016.58aaa","x":380,"y":200,"wires":[["adeed42f.2d27e8"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"adeed42f.2d27e8","type":"debug","z":"c4135bb4.a5f418","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":630,"y":200,"wires":[]},{"id":"5307778e.a29e98","type":"inject","z":"c4135bb4.a5f418","name":"","topic":"device1/test","payload":"hello device1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":370,"y":320,"wires":[["69c72f1b.4bd6b"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"69c72f1b.4bd6b","type":"mqtt out","z":"c4135bb4.a5f418","name":"","topic":"","qos":"","retain":"","broker":"4af1f016.58aaa","x":590,"y":320,"wires":[]},{"id":"21bd0e3e.3dbaa2","type":"inject","z":"c4135bb4.a5f418","name":"Poll trigger","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":false,"onceDelay":0.1,"x":310,"y":540,"wires":[["84cb5d9a.ec35"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"84cb5d9a.ec35","type":"function","z":"c4135bb4.a5f418","name":"get next COMM data","func":"\n//get poll_sequence from flow context\nvar poll_sequence = flow.get(\"poll_sequence\");\nif (poll_sequence == null) poll_sequence = -1;\n\n//get RS485Setup from flow context\nvar RS485Setup = flow.get(\"RS485Setup\") || [];\nif (RS485Setup.length <= 0){\n node.warn(\"RS485Setup is empty\")\n return null;\n}\n\n//increment to next poll seq\npoll_sequence++;\n\nif (poll_sequence >= RS485Setup.length ){\n poll_sequence = 0;\n}\n\n//store current POLL in msg.poll\nmsg.poll = RS485Setup[poll_sequence];\nmsg.poll_sequence = poll_sequence;\nmsg.payload = new Buffer(\n \" \" + //ESC \n msg.poll.comm + \n \"\\r\" //CR\n)\n//update buff element [0] to be an ESC char\nmsg.payload[0] = 27 //ESC\n\n//store current poll_seq\nflow.set(\"poll_sequence\", poll_sequence);\n\nreturn msg;//return the msg to next node","outputs":1,"noerr":0,"x":500,"y":540,"wires":[["34d2538a.63488c"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"8518ed37.4d14d","type":"inject","z":"c4135bb4.a5f418","name":"initialse","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":300,"y":440,"wires":[["e75d576b.4b24d8"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"e75d576b.4b24d8","type":"change","z":"c4135bb4.a5f418","name":"","rules":[{"t":"set","p":"RS485Setup","pt":"flow","to":"[{\"comm\":\"81L\",\"data\":[{\"topic\":\"device1/totaliser/t1\",\"data_start\":20,\"data_end\":30,\"dataType\":\"int\"},{\"topic\":\"device1/totaliser/t2\",\"data_start\":30,\"data_end\":40,\"dataType\":\"int\"}]},{\"comm\":\"81D\",\"data\":[{\"topic\":\"device1/flow\",\"data_start\":25,\"data_end\":31,\"dataType\":\"float\"}]}]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":500,"y":440,"wires":[["e32ab155.7b9bf"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"34d2538a.63488c","type":"function","z":"c4135bb4.a5f418","name":"(fake serial port)","func":"\nif (msg.poll.comm.includes(\"81D\")){\n msg.payload = `FP210v20 81 200516175021 123.${getRandomInt(0, 9)}\\n\\n`\n return msg\n}\n\nif (msg.poll.comm.includes(\"81L\")){\n msg.payload = `FP210v20 81 68535h120000456${getRandomInt(101, 999)}0000789${getRandomInt(101, 999)}\\n\\n`\n return msg\n}\n\n\n\nreturn null;\n\n\n\nfunction getRandomInt(min, max) {\n min = Math.ceil(min);\n max = Math.floor(max);\n return Math.floor(Math.random() * (max - min + 1)) + min;\n}","outputs":1,"noerr":0,"x":720,"y":540,"wires":[["98eb398d.e5a4a8","83a05335.69fb"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"98eb398d.e5a4a8","type":"debug","z":"c4135bb4.a5f418","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":930,"y":540,"wires":[],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"e32ab155.7b9bf","type":"debug","z":"c4135bb4.a5f418","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":950,"y":440,"wires":[]},{"id":"83a05335.69fb","type":"function","z":"c4135bb4.a5f418","name":"split items out, add topic, send payload","func":"var poll = msg.poll;\n// node.warn([\"poll\",poll]);\nfor (let index = 0; index < poll.data.length; index++) {\n const e = poll.data[index];\n //node.warn([\"poll.data[i]\", e]);\n var valRaw = msg.payload.slice(e.data_start, e.data_end)\n var val = valRaw;\n switch(e.dataType){\n case \"int\":\n val = parseInt(valRaw);\n break;\n case \"float\":\n val = parseFloat(valRaw);\n break;\n } \n node.send({\n topic: e.topic,\n payload: val,\n valRaw: valRaw,\n poll: e\n });\n}\n\nreturn null;","outputs":1,"noerr":0,"x":550,"y":600,"wires":[["53ef92d1.3abf8c","8c9be340.715b3"]],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"58919633.39b1b8","type":"mqtt out","z":"c4135bb4.a5f418","name":"","topic":"","qos":"","retain":"","broker":"4af1f016.58aaa","x":930,"y":600,"wires":[],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"6eac4aa6.40bd04","type":"debug","z":"c4135bb4.a5f418","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":930,"y":660,"wires":[],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"53ef92d1.3abf8c","type":"rbe","z":"c4135bb4.a5f418","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":790,"y":600,"wires":[["58919633.39b1b8","6eac4aa6.40bd04"]]},{"id":"e4bde9f4.a8aa68","type":"comment","z":"c4135bb4.a5f418","name":"Setup what to POLL in flow.RS485Setup (inside the change node)","info":"","x":470,"y":400,"wires":[]},{"id":"b62c51c5.6d86d","type":"comment","z":"c4135bb4.a5f418","name":"Poll the entries in RS485Setup, request COM data, split data and generate new MQTT payloads","info":"","x":570,"y":500,"wires":[]},{"id":"758402e0.f7a28c","type":"comment","z":"c4135bb4.a5f418","name":"A test (to check MQTT is working)","info":"","x":370,"y":280,"wires":[]},{"id":"52ef13fb.806eec","type":"comment","z":"c4135bb4.a5f418","name":"Subscribe to # (while testing - to see MQTT data is working) - DELETE LATER","info":"### consider using standalone mosquito on the finished system","x":510,"y":160,"wires":[]},{"id":"8c9be340.715b3","type":"debug","z":"c4135bb4.a5f418","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":690,"y":660,"wires":[],"info":"## Title\n### Info...\n- point 1\n- point 2\n\n*More info*"},{"id":"4af1f016.58aaa","type":"mqtt-broker","z":"","name":"aedes local","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"40","cleansession":true,"birthTopic":"aedes/state","birthQos":"0","birthPayload":"ready","closeTopic":"aedes/state","closeQos":"0","closePayload":"alert","willTopic":"aedes/state","willQos":"0","willPayload":"alert"}]

```

**PS**  
This is what you should see in the debug window...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/465474e1da8e079851cd7aaa8653641fc273eafd.png)

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 16:24 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/28 "2020-05-16T16:24:29Z")

</div>

Okay, I'm getting started with this, I'll let you know, but this could be in 20 mins or 20 hours 🙃

Unfornatelly, there's one thing to explain, the "D" function is for flow, "L" is for totalisers, anyway stupid me, it's my fault, so in my last post first answer is for "81D", second is for "81L", once again sorry....

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 16:34 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/29 "2020-05-16T16:34:38Z")

</div>

Sorry for posting one by one, I think it's working

 ![11](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/0/40e8f02023cbdb595007a8ecdfd4861796c6be1c.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 17:15 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/30 "2020-05-16T17:15:20Z")

</div>

Good stuff. Remember, if there is anything you dont understand, let me know.

Some tips + tasks (for learning)...

- Connect to the broker by MQTT explorer
  - remember to connect to localhost or 127.0.0.1 (port 1883)
  - see the values changing
  - show me a screen shot

- have a look in the context viewer in node-red - see if you can find where the RS485Setup array is stored
- try adjusting the topic names from device1/totaliser/t1 to something more suitable
  - adjust the JSON in the change node
  - deploy (single node deploy)
  - press the inject
  - see what happens in MQTT explorer

- Try adjusting the mqtt node - make items "retained" or set QoS to 1 or 2

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 17:59 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/31 "2020-05-16T17:59:49Z")

</div>

Ok, almost all of your list "to do" I made properly, for prove I got screen shots

 ![12](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/569bcd40e1734a132638497882e345752aa60882.png)  
 ![13](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9a182322825eb8087eb6b0c6a2c374f82a9be05c.png)  
 ![14](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/3/c308175c3049f6fa2282042548ad266a1aa1104d.png)  
 ![15](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/2/822126a777eef1c06149af21cba0ae291c0a528c.png)

Except last one, the values didn't retain, but at the moment this option isn't required. Now I would try to connect with my SCADA and let you know about progress

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 18:06 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/32 "2020-05-16T18:06:23Z")

</div>

Ok, no problem.

Hope it helped.

Good luck.

PS: Retain is an option you set in the MQTT out node.

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 20:02 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/33 "2020-05-16T20:02:57Z")

</div>

So, according to [this](https://www.askom.pl/WebHelp/Asix_Evo_9/EN/Communication_Drivers_HTML5/Mqtt.htm) I can only choose "tcp" or "ssl" connection, Asix can ask _"mqtt driver"_ for flow and totalisers, but it can't establish connection. In MQTT Explorer i see two protocols to choose mqtt:// or ws://  
So, is it possible to run mqtt as tcp node?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 20:10 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/34 "2020-05-16T20:10:45Z")

</div>

> [@json\_lame](#):
>
> six can ask _"mqtt driver"_ for flow and totalisers, but it can't establish connection

This is how MQTT works.

Look at this picture...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5b35557b75290e785f5dd642f67e0627cdba1045.png)

What it shows is that its a pub/sub model with a broker in the middle.

You (node-red) publish (via a topic) to a broker  
Others (SCADA/node-red/ERP/wahtever you want) subscribes to your topic (and / or other topics).

so in other words, the MQTT Driver establishes the connection to the broker.

> [@json\_lame](#):
>
> So, is it possible to run mqtt as tcp node?

MQTT in standard mode (TCP) or WS (web socket)

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 20:22 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/35 "2020-05-16T20:22:28Z")

</div>

Okay, if you are sure, that should work, I'll be patient and I'll take care of it, if something go well, I'll let you know.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 20:23 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/36 "2020-05-16T20:23:36Z")

</div>

One thing of note - that broker (node-red-contrib-aedes) is not a full blown broker so I would probably install mosquito & delete that node from your flow (to rule it out)

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [16 May 2020 22:00 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/37 "2020-05-16T22:00:13Z")

</div>

Sorry for my late reply, I'm trying to read that by asix, but it has problems, also I tried use Mosquito, with no effect.. I won't give up anyway and still tried make this working

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [16 May 2020 22:48 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/38 "2020-05-16T22:48:44Z")

</div>

I would pursue the MQTT route. I'm certain by now you see how easy and flexible it is?

If asix cant help you get MQTT values then we could fall back to REST or worst case Modbus (though I wont be able to help you on that one)

Speak later.

---

<div class="post-metadata">

### Author: ![json\_lame](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@json\_lame](https://discourse.nodered.org/u/json_lame)
#### Post date: [17 May 2020 17:36 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/39 "2020-05-17T17:36:18Z")

</div>

Hi, so, I worked few hours about that, but no result. I tried also use Mosquitto, but only effect was list of errors on debug page, of course I read some topics and pages in Internet about it, but still no satisfay result.  
How about REST? It's little more compicated I see, in addition I don't want waste your time.... It could turns that asix can't take this data by MQTT and REST, because ASKOM added this functionality quite recently and it has "childhood" problems if you know what I mean.  
Could you help me with Mosquitto at least? Maybe it can send the data for asix properly....  
Anyway, if that's possible now I prefer to use MQTT, because of it's simplicity

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [17 May 2020 17:49 UTC](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719/40 "2020-05-17T17:49:38Z")

</div>

> [@json\_lame](#):
>
> Could you help me with Mosquitto at least?

I am sure someone can help (mosquitto is generally easy to install and use) but without any clues to what problems you have it is impossible to suggest a solution.

[Previous page](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719.md?page=1)

[Next page](https://discourse.nodered.org/t/read-device-by-rs485-ascii/26719.md?page=3)
