Closed werty1st closed 8 years ago
i open my device to take a photo of the circuit board. maybe somebody can identify possible serial pinouts.
Hi @werty1st, thanks for the photo! While the scope of the hs100 script is indeed to operate and query the tplink hs100 wifi plug, I currently have no information about how it can be flashed with the image you are looking for. Flashing new firmware is definitely possible since tplink offers downloads for new firmware here: http://www.tp-link.us/download/HS100.html#Firmware I'll keep this ticket open for future reference
The script is working with both my HS100 and HS110's, however, the check command isn't giving me any output other than "Connection to 172.16.29.146 9999 port [tcp/*] succeeded!" .. it's not actually telling me if the relay is on or off.. any ideas?
I have been able to pull that info using:
hs100.sh
@M1XZG this is probably of little consolation, but it works for me. Make sure you are using the latest master branch.
LOL bugger, I had the copies of the script mixed up .. it is indeed working. And it's a lot faster then my decode method.. ok, back to my scripts to adjust them again :D Thanks for that.
Hm, I take it back.. I do get a result, but it shows OFF no matter what state it's in .. that's for both the HS100 and HS110
BTW, I'm working on a script to use my RaspberryPi along with a DHT22 temp/humidity sensor to log to thingspeak (https://thingspeak.com/channels/155954) as well as determine if the dehumidifer should be switched off or off, hence the need for the HS100/HS110 and your script 👍 I'll release the dht22 code soon that I've been working on.
EDIT - ok weird.. running the script from my fedora box I get OFF no matter what, but on my Pi it gives the correct results. So it is working where I want it too hah
Can you open a new ticket and show the result of the "status" command?
On 22.10.2016 14:40, Robert McKenzie wrote:
Hm, I take it back.. I do get a result, but it shows OFF no matter what state it's in .. that's for both the HS100 and HS110
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ggeorgovassilis/linuxscripts/issues/2#issuecomment-255526152, or mute the thread https://github.com/notifications/unsubscribe-auth/ADV78M2e1qukIxmax3eEe88xR3TGfTCnks5q2gQzgaJpZM4I6BaB.
It's actually fine. I think the issue was a version problem. It's working perfectly for me now. I'll be publishing my own script that uses your script to complete a series of tasks.
Thanks very much!
Robert McKenzie rmckenzi@rpmdp.com
On 25 Oct 2016 19:16, "George Georgovassilis" notifications@github.com wrote:
Can you open a new ticket and show the result of the "status" command?
On 22.10.2016 14:40, Robert McKenzie wrote:
Hm, I take it back.. I do get a result, but it shows OFF no matter what state it's in .. that's for both the HS100 and HS110
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ggeorgovassilis/linuxscripts/issues/2#issuecomment- 255526152, or mute the thread https://github.com/notifications/unsubscribe-auth/ ADV78M2e1qukIxmax3eEe88xR3TGfTCnks5q2gQzgaJpZM4I6BaB.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ggeorgovassilis/linuxscripts/issues/2#issuecomment-256118510, or mute the thread https://github.com/notifications/unsubscribe-auth/AV3noPPvyJK4N45IOHAabSmKVC0c1Zrmks5q3keNgaJpZM4I6BaB .
hello,
i can confirm that your code is also working for the HS110 model.
i would like to flash a custom image with a simple REST interface to control the smart plug.
kind regards, werty