Code Monkey home page Code Monkey logo

Comments (28)

kurim avatar kurim commented on May 13, 2024 1

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.
img_8780 img_8781

Since I currently dont have any device to flash it stand still here:
1

from tuya-convert.

drushbrook avatar drushbrook commented on May 13, 2024

would probably help if you send in the smarthack-*.log files you find in the scripts directory

from tuya-convert.

qingz2004 avatar qingz2004 commented on May 13, 2024

I'm using Raspberry Pi 3 B+. I can't see the access point either.
Got the following messages.
screenshot_3
screenshot_4

from tuya-convert.

drushbrook avatar drushbrook commented on May 13, 2024

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.

qingz2004 avatar qingz2004 commented on May 13, 2024

I did it today.
I will try the previous version.

from tuya-convert.

nanobyte84 avatar nanobyte84 commented on May 13, 2024

from tuya-convert.

qingz2004 avatar qingz2004 commented on May 13, 2024

The new script works now.
Thanks!

from tuya-convert.

qingz2004 avatar qingz2004 commented on May 13, 2024

I can see the access point, but can not connect to it with my phone.
Tried another phone, same.
screenshot_3

from tuya-convert.

drushbrook avatar drushbrook commented on May 13, 2024

Have you tried WPA PSK?

from tuya-convert.

nanobyte84 avatar nanobyte84 commented on May 13, 2024

When you cannot enter the WIFI you probably need to use a different (usb) wifi adapter.
Which Hardware are you using?

from tuya-convert.

botak13 avatar botak13 commented on May 13, 2024

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.

qingz2004 avatar qingz2004 commented on May 13, 2024

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.

botak13 avatar botak13 commented on May 13, 2024

hmm I dont have an usb WiFi Adapter to test.
What is the difference to an Onboard WiFi?

from tuya-convert.

jptrsn avatar jptrsn commented on May 13, 2024

The latest version did not work, but checking out the commit before -Logfile option worked for me.

from tuya-convert.

Zefau avatar Zefau commented on May 13, 2024

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.

kurim avatar kurim commented on May 13, 2024

Thats strange.
It might not necessary but did you setup your wifi region? (raspi-config)

from tuya-convert.

Zefau avatar Zefau commented on May 13, 2024

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.

geertvercamer avatar geertvercamer commented on May 13, 2024

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.

Vendo232 avatar Vendo232 commented on May 13, 2024

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.

plazomat avatar plazomat commented on May 13, 2024

How many places do you change the WLAN# and which files? Same issue here, Mint fresh install on IBM laptop.

from tuya-convert.

Vendo232 avatar Vendo232 commented on May 13, 2024

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.

kueblc avatar kueblc commented on May 13, 2024

You can modify the interface in config.txt. I definitely do NOT recommend modifying your GRUB configuration for this.

from tuya-convert.

Vendo232 avatar Vendo232 commented on May 13, 2024

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.

plazomat avatar plazomat commented on May 13, 2024

Thanks - I will try with the just the config.txt modify to whatever ifconfig tells me the adapter is.

from tuya-convert.

plazomat avatar plazomat commented on May 13, 2024

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.

jptrsn avatar jptrsn commented on May 13, 2024

Closing issue as my install worked. Please open a new issue for problems you encounter.

from tuya-convert.

ashfaaaa avatar ashfaaaa commented on May 13, 2024

anyone found a fix for this issue? tried with both internal and external wifi adapter but vtrust-flash does not show

from tuya-convert.

kueblc avatar kueblc commented on May 13, 2024

@ashfaaaa Please open a new issue with your logs and details about your problem and hardware

from tuya-convert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.