Skip to main content

Install broadcast virtual gateway

https://files.sansi.net/starriverpro/components/spon-gw/spon-gw-2.0.0.zip

Installation

  1. Download broadcast virtual gateway
  2. Import the zip file to the gateway service manager. Configure and start it up. See Gateway Service Manager User Manual

Configuration

1. StarRiver Pro server items

  • http请求服务器地址: IP address of StarRiver Pro 2.x
  • http请求服务器端口: HTTP port of StarRiver Pro 2.x server. default: 18443
  • 是否启用https: 1 if the StarRiver Pro 2.x enabled HTTPS, otherwise 0. default: 1.
  • 设备注册令牌,可以在starriver_pro页面上的运维->注册令牌页面获得: device registration token which can be found at "StarRiver Pro -> Operation -> registration token`. Note that the token is domain specific. Enter the token of the exact domain that the gateway, and its affiliated screens, shall be added to.
  • mqtt服务器地址: IP address of StarRiver Pro 2.x
  • mqtt请求服务器端口: MQTT port of StarRiver Pro 2.x server. default: 8883
  • 是否启用mqtts: 1 if the StarRiver Pro 2.x enabled SSL for MQTT, otherwise 0. default: 1.

2. SPON broadcasting server items

  • http请求服务器地址: SPON server IP
  • http请求服务器端口: SPON server http port. default: 80.
  • 是否启用https: 1 if the SPON server enabled HTTPS, otherwise 0. default: 0.
  • 登录用户名: SPON server username
  • 登录密码: SPON server password
  • 登录过期时间: valid time for each login session in seconds. default: 3600.

3. Virtual gateway

  • 虚拟网关ID: ID for the virtual gateway itself in StarRiver Pro. default: FEE3000011112222
  • 和世邦系统同步的间隔时间: interval to fetch data from SPON server in seconds. default: 60, minimum: 60.
  • 上报设备状态的间隔时间: interval to report state to StarRiver Pro in seconds. default: 300, minimum: 60.
  • 网关http服务监听的地址: IP address the gateway service will bind to. This should be accessible to the StarRiver Pro server. default: 0.0.0.0 which means all IP addresses available on the server can be used. It is recommended to use a specific IP such as 192.168.31.165 rather than the default value for security considerations.
  • 网关http服务监听的端口: HTTP port of the gateway service. default: 13004
  • 网关http服务的访问地址: API endpoint for the gateway service in http://{ip-address}:{http-port} format. With the prior example, it should be http://192.168.31.165:13004. If the default IP address 0.0.0.0 was untouched, however, a specific IP address must be specified here.