Install broadcast virtual gateway
Download links
https://files.sansi.net/starriverpro/components/spon-gw/spon-gw-2.0.0.zip
Installation
- Download broadcast virtual gateway
- 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.xhttp请求服务器端口: HTTP port of StarRiver Pro 2.x server. default:18443是否启用https:1if the StarRiver Pro 2.x enabled HTTPS, otherwise0. 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.xmqtt请求服务器端口: MQTT port of StarRiver Pro 2.x server. default:8883是否启用mqtts:1if the StarRiver Pro 2.x enabled SSL for MQTT, otherwise0. default:1.
2. SPON broadcasting server items
http请求服务器地址: SPON server IPhttp请求服务器端口: SPON server http port. default:80.是否启用https:1if the SPON server enabled HTTPS, otherwise0. 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.0which means all IP addresses available on the server can be used. It is recommended to use a specific IP such as192.168.31.165rather than the default value for security considerations.网关http服务监听的端口: HTTP port of the gateway service. default:13004网关http服务的访问地址: API endpoint for the gateway service inhttp://{ip-address}:{http-port}format. With the prior example, it should behttp://192.168.31.165:13004. If the default IP address0.0.0.0was untouched, however, a specific IP address must be specified here.