Skip to content

Keypad 4x4 and 4x3 to use with ESPHome and Home Assistant

License

Notifications You must be signed in to change notification settings

paki111/esphomekeypad_4x4

 
 

Repository files navigation

ESPhome Keypad

Two custom sensors to use 3x4 matrix kexpads with ESPhome. Uses the Arduino Keypad Library. TextSensor to use 4x4 matrix keypad.

KeypadSensor

This sensor instantly publishes the numerical value of the pressed key. * becomes -6, # becomes -13, because of the ASCII value.

KeypadTextSensor

This sensor gathers all pressed numbers in a string and publishes the hole string when # is pressed. The string is reset, when * is pressed.

Keypad_4x4

This TextSensor enters value of a pressed key in a char array (to support letters ABCD and signs * #) and publishes it instantly.

About

Keypad 4x4 and 4x3 to use with ESPHome and Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.7%
  • Shell 2.3%