# Node-red-contrib-onvif-nodes macOS

**URL:** <https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581>\
**Category:** General\
**Created:** [3 September 2021 13:31 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581 "2021-09-03T13:31:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [3 September 2021 13:31 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/1 "2021-09-03T13:31:57Z")

</div>

Hello!

I installed Node Red on a Mac.

How can I install the module?

Unfortunately that doesn't work for me somehow.

> **[GitHub - bartbutenaers/node-red-contrib-onvif-nodes: Node Red nodes for...](https://github.com/bartbutenaers/node-red-contrib-onvif-nodes)**
>
> Node Red nodes for communicating with OnVif compliant IP devices - GitHub - bartbutenaers/node-red-contrib-onvif-nodes: Node Red nodes for communicating with OnVif compliant IP devices

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [3 September 2021 15:20 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/2 "2021-09-03T15:20:46Z")

</div>

Hi @madmax,  
My onvif nodes are not available in the Node-RED palette so you should install them directly from Github (as described on my [readme](https://github.com/bartbutenaers/node-red-contrib-onvif-nodes#install) page).  
Don't know anything about Mac, so hopefully others can assist you with that.  
Bart

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [3 September 2021 17:04 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/3 "2021-09-03T17:04:51Z")

</div>

Stop node-red  
Open a terminal window and enter  
`cd .node-red`  
Now run the command  
` npm install bartbutenaers/node-red-contrib-onvif-nodes`  
And then start node -red again

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [3 September 2021 22:36 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/4 "2021-09-03T22:36:01Z")

</div>

Hello!

Thank you very much for the answer worked

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [3 September 2021 22:38 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/5 "2021-09-03T22:38:00Z")

</div>

> [@BartButenaers](#):
>
> Hi @madmax,  
> My onvif nodes are not available in the Node-RED palette so you should install them directly from Github (as described on my [readme](https://github.com/bartbutenaers/node-red-contrib-onvif-nodes#install) page).  
> Don't know anything about Mac, so hopefully others can assist you with that.  
> Bart

Hello!

I am running now. Unfortunately I can't find my webcam.

The following error occurs.

TypeError: Cannot read property 'device' of undefined

But the Reolink RLC-410W should be able to do it.

Do you have any idea what that could be?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 06:40 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/6 "2021-09-04T06:40:59Z")

</div>

> [@madmax](#):
>
> Unfortunately I can't find my webcam.

Do you mean your IP cam? Because I am not aware of Onvif webcams

> [@madmax](#):
>
> But the Reolink RLC-410W should be able to do it.

Do you mean that your ReoLink is Onvif compliant?

> [@madmax](#):
>
> The following error occurs.  
> TypeError: Cannot read property 'device' of undefined

To be honest, you don't give me much of information to help you...

1. When does that error occur? When you try to do a discovery, or something else?
2. Did you copy one of my example flows and that fails? Or did you change one of my flows. If so please share it..
3. Any other information to explain your experiment ...

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [4 September 2021 06:51 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/7 "2021-09-04T06:51:47Z")

</div>

Hello!

The error comes at the event.

But what's also strange is that she doesn't find on Discovery either.

The IP address and port are correct. If the IP address changes another error occurs.

According to Reolink, the webcam can onvif

Which cam do you use?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 07:04 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/8 "2021-09-04T07:04:32Z")

</div>

> [@madmax](#):
>
> The error comes at the event.

I 'assume' you mean:

1. You have entered the IP address and (correct) username/password in a config node
2. You have selected that config node in an Event node
3. You don't get an event stream?

It really helps if people explain what they do, because this way you expect me to write down everything...

> [@madmax](#):
>
> But what's also strange is that she doesn't find on Discovery either.

You can try to increase the time to wait for an answer, e.g. when you have a slow network or camera:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/f/1f358dbfb63f775ed0d82c45eacd109f7b57969a.png)

> [@madmax](#):
>
> If the IP address changes another error occurs.

I have no idea what you mean with that?

> [@madmax](#):
>
> Which cam do you use?

Mostly Panasonic camera's.

I'm off now. Will respond later to your questions, when I'm back.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 07:05 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/9 "2021-09-04T07:05:42Z")

</div>

> [@BartButenaers](#):
>
> Did you copy one of my example flows and that fails? Or did you change one of my flows. If so please share it..

You haven't answered this question either.

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [4 September 2021 07:10 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/10 "2021-09-04T07:10:39Z")

</div>

> [@BartButenaers](#):
>
> You haven't answered this question either.

Hello!

I use the flow from the homepages

```auto
[{"id":"748f5110.c57f7","type":"inject","z":"b3db206e.b7139","name":"Start listening","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":1020,"wires":[["12ad9448.0899fc"]]},{"id":"12ad9448.0899fc","type":"change","z":"b3db206e.b7139","name":"","rules":[{"t":"set","p":"action","pt":"msg","to":"start","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":1020,"wires":[["a8f7752e.2998f8"]]},{"id":"801f0dd.3e0b3f","type":"inject","z":"b3db206e.b7139","name":"Stop listening","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":1060,"wires":[["b7dc815b.29f4a"]]},{"id":"b7dc815b.29f4a","type":"change","z":"b3db206e.b7139","name":"","rules":[{"t":"set","p":"action","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":1060,"wires":[["a8f7752e.2998f8"]]},{"id":"2774034b.91102c","type":"inject","z":"b3db206e.b7139","name":"Get event properties","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":1140,"wires":[["e59923ee.4db8d"]]},{"id":"e59923ee.4db8d","type":"change","z":"b3db206e.b7139","name":"","rules":[{"t":"set","p":"action","pt":"msg","to":"getEventProperties","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":1140,"wires":[["a8f7752e.2998f8"]]},{"id":"120e35a2.b4da5a","type":"inject","z":"b3db206e.b7139","name":"Get event service capabilities","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":1100,"wires":[["2c1017b7.e2e448"]]},{"id":"2c1017b7.e2e448","type":"change","z":"b3db206e.b7139","name":"","rules":[{"t":"set","p":"action","pt":"msg","to":"getEventServiceCapabilities","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":1100,"wires":[["a8f7752e.2998f8"]]},{"id":"a8f7752e.2998f8","type":"onvif-events","z":"b3db206e.b7139","name":"","deviceConfig":"c6b46a46.8067f8","action":"","x":670,"y":1020,"wires":[["61d49191.38fb9"]]},{"id":"61d49191.38fb9","type":"switch","z":"b3db206e.b7139","name":"Topic ProcessorUsage","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"Monitoring/ProcessorUsage","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":880,"y":1020,"wires":[["9d4463a2.1d43d"]]},{"id":"9d4463a2.1d43d","type":"change","z":"b3db206e.b7139","name":"Get value","rules":[{"t":"set","p":"payload","pt":"msg","to":"data.value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1080,"y":1020,"wires":[["97abe077.30ed"]]},{"id":"97abe077.30ed","type":"ui_chart","z":"b3db206e.b7139","name":"Camera CPU %","group":"22787703.a0e968","order":2,"width":0,"height":0,"label":"Camera CPU %","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"110","removeOlder":1,"removeOlderPoints":"50","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":1260,"y":1020,"wires":[[]]},{"id":"c6b46a46.8067f8","type":"onvif-config","z":"","xaddress":"192.168.1.174","port":"80","name":"Hikvision"},{"id":"22787703.a0e968","type":"ui_group","z":"","name":"Web push notifications","tab":"80f0e178.bbf4a","disp":true,"width":"6","collapse":false},{"id":"80f0e178.bbf4a","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

```

```auto
[{"id":"a19788d1.afaf98","type":"onvif-discovery","z":"50df184.124f2e8","name":"","timeout":5,"separate":true,"x":500,"y":480,"wires":[["ed0cc23.44c014"]]},{"id":"be6e8353.f7716","type":"inject","z":"50df184.124f2e8","name":"Start searching","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":280,"y":480,"wires":[["a19788d1.afaf98"]]},{"id":"ed0cc23.44c014","type":"debug","z":"50df184.124f2e8","name":"Onvif devices","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":700,"y":480,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 07:16 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/11 "2021-09-04T07:16:11Z")

</div>

Don't forget to answer ALL my other questions, while I am working in my garden 😉

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [4 September 2021 07:30 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/12 "2021-09-04T07:30:16Z")

</div>

Hello!

What other information do you need from me?

According to Reolink, it only works with Onvif 2.1

Is 2.1 possible?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 07:44 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/13 "2021-09-04T07:44:05Z")

</div>

> [@madmax](#):
>
> What other information do you need from me?

Look at my previous posts, and have a look at all my sentences that have a question mark (i.e. a `?`) at the end 🙂

> [@madmax](#):
>
> Is 2.1 possible?

That doesn't ring a bell to me. I'm not following the Onvif standard changes to be honest. Will have to look at that later too ...

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [4 September 2021 09:06 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/14 "2021-09-04T09:06:49Z")

</div>

> [@BartButenaers](#):
>
> > [@madmax](#):
> >
> > What other information do you need from me?
> 
> Look at my previous posts, and have a look at all my sentences that have a question mark (i.e. a `?` ) at the end 🙂
> 
> > [@madmax](#):
> >
> > Is 2.1 possible?
> 
> That doesn't ring a bell to me. I'm not following the Onvif standard changes to be honest. Will have to look at that later too ...

You don't get an event stream?

No, unfortunately that will not work.

The IP address is correct.

The Discovery does not find a camera either.

I'm going to be a Reolink RLC-410W

According to the instructions and settings, Onvif works

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 12:31 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/15 "2021-09-04T12:31:18Z")

</div>

> [@madmax](#):
>
> The Discovery does not find a camera either.

Did a quick test and here also he didn't report my camera's after discovery (when the _'Separate output message for each device'_ option was activated). I have fixed that quickly on Github. Can you install my node again and let me know if that works better now?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 12:46 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/16 "2021-09-04T12:46:41Z")

</div>

> [@madmax](#):
>
> it only works with Onvif 2.1

Here you can find an overview of the capabilities per Onvif version:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b07333384bec1bf71467a3c7f111246fec144df3.jpeg)

Note that my nodes don't support all those features. All supported featrues are on my Github readme page.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 September 2021 12:48 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/17 "2021-09-04T12:48:39Z")

</div>

> [@madmax](#):
>
> You don't get an event stream?

Yes I have event streams running on my camera's.

1. I have setup a config node with the ip address and the username/password !!!
2. I have enabled the event streams on my camera (via the web interface of my camera). Otherwise it won't work!

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [4 September 2021 20:01 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/18 "2021-09-04T20:01:51Z")

</div>

> [@BartButenaers](#):
>
> Did a quick test and here also he didn't report my camera's after discovery (when the _'Separate output message for each device'_ option was activated). I have fixed that quickly on Github. Can you install my node again and let me know if that works better now?

Hello!

I just reinstalled everything but it can't find my camera. The same mistake still keeps coming.

"TypeError: Cannot read property 'device' of undefined"

---

<div class="post-metadata">

**Author:** ![madmax](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madmax](https://discourse.nodered.org/u/madmax)\
**Post date:** [4 September 2021 20:03 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/19 "2021-09-04T20:03:31Z")

</div>

> [@BartButenaers](#):
>
> Yes I have event streams running on my camera's.
> 
> 1. I have setup a config node with the ip address and the username/password !!!
> 2. I have enabled the event streams on my camera (via the web interface of my camera). Otherwise it won't work!

I have the IP address of the camera and enter the user and password but it doesn't work.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [4 September 2021 20:11 UTC](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581/20 "2021-09-04T20:11:16Z")

</div>

Did you clear your browser cache?

[Next page](https://discourse.nodered.org/t/node-red-contrib-onvif-nodes-macos/50581.md?page=2)
