kazcangi / homebridge-pioneer-avr

Pioneer AVR TV plugin for Homebridge
MIT License
9 stars 14 forks source link

Plugin Failing - Troubleshooting Inside #27

Open shmaa01 opened 3 years ago

shmaa01 commented 3 years ago

The plugin seems to be hanging in pioneer-avr.js here:

data = await this.s.sendMessage(command);

I added log output below and I can see data being returned be the avr.

?RGB00 returns --> RGB000PHONO

    socket.on('data', (d) => {
     let data = d
      .toString()
      .replace('\n', '')
      .replace('\r', '');
     resolve(data);
     console.log(data) //output to log here
     socket.end();
    });

I also captured the content of this.s:

TelnetAvr {
  host: '192.168.10.151',
  port: 23,
  lock: {
    readLock: [Function: b],
    writeLock: [Function: c],
    async: {
      readLock: [Function: readLock],
      writeLock: [Function: writeLock]
    }
  }
}
holuspokus commented 1 month ago

If you want you can try homebridge-pioneer-avr-2025