Add IPTV bridge

Hello guys,
Thank you all for yours community topics. They are very helpful. I have a little problem with setting up provisioning and creating a new Connection Type like 3_IPTV_B_VID30.

I alredy have this.

and i want after adding TAG “IPTV_LAN4” and reboot device to reach in BOOT to add new lines. with preservation old connections.

This boot lines i have.

const now = Date.now();

declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3", null, {path: 1});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection", null, {path: 1});

declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.ConnectionType", null, {value: "IP_Bridged"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_SERVICELIST", null, {value: "IPTV"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_VLAN", null, {value: "30"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_PRI", null, {value: "4"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_MultiCastVLAN", null, {value: "30"});

declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_LANBIND.Lan1Enable", null, {value: "0"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_LANBIND.Lan2Enable", null, {value: "0"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_LANBIND.Lan3Enable", null, {value: "0"});
declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_LANBIND.Lan4Enable", null, {value: "1"});

declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.X_HW_LANBIND.Lan4Enable", null, {value: "0"});

But after reboot device these lines are not processed. Can you help me please with this ?
Thank you

Try this. Its untested though.

const basePath = 'InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection';
let instance = declare(basePath + '.[ConnectionType:IP_Bridged,X_HW_SERVICELIST:IPTV,X_HW_VLAN:30,X_HW_PRI:4,X_HW_MultiCastVLAN:30]', {path: 1}, {path: 1});

if (instance.path) {
    declare(`${instance.path}.X_HW_LANBIND.Lan1Enable`, null, {value: 0});
    declare(`${instance.path}.X_HW_LANBIND.Lan2Enable`, null, {value: 0});
    declare(`${instance.path}.X_HW_LANBIND.Lan3Enable`, null, {value: 0});
    declare(`${instance.path}.X_HW_LANBIND.Lan4Enable`, null, {value: 1});
}

hmmm i try it but without success. 3_IPTV_B_VID_30 is not created.
In presets i have this


My procedure is:

  1. In the first boot or factory reset device, i’m using "EG8145-default_Boot.
  2. after sucess boot device i want set IPTV tag to device EG8145 and push reboot button
  3. after reboot device i want see 3_IPTV_B_VID_30 in my device

Periodic is only information from device to ACS about Rx, Uptime and more

I solve it. I created various presets for my opinions and used Presets with 1 BOOT, -0 BOOTSTRAP, than after factory reset i still see IPTV tag in my dashboard and my devices was updated correctly from my ACS provisions :slight_smile: