Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created July 30, 2021 14:14
Show Gist options
  • Save bessarabov/dabd7c637b2a38c3ccd536fcd9a87fe5 to your computer and use it in GitHub Desktop.
Save bessarabov/dabd7c637b2a38c3ccd536fcd9a87fe5 to your computer and use it in GitHub Desktop.
2021-07-30 17:10:50 DEBUG (MainThread) [homeassistant.components.tplink.common] Getting static devices
2021-07-30 17:10:50 DEBUG (MainThread) [homeassistant.components.tplink] Got 4 switches: 192.168.31.125, 192.168.31.138, 192.168.31.160, 192.168.31.242
2021-07-30 17:10:50 DEBUG (SyncWorker_6) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:50 DEBUG (SyncWorker_6) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583136,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583136,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583136,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583136,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:50 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583136,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583137,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583137,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] > (34) {"emeter": {"get_realtime": null}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] < (112) {"emeter":{"get_realtime":{"voltage_mv":238521,"current_ma":419,"power_mw":38921,"total_wh":6797,"err_code":0}}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583137,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] > (55) {"emeter": {"get_daystat": {"month": 7, "year": 2021}}}
2021-07-30 17:10:51 DEBUG (MainThread) [pyHS100.protocol] < (1539) {"emeter":{"get_daystat":{"day_list":[{"year":2021,"month":7,"day":2,"energy_wh":1009},{"year":2021,"month":7,"day":3,"energy_wh":1003},{"year":2021,"month":7,"day":4,"energy_wh":1010},{"year":2021,"month":7,"day":5,"energy_wh":1013},{"year":2021,"month":7,"day":6,"energy_wh":1023},{"year":2021,"month":7,"day":7,"energy_wh":1018},{"year":2021,"month":7,"day":8,"energy_wh":986},{"year":2021,"month":7,"day":9,"energy_wh":996},{"year":2021,"month":7,"day":10,"energy_wh":1008},{"year":2021,"month":7,"day":11,"energy_wh":1008},{"year":2021,"month":7,"day":12,"energy_wh":1018},{"year":2021,"month":7,"day":13,"energy_wh":1019},{"year":2021,"month":7,"day":14,"energy_wh":1018},{"year":2021,"month":7,"day":15,"energy_wh":1020},{"year":2021,"month":7,"day":16,"energy_wh":1024},{"year":2021,"month":7,"day":17,"energy_wh":1026},{"year":2021,"month":7,"day":18,"energy_wh":1045},{"year":2021,"month":7,"day":19,"energy_wh":1030},{"year":2021,"month":7,"day":20,"energy_wh":1025},{"year":2021,"month":7,"day":21,"energy_wh":1021},{"year":2021,"month":7,"day":22,"energy_wh":1011},{"year":2021,"month":7,"day":23,"energy_wh":1000},{"year":2021,"month":7,"day":24,"energy_wh":1022},{"year":2021,"month":7,"day":25,"energy_wh":995},{"year":2021,"month":7,"day":26,"energy_wh":1013},{"year":2021,"month":7,"day":27,"energy_wh":1023},{"year":2021,"month":7,"day":28,"energy_wh":987},{"year":2021,"month":7,"day":29,"energy_wh":999},{"year":2021,"month":7,"day":1,"energy_wh":1000},{"year":2021,"month":7,"day":30,"energy_wh":725}],"err_code":0}}}
2021-07-30 17:10:51 DEBUG (MainThread) [homeassistant.components.tplink] Finished fetching tplink2 data in 1.002 seconds
2021-07-30 17:10:55 DEBUG (MainThread) [homeassistant.components.tplink] Communication error
2021-07-30 17:11:05 DEBUG (MainThread) [homeassistant.components.tplink.common] Getting static devices
2021-07-30 17:11:05 DEBUG (MainThread) [homeassistant.components.tplink] Got 4 switches: 192.168.31.125, 192.168.31.138, 192.168.31.160, 192.168.31.242
2021-07-30 17:11:05 DEBUG (SyncWorker_0) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:05 DEBUG (SyncWorker_0) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-66,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:05 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583151,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] > (34) {"emeter": {"get_realtime": null}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] < (112) {"emeter":{"get_realtime":{"voltage_mv":238491,"current_ma":418,"power_mw":38910,"total_wh":6797,"err_code":0}}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583152,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] > (55) {"emeter": {"get_daystat": {"month": 7, "year": 2021}}}
2021-07-30 17:11:06 DEBUG (MainThread) [pyHS100.protocol] < (1539) {"emeter":{"get_daystat":{"day_list":[{"year":2021,"month":7,"day":2,"energy_wh":1009},{"year":2021,"month":7,"day":3,"energy_wh":1003},{"year":2021,"month":7,"day":4,"energy_wh":1010},{"year":2021,"month":7,"day":5,"energy_wh":1013},{"year":2021,"month":7,"day":6,"energy_wh":1023},{"year":2021,"month":7,"day":7,"energy_wh":1018},{"year":2021,"month":7,"day":8,"energy_wh":986},{"year":2021,"month":7,"day":9,"energy_wh":996},{"year":2021,"month":7,"day":10,"energy_wh":1008},{"year":2021,"month":7,"day":11,"energy_wh":1008},{"year":2021,"month":7,"day":12,"energy_wh":1018},{"year":2021,"month":7,"day":13,"energy_wh":1019},{"year":2021,"month":7,"day":14,"energy_wh":1018},{"year":2021,"month":7,"day":15,"energy_wh":1020},{"year":2021,"month":7,"day":16,"energy_wh":1024},{"year":2021,"month":7,"day":17,"energy_wh":1026},{"year":2021,"month":7,"day":18,"energy_wh":1045},{"year":2021,"month":7,"day":19,"energy_wh":1030},{"year":2021,"month":7,"day":20,"energy_wh":1025},{"year":2021,"month":7,"day":21,"energy_wh":1021},{"year":2021,"month":7,"day":22,"energy_wh":1011},{"year":2021,"month":7,"day":23,"energy_wh":1000},{"year":2021,"month":7,"day":24,"energy_wh":1022},{"year":2021,"month":7,"day":25,"energy_wh":995},{"year":2021,"month":7,"day":26,"energy_wh":1013},{"year":2021,"month":7,"day":27,"energy_wh":1023},{"year":2021,"month":7,"day":28,"energy_wh":987},{"year":2021,"month":7,"day":29,"energy_wh":999},{"year":2021,"month":7,"day":1,"energy_wh":1000},{"year":2021,"month":7,"day":30,"energy_wh":725}],"err_code":0}}}
2021-07-30 17:11:06 DEBUG (MainThread) [homeassistant.components.tplink] Finished fetching tplink2 data in 1.089 seconds
2021-07-30 17:11:09 DEBUG (MainThread) [homeassistant.components.tplink] Communication error
2021-07-30 17:11:29 DEBUG (MainThread) [homeassistant.components.tplink.common] Getting static devices
2021-07-30 17:11:29 DEBUG (MainThread) [homeassistant.components.tplink] Got 4 switches: 192.168.31.125, 192.168.31.138, 192.168.31.160, 192.168.31.242
2021-07-30 17:11:29 DEBUG (SyncWorker_7) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:29 DEBUG (SyncWorker_7) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583175,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:29 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583175,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583176,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583176,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583176,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583176,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583176,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-67,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (34) {"emeter": {"get_realtime": null}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] < (112) {"emeter":{"get_realtime":{"voltage_mv":238283,"current_ma":418,"power_mw":38769,"total_wh":6797,"err_code":0}}}
2021-07-30 17:11:30 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:11:31 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583176,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:11:31 DEBUG (MainThread) [pyHS100.protocol] > (55) {"emeter": {"get_daystat": {"month": 7, "year": 2021}}}
2021-07-30 17:11:31 DEBUG (MainThread) [pyHS100.protocol] < (1539) {"emeter":{"get_daystat":{"day_list":[{"year":2021,"month":7,"day":2,"energy_wh":1009},{"year":2021,"month":7,"day":3,"energy_wh":1003},{"year":2021,"month":7,"day":4,"energy_wh":1010},{"year":2021,"month":7,"day":5,"energy_wh":1013},{"year":2021,"month":7,"day":6,"energy_wh":1023},{"year":2021,"month":7,"day":7,"energy_wh":1018},{"year":2021,"month":7,"day":8,"energy_wh":986},{"year":2021,"month":7,"day":9,"energy_wh":996},{"year":2021,"month":7,"day":10,"energy_wh":1008},{"year":2021,"month":7,"day":11,"energy_wh":1008},{"year":2021,"month":7,"day":12,"energy_wh":1018},{"year":2021,"month":7,"day":13,"energy_wh":1019},{"year":2021,"month":7,"day":14,"energy_wh":1018},{"year":2021,"month":7,"day":15,"energy_wh":1020},{"year":2021,"month":7,"day":16,"energy_wh":1024},{"year":2021,"month":7,"day":17,"energy_wh":1026},{"year":2021,"month":7,"day":18,"energy_wh":1045},{"year":2021,"month":7,"day":19,"energy_wh":1030},{"year":2021,"month":7,"day":20,"energy_wh":1025},{"year":2021,"month":7,"day":21,"energy_wh":1021},{"year":2021,"month":7,"day":22,"energy_wh":1011},{"year":2021,"month":7,"day":23,"energy_wh":1000},{"year":2021,"month":7,"day":24,"energy_wh":1022},{"year":2021,"month":7,"day":25,"energy_wh":995},{"year":2021,"month":7,"day":26,"energy_wh":1013},{"year":2021,"month":7,"day":27,"energy_wh":1023},{"year":2021,"month":7,"day":28,"energy_wh":987},{"year":2021,"month":7,"day":29,"energy_wh":999},{"year":2021,"month":7,"day":1,"energy_wh":1000},{"year":2021,"month":7,"day":30,"energy_wh":725}],"err_code":0}}}
2021-07-30 17:11:31 DEBUG (MainThread) [homeassistant.components.tplink] Finished fetching tplink2 data in 1.062 seconds
2021-07-30 17:11:34 DEBUG (MainThread) [homeassistant.components.tplink] Communication error
2021-07-30 17:12:14 DEBUG (MainThread) [homeassistant.components.tplink.common] Getting static devices
2021-07-30 17:12:14 DEBUG (MainThread) [homeassistant.components.tplink] Got 4 switches: 192.168.31.125, 192.168.31.138, 192.168.31.160, 192.168.31.242
2021-07-30 17:12:14 DEBUG (SyncWorker_2) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:14 DEBUG (SyncWorker_2) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583220,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583220,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583220,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583220,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:14 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583220,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583221,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583221,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] > (34) {"emeter": {"get_realtime": null}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] < (112) {"emeter":{"get_realtime":{"voltage_mv":238789,"current_ma":419,"power_mw":38973,"total_wh":6798,"err_code":0}}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] > (33) {"system": {"get_sysinfo": null}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] < (616) {"system":{"get_sysinfo":{"sw_ver":"1.5.4 Build 180815 Rel.121440","hw_ver":"2.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"50:D4:F7:45:70:00","dev_name":"Smart Wi-Fi Plug With Energy Monitoring","alias":"tplink2","relay_state":1,"on_time":583221,"active_mode":"none","feature":"TIM:ENE","updating":0,"icon_hash":"","rssi":-68,"led_off":0,"longitude_i":374852,"latitude_i":556812,"hwId":"044A516EE63C875F9458DA25C2CCC5A0","fwId":"00000000000000000000000000000000","deviceId":"8006B2236FEB249B5B5329D2425928D01BE37BE6","oemId":"1998A14DAA86E4E001FD7CAF42868B5E","next_action":{"type":-1},"err_code":0}}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] > (55) {"emeter": {"get_daystat": {"month": 7, "year": 2021}}}
2021-07-30 17:12:15 DEBUG (MainThread) [pyHS100.protocol] < (1539) {"emeter":{"get_daystat":{"day_list":[{"year":2021,"month":7,"day":2,"energy_wh":1009},{"year":2021,"month":7,"day":3,"energy_wh":1003},{"year":2021,"month":7,"day":4,"energy_wh":1010},{"year":2021,"month":7,"day":5,"energy_wh":1013},{"year":2021,"month":7,"day":6,"energy_wh":1023},{"year":2021,"month":7,"day":7,"energy_wh":1018},{"year":2021,"month":7,"day":8,"energy_wh":986},{"year":2021,"month":7,"day":9,"energy_wh":996},{"year":2021,"month":7,"day":10,"energy_wh":1008},{"year":2021,"month":7,"day":11,"energy_wh":1008},{"year":2021,"month":7,"day":12,"energy_wh":1018},{"year":2021,"month":7,"day":13,"energy_wh":1019},{"year":2021,"month":7,"day":14,"energy_wh":1018},{"year":2021,"month":7,"day":15,"energy_wh":1020},{"year":2021,"month":7,"day":16,"energy_wh":1024},{"year":2021,"month":7,"day":17,"energy_wh":1026},{"year":2021,"month":7,"day":18,"energy_wh":1045},{"year":2021,"month":7,"day":19,"energy_wh":1030},{"year":2021,"month":7,"day":20,"energy_wh":1025},{"year":2021,"month":7,"day":21,"energy_wh":1021},{"year":2021,"month":7,"day":22,"energy_wh":1011},{"year":2021,"month":7,"day":23,"energy_wh":1000},{"year":2021,"month":7,"day":24,"energy_wh":1022},{"year":2021,"month":7,"day":25,"energy_wh":995},{"year":2021,"month":7,"day":26,"energy_wh":1013},{"year":2021,"month":7,"day":27,"energy_wh":1023},{"year":2021,"month":7,"day":28,"energy_wh":987},{"year":2021,"month":7,"day":29,"energy_wh":999},{"year":2021,"month":7,"day":1,"energy_wh":1000},{"year":2021,"month":7,"day":30,"energy_wh":726}],"err_code":0}}}
2021-07-30 17:12:15 DEBUG (MainThread) [homeassistant.components.tplink] Finished fetching tplink2 data in 1.047 seconds
2021-07-30 17:12:18 DEBUG (MainThread) [homeassistant.components.tplink] Communication error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment