Closed mrmadhu closed 7 years ago
ah yeah sorry. those things showing up should never happen on a real Raspberry pi. Im going to push a new release you can try fairly shortly.
any ETA when can we expect the new release?
Your on a pi3 correct? this release should work: here
Sorry, It dosent work, it does not scan and show the home wifi SSID
@mrmadhu Can you try opening the JavaScript console and tell me if you see any errors? That might have additional information about what the issue is.
Javascript console is ctrl + shift + J
on Linux and Windows. I forget what the hotkey is on Mac.
Please find the attached screen shot
@jokosup @mrmadhu
Ok- we're looking into the issue right now. The weird thing is that if your WiFi configurator is running, the server on port 4000 should, in theory be running also.
A few other questions:
One theory I have (but can't confirm really) would be that your wifi router is blocking port 4000? This would be strange, since your router obviously allows port 80, though. Do you think that is possible? Have you been able to run other services over your LAN?
Thanks Rick,
i did try with setting up my firewall protection to low in my router as well.
The wifi sometime work, sometime doesn't.
Ah i see. That is actually a common problem so far. It is a power issue. The PI3 requires more power than previous pis. Something to the tune of 2.5 amps
hello i'm still stuck, with the same problem even after disabling firewall and higher amps power supply i'm using a raspberry pi 3 is there any way to ssh to the farmbot os, if yes which ip address ? Madhu
From: Connor Rigby <notifications@github.com>
To: FarmBot/farmbot_os farmbot_os@noreply.github.com Cc: mrmadhu mrmadhu@yahoo.com; Mention mention@noreply.github.com Sent: Thursday, 20 October 2016, 8:38 Subject: Re: [FarmBot/farmbot_os] Unable to save Wifi configuration (#186)
Closed #186.— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
There is no ssh into it yet. (tho it is a feature we are working on)
But i made it on the latest release be able to plug a mouse and keyboard and use the shell over hdmi.
What is the amperage of you power supply?
i am using 2.1A usb from the power plug.
it works fine when i run Raspbian Jessie, but not the farmbot_os. what makes farmbot_os needs more power?
Im beginning to think it is not a power issue. 2.1 amps should be enough. I can't reproduce locally so i am going to be testing some things on other peoples environments.
relevant kernel logs:
brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 1 pmurev 24
brcmfmac_sdio mmc0:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.txt failed with error -2
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
@jokosup @mrmadhu We're still investigating, but thanks for all the great information so far. It appears to be a driver issue.
@jokosup can you try to boot your pi without a hdmi cable plugged in?
yes, i have tried that. same results.
Same result for me as well
@jokosup and @mrmadhu
can you guys please try flashing the pre-release for me? get it here Try it with and without HDMI plugged in.
Hi just tried, its able to connect to home wifi and gets an IP
but no luck with my.farmbot.io connectivity or no way to login to the OS, via SSH
Madhu
@mrmadhu have you created an account on my.farmbot.io first?
yes and the id was configured on the wificonfigurator page
can you try creating an account on http://staging.farmbot.io and using those same credentials on configurator?
do i need to re-image the sd card again ?
If wifi configurator comes up you dont, but if its 'bricked' then you will
@ConnorRigby it connects to staging and gets a message that "BOT status OK , but no control of stepper
I am able to connect to the FarmbotConfigurator, but when i click Save Configuration, it got the "TRYING TO LOGIN" response. then lost the WiFi. i deleted the files from AppData and restart it again, WiFi came back.
Finally, i see the BOT status OK too.. and able to shutdown my device from the web. I haven't install my motors yet.. will test again later...
@ConnorRigby , still stuck, i'm able to shutdown pi from the web, and there is a success message for every command send from the web like absolute x move, but no movement at the stepper, any way to find out what exactly is happening with arduino communication ?
i am having the same issue as @mrmadhu. no movement at the stepper.
sorry guys my last comment got lost in transit I guess.
Two things.
@ConnorRigby will get a linux Vbox, request you to please share the steps
ok.
inside
the vbox. ls /dev/ttyACM0
or ls /dev/ttyUSB0
)
wget https://gist.githubusercontent.com/ConnorRigby/b8acfeb91d1c087680efeb489d9c926c/raw/c89db6f40e44fca484635007bf7b1733ecf7fd64/update.sh -qO- | bash -s
@mrmadhu @jokosup
I made a beta release you can try instetad of the above steps.
When your bot boots you should be able to hit the Firmware Updates Available
button and it will update your arduino.
Do NOT hit the Controller Updates Available
button. It will actually make your bot go back to an older release. (because the image your using is beta)
unable to update the Firmware, it seems stuck in updating FW
by the way, the stepper motor is now working. toggle switch tools (vacuum, water valve and led) are working as well. I only tested one motor as i only have 1 stepper motor driver right now (will have more tomorrow). Camera does not work, what should i put the value for camera's url?
@jokosup, the camera widget on the web app works with any webcam stream URL, but you have to setup a stream yourself. Right now the OS does not automatically stream the pi camera or a USB camera video, though that would be a nice feature! In the meantime if you set up something external, you can use that.
By the way, do you know the reason why the motors were not working for you before?
still stuck with stepper motor issue, even after updating with new firmware. @ConnorRigby - the new image that you have uploaded with arduino fix has wifi configuration issue again
@roryaronson ok. the new firmware fixed it.
@mrmadhu try update the Arduino firmware with this command: wget https://gist.githubusercontent.com/ConnorRigby/b8acfeb91d1c087680efeb489d9c926c/raw/c89db6f40e44fca484635007bf7b1733ecf7fd64/update.sh -qO- | bash -s and also deploy the beta version of farmbot_os. Can you also make sure that the stepper drivers and motors are installed and connected properly.
So the WiFi issue is power related actually. My latest beta image just shaves some power requirements off. You need at MINIMUM 2.5 amps from a 5 volt power supply. We will be shipping with a 3 amp psu.
Perfect @ConnorRigby all well with the new image 2.1.0, all works well with 2.1 amps, great job ....
there are issues with web app, not sure if we need to put this into a new issue
@mrmadhu Yes, please do. Preferably at the Repository for the frontend: https://github.com/FarmBot/farmbot-web-frontend
Thanks for all your help so far.
Thanks for your patience guys!
@mrmadhu Ah this is good news. Your arduino needs an update though and github is down due to DNS errors i believe. (Github hosts our arduino firmware releases)
@joko when you connect, you will loose wifi. (The raspberry pi can not operate in wifi hotspot mode, and client mode at the same time) Does it scan for networks? if you provided good credentials you will no longer see FarmbotConfigurator.
On Fri, Oct 21, 2016 at 9:23 AM, Joko notifications@github.com wrote:
I am able to connect to the FarmbotConfigurator, but when i click Save Configuration, it got the "TRYING TO LOGIN" response. then lost the WiFi. i deleted the files from AppData and restart it again, WiFi came back.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FarmBot/farmbot_os/issues/186#issuecomment-255420807, or mute the thread https://github.com/notifications/unsubscribe-auth/AUK8bqV_WIv4oKI8thNxCaeDQVwWi3Oaks5q2OcUgaJpZM4KXpzj .
Yes unfortunately your arduinos will need an update but if i remember correctly the button to make them update is broken. If you guys run linux i can walk you thru updating them from your normal pc
On Sat, Oct 22, 2016 at 9:54 AM, Joko notifications@github.com wrote:
i am having the same issue as @mrmadhu https://github.com/mrmadhu. no movement at the stepper.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FarmBot/farmbot_os/issues/186#issuecomment-255539945, or mute the thread https://github.com/notifications/unsubscribe-auth/AUK8bhq08GTKWcL6IWY60gR9D9VcmRyZks5q2j_OgaJpZM4KXpzj .
@ConnorRigby i found that my router setting needs to be adjusted. the PSK is not enabled in my guest network.
Do you make any updates on the staging site this morning, none of the features are working. BOT is connected, but when clicking any buttons or setting, it throwing an errors.
@jokosup you probably need to reboot your bot.
Hello
I'm not sure if this was discussed already, as per the setup instruction when i try to configure my home wifi details and save by accessing 192.168.24.1, nothing happens after clicking save configuration button, it stays in the initial screen, i tried using the both the .img file 2.0.3 and 2.0.2 both has the same issue.
Only SSID's that are visible is as following
test_ssid meep lawl
it does not show my home wifi SSID when scanning wifi
Thanks in advance for any help