I found it… I updated the EXT-Screen and now it’s working properly… The answer is always there somewhere…
Dennis
Posts made by N6NG
-
RE: EXT-Pir/EXT-Screen
-
EXT-Pir/EXT-Screen
I got EXT-Pir and EXT-Screen installed and it looks fine with no errors. It will restart the counter with motion.
But with no motion, it counts down to 2 secs. and then starts at 15min again. The screen never goes dark. I’ve been using Mode 1: and have tried other modes but they all work the same. Count down and restart the count… Any suggestions?
Thanks Dennis -
RE: EXT-PIR /EXT-Screen/EXT-Alert
I remembered… I’m in the process of retyping everything using the Raspberry Text editor… Thanks again… I just don’t remember when I’m copying and pasting frrom the home module…
Dennis -
RE: EXT-PIR /EXT-Screen/EXT-Alert
Thank you… here is the config for all three…
{
module: ‘EXT-Alert’,
config: {
debug: false,
ignore: []
type: ‘information’,
message: ‘this is a sample message displayer’,
sender: ‘N6NG’,
sound: ‘none’,
}
},{
module: ‘EXT-Pir’,
config: {
debug: false,
gpio: 17,
reverseValue: false
}
},{
module: ‘EXT-Screen’,
position: ‘top_left’,
config: {
delay: 2 * 60 * 1000,
}
}, -
EXT-PIR /EXT-Screen/EXT-Alert
I got the above 3 modules install. The Pir/Screen didn’t work. So I installed the EXT-Alert to see if I could get some clue why I had the problems. When I tried to start the MagicMirror again, it said I had a problem. I ran npm run config:check and it told me I had a bad token on line 20 which was the type: in the EXT-Alert module. I looked through the forum problems but none had anything that would repair this trouble. Anyone have any other possibilities?
Thanks Dennis -
RE: Trying to install Pir and Screen
Ok… thank youi… I just paste what you had sent… but I will look into geany… I hadn’t heard about that… Thanks
Dennis -
RE: Trying to install Pir and Screen
The cut and paste version
{
module: “EXT-Screen”,
276 position: “top_left”,
config: {
delay: 2 * 60 * 1000
}
},
{
module: “EXT-Pir”,
config: {
debug: true,
gpio: 22,
reverseValue: false
}
};
npm results[11.06.2022 13:13.13.266] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
[11.06.2022 13:13.13.540] [ERROR] Your configuration file contains syntax errors
[11.06.2022 13:13.13.545] [ERROR] Line 276 column 11: Parsing error: Unexpected token :Dennis
-
RE: Trying to install Pir and Screen
My newest effort and the results
{ module: "EXT-Screen",
286 position: “top_left”,
config: {
delay: 2 * 60 * 1000
}
},[11.06.2022 12:54.24.865] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
[11.06.2022 12:54.25.150] [ERROR] Your configuration file contains syntax errors
[11.06.2022 12:54.25.154] [ERROR] Line 286 column 12: Parsing error: Unexpected token :Dennis
-
RE: Trying to install Pir and Screen
My config now:
{
module: “EXT-Screen”,
286 position: ‘top_left’,
config: {
delay: 2 * 60 * 1000
}
},I added the 286 line number before postting
npm run config:check results
[11.06.2022 12:26.41.501] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
[11.06.2022 12:26.41.760] [ERROR] Your configuration file contains syntax errors
[11.06.2022 12:26.41.765] [ERROR] Line 286 column 12: Parsing error: Unexpected token :Dennis
-
Trying to install Pir and Screen
I installed EXT-Pir and EXT-Screen
When I try to run npm run config:check I get this error:npm run config:check
magicmirror@2.19.0 config:check
node js/check_config.js[10.06.2022 11:36.39.092] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
[10.06.2022 11:36.39.358] [ERROR] Your configuration file contains syntax errors
[10.06.2022 11:36.39.363] [ERROR] Line 325 column 11: Parsing error: Unexpected token ‘EXT-Screen’If I take out the EXT-Screen and run config:check I get the same thing for module: ‘EXT-Pir’
Any ideas?
Thanks
DennisHere is my config.
{
module: ‘EXT-Screen’,
position: ‘top_left’,
config: {
delay: 2 * 60 * 1000
}
},
{
module: ‘EXT-Pir’,
config: {
position: ‘bottom_left’,
debug: true,
gpio: 22,
reverseValue: false
}
},