UniversalDevicesInc-PG3 / udi-poly-ELK

MIT License
2 stars 1 forks source link

Allow Elk NS to Recognize Keypad Presses #69

Closed djc0739 closed 1 year ago

djc0739 commented 2 years ago

The Elk Module for ISY994 was able to recognize Keypad presses (example F1 key was pressed) and this functionality was able to be used in programs. For example: If Elk Keypad '--' 'F1' is Pressed Or Elk Keypad '--' 'F1' is Pressed Then Do something (I start a Network Resource) Else

Would like to see this functionality added to Elk NS

jimboca commented 2 years ago

Spent some time on this, but haven't figured it out, only getting

2022-04-01 19:17:02,222 ELK-9297   elkm1_lib.elk      DEBUG    elk:_got_data: got_data '17IC000000000000203020075'
2022-04-01 19:17:02,223 ELK-9297   udi_interface      DEBUG    Keypad:callback: Down Hall: changeset={'last_user_time': datetime.datetime(2022, 4, 2, 2, 17, 2, 223766, tzinfo=datetime.timezone.utc)}

Not sure why I'm not seeing keypad changes coming thru, will need to spend more time.

jimboca commented 2 years ago
2022-07-21 11:47:06,124 ELK-37719  udi_interface      ERROR    Controller:unknown: ELK Controller: Unknown message KF: 0000000000000!!!
jimboca commented 1 year ago

Can't use in a program: https://forum.universal-devices.com/topic/38679-last-keypress/

jimboca commented 1 year ago

This works fine for Status events, adding Control events is not possible without adding a unique driver for each possible Key change.

jimboca commented 1 year ago

Need to look into adding control events, but it will be difficult: https://forum.universal-devices.com/topic/38679-last-keypress/?do=findComment&comment=350072 Also, all Keys are not shown in "Last Function Key", but they are available in "Last Key" why do we have both?