# Telnet output from geiger counter

**URL:** <https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998>\
**Category:** Developing Nodes\
**Created:** [10 December 2022 17:06 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998 "2022-12-10T17:06:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgrattan3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bgrattan3/32/47488_2.png) [@bgrattan3](https://discourse.nodered.org/u/bgrattan3)\
**Post date:** [10 December 2022 17:06 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/1 "2022-12-10T17:06:55Z")

</div>

Hello,  
I have a geiger counter which is outputting a telnet stream as follows:  
CPS, 1, CPM, 13, uSv/hr, 0.07, SLOW  
CPS, 0, CPM, 13, uSv/hr, 0.07, SLOW  
CPS, 0, CPM, 13, uSv/hr, 0.07, SLOW  
CPS, 0, CPM, 13, uSv/hr, 0.07, SLOW  
CPS, 0, CPM, 13, uSv/hr, 0.07, SLOW  
CPS, 0, CPM, 13, uSv/hr, 0.07, SLOW

There is no logon required just a connection to port 23  
I’m not a programmer but have used node-red with some other sensors, sending data to emoncms for display. This, with much great help from the forum.  
I don’t know how to set this up to capture the data. Looks like it should be simple but I haven’t figured it out yet. There is also an http stream on port 81 but I’m equally stumped on that.  
Thanks in advance.  
BG

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [10 December 2022 17:37 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/2 "2022-12-10T17:37:46Z")

</div>

Have you tried the TCP in or request node set to port 23?

---

<div class="post-metadata">

**Author:** ![bgrattan3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bgrattan3/32/47488_2.png) [@bgrattan3](https://discourse.nodered.org/u/bgrattan3)\
**Post date:** [10 December 2022 19:26 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/3 "2022-12-10T19:26:25Z")

</div>

Yes, thanks, I tried both but it didn’t connect. I guess I wasn’t setting it up correctly. Node-red is running on the rpi where I want to receive the data 192…176 and the telnet is running on an esp32 192…100:23. Do I need to send something to the source to start it? When I open a telnet session from a terminal then it starts sending automatically, no id or pw. Seems like this should be easy but somewhere I’m missing something.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 December 2022 19:30 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/4 "2022-12-10T19:30:02Z")

</div>

I think you need to send a `helo` message but it has been a VERY long time since I had to do anything with raw telnet.

As an alternative, you can probably use an exec node to run telnet and get the output?

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [10 December 2022 20:53 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/5 "2022-12-10T20:53:23Z")

</div>

Since you are able to use telnet from the command line, you might try [node-red-contrib-telnet-client.](https://flows.nodered.org/node/node-red-contrib-telnet-client)

[EDIT] My bad! These nodes loaded correctly in an earlier version of NR but seem to have a problem in the current one. I will look to see whether there is an easy fix.

---

<div class="post-metadata">

**Author:** ![bgrattan3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bgrattan3/32/47488_2.png) [@bgrattan3](https://discourse.nodered.org/u/bgrattan3)\
**Post date:** [10 December 2022 21:53 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/6 "2022-12-10T21:53:55Z")

</div>

Thanks, I tried to install but no luck. Seems to be there but not showing up in the list of nodes.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 December 2022 22:26 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/7 "2022-12-10T22:26:48Z")

</div>

Did you restart the server and refresh the browser page ?

---

<div class="post-metadata">

**Author:** ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Post date:** [11 December 2022 03:32 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/8 "2022-12-11T03:32:12Z")

</div>

Duh! It needed the browser refresh.

---

<div class="post-metadata">

**Author:** ![bgrattan3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bgrattan3/32/47488_2.png) [@bgrattan3](https://discourse.nodered.org/u/bgrattan3)\
**Post date:** [11 December 2022 13:21 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/9 "2022-12-11T13:21:27Z")

</div>

I rebooted everything and cleared the browser but no luck so far. Maybe I didn’t install it properly…?

---

<div class="post-metadata">

**Author:** ![bgrattan3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bgrattan3/32/47488_2.png) [@bgrattan3](https://discourse.nodered.org/u/bgrattan3)\
**Post date:** [11 December 2022 17:46 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/10 "2022-12-11T17:46:08Z")

</div>

Some success in that after several restarts and reboots I have the telnet module installed and the nodes are showing under “network” in the left column.  
However, trying various telnet nodes I am unable to connect with the host. There must not be an id/pw requirement as I can go from the command line telnet directly into the stream on port 23. Is there some sort of character that needs to be sent to connect? I haven’t been able to create a flow that deploys with a successful connection. Anyone have any suggestions here? Thanks in advance.  
Cheers,  
bgrattan@umw.edu

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 February 2023 17:46 UTC](https://discourse.nodered.org/t/telnet-output-from-geiger-counter/71998/11 "2023-02-09T17:46:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
