Thank you. I managed it! The problem was that my start script didn’t switch the gpio to output correctly. You gave me the right direction.
Read the statement by Michael Teeuw here.
Latest posts made by PottiMc
-
RE: PIR-Sensor with relay
-
PIR-Sensor with relay
Hi all,
I try to run a relay which is cutting down the power to my lcd monitor. The PIR-Sensor module works fine as long as i don’t use the relayPin command. I get the following error message in the logs:
{ Error: EPERM: operation not permitted, write
at Object.fs.writeSync (fs.js:707:3)
at Gpio.writeSync (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/onoff/onoff.js:243:8)
at Class.activateMonitor (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:27:24)
at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:124:30
at gpio._listeners.slice.forEach.callback (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/onoff/onoff.js:135:9)
at Array.forEach ()
at pollerEventHandler (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/onoff/onoff.js:134:32) errno: -1, syscall: ‘write’, code: ‘EPERM’ }Can somebody tell me what to do?
-
RE: MMM-RemoteCompliments - No Random Compliments
Yes, I have set up my google drive. As I said, the other compliment files (current and scheduled) are working fine.
-
RE: MMM-RemoteCompliments - No Random Compliments
@sdetweil Here is my config text according the module. Not much in there…
{ module: "MMM-RemoteCompliments", header: "MMM-RemoteCompliments", position: "middle_center", config: { // See below for configurable options } },
Thank you for assisting me!
-
MMM-RemoteCompliments - No Random Compliments
Hi all,
I hope you can help me. I tried to get MMM-RandomCompliments working with RandomCompliments. Everything else works fine. I had this fancy issue with a “broken image” icon, but that was easy to fix.
I really have a hard time the get the module running with the random compliments file on my drive.
I just copied the code from MMM-Compliments, so it shouldn’t be a problem with the program itself.Example from my file:
{ "anytime" : [ "Hey there sexy!" ], "morning" : [ "Good morning, sunshine!", "Who needs coffee when you have your smile?", "Go get 'em, Tiger!" ] }
It doesn’t show anything at all of these sentences. Current compliments and scheduled compliments are working fine. Did you experience the same troubles or can you give me any help? Tried debugging the module with the browser console.