Git Product home page Git Product logo

homebridge-octoprint's Issues

Document the "server" config

Please update the readme and sample configurations to include the "server" config variable.

It also needs to be clarified that protocol (http[s]://) is required (#3), so either note that in the documentation or improve how that is handled.

Multiple Printers Not Displaying Activity

I have 4 printers in my config; Only the first printer added shows any activity. The other three printers in the list are visible but always display as "off" even when printing. I would like it if all of my printers showed as on and displayed the job progress. Is this posible? I can see from the logs that the plugin detects the printers and gets that they're processing jobs.

This is my config, api key obfuscated;

"accessories": [
        {
            "accessory": "OctoPrint",
            "name": "One S5",
            "api_key": "********************************"
        },
        {
            "accessory": "OctoPrint",
            "name": "Other S5",
            "api_key": "********************************"
        },
        {
            "accessory": "OctoPrint",
            "name": "One CR-10",
            "api_key": "********************************"
        },
        {
            "accessory": "OctoPrint",
            "name": "Other CR-10",
            "api_key": "********************************"
        },

Logs:

[2019-3-17 15:32:29] Loaded plugin: homebridge-octoprint
[2019-3-17 15:32:29] Registering accessory 'homebridge-octoprint.OctoPrint'
[2019-3-17 15:32:29] Registering accessory 'homebridge-octoprint.OctoPrint'
[2019-3-17 15:32:29] [One S5] Initializing OctoPrint accessory...
[2019-3-17 15:32:29] [One S5] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [One S5] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [Other S5] Initializing OctoPrint accessory...
[2019-3-17 15:32:29] [Other S5] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [Other S5] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [One CR-10] Initializing OctoPrint accessory...
[2019-3-17 15:32:29] [One CR-10] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [One CR-10] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [Other CR-10] Initializing OctoPrint accessory...
[2019-3-17 15:32:29] [Other CR-10] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:29] [Other CR-10] Initialized OctoPrint Accessory at http://octopi.local
[2019-3-17 15:32:30] [Other S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:30] [Other S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:30] [One S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:30] [One S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:30] [One CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:30] [One CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:30] [Other CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:30] [Other CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:48] [One S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:48] [One S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:48] [Other S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:48] [Other S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:48] [One CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:48] [One CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:32:48] [Other CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:32:48] [Other CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:33:03] [One S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:33:03] [One S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:33:03] [Other S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:33:03] [Other S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:33:03] [One CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:33:03] [One CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:33:03] [Other CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:33:03] [Other CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:39:06] [Other S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:39:06] [Other S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:39:06] [One CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:39:06] [One CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:39:06] [Other CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:39:06] [Other CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:39:06] [One S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:39:06] [One S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:41:56] [Other S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:41:56] [Other S5] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:41:56] [One CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:41:56] [One CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:41:56] [Other CR-10] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:41:56] [Other CR-10] Getting current job data: GET http://octopi.local/api/job
[2019-3-17 15:41:56] [One S5] Getting current printing state: GET http://octopi.local/api/printer
[2019-3-17 15:41:56] [One S5] Getting current job data: GET http://octopi.local/api/job

iOS says: Accessory not responding

hi,

I am trying to get homebridge-octoprint running but unfortunately it fails every time... The plugin is installed and configured in the config.json correctly.
I testet the server name and API with postman and got a proper response but the home app on iOS is still saying: 'no response'

every time a restart/ open the home app on iOS, the homebridge log says:

3|homebridge  | [5/7/2020, 10:54:56] [OctoPrint] Getting current printing state: GET 192.xxx.xxx.xx:port/api/printer
3|homebridge  | [5/7/2020, 10:54:56] [OctoPrint] Getting current job data: GET 192.xxx.xxx.xx:port/api/job
3|homebridge  | [5/7/2020, 10:54:56] [OctoPrint] Getting current printing state: GET 192.xxx.xxx.xx:port/api/printer

I also tested to configure the "server" key with IP and correct port in config.json but without success.

thank you for any kind of idea to solve this problem.

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.