Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nous Smart WIFI Socket A1: Connection refused #1005

Closed
AdriaanDeVos opened this issue Nov 20, 2021 · 1 comment
Closed

Nous Smart WIFI Socket A1: Connection refused #1005

AdriaanDeVos opened this issue Nov 20, 2021 · 1 comment

Comments

@AdriaanDeVos
Copy link

Recently I have bought the Nous Smart Wifi Socket A1 from Amazon and tried to use tuya-convert on it.

On my first try the ./start_flash.sh script was unable to make a connection and therefore I have used the apconfig.py
script from #966 resulting in: Sending 000055aa00000000000000010000003e7b2273736964223a227674727573742d666c617368222c22706173737764223a22222c22746f6b656e223a223030303030303030227d726cfc610000aa55

Afterwards I am able to connect the device to my wifi hotspot. But it's still not working.

======================================================
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
...................................................Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword          
Sending token                 00000000
Sending secret                0101
.....................................................................
Timed out while waiting for the device to (re)connect
Stopping smart config
======================================================
Attempting to diagnose the issue...
An ESP82xx based device connected according to your wifi log.
If this is the device you are trying to flash, another issue may be preventing it from flashing.
Otherwise, it could be that the device does not use an ESP82xx or it did not connect.
For additional information, check the *.log files inside the scripts folder.
Please include these logs when opening a new issue on our GitHub issue tracker.
======================================================

Notes

  1. The device has stopped quick flashing or slow flashing it's lights and it immediately turns the lights off when its booted.
  2. During my many tries I found the following information in one of the smarthhack-psk.log:
ID: 0142416f68626d6436614739314946523162a6d22457c293ba734411d5925a28635f09b0be6ff05c6d638bf144917f8b41b2
PSK: 64679e8569ddd8a4856aaaae0873242bcfd724f08db7bb241d6a7ddba81a90e7

Is this caused by #483 or is there something else amiss?

Logs

Logs when I try it now

smarthack-mqtt.log
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log

Logs from the one time I was able to get the ID/PSK message

smarthack-mqtt.log
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log

@AdriaanDeVos
Copy link
Author

I resolved the issue by hard resetting the device and trying tuya-convert docker version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant