# Can I split Devices onglet?

**URL:** <https://forum.genieacs.com/t/can-i-split-devices-onglet/4438>\
**Category:** Uncategorized\
**Created:** [August 30, 2023, 9:05am UTC](https://forum.genieacs.com/t/can-i-split-devices-onglet/4438 "2023-08-30T09:05:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anthony](https://forum.genieacs.com/u/anthony)\
**Post date:** [August 30, 2023, 9:05am UTC](https://forum.genieacs.com/t/can-i-split-devices-onglet/4438/1 "2023-08-30T09:05:05Z")

</div>

Hello all,  
I am new user on genie ACS, and I search how can I split Devices onglet in Genie ACS.

My objective to have :

- Onglet devices Draytek router
- Onglet devices Teltonika router

If you have an idea.

I use GenieACS v1.2.9

Best Regards

Anthony

---

<div class="post-metadata">

**Author:** ![Felipe](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/felipe/32/1949_2.png) [@Felipe](https://forum.genieacs.com/u/Felipe)\
**Post date:** [August 30, 2023, 1:12pm UTC](https://forum.genieacs.com/t/can-i-split-devices-onglet/4438/2 "2023-08-30T13:12:39Z")

</div>

I don’t know if you can really split in two different pages, but you can filter it and put in you overview graphic, this way you can split by models and add what you want.  
Exemple:  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/4/4cc6582bf6c613bc0826663c355a1672438a4149.png)  
In your case, you add Drytek and Teltonika and can filter if its online or not, like genie already do.

---

<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:** [August 30, 2023, 5:03pm UTC](https://forum.genieacs.com/t/can-i-split-devices-onglet/4438/3 "2023-08-30T17:03:10Z")

</div>

You cannot break out the devices by some identifier into different tabs without modifying the code.

You can however create a pie chart on the home page and clicking on the pie wedge will take you to the devices page pre-filtered by those devices.

You **must** refresh VirtualParameters.Model for all your devices in order for the chart to populate. The easiest way to accomplish this is edit the `inform` provision script and add this line: `declare("VirtualParameters.Model", {value: 1});`

```javascript
//VirtualParameters.Model
const keys = [
    'InternetGatewayDevice.DeviceInfo.ModelName',
    'Device.DeviceInfo.ModelName'
];

return {writable: false, value: [getParameterValue(keys, ''), 'xsd:string']};

function getParameterValue(keys, def) {
    for (let key of keys) {
        let d = declare(key, {value: Date.now()});

        for (let item of d) {
            if (item.value && item.value[0]) {
                return item.value[0];
            }
        }
    }

    return def;
}

```

Edit this for your needs.

```yaml
model:
  label: '"Model"'
  slices:
    1_sr360:
      color: "'#31a354'"
      filter: VirtualParameters.Model = "SR360n"
      label: "'SmartRG 360'"
    2_sr510:
      color: "'#c58744'"
      filter: VirtualParameters.Model = "SR510N"
      label: "'SmartRG 510'"
    3_sr515:
      color: "'#fc6604'"
      filter: VirtualParameters.Model = "SR515ac"
      label: "'SmartRG 515'"
    4_sr516:
      color: "'#fcfe04'"
      filter: VirtualParameters.Model = "SR516ac"
      label: "'SmartRG 516'"
    5_sr552:
      color: "'#040163'"
      filter: VirtualParameters.Model = "SR552n"
      label: "'SmartRG 552'"
    6_sr555:
      color: "'#44b3c2'"
      filter: VirtualParameters.Model = "SR555ac"
      label: "'SmartRG 555'"
    7_adtran834:
      color: "'#841C26'"
      filter: VirtualParameters.Model Like "834-%"
      label: "'Adtran 834'"
    8_ex3510:
      color: "'#D5BF86'"
      filter: VirtualParameters.Model Like "EX3510%"
      label: "'Zyxel EX3510'"
    9_vmg4927:
      color: "'#66ca0f'"
      filter: VirtualParameters.Model = "VMG4927-B50A"
      label: "'Zyxel VMG4927'"

```
