MoeweX / homebridge-octoprint

Octoprint Plugin for Homebridge
MIT License
12 stars 7 forks source link

iOS says: Accessory not responding #3

Open lowrents opened 4 years ago

lowrents commented 4 years ago

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.

sebcbien37 commented 1 year ago

Hi, I have the same problem.

jklewa commented 1 year ago

Be sure to include the protocol (http://) and not just the address (192.xxx.xxx.xx:port)

{
    "accessory": "OctoPrint",
    "name": "OctoPrint",
    "server": "http://192.168.0.123:5000",
    "api_key": "xxxxx"
}