-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Clarify instructions and re-requisites #86
Comments
In this case
No, the Tuya device does not need to be connected or registered beforehand, tuya-convert will need to reprovision the device with it's own keys in order to perform the upgrade. For this you need to put the device into pairing mode, which varies by device, but usually involves holding a button for 3-5 seconds or turning it off and on 3 times.
Not sure why it would stop here, but the command running at that point is Note that in the near future this should be replaced by a more generalized approach, either letting the user decide what services need to be stopped, or using |
Thanks for this. I've been having a hell of a time getting this working. I'm using an early model RPI (1B I think) and the node installation failed... the only way I could get node and npm working correctly was by removing all installations of both and by following these instructions, adapted from https://raspberrypi.stackexchange.com/questions/4194/getting-npm-installed-on-raspberry-pi-wheezy-image/37976#37976
then I executed the remainder of install_prereq.sh manually. The only error I am getting now is a keyboard interrupt error in smarthack-web.log. I'm not sure if it's running correctly or not. These are the log contents:
Finally, how does this line in start_flash.sh work without inserting
|
@DillonJ My smarthack-web.log looks identical with the KeyboardInterrupt and it works fine. There is a tuya fork that someone made that removes the NodeJS requirement. He rewrote the smartconfig UDP broadcast functionality in Python. Maybe that's something you could try? Although it sounds like you got passed the node requirement.
|
Thanks @swbradshaw. Does the fact that I need to add |
I missed that part. Yeah, you shouldn't have to insert "node" in that line. The reason it should just work is because the script is marked executable, and the first line in the script references node. |
Thanks for the explanation @swbradshaw. The instructions I followed installed node to a different folder... so after correcting that, I get |
You might just want to try that other branch I referenced earlier that doesn't use node. |
Are you running as root or with |
Hi folks.. I tried running the fork and no luck either. I gave up and soldered connections on was able to flash using esptool. I haven't seen anyone successfully flash my device anywhere... I'm pretty sure its TYWE2S based. This is the device: It's an "eMylo Smart Switch". I have posted pictures of the board here: https://groups.google.com/forum/#!category-topic/sonoffusers/Lkk9rQ33c2g I wonder if this trouble flashing is the same issue as #76 is alluding to? |
@DillonJ I saw you asking about how Tasmota works. Here is a nice video explaining how to setup an unknown plug: https://youtu.be/m_O24tTzv8g?t=388 You can jump to the 9min mark to see him setup the plug. |
First off, thanks for this awesome script - I have a number of "eMylo" smart switches and am trying to get tasmota installed on them.
A number of questions that could perhaps be addressed in the readme?
For me, the script is stopping at "stopping any apache web server". What might be the cause of this?
Many thanks in advance
The text was updated successfully, but these errors were encountered: