CABrouwers / node-red-contrib-telnet

Apache License 2.0
2 stars 0 forks source link

Instructions, How To, Tutorial, Example #6

Open intmech opened 3 years ago

intmech commented 3 years ago

I'm struggling to figure out how to initialize a connection. I'm looking for an example of the proper method in node red to get the telnet session up and authenticated with username and password. I can see the .md for telnet-engine but it appears to be directed at node.js users more so than node-red users. In the node-red Help section for these nodes under details where I expect to find some hints how to use the nodes it says "... more to come ... "

manu-t commented 2 years ago

Hello, Thank you for the palette. It seems great but is it possible to connect to a telnet server with login and password?

intmech commented 2 years ago

Yes.

On Mon, Jan 10, 2022, 10:07 AM manu-t @.***> wrote:

Hello, Thank you for the palette. It seems great but is it possible to connect to a telnet server with login and password?

— Reply to this email directly, view it on GitHub https://github.com/CABrouwers/node-red-contrib-telnet/issues/6#issuecomment-1008962281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZHIXXDNSMILFR4HPKGVQLUVLYZFANCNFSM47HTJ3KQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

manu-t commented 2 years ago

Can you please share how you do it? (On the properties dialog, you can only set an ip address and a port number.)

intmech commented 2 years ago

https://discourse.nodered.org/t/telnet-from-node-red-running-on-windows-10/47718/9?u=intmech

Don't use node-red-contrib-telnet at all, just use the stock nodes.

On Mon, Jan 10, 2022 at 10:15 AM manu-t @.***> wrote:

Can you please share how you do it? (On the properties dialog, you can only set an ip address and a port number.)

— Reply to this email directly, view it on GitHub https://github.com/CABrouwers/node-red-contrib-telnet/issues/6#issuecomment-1008973118, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZHIXQ5MGCCO7KKTWVEJULUVLZZNANCNFSM47HTJ3KQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

manu-t commented 2 years ago

Thank you for your help but it seems my device (lopy module based on esp32 microcontroller with telnet server) is too exotic to answer tcp requests. I will probably have to switch to mqtt.