# Changing values using Provision - Inform

**URL:** <https://forum.genieacs.com/t/changing-values-using-provision-inform/1781>\
**Category:** Uncategorized\
**Created:** [June 10, 2021, 8:30am UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781 "2021-06-10T08:30:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jekyll](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jekyll](https://forum.genieacs.com/u/jekyll)\
**Post date:** [June 10, 2021, 8:30am UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781/1 "2021-06-10T08:30:51Z")

</div>

Hi, I want to change the device Periodic Inform Interval(s) from a default of 360, and device’s admin and password to some other value when the device is connected to the server, I tried the following in provision inform but it still did not work.  
declare(“InternetGatewayDevice.ManagementServer.PeriodicInformInterval.21800”, {path: now}, {path: 1});  
Can anyone please suggest me here?

---

<div class="post-metadata">

**Author:** ![fdavidcn](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/fdavidcn/32/594_2.png) [@fdavidcn](https://forum.genieacs.com/u/fdavidcn)\
**Post date:** [June 10, 2021, 9:39am UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781/2 "2021-06-10T09:39:29Z")

</div>

Hi jekyll,

Your declare is incorrect. The correct declare are like this:

```auto
const now = Date.Now();

declare("InternetGatewayDevice.ManagementServer.PeriodicInformInterval", {value:now}, {value:"21800"});

```

To change device login credentials, depends so much of device vendor. Not all models have the same path to change this values.

For example, Huawei devices have their values are aunder this paths:

```auto
InternetGatewayDevice.UserInterface.X_HW_CLIUserInfo
InternetGatewayDevice.UserInterface.X_HW_WebUserInfo

```

Regards

---

<div class="post-metadata">

**Author:** ![jekyll](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jekyll](https://forum.genieacs.com/u/jekyll)\
**Post date:** [June 10, 2021, 10:04am UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781/3 "2021-06-10T10:04:03Z")

</div>

> [@fdavidcn](#):
>
> ```auto
> const now = Date.Now();
> 
> declare("InternetGatewayDevice.ManagementServer.PeriodicInformInterval", {value:now}, {value:"21800"});
> 
> ```

Thanks, will try.

---

<div class="post-metadata">

**Author:** ![priya](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@priya](https://forum.genieacs.com/u/priya)\
**Post date:** [December 5, 2022, 10:27am UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781/4 "2022-12-05T10:27:35Z")

</div>

I need to change periodic inform interval but its default is 300 …its not changing

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [December 5, 2022, 6:14pm UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781/5 "2022-12-05T18:14:42Z")

</div>

Necromancy is frowned upon. Please create your own forum post with your issue instead of resurrecting a dead thread.

---

<div class="post-metadata">

**Author:** ![priya](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@priya](https://forum.genieacs.com/u/priya)\
**Post date:** [December 6, 2022, 5:47am UTC](https://forum.genieacs.com/t/changing-values-using-provision-inform/1781/6 "2022-12-06T05:47:55Z")

</div>

okay
