# HomeyScript + Telnet

**URL:** <https://community.homey.app/t/homeyscript-telnet/105960>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [March 10, 2024, 6:58pm UTC](https://community.homey.app/t/homeyscript-telnet/105960 "2024-03-10T18:58:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brethomp](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brethomp/32/98705_2.png) [@brethomp](https://community.homey.app/u/brethomp)\
**Post date:** [March 10, 2024, 6:58pm UTC](https://community.homey.app/t/homeyscript-telnet/105960/1 "2024-03-10T18:58:52Z")

</div>

Is it possible to open a telnet connection in HomeyScript? I would like to send commands to an AVR that allows commands via telnet, but not http.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 11, 2024, 5:10am UTC](https://community.homey.app/t/homeyscript-telnet/105960/2 "2024-03-11T05:10:51Z")

</div>

Telnet is possible @ homey, f.e. the Marantz app uses telnet, maybe you can get ideas from the code:

> **[GitHub - hilvarenbeek/nl.marcovandenhout.marantz: Marantz driver for Homey](https://github.com/hilvarenbeek/nl.marcovandenhout.marantz)**
>
> Marantz driver for Homey. Contribute to hilvarenbeek/nl.marcovandenhout.marantz development by creating an account on GitHub.

Question is (also) if it’s allowed to use telnet with HomeyScript.

Also found a js example here, maybe it gets you going:

> **[How to connect to Telnet server from Node.js ? - GeeksforGeeks](https://www.geeksforgeeks.org/how-to-connect-to-telnet-server-from-node-js/)**
>
> A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [March 11, 2024, 5:23am UTC](https://community.homey.app/t/homeyscript-telnet/105960/3 "2024-03-11T05:23:14Z")

</div>

> [@Peter\_Kawa](#):
>
> Question is (also) if it’s allowed to use telnet with HomeyScript.

It’s not.

(FWIW, we’re not talking about Telnet (a specific protocol) here, but regular TCP/IP connections)
