Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homebridge-optoma-projector-telnet fails to start accessory #1846

Open
3 of 7 tasks
davidjbradshaw opened this issue Dec 16, 2022 · 2 comments
Open
3 of 7 tasks

homebridge-optoma-projector-telnet fails to start accessory #1846

davidjbradshaw opened this issue Dec 16, 2022 · 2 comments
Labels
discovery Issues reported without enough information plugins Issues related to plugins

Comments

@davidjbradshaw
Copy link

Description
This plugin connects to Optoma Projectors and allows HomeKit to turn them on and off

Expected behavoir
Connect to projector and create device in HomeKit

Plugin name
homebridge-optoma-projector-telnet

Please report the issue to the plugin developer
simonrauch/homebridge-optoma-projector-telnet#6

Version
1.0.7

Did you upgrade
Please let us know if you upgraded from a previous version.

  • Yes
  • No

Pervious version
None

Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?
Did you perform an upgrade from HOOBS 2.1.1? Some things are different.

  • Yes
  • No

What device are you using?
Please let us know the device you are running HOOBS on.

  • HOOBS Box
  • HOOBS SD Card
  • Custom Install

If this is a custom install, what's your operating system?
Raspberry PI OS-lite (64 bit) Bullseye

Post your config

{
    "accessories": [],
    "platforms": [
        {
            "platform": "homebridge-optoma-projector-telnet",
            "accessories": [
                {
                    "accessory": "OptomaProjectorTelnet",
                    "name": "Projector",
                    "address": "192.168.0.139",
                    "model": "UHZ65",
                    "projectorId": 1
                }
            ]
        }
    ]
}

Post your log
You can get the log from the intercafe. This is in the Log section.


16/12/2022, 22:21:54hub is running on port 80
16/12/2022, 22:21:56Pi Hole starting
16/12/2022, 22:21:56Niko Home Control starting
16/12/2022, 22:21:57Homeconnect Bridge starting
16/12/2022, 22:21:58Optoma Projector Telnet Bridge starting
16/12/2022, 22:21:59Pi HoleLoaded plugin 'homebridge-pihole'
16/12/2022, 22:22:00Pi HoleLoading 2 accessories...
16/12/2022, 22:22:00Pi HoleBridge is running on port 51826.
16/12/2022, 22:22:03Optoma Projector Telnet BridgeLoaded plugin 'homebridge-optoma-projector-telnet'
16/12/2022, 22:22:03Optoma Projector Telnet BridgeLoading 1 platforms...
16/12/2022, 22:22:03Optoma Projector Telnet BridgeBridge is running on port 51856.

Additional context
I added extra logging to this plugin, but as far as I can tell it never calls the constructor.

@davidjbradshaw davidjbradshaw added discovery Issues reported without enough information plugins Issues related to plugins labels Dec 16, 2022
@davidjbradshaw davidjbradshaw changed the title homebridge-optoma-projector-telnet fails to start homebridge-optoma-projector-telnet fails to start accessory Dec 16, 2022
@davidjbradshaw
Copy link
Author

davidjbradshaw commented Dec 16, 2022

I seem to have made some progress by directly editing /var/lib/hoobs/optomaprojectortelnetbridge/config.json

I had to do this using vi, when I try and do it in Hoobs it just hangs on the save.

Edited Version

{
  "bridge": {
    "name": "Optoma Projector Telnet Bridge",
    "pin": "xxx-xx-xxx",
    "username": "C7:91:9F:39:84:5C",
    "advertiser": "bonjour-hap"
  },
  "accessories":[
    {
        "accessory": "OptomaProjectorTelnet",
        "name": "Projector",
        "address": "192.168.0.139",
        "model": "UHZ65",
        "projectorId": 1
    }
  ]
}

Original Version

{
  "bridge": {
    "name": "Optoma Projector Telnet Bridge",
    "pin": "xxx-xx-xxx",
    "username": "C7:91:9F:39:84:5C",
    "advertiser": "bonjour-hap"
  },
  "accessories": [],
  "platforms": [
    {
      "platform": "homebridge-optoma-projector-telnet",
      "accessories": [
        {
          "accessory": "OptomaProjectorTelnet",
          "name": "Projector",
          "address": "192.168.0.139",
          "model": "UHZ65",
          "projectorId": 1
        }
      ]
    }
  ]
}

@davidjbradshaw
Copy link
Author

davidjbradshaw commented Dec 16, 2022

It would be really good to understand why the above change to the config makes a difference, I noticed your Pi-Hole template also moves accessories up a level and removes platforms. But the web interface seems to get upset when I try and do this directly in Hoobs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery Issues reported without enough information plugins Issues related to plugins
Projects
None yet
Development

No branches or pull requests

1 participant