thobach / MMM-Gestures

MMM-Gestures is a head-less 3rd party module for MagicMirror that allows to control the Magic Mirror via gestures of two types of infrared sensors. Use cases include presence awareness to trigger compliments or go into sleep mode and scrolling through news tickers or view news details.
http://blog.thomas-bachmann.com/2016/02/magic-mirror-2-0-mit-gestensteuerung.html
41 stars 12 forks source link

Serialport version issue #3

Closed christopolise closed 4 years ago

christopolise commented 4 years ago

Trying to use the hardware for this project, I ran into the following error:

readline is not a function

in gestures.js. This appears to be a dependency issue with serialport. The version this project uses is 4.x.x and the current one installed by npm is 9.x.x. After going through dependency hell, it appears that changing the current syntax to match the current version of serialport is the easiest fix...

thobach commented 4 years ago

Thanks @christopolise for the pull-request PR#4. I had addressed the issue amongst others already earlier and needed more time for testing first. The changes are now published and you can find the delta in e9f4ab7, hence I'll close this issue.