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

    Posts

    Recent Best Controversial
    • RE: Replacing Radar Sensing module (RCWL-0516) in place of PIR Sensor

      @Rags Hi, I don’t use the Pir module you mentioned so do not know if there is a option to control the behaviour.
      You can use my GPIO module in combination with my screensaver module to do the job. I wrote a howto to do this https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications/blob/master/examples/HC-SR501/HC-SR501-GPIO4-README-EN.md.

      posted in Forum
      wishmaster270W
      wishmaster270
    • RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons

      @BKeyport Hi, and thanks for the contribution. I only had a view moments to look at the changes.
      Currently the changes do not look very critical and I will be happy to merge them.
      I only want to make sure there is no more universal way (especially for the space) feature.

      Documentation is one of my favourites (Not). But it should no big deal to add it.

      I will try to do a deeper look the code the next days and will merge as fast as I can.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: Cannot get MMM-EmbedURL to show any sites

      @unaccomplished
      Hi,

      just tried your config in my setup and everything worked as expected.

      The question is…where are the differences in your and mine setup.

      As a first try you can replace embedElementType: "webview," with embedElementType: "iframe,".

      If the embeded pages does not block embedding iframe should work and you do not weaken any security settings of the electron browser.

      Additionally you can replace "frameborder=0", with "frameborder=1",. You should see two boxes at least then. Even if the sites could not be embedded.

      @sdetweil Are you sure you set the security settings of electron? Without them electron will not support webview and will not display anything.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: [MMM-MQTTbridge] A module to publish and receive MQTT messages

      @Cr4z33 Hi, you will first need the URL of the RTSP stream of your camera.
      In the next step you will need to subscribe to the topic in the file mqttDictionary.js

      var mqttHook = [
          {
            mqttTopic: "DahuaVTO/VideoTalkLog/Event",
            mqttPayload: [
              {
                 jsonpath: "Action", 
                 conditions: [
                             {
                               type: "eq",
                               value: "Pulse"
                             },
                           ],
                mqttNotiCmd: ["doorbell"]
              },
            ],
          },
        ];
      var mqttNotiCommands = [
          {
            commandId: "doorbell",
            notiID: "RTSP-PLAY",
            notiPayload: "YOUR-STREAM-URL" 
          },
        ]; 
      

      But you will need to find a way to stop the stream in any way.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: [MMM-MQTTbridge] A module to publish and receive MQTT messages

      @Cr4z33 The two datatstructures are arrays containing objects. So you can simply append the two objects…

      var mqttHook = [
        {
          mqttTopic: "zigbee2mqtt/BTicino F20T60A",
          mqttPayload: [
            {
              payloadValue: "",
              mqttNotiCmd: ["POWERMETER"],
              mqttPayload: ""
            },
          ],
        },
        {
            mqttTopic: "DahuaVTO/VideoTalkLog/Event",
            mqttPayload: [
              {
                 jsonpath: "Action", 
                 conditions: [
                             {
                               type: "eq",
                               value: "Pulse"
                             },
                           ],
                mqttNotiCmd: ["doorbell"]
              },
            ],
          },
      ];
      
      var mqttNotiCommands = [
        {
          commandId: "POWERMETER",
          notiID: "POWERMETER_VALUES",
        },
        {
            commandId: "doorbell",
            notiID: "RTSP-PLAY",
            notiPayload: "YOUR-STREAM-URL" 
          },
      ];
      
      module.exports = { mqttHook,  mqttNotiCommands};
      
      
      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: [MMM-MQTTbridge] A module to publish and receive MQTT messages

      @Cr4z33 Hi,

      think I found the problem.
      You need to send streamX as value where X is the number of the stream in the configuration of MMM-RTSPStream.
      You will need to configure the camera information in the MMM-RTSPStream module and only will be able to start the stream by notification

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: [MMM-MQTTbridge] A module to publish and receive MQTT messages

      @Cr4z33 Hi and welcome back.
      I still do not have a glue about the RTSP module.

      Can you please provide your RTSP config. I try to reproduce the problem but do not have much time to test at the moment.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 7 / 7