question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: IR Devices do not send signals

See original GitHub issue

Describe The Bug

The associated command should be sent when an IR device is turned on or off, but it is not. There is also no log message for the IR device in the Switchbot App Log

To Reproduce

Declare device as indicated in config section below, then try turning on/off

Expected behavior

IR commands should be sent, and the API call should be noted in the Switchbot App Log

Relevant log output

[14/10/2022, 18:41:18] [SwitchBot] [DEBUG] Others: DEVICENAME On: 0
[14/10/2022, 18:41:38] [SwitchBot] [DEBUG] Others: DEVICENAME On: 1

Please note further: No API call is noted for this IR device in the Switchbot App log.
Interactions with Switchbot Hardware devices work fine, so it should not be an authentication issue.

Config for homebridge-switchbot

"name": "SwitchBot",
            "credentials": {
                    // removed, not relevant to ticket
            },
            "options": {
                "devices": [
                    // removed, not relevant to ticket
                ],
                "irdevices": [
                    {
                        "deviceId": "<DEVICEID>",
                        "configDeviceName": "<DEVICENAME>",
                        "configRemoteType": "Others",
                        "connectionType": "OpenAPI",
                        "customize": true,
                        "customOn": "On",
                        "customOff": "Off",
                        "other": {
                            "deviceType": "Fan",
                            "commandOn": "On",
                            "commandOff": "Off"
                        },
                        "logging": "debug"
                    }
                ]
            },
            "platform": "SwitchBot"

Screenshots

No response

Device & Model

Raspberry Pi 3

Node.js Version

v16.18.0

NPM Version

8.19.2

Homebridge Version

v1.5.0

Homebridge Switchbot Plugin Version

v2.1.1-beta.0

Homebridge Config UI X Plugin Version

v4.50.1

Operating System

Raspbian

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:50

github_iconTop GitHub Comments

1reaction
Kohle81commented, Oct 18, 2022

I have deleted the old device. New device is working.

0reactions
donavanbeckercommented, Oct 18, 2022

Nope your good, go to Homebridge Settings: Screenshot 2022-10-18 at 2 18 35 PM Then Remove Single Cached Accessory: Screenshot 2022-10-18 at 2 19 33 PM

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solving IR Problems - HOW TO GUIDES - HDTV Supply
Most remote controls use infrared light to transmit the signal. The human eye cannot see this light, however a camera can. If you...
Read more >
Test if your remote control sends an infrared (IR) signal - Sony
Try pressing the green POWER on the remote. Some Bluetooth remotes only send IR for the power button. If there's no light or...
Read more >
Apple TV Remote Permanent Volume Up IR Sending
My Apple TV Siri Remote (Series 2) started to send Volume Up permanently to ... Disabling IR in the settings of my ATV...
Read more >
Troubleshooting Guide · crankyoldgit/IRremoteESP8266 Wiki
Check the current and voltage values at the IR LED. Try sending the code using sendRaw() or sendGC() . The ESP8266 is not...
Read more >
TSCM - Common Bugging Frequencies - Granite Island Group
Over the years numerous TSCM and intelligence professionals have asked for an outline of the RF spectrum used by popular bugging devices. Bugging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found