@msherwood Hey FYI I just got my lastest build (from scratch yesterday) working with MMM-PIR-Sensor:
I also found that npm install wiring-pi
installed the old (2.25) version for me. I found a newer library:
npm install wiring-pi-2019
which installs version 2.5 (this one works on my pi4!).
I also found that the location of the tvservice
binary has changed, so I just used the following bash commands:
sudo chmod u+s `which tvservice`
sudo chmod u+s `which chvt`
It then worked for me (Note, I did not modify the node_helper.js
script at all.)