Comments (28)
It did work with PI 3B+ (I only get it work with raspbian not with Kali!)
I've just remove everything from my SD Card to have a clear setup:
Raspberry Pi 3B+ & Raspbian Stretch (2018-11-13-raspbian-stretch-lite.img)
Do pre-setup because ssh is disabled by default you need to enable it first
sudo apt update && apt update -y
sudo apt install git
git clone https://github.com/ct-Open-Source/tuya-convert
cd tuya-convert
./install_prereq.sh
./start_flash.sh
Wifi was come up and is working fine.
Since I currently dont have any device to flash it stand still here:
from tuya-convert.
would probably help if you send in the smarthack-*.log files you find in the scripts directory
from tuya-convert.
I'm using Raspberry Pi 3 B+. I can't see the access point either.
Got the following messages.
from tuya-convert.
When did you last do a git pull?
It appears they have added the -Logfile option which isn't supported by the version of screen that is on raspbian.
can you try the version prior to the latest commit:
$ git checkout df38bc33c0b02d084f57267f45325a8b116f58af
from tuya-convert.
I did it today.
I will try the previous version.
from tuya-convert.
from tuya-convert.
The new script works now.
Thanks!
from tuya-convert.
I can see the access point, but can not connect to it with my phone.
Tried another phone, same.
from tuya-convert.
Have you tried WPA PSK?
from tuya-convert.
When you cannot enter the WIFI you probably need to use a different (usb) wifi adapter.
Which Hardware are you using?
from tuya-convert.
I use an Lenovo Laptop with Linux Mint and an onboard Wifi Adapter.
After I have entered the Wifi Passwort my Phone tries to get an IP Adress from vtrust-flash but it doesnt work. When I use Static IP the Phone connects but I still cant flash my Device.
from tuya-convert.
I was using Raspberry Pi 3 B+ build in WiFi adapter. It showed the access point, but could not connect to it.
After I added a Netgear USB WiFi adapter and change the config to wlan1, it worked.
Thanks!
from tuya-convert.
hmm I dont have an usb WiFi Adapter to test.
What is the difference to an Onboard WiFi?
from tuya-convert.
The latest version did not work, but checking out the commit before -Logfile option worked for me.
from tuya-convert.
Unfortunately, WiFi does not show up for me. I'm on the same system as kurim (Raspberry Pi 3B+ & Raspbian Stretch using 2018-11-13-raspbian-stretch-lite.img).
from tuya-convert.
Thats strange.
It might not necessary but did you setup your wifi region? (raspi-config)
from tuya-convert.
Apparently I had the WiFi setup to connect to my home WiFi, which is why the scripts couldn't use it. I deleted the WiFi settings and the script works now.
Thanks
from tuya-convert.
started from scratch, didn't setup wifi, the network doesn't show. Reboot, nothing, set WiFi country, reboot, nothing...
Pi2B + usb wifi adapter
from tuya-convert.
same on my end, I`m using HP laptop with built in WLAN and USB WLAN ( wlan1).
edited config.txt , tried fresh Kali, ubuntu, Mint install
can`t make the AP appear.
from tuya-convert.
How many places do you change the WLAN# and which files? Same issue here, Mint fresh install on IBM laptop.
from tuya-convert.
How many places do you change the WLAN# and which files? Same issue here, Mint fresh install on IBM laptop.
what worked for me was renaming WLAN0 from the random name Linux OS will assigned to WIFI module to wlan0 ( use command ifconfig)
I used this command
$ sudo nano /etc/default/grub
Look for GRUB_CMDLINE_LINUX and add the following net.ifnames=0 biosdevname=0.
From:
GRUB_CMDLINE_LINUX=""
To:
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
Generate a new grub file using the following command.
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Restart PC
than you need to make sure that inside config.txt inside 'tuya-convert" folder you have the right wlan0 or wlan1
I used Ubuntu 16.04, old HP PC and old USB WLAN and successfully flashed 2 types of plugs and LED RGB bulb.
Important is also TIMING of the flash process.
-> put the device into flashing/pairing mode just seconds before you hit "ENTER"
from tuya-convert.
You can modify the interface in config.txt
. I definitely do NOT recommend modifying your GRUB configuration for this.
from tuya-convert.
You can modify the interface in
config.txt
. I definitely do NOT recommend modifying your GRUB configuration for this.
I think if you setup a machine to one and only purpose ( flash TUYA devices ) the modification of GRUB should not be an issue. Besides you can revert the modification once you are done with flashing.
from tuya-convert.
Thanks - I will try with the just the config.txt modify to whatever ifconfig tells me the adapter is.
from tuya-convert.
If that don't work go after the GRUB file, right now the machine is only to flash tuya, it was a paperweight until tuya-convert..
from tuya-convert.
Closing issue as my install worked. Please open a new issue for problems you encounter.
from tuya-convert.
anyone found a fix for this issue? tried with both internal and external wifi adapter but vtrust-flash does not show
from tuya-convert.
@ashfaaaa Please open a new issue with your logs and details about your problem and hardware
from tuya-convert.
Related Issues (20)
- No value for $TERM and no -T specified
- Topgreener TGWF500D always times out HOT 1
- Potential Wireless Flash for EKAZA Smart Plug 16A - TYWE2S - MCU V1.1.7? HOT 4
- Failing to flash smart plug that connects, with an endless loop HOT 1
- conversion over docker HOT 1
- STAY AWAY from Gosund plugs HOT 10
- https://github.com/ct-Open-Source/tuya-convert/wiki/Collaboration-document-for-PSK-Identity-02
- SP111 with ip 10.42.42.34-38 HOT 1
- Deta Grid Connect Lights dead with vtrust-recovery SSID after flash HOT 2
- TCP Smart plug
- no AP "vtrus-flash" is opend - script is running without error HOT 2
- Is LSC Outdoor Floodlight (3200719) Supported? HOT 1
- Gosund EP2 flashed with Tasmota - but entered wrong Wifi Name or Password and can't reach the device HOT 2
- Should old Blitzwolf BW-SHP4 UK work? HOT 2
- Restore flashed BW SHP2 Plug HOT 1
- Timed out while waiting for the device to (re)connect HOT 3
- AP gone after putting in wrong wifi credentials
- mosquitto conf broken in dev branch HOT 1
- Timed out while waiting for the device to (re)connect
- 'docker build -t tuya:latest .' won't work until: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-convert.