Git Product home page Git Product logo

Comments (4)

RickCarlino avatar RickCarlino commented on July 18, 2024

A few questions:

  1. Which server are you trying to connect to?
  2. Did you sign up for an account on that server using the browser already?
  3. Did you use one of the stable release versions?

from farmbot_os.

airlinepilot avatar airlinepilot commented on July 18, 2024
  1. I get an error when i connect my server but your server not error.
  2. Yes I do.
  3. yes I do.

from farmbot_os.

airlinepilot avatar airlinepilot commented on July 18, 2024

In file farmbot-raspberry-pi-controller/lib/farmbot-pi.rb

def initialize
@rest_client = FBPi::RPiRestClient.new(WEBAPP_URL)
uuid = @rest_client.device.current["uuid"] // this is error ?
token = @rest_client.config.token
@mqtt = MQTTAdapter.new(uuid, token)
@status_storage = FBPi::StatusStorage.new("db/bot_status.pstore")
@bot = FBPi::BotDecorator.build(@status_storage, @mqtt, @rest_client)
end

from farmbot_os.

RickCarlino avatar RickCarlino commented on July 18, 2024

@airlinepilot The RPi controller was built to run on other servers- you don't need to change the source code to use your own server. We use different servers when we develop FarmBot. For example, I have a local server, a staging server and a public server. When I need to use the public server instead of my local server, I just re-run setup.rb.

Did you run setup.rb already? If so, did you include the port number? Make sure you type your API URL in this manner: your-server.com:3333 (exclude protocol, but do include port number).

Thanks for bringing the issue to our attention- please let me know if that helps.

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.