Closed shaarkys closed 3 months ago
This is from the device simulator - I wonder why first time it initiate TCP communication but then continues on UDP only (no parameter changed just launched same discovery again)
tplink-simulator:DEBUG get currentContext undefined +0ms tplink-simulator:device [hs300] UDP bound { address: '0.0.0.0', family: 'IPv4', port: 9999 } +0ms tplink-simulator:udp-server UDP server listening { address: '0.0.0.0', family: 'IPv4', port: 9999 } +0ms tplink-simulator:device [hs300] TCP server bound { address: '0.0.0.0', family: 'IPv4', port: 9999 } +3ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.116 +0ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +15s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.116 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +4ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.116 +107ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.116 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.126 +12s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +12s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.126 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.126 +111ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.126 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +15s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +15s tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +100ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:tcp [hs300] TCP DATA 10.0.0.7 56638 +0ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{}},"context":{"child_ids":["6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00"]}} +1ms tplink-simulator:DEBUG set currentContext null +113ms tplink-simulator:DEBUG context.child_ids [ '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00' ] +1ms tplink-simulator:DEBUG set currentContext [] +0ms tplink-simulator:DEBUG get currentContext [] +2ms tplink-simulator:DEBUG get currentContext [ { sysinfo: { id: '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00', state: 0, alias: 'Mock One', on_time: 0, next_action: [Object] }, emeter: { realtime: [Object], daystat: [Object], get_vgain_igain: [Object] }, schedule: { next_action: [Object], rules: [Object], daystat: [Object] }, anti_theft: { rules: [Object] }, count_down: { rules: [Object] } } ] +0ms tplink-simulator:device:tcp [hs300] TCP DATA 10.0.0.7 56646 +4ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{}},"context":{"child_ids":["6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01"]}} +1ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:DEBUG context.child_ids [ '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01' ] +1ms tplink-simulator:DEBUG set currentContext [] +0ms tplink-simulator:DEBUG get currentContext [] +0ms tplink-simulator:DEBUG get currentContext [ { sysinfo: { id: '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01', state: 0, alias: 'Mock Two', on_time: 0, next_action: [Object] }, emeter: { realtime: [Object], daystat: [Object], get_vgain_igain: [Object] }, schedule: { next_action: [Object], rules: [Object], daystat: [Object] }, anti_theft: { rules: [Object] }, count_down: { rules: [Object] } } ] +1ms tplink-simulator:device:tcp [hs300] TCP DATA 10.0.0.7 56650 +2ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{}},"context":{"child_ids":["6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02"]}} +0ms tplink-simulator:DEBUG set currentContext null +0ms tplink-simulator:DEBUG context.child_ids [ '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02' ] +1ms tplink-simulator:DEBUG set currentContext [] +0ms tplink-simulator:DEBUG get currentContext [] +1ms tplink-simulator:DEBUG get currentContext [ { sysinfo: { id: '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02', state: 0, alias: 'Mock Three', on_time: 0, next_action: [Object] }, emeter: { realtime: [Object], daystat: [Object], get_vgain_igain: [Object] }, schedule: { next_action: [Object], rules: [Object], daystat: [Object] }, anti_theft: { rules: [Object] }, count_down: { rules: [Object] } } ] +0ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +24ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:tcp [hs300] TCP DATA 10.0.0.7 56666 +4ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{}},"context":{"child_ids":["6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03"]}} +1ms tplink-simulator:DEBUG set currentContext null +3ms tplink-simulator:DEBUG context.child_ids [ '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03' ] +2ms tplink-simulator:DEBUG set currentContext [] +0ms tplink-simulator:DEBUG get currentContext [] +1ms tplink-simulator:DEBUG get currentContext [ { sysinfo: { id: '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03', state: 0, alias: 'Mock Four', on_time: 0, next_action: [Object] }, emeter: { realtime: [Object], daystat: [Object], get_vgain_igain: [Object] }, schedule: { next_action: [Object], rules: [Object], daystat: [Object] }, anti_theft: { rules: [Object] }, count_down: { rules: [Object] } } ] +0ms tplink-simulator:device:tcp [hs300] TCP DATA 10.0.0.7 56674 +4ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{}},"context":{"child_ids":["6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04"]}} +0ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:DEBUG context.child_ids [ '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04' ] +10ms tplink-simulator:DEBUG set currentContext [] +0ms tplink-simulator:DEBUG get currentContext [] +0ms tplink-simulator:DEBUG get currentContext [ { sysinfo: { id: '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04', state: 0, alias: 'Mock Five', on_time: 0, next_action: [Object] }, emeter: { realtime: [Object], daystat: [Object], get_vgain_igain: [Object] }, schedule: { next_action: [Object], rules: [Object], daystat: [Object] }, anti_theft: { rules: [Object] }, count_down: { rules: [Object] } } ] +0ms tplink-simulator:device:tcp [hs300] TCP DATA 10.0.0.7 56690 +11ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{}},"context":{"child_ids":["6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05"]}} +1ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:DEBUG context.child_ids [ '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05' ] +2ms tplink-simulator:DEBUG set currentContext [] +0ms tplink-simulator:DEBUG get currentContext [] +1ms tplink-simulator:DEBUG get currentContext [ { sysinfo: { id: '6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05', state: 0, alias: 'Mock Six', on_time: 0, next_action: [Object] }, emeter: { realtime: [Object], daystat: [Object], get_vgain_igain: [Object] }, schedule: { next_action: [Object], rules: [Object], daystat: [Object] }, anti_theft: { rules: [Object] }, count_down: { rules: [Object] } } ] +0ms tplink-simulator:device:tcp [hs300] TCP responding, delay:100, { address: '10.0.0.6', family: 'IPv4', port: 9999 } +82ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:tcp [hs300] TCP responding, delay:100, { address: '10.0.0.6', family: 'IPv4', port: 9999 } +2ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:tcp [hs300] TCP responding, delay:100, { address: '10.0.0.6', family: 'IPv4', port: 9999 } +1ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:tcp [hs300] TCP responding, delay:100, { address: '10.0.0.6', family: 'IPv4', port: 9999 } +2ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:tcp [hs300] TCP responding, delay:100, { address: '10.0.0.6', family: 'IPv4', port: 9999 } +24ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:tcp [hs300] TCP responding, delay:100, { address: '10.0.0.6', family: 'IPv4', port: 9999 } +3ms tplink-simulator:device:tcp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +3ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +108ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +104ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +109ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +4ms tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 44707 10.0.0.7 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +113ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 44707 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.122 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +3s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.122 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +3ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.122 +107ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.122 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +7s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +7s tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +3ms tplink-simulator:DEBUG set currentContext null +8ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +101ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +103ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +0ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +6ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +102ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +3ms tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +106ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +2ms tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 33193 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +102ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 33193 10.0.0.7 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.116 +8s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +8s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.116 +0ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.116 +111ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.116 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.126 +12s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +12s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.126 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.126 +105ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.126 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +6s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +6s tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +3ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +109ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +1ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +3ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +109ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +2ms tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +4ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +104ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +4ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +113ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +3ms tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +2s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2s tplink-simulator:device:udp [hs300] UDP receiving 34325 10.0.0.7 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +107ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 34325 10.0.0.7 +4ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.122 +11s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +1ms tplink-simulator:DEBUG set currentContext null +11s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.122 +6ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +2ms tplink-simulator:DEBUG set currentContext null +4ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.122 +101ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.122 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.116 +22s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +23s tplink-simulator:device:udp [hs300] UDP receiving 9999 10.0.0.116 +2ms tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms tplink-simulator:DEBUG set currentContext null +2ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.116 +111ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +1ms tplink-simulator:device:udp [hs300] UDP responding, delay:100, 9999 10.0.0.116 +3ms tplink-simulator:device:udp {"system":{"get_sysinfo":{"sw_ver":"1.0.6 Build 180627 Rel.081000","hw_ver":"1.0","model":"HS300(US)","rssi":-68,"mic_type":"IOT.SMARTPLUGSWITCH","feature":"TIM:ENE","updating":0,"led_off":0,"child_num":6,"children":[{"id":"00","state":0,"alias":"Mock One","on_time":0,"next_action":{"type":-1}},{"id":"01","state":0,"alias":"Mock Two","on_time":0,"next_action":{"type":-1}},{"id":"02","state":0,"alias":"Mock Three","on_time":0,"next_action":{"type":-1}},{"id":"03","state":0,"alias":"Mock Four","on_time":0,"next_action":{"type":-1}},{"id":"04","state":0,"alias":"Mock Five","on_time":0,"next_action":{"type":-1}},{"id":"05","state":0,"alias":"Mock Six","on_time":0,"next_action":{"type":-1}}],"alias":"Mock hs300","deviceId":"6CD46C21F9B647B44DDBB2E7F2BA5A17D088271A","hwId":"34F304420F7046E86A2C8F4020275F89","oemId":"B20E2659127C25471A69A698744C9EAA","latitude":"-35.2586","latitude_i":-352586,"longitude":"138.3104","longitude_i":1383104,"mac":"50:c7:bf:23:fb:bd","err_code":0}}} +0ms tplink-simulator:device:udp [hs300] UDP receiving 46225 10.0.0.7 +4s tplink-simulator:device:udp {"system":{"get_sysinfo":{}}} +0ms
Hi, I'm trying to extend existing TP/LINK Kasa Homey app - https://github.com/shaarkys/nu.baretta.tplink/tree/sdk3/drivers/hs300 - with HS300 multi-socket power strip and have problems with discovery phase.
It works only when running first discovery, when I cancel it and start again, it founds nothing, until I restart given Homey app I'm working on.
While discovering HS110 (single socket), I can repeat discovery and always getting consistent results.
Bear with me, I started few weeks ago and everything is new for me but...anyone any clues ? Is it maybe issue with tplink-smarthome-api library ? Tried some workarounds, like ensuring arrays are reset each time, stopdiscovery, closing pair sessions etc. as per Homey SKD - no change, only app restart helps.
Maybe I'm missing something very trivial ? Thank you
Note : I don't own given socket, using device simulator - with debug enabled, I don't see even any discovery packet coming to the device (1st attempt it does reach device, 2nd and other it doesn't )
Discovery works only 1st time
Discovery works consistently :