lavolp3 / MMM-Keyboard

A MagicMirror module displaying a virtual keyboard for touch devices. The keyboard can be used to send any input to other modules.
MIT License
4 stars 3 forks source link

Bring! #4

Open thetobyde opened 3 years ago

thetobyde commented 3 years ago

Hey mate! Nice Keyboard! It works with MMM-Bring. If I want to add a new Item to my shipping List the Keyboard is appearing nicely. But when I enter my text and "send" it, the keyboard disappears, as I want to but in my Bring! Shipping List there is no new Item. What am I doing wrong? Thx 4 help bro 👍 Toby

lavolp3 commented 3 years ago

Oh boy. I need to check that. So everything works as expected but the new item does not appear? Can you set

debug: true

in your mmm-keyboard config entry and check the browser dev console (Press F12 in browser) for the entries of the module?

thetobyde commented 3 years ago

Thx for the fast response. I think the Bring module doas not get the Keyboard Input, cause the Keyboard sends the input perfect. See this:

image0

lavolp3 commented 3 years ago

ok thank you mate for finding this small but important bug. The keyword sent by MMM-Bring (key: "mmm-bring") has not been consistent with the key that mmm-bring filters for again. (if key === "bring"). The notification has never been interpreted. Sent a PR to MMM-Bring which hopefully gets merged soon. See https://github.com/werthdavid/MMM-Bring/pull/16 Let me know if it works then.