# Onvif device configuration by external variables

**URL:** <https://discourse.nodered.org/t/onvif-device-configuration-by-external-variables/44638>\
**Category:** General\
**Created:** [24 April 2021 00:45 UTC](https://discourse.nodered.org/t/onvif-device-configuration-by-external-variables/44638 "2021-04-24T00:45:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![achrafb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/achrafb/32/45607_2.png) [@achrafb](https://discourse.nodered.org/u/achrafb)\
**Post date:** [24 April 2021 00:45 UTC](https://discourse.nodered.org/t/onvif-device-configuration-by-external-variables/44638/1 "2021-04-24T00:45:54Z")

</div>

Hi Mr. @BartButenaers

First of all, thank you for the excellent contribution of the ONVIF packages for Node red.  
I have been doing tests and it works perfectly, the only thing, I would like to know if it is possible to configure a new device configuration by external variables, that is, configure the IP, user and password by payload, topic or specific msg

Since I am trying to create a camera configuration section using the dahboard by text input ui nodes.

Thank you very much for your help!

Regards

---

<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:** [25 April 2021 09:14 UTC](https://discourse.nodered.org/t/onvif-device-configuration-by-external-variables/44638/2 "2021-04-25T09:14:12Z")

</div>

Hi @achrafb,

Currently it works like this:

1. You add an Ovif node on your flow.
2. You create a config node for you camera (ip address, user name, password).
3. You select that config node in your Onvif node.
4. From here on you can communicate with your camera via the Onvif protocol.

Now you want to create a new camera dynamically via an input message. This seems to me a very _ **useful** _ case, to do everything via a dashboard instead from the flow editor.

But _ **I don't see at the moment how I could accomplish this** _.  
In the following discussion, Nick explains 3 different mechanisms:

> <https://stackoverflow.com/questions/44774524/is-it-possible-to-edit-configuration-nodes-in-a-node-red-flow/44774996#44774996>

But not sure what is the best way to continue with this.  
Everybody is welcome to give ideas!!!!!!

@achrafb: I'm not developing at the moment, so please take into account that you won't have this feature in at least 6 weeks from now!

Bart

---

<div class="post-metadata">

**Author:** ![achrafb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/achrafb/32/45607_2.png) [@achrafb](https://discourse.nodered.org/u/achrafb)\
**Post date:** [25 April 2021 20:12 UTC](https://discourse.nodered.org/t/onvif-device-configuration-by-external-variables/44638/3 "2021-04-25T20:12:46Z")

</div>

Hi @BartButenaers  
Thank you very much for the answers!  
I'll try to see if I can do something to make it automated settings using variables.

It only remains for me to say: **Thank you for the excellent contribution**.  
Endless functions can be done with the ONVIF protocol

We'll keep in touch 🙂

Regards

Achraf

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 June 2021 20:13 UTC](https://discourse.nodered.org/t/onvif-device-configuration-by-external-variables/44638/4 "2021-06-24T20:13:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
