# How to create a second instance

**URL:** <https://forum.genieacs.com/t/how-to-create-a-second-instance/1223>\
**Category:** Uncategorized\
**Created:** [November 22, 2020, 12:21pm UTC](https://forum.genieacs.com/t/how-to-create-a-second-instance/1223 "2020-11-22T12:21:37Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Jorge](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@Jorge](https://forum.genieacs.com/u/Jorge)\
**Post date:** [February 3, 2021, 9:15am UTC](https://forum.genieacs.com/t/how-to-create-a-second-instance/1223/20 "2021-02-03T09:15:54Z")

</div>

> [@zaidka](#):
>
> Looks like the value itself is missing, not that it’s reported incorrectly by the CPE. Try adding ‘writable’ to the timestamps argument:
> 
> ```auto
> declare(path, {path: 1, writable: 1}, ...);
> 
> ```

I think is working fine so far with the config option pointed by @akcoder (in 3 different CPE), but I will try your approach because if it works I believe is better than messing with global parameters.

Thank you both of you.

PD. I can’t make it work with your suggestion or I’m maybe putting it in the wrong place. I’ve set that like this:

> let values = {  
> X\_HW\_SERVICELIST: “VOIP”,  
> X\_HW\_VLAN: 52,  
> X\_HW\_PRI: 5  
> };
> 
> let basePath = “InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection”;  
> const path = basePath + ‘.[’ + Object.keys(values).map(key =\> key + ‘:’ + values[key]).join(‘,’) + ‘]’;  
> declare(path, {path: 1, writable: 1}, {path: 1});

---

_[View the full topic](https://forum.genieacs.com/t/how-to-create-a-second-instance/1223)._
