Skip to content
Mariogrip edited this page Feb 9, 2015 · 19 revisions

Work in progress (More will come)

I cannot connect to OctoPrint with octoDroid:

Check list:

  • Is it correct IP address? (example: 192.168.1.10)
  • Is it correct API key? (example: FE223F4C0E534B3998HE85609D1402C3)
  • Is there any spaces or characters that shouldn't be there?
  • If you are using port remember to add that (example: 192.168.1.10:8080)
  • Have you turned on API in OctoPrint's settings?

if all the things in the check list is correct and it still not works, then try this in your browser: http://(your-ip)/api/job

Should respond something like this:

{
  "progress": {
    "completion": 100.0, 
    "printTime": 4337, 
    "filepos": 1169455, 
    "printTimeLeft": 0
  }, 
  "job": {
    "estimatedPrintTime": 4623.7120055368105, 
    "filament": {
      "tool0": {
        "volume": 7.135578146954084, 
        "length": 2966.6286599999985
      }
    }, 
    "file": {
      "origin": "local", 
      "date": 1423085610, 
      "name": "piplate.gcode", 
      "size": 1169455
    }
  }, 
  "state": "Operational"
}

if it says that you need to provide a API key, than it display as it should, you are just using a newer version of octoprint. if the IP and API is correctly enter in octodroid then it may be a bug in octodroid, so please open an issue: https://github.com/mariogrip/octodroid/issues

if it says something like, cannot find folder or file then you need to upgrade you octoprint

If it displays like it should (as the example shows) and the IP and API is correctly enter in octodroid then it may be a bug in octodroid, so please open an issue: https://github.com/mariogrip/octodroid/issues

If this didn't help you, please open an issue and we will help you as fast as we can: https://github.com/mariogrip/octodroid/issues

How to Develop to OctoDroid's git repository:

Setup:

  1. Download android studio: http://developer.android.com/sdk/index.html
  2. Setup Android studio (http://developer.android.com/sdk/installing/index.html?pkg=studio)
  3. Setup Android packages (http://developer.android.com/sdk/installing/adding-packages.html)
  4. clone octodroid
git clone https://github.com/mariogrip/octodroid.git
  1. Import the project into Android studio

Development docs:

Work in progress