Git Product home page Git Product logo

Comments (51)

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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.

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

any ETA when can we expect the new release?

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

Your on a pi3 correct?
this release should work: here

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

Sorry, It dosent work, it does not scan and show the home wifi SSID

from farmbot_os.

RickCarlino avatar RickCarlino commented on August 17, 2024

@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.

from farmbot_os.

RickCarlino avatar RickCarlino commented on August 17, 2024

Javascript console is ctrl + shift + J on Linux and Windows. I forget what the hotkey is on Mac.

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

Please find the attached screen shot
farmbot os error

from farmbot_os.

RickCarlino avatar RickCarlino commented on August 17, 2024

@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:

  • What OS are you both on?
  • What kind of router do you have? (I'd like to google and see if your router does any sort of port blocking)
  • Is there any firewall software installed locally or on your router?

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?

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

Thanks Rick,

  1. I am using ubuntu and windows 7.
  2. Ubee cable modem with router
  3. no firewall software.

i did try with setting up my firewall protection to low in my router as well.

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

The wifi sometime work, sometime doesn't.

1476926637901-1890420170

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

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 <[email protected]>

To: FarmBot/farmbot_os [email protected]
Cc: mrmadhu [email protected]; Mention [email protected]
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.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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?

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

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?

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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

from farmbot_os.

RickCarlino avatar RickCarlino commented on August 17, 2024

@jokosup @mrmadhu We're still investigating, but thanks for all the great information so far. It appears to be a driver issue.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

@jokosup can you try to boot your pi without a hdmi cable plugged in?

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

yes, i have tried that. same results.

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

Same result for me as well

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

@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.

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

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

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

@mrmadhu have you created an account on my.farmbot.io first?

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

yes and the id was configured on the wificonfigurator page

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

can you try creating an account on http://staging.farmbot.io and using those same credentials on configurator?

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

do i need to re-image the sd card again ?

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

If wifi configurator comes up you dont, but if its 'bricked' then you will

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

@ConnorRigby it connects to staging and gets a message that "BOT status OK , but no control of stepper

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

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.

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

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

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

@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 ?

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

i am having the same issue as @mrmadhu. no movement at the stepper.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

sorry guys my last comment got lost in transit I guess.

Two things.

  1. Your Arduins need an update. The hardware is all working fine, the Arduino just doesn't have matching firmware. If you guys run Linux I can walk you thru updating them being that In the alpha release I gave you, the OTA updates are broken.
  2. The wifi issue is in fact power related. If it happens again you will need to source a good 5v 2.5 amp power supply.

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

@ConnorRigby will get a linux Vbox, request you to please share the steps

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

ok.

  • install a ubuntu 16.04 image in vbox
  • Make sure you can access your arduino from inside the vbox.
  • find the location of your arduino. (from a terminal you can run ls /dev/ttyACM0 or ls /dev/ttyUSB0)
    • it will probably be one of:
      • /dev/ttyACM0
      • /dev/ttyUSB0
  • run this inside a terminal: wget https://gist.githubusercontent.com/ConnorRigby/b8acfeb91d1c087680efeb489d9c926c/raw/c89db6f40e44fca484635007bf7b1733ecf7fd64/update.sh -qO- | bash -s

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

@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.
screenshot from 2016-10-23 11-44-33

NOTE

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)

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

unable to update the Firmware, it seems stuck in updating FW

screenshot from 2016-10-23 19-45-29

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

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?

from farmbot_os.

roryaronson avatar roryaronson commented on August 17, 2024

@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?

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

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

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

@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.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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.

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

Perfect @ConnorRigby all well with the new image 2.1.0, all works well with 2.1 amps, great job ....

from farmbot_os.

mrmadhu avatar mrmadhu commented on August 17, 2024

there are issues with web app, not sure if we need to put this into a new issue

from farmbot_os.

RickCarlino avatar RickCarlino commented on August 17, 2024

@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.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

Thanks for your patience guys!

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

@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 [email protected] 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
#186 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUK8bqV_WIv4oKI8thNxCaeDQVwWi3Oaks5q2OcUgaJpZM4KXpzj
.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

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 [email protected] 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
#186 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUK8bhq08GTKWcL6IWY60gR9D9VcmRyZks5q2j_OgaJpZM4KXpzj
.

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

@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.

from farmbot_os.

ConnorRigby avatar ConnorRigby commented on August 17, 2024

@jokosup you probably need to reboot your bot.

from farmbot_os.

jokosup avatar jokosup commented on August 17, 2024

i have tried to reboot several times and still not working.

screenshot from 2016-10-25 21-46-57

from farmbot_os.

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.