softScheck / tplink-smartplug

TP-Link WiFi SmartPlug Client and Wireshark Dissector
Apache License 2.0
1.13k stars 296 forks source link

Firmware Versions ... #10

Open dan-and opened 7 years ago

dan-and commented 7 years ago

Hi,

I own 2 HS100-EU . I bought one in 2016 and one quite recently. I did check the firmware versions on both and the firmware do differ between both:

daniel@j3455:~/source/tplink-smartplug$ ./tplink-smartplug.py -t 192.168.10.244 -c info
Sent:      {"system":{"get_sysinfo":{}}}
Received:  {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.1.0 Build 160503 Rel.145047","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(EU)","mac":"50:C7:BF:xxxxx","deviceId":"80069A202146D1EB3D35C7D8062XXXXXXXXXXXX","hwId":"22603EA5E716DEAEA6642A30BE87AFCA","fwId":"BEF3C9ECA17BF143A7D627AB2D1382C4","oemId":"812A90EB2FCF306A993FAD8748024B07","alias":"Server","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":699,"active_mode":"schedule","feature":"TIM","updating":0,"rssi":-42,"led_off":0,"latitude":XXX,"longitude":XXXX}}}
daniel@j3455:~/source/tplink-smartplug$ ./tplink-smartplug.py -t 192.168.10.246 -c info
Sent:      {"system":{"get_sysinfo":{}}}
Received:  {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.0.8 Build 151101 Rel.24452","hw_ver":"1.0","type":"smartplug","model":"HS100(EU)","mac":"50:C7:BF:00:FE:AD","deviceId":"80068B6BB6EFEEA4242F4B6XXXXXXXXXXX","hwId":"22603EA5E716DEAEA6642A30BE87AFCA","fwId":"BFF24826FBC561803E49379DBE74FD71","oemId":"812A90EB2FCF306A993FAD8748024B07","alias":"Smarty1","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":0,"on_time":0,"active_mode":"schedule","feature":"TIM","updating":0,"rssi":-73,"led_off":0,"latitude":XXXX,"longitude":XXXXX}}}

( Anonyminized the GPS coordinates and the deviceID).

As you can see, there are two firmware versions: 1.0.8 (Datestamp: 151101) and 1.1.0 (Datestamp: 160503) Firmware-Checks in Kasa always for "no new firmware available" for both HS100.

I also checked out your mentioned HS110 (US) Firmware, which is Firmware 1.0.7

Did anyone figured out a way to get updated firmware versions via shd commands ?

khkremer commented 7 years ago

The only way I know of to update the firmware is via the app. Bring up the Kasa app on your phone, go to settings (via the hamburger menu in the upper right corner) and then select "Firmware Upgrade". This will search for available upgrades.

Karl Heinz Kremer PDF Acrobatics Without a Net PDF Software Development, Training and More...

khk@khk.net http://www.khkonsulting.com

On Fri, May 5, 2017 at 11:41 AM, Daniel Andersen notifications@github.com wrote:

Hi,

I own 2 HS100-EU . I bought one in 2016 and one quite recently. I did check the firmware versions on both and the firmware do differ between both:

daniel@j3455:/source/tplink-smartplug$ ./tplink-smartplug.py -t 192.168.10.244 -c info Sent: {"system":{"get_sysinfo":{}}} Received: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.1.0 Build 160503 Rel.145047","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH"," model":"HS100(EU)","mac":"50:C7:BF:xxxxx","deviceId":" 80069A202146D1EB3D35C7D8062XXXXXXXXXXXX","hwId":" 22603EA5E716DEAEA6642A30BE87AFCA","fwId":"BEF3C9ECA17BF143A7D627AB2D1382 C4","oemId":"812A90EB2FCF306A993FAD8748024B07","alias":"Server","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":1,"on_time":699," active_mode":"schedule","feature":"TIM","updating":0," rssi":-42,"led_off":0,"latitude":XXX,"longitude":XXXX}}} daniel@j3455:/source/tplink-smartplug$ ./tplink-smartplug.py -t 192.168.10.246 -c info Sent: {"system":{"get_sysinfo":{}}} Received: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.0.8 Build 151101 Rel.24452","hw_ver":"1.0","type":"smartplug","model":" HS100(EU)","mac":"50:C7:BF:00:FE:AD","deviceId":" 80068B6BB6EFEEA4242F4B6XXXXXXXXXXX","hwId":"22603EA5E716DEAEA6642A30BE87AF CA","fwId":"BFF24826FBC561803E49379DBE74FD71","oemId":" 812A90EB2FCF306A993FAD8748024B07","alias":"Smarty1","dev_name":"Wi-Fi Smart Plug","icon_hash":"","relay_state":0,"ontime":0,"active mode":"schedule","feature":"TIM","updating":0,"rssi":-73," led_off":0,"latitude":XXXX,"longitude":XXXXX}}}

( Anonyminized the GPS coordinates and the deviceID).

As you can see, there are two firmware versions: 1.0.8 (Datestamp: 151101) and 1.1.0 (Datestamp: 160503) Firmware-Checks in Kasa always for "no new firmware available" for both HS100.

I also checked out your mentioned HS110 (US) Firmware, which is Firmware 1.0.7

Did anyone figured out a way to get updated firmware versions via shd commands ?

ā€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/softScheck/tplink-smartplug/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AGzGxZYZYk_iH-OcZqjAmAmIJFy3AzZKks5r20MhgaJpZM4NSFbi .

keith721 commented 7 years ago

http://www.tp-link.com/us/faq-949.html

TP-Link provides a Python compiled utility to update the firmware from your Windows machine.

dan-and commented 7 years ago

Hi Karl Heinz,

Using the Kasa app was my first attempt, but it keeps reporting that all devices are up to date.

Hi Keith,

Now thats interesting! Especially when you look into the firmware directory of that package: ls iotUpgradeTool_V1.0/firmware/ hfs.exe hs100v1_eu_1.1.2_Build_161014_Rel.164550.bin hs100v1_fr_1.1.2_Build_161014_Rel.170646.bin hs100v1_uk_1.1.2_Build_161014_Rel.170836.bin hs100v1_us_1.1.2_Build_161014_Rel.164426.bin hs110v1_eu_1.1.2_Build_161014_Rel.164733.bin hs110v1_fr_1.1.2_Build_161014_Rel.170531.bin hs110v1_uk_1.1.2_Build_161014_Rel.170948.bin hs110v1_us_1.1.2_Build_161014_Rel.164223.bin hs200v1_us_1.1.0_Build_160521_Rel.085826.bin smartBulb_FCC_1.4.1_Build_170406_Rel.135824.bin smartPlug_CE_HS100(AU)_HS110(AU)_1.1.3_Build_170120_Rel.171906.bin smartPlug_FCC_HS105(US)_1.2.1_Build_170406_Rel.135348.bin

These firmware versions are even more up to date than my mentioned two above!

Thanks for the hint! :-)

rct commented 6 years ago

A few updates from October 2017.

Enzo-Matrix commented 6 years ago

The download link for the windows Python update tool has been removed from the FAQ linked above.

The FAQ has been removed by Tp-Link, but the stand-alone update tool is still available with the current firmware: http://static.tp-link.com/iotUpgradeTool_V1.0.zip

Found it on anther project here.

dan-and commented 6 years ago

if you are using the EU versions of the HS100 and HS110 you can also check out: http://tp-link-support.de/software/iotUpgradeTool_V1.1_HS100_HS110.rar

(the german tp-link support do allow directory listings of their software at: http://tp-link-support.de/software/ )

It includes: hs110v1_eu_1.1.4_Build_170417_Rel.145118_2017-05-26_18.06.53.bin hs100v1_eu_1.2.0_Build_170508_Rel.162000_2017-05-26_18.06.34.bin

PS: my android KASA client didn't upgrade my hs100 1.1.3 or my hs110 models, so I am pleased to use the iotUpgradeTool V1.1 )

jerry-nz commented 6 years ago

i have a hs110(au) and it says it using firmware version 1.2.5. the app fails (looks to be a network connection from the tp-link side) and the iot firmware app mentioned above doesn't seem to include the (au) version.

is there any other way to update?

cheers!

GlynnNZ commented 6 years ago

I too have one Jerry, have tried upgrading via the TP-Link upgrade tool, but although it finds my devices OK, every attempt to upgrade ends up with the screen below... 2018/06/18 15:28:03>> Target type is SmartPlug 2018/06/18 15:28:03>> Send upgrade request 2018/06/18 15:28:03>> Upgrade request status is 0 2018/06/18 15:28:03>> Start downloading... 2018/06/18 15:28:19>> Download status get timeout

Any suggestions anyone?

KingJ commented 5 years ago

I too have one Jerry, have tried upgrading via the TP-Link upgrade tool, but although it finds my devices OK, every attempt to upgrade ends up with the screen below... 2018/06/18 15:28:03>> Target type is SmartPlug 2018/06/18 15:28:03>> Send upgrade request 2018/06/18 15:28:03>> Upgrade request status is 0 2018/06/18 15:28:03>> Start downloading... 2018/06/18 15:28:19>> Download status get timeout

Any suggestions anyone?

I stumbled across this too when attempting to upgrade a HS110 via the IoT Upgrade Tool. As per this thread, the cause is that the tool's configuration (in data\config.json) specifies a HTTP port of 8080, whereas as can be seen from the scan the device is actually listening in port 9999. Changing the port in the configuration file to 9999 and re-starting the tool allowed me to upgrade successfully.

nor408cal commented 5 years ago

Changing the port in the configuration file to 9999 and re-starting the tool allowed me to upgrade successfully.

Can you verify how to actually do that?? I know NOTHING, Jon Snow. I opened up the config.json file in firefox and found out I could inspect a part of the code. Looked like I could change the numbers 8080 to 9999 in the HTML box but then I couldn't figure out how to save it...

877dev commented 4 years ago

if you are using the EU versions of the HS100 and HS110 you can also check out: http://tp-link-support.de/software/iotUpgradeTool_V1.1_HS100_HS110.rar

(the german tp-link support do allow directory listings of their software at: http://tp-link-support.de/software/ )

It includes: hs110v1_eu_1.1.4_Build_170417_Rel.145118_2017-05-26_18.06.53.bin hs100v1_eu_1.2.0_Build_170508_Rel.162000_2017-05-26_18.06.34.bin

PS: my android KASA client didn't upgrade my hs100 1.1.3 or my hs110 models, so I am pleased to use the iotUpgradeTool V1.1 )

Seems to need login credentials

cmorche commented 4 years ago

Can confirm that it's locked down with HTTP auth now. And admin:admin didn't work šŸ˜œ