How do you enter function keys from telnet?

General Discussion

How do you enter function keys from telnet?

Postby m_listed » Sun Apr 05, 2020 5:07 pm

After looking around quite a bit, I haven’t found anything about how to send the function keys to the alarm panel using the telnet connection to the AD2PI. My function key 3 opens my garage door.

I experimented and researched a lot and discovered that you can in fact press these keys from telnet by pressing Ctrl+A three times for Function key 1, Ctrl+B for F2, Ctrl+C for F3, and Ctrl+D for F4. This sends the unprintable ASCII characters 1, 2, 3, and 4 respectively. This allows me to add these buttons to Home Assistant as well.

Is this how it’s meant to be done? One problem with this: when you use telnet (and thus HA) to send these sequences, most of the time, a zone on my zone expander that’s already open will momentarily restore and fault again. It’s quite annoying. Is there a way to have it not do that?
m_listed
newt
newt
 
Posts: 5
Joined: Thu Jan 12, 2017 11:13 pm

Return to General

Who is online

Users browsing this forum: No registered users and 8 guests