-
-
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
RaspberryPiZeroW - successful flash #84
Comments
npm install for Pi Zero W:
|
@YARA-CODER I have my Pi Zero W connected to HDMI/keyboard. I was able to install npm but when I run the script, the "vtrust-flash" AP is never created. Not sure what to try next. The smarthack-wifi.log says "Failed to create interface mon.wlan0: -95 (Operation not supported) I'm using Raspbian Stretch Lite - are you on the full version? |
@swbradshaw On my Pi Zero w (running with stretch lite) i had to "killall wpa_supplicant" to get the AP working. You have to do this after every boot, if you dont configure your pi to not start wpa_supplicant. Maybe you have the same issue. |
It won't work if your Pi is connected to a wifi network. So either kill wpa_supplicant or remove the credentials from the wpa_supplicant.conf file so it won't connect to anything. Yes, this means you can't ssh in to a headless Pi over wifi. Either hook up a monitor and keyboard, or configure it for USB-Ethernet gadget mode and plug it into your PC. |
Thanks for the help. I was able to get the AP created and I can connect to it from my phone and see the "Hello World" message from the site. However, when I continue the script with my Tuya module in pairing mode (I can see it's AP from my phone), the process doesn't do anything. The logs show that the script sends the UDP broadcast, but the Martin Jerry switch isn't responding to it :-( EDIT: I was holding the button on the switch too long and it was going into AP mode, and I wanted pairing mode. Successfully flashed! |
Hey swbradshaw... If I'm not mistaken, if you can see the device's AP, then it's in AP/compatibility mode and not in smart pairing mode.... I'm trying to flash (So far unsuccessfully (#86)) an "eMylo Smart switch"). In general, I believe the LED needs to be flashing quickly when it's in pairing mode (AP mode is slower). I can see and connect to the the vtrust AP but have so far been unable to get further. |
@DillonJ Thanks for the reply. I literally edited my last reply at the same time you wrote that with the same explanation. In my case, the lights don't seem to flash different speeds between AP / smart pair mode, but the LED is blue in smart pairing mode and red in AP mode. I'll reply in your other thread. |
Hey @pelrun I would like to use my pi zero w, could you guide me how I can use the "USB-ethernet gadget mode" thingy with my macbook? Thanks in anticipation |
@swbradshaw So I connect my monitor and keyboard to a fresh pizerow with fresh stretch-lite install and enter these lines. Then follow below instructions of first page right?
Thanks in anticipation |
@2016for Correct. You'll run killall wpa_supplicant every time you start the Pi before you run the start_flash.sh |
Just to let you know - I have just flashed Neo Coolcam plug with RPi0W (latest Raspbian Strech, fresh install, connected via USB-Ether)
Only modification is that you need to get tarball binaries with nodejs for armv6l.
Simply unpack in to
/usr/local/
before runnnin prerequisites script.The text was updated successfully, but these errors were encountered: