@Sceetch
Hi,
on older OS Versions (i.e. Bullseye) the file is located under /boot/cmdline.txt
@Sceetch
Hi,
on older OS Versions (i.e. Bullseye) the file is located under /boot/cmdline.txt
@Sceetch
Hi, a user of my Screensave module reported a similar problem a couple of days ago and worked out a solution.
Maybe take a look at the troubleshooting section at the end of my readme under
https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification
@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
@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};
@BKeyport Hi, can you make a screenshot of the things styled outside MagicMirror so we can see how it should look exactly?
Maybe you will need some additional classes in your module config to make it possible to select the different elements jn CSS.
@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.
@BKeyport
Hi and sorry for the late reply.
I am not sure if I will have time to test your case the next days.
I think your main problem is that you try to use “normal” styling directives for the layout but I use flexbox css as the basic.
You can find a short tutorial at:
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Edit:
Had 5 minutes and did a quick check.
I think the following two statements are a good starting point:
.MMM-ValuesByNotification .vbn .groupsWrapper {
flex-direction: row;
}
.MMM-ValuesByNotification .vbn .valueWrapper {
flex-direction: row;
}
@david6461
Hi,
I am running version 2.28 of MagicMirror with multiple instances of MMM-TouchButtons and multiple instances of a couple of other of my modules.
I can’t confirm the problem.
No double messages and no increased CPU usage.
Are you sure you did not start a second instance of MagicMirror?
@m3iaz Hi,
the Reolink cams provide a fluent and a high quality stream.
You can select three different stream types in the Surveillance Station. The MJPEG stream is generated of the one for reduced speed which in my setup is the fluent stream of the Reolink cam.
I can select a 640x stream in my Reolink but it may depend of the camera.
I do not have much time to program at the moment but you may checkout my EmbedURL module. It is able to embed images and a refresh rate can be configured. Some people use it to embed JPEG of public webcams already.