• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. Arynio
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
A
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 9
  • Groups 0

Arynio

@Arynio

0
Reputation
1
Profile views
9
Posts
0
Followers
0
Following
Joined Feb 1, 2022, 7:21 PM
Last Online Feb 21, 2022, 6:35 PM

Arynio Unfollow Follow

Latest posts made by Arynio

  • RE: MMM-NotificationTrigger second trigger not working

    @mmrize Okay will do that thanks

    posted in Troubleshooting
    A
    Arynio
    Feb 6, 2022, 8:37 PM
  • RE: MMM-NotificationTrigger second trigger not working

    @sdetweil Yes the TURN_OFF gets emitted and i can see it. But MMM-NotificationTrigger doesn’t react to it, doesn’t fire the OKAY and doesnt execute the “echo ‘standby 0.0.0.0’ | cec-client -s -d 1”

    posted in Troubleshooting
    A
    Arynio
    Feb 5, 2022, 4:39 PM
  • RE: MMM-NotificationTrigger second trigger not working

    @sdetweil
    This is what happens when motion is detected:

    MMM-MotionDetector: Motion detected, score 28
    MMM-NotificationTrigger.js:84 [NOTTRG] TURN_OFF is emitted.
    MMM-MotionDetector.js:89 MMM-MotionDetector: Motion detected, score 29
    MMM-NotificationTrigger.js:84 [NOTTRG] TURN_OFF is emitted.
    MMM-MotionDetector.js:89 MMM-MotionDetector: Motion detected, score 67
    MMM-NotificationTrigger.js:84 [NOTTRG] TURN_OFF is emitted.
    null:1 GET http://localhost:8080/null 404 (Not Found)
    Image (async)
    getDom @ MMM-EveryNews.js:118
    (anonymous) @ main.js:113
    updateDom @ main.js:111
    updateDom @ main.js:550
    updateDom @ module.js:358
    (anonymous) @ MMM-EveryNews.js:146
    MMM-NotificationTrigger.js:42 [NOTTRG] Execution Result: {trigger: ‘MOTION_DETECTED’, fire: ‘TURN_OFF’, error: null, stdout: ‘opening a connection to the CEC adapter…\n’, stderr: ‘’}
    MMM-NotificationTrigger.js:42 [NOTTRG] Execution Result: {trigger: ‘MOTION_DETECTED’, fire: ‘TURN_OFF’, error: null, stdout: ‘opening a connection to the CEC adapter…\nERROR: … 4085]\tcould not open a connection (try 5)\n’, std>
    MMM-NotificationTrigger.js:42 [NOTTRG] Execution Result: {trigger: ‘MOTION_DETECTED’, fire: ‘TURN_OFF’, error: {…}, stdout: ‘opening a connection to the CEC adapter…\nERROR: … 10208]\tcould not start CEC communications\n’, stde>null:1 GET http://localhost:8080/null 404 (Not Found)

    So i know that there are some erros about not being able to connect but it still works fine regardless.
    Still the main problem is that TURN_OFF is emitted but I never get a reaction to it from my second trigger.

    posted in Troubleshooting
    A
    Arynio
    Feb 5, 2022, 4:17 PM
  • RE: MMM-NotificationTrigger second trigger not working

    @sdetweil Can i do this via ssh or do I have to connect my keyboard to my pi?

    posted in Troubleshooting
    A
    Arynio
    Feb 5, 2022, 12:21 PM
  • RE: MMM-NotificationTrigger second trigger not working

    @sdetweil Yeah TURN_OFF fires fine.
    MMM-NotificationTrigger is supposed to listen to its own TURN_OFF and fire again so that it will turn the screen off after a 20-second delay

    posted in Troubleshooting
    A
    Arynio
    Feb 4, 2022, 9:58 PM
  • RE: MMM-NotificationTrigger second trigger not working

    @sdetweil Have tried that, but that doesn’t change anything.
    My main problem is that the second trigger never reacts.
    I have never seen it fire a OKAY as an answer

    posted in Troubleshooting
    A
    Arynio
    Feb 4, 2022, 9:20 PM
  • MMM-NotificationTrigger second trigger not working

    Basically, I want to use MMM-NotificationTrigger to turn my TV on and off by using the notification(MOTION_DETECTED with some value) from MMM-MotionDetector.
    This is my config for MMM-NotificationTrigger:
    {
    module: “MMM-NotificationTrigger”,
    config: {
    triggers:[
    {
    trigger: “MOTION_DETECTED”,
    fires: [
    {
    fire:“TURN_OFF”,
    exec: “echo ‘on 0.0.0.0’ | cec-client -s -d 1”,
    },
    ],
    },
    {
    trigger: “TURN_OFF”,
    fires: [
    {
    delay: 20000,
    fire: “OKAY”,
    exec: “echo ‘standby 0.0.0.0’ | cec-client -s -d 1”,
    },
    ],
    },
    ]
    }

    },

    The turning on part works, however the second trigger never reacts to the TURN_OFF and never sends an OKAY. Am I doing something wrong ?

    posted in Troubleshooting
    A
    Arynio
    Feb 4, 2022, 6:17 PM
  • RE: Do any of you actually have functioning Motion detection with CEC on a TV?

    @sdetweil Yes that works, but I am an absolute coding noob, so I don’t know how to edit code or anything

    posted in Troubleshooting
    A
    Arynio
    Feb 2, 2022, 9:23 AM
  • Do any of you actually have functioning Motion detection with CEC on a TV?

    So basically I have been trying the whole day to get any motion detection module to work with CEC. I used to have a normal pc screen and everything worked fine, but it broke so I am now trying to use an old TV that has CEC. But I can’t get any of the module that supports CEC to work, neither with a pir or a webcam.
    So, do any of you have functioning Motion detection with CEC on a TV and could give me tips and tricks which modules work and what your setup is?

    posted in Troubleshooting motion-sensor camera modules
    A
    Arynio
    Feb 1, 2022, 10:55 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy