homebridge-433-arduino icon indicating copy to clipboard operation
homebridge-433-arduino copied to clipboard

Console doesn't send any code

Open pdenissen opened this issue 2 years ago • 5 comments

Hi there,

I'm trying to configure this plugin in my Homebridge installation on a Pi 4b. I have connected a Arduino with RFLink which is connected to the confirmed /dev/ttyACM0 port.

When I trigger any of my 433Mhz switches the console won't log any message. (KAKU switches)

When Homebridge starts, I get this feedback from the plugin in the console:

[07/06/2022, 14:07:41] [Arduino RC Switch Platform] Initializing ArduinoRCSwitch platform...
[07/06/2022, 14:07:41] [Arduino RC Switch Platform] Enabling USB mode using  /dev/ttyACM0

This is my config for the plugin:

{
    "name": "Arduino RC Switch Platform",
    "serial_port": "/dev/ttyACM0",
    "platform": "ArduinoRCSwitch"
}

I'm not sure where to start.

I hope you can help me out to get this to work.

pdenissen avatar Jun 07 '22 12:06 pdenissen

Hard to say, I'd guess the problem is on the hardware side. Are you sure everything is connected right, all pins are selected correctly and that whatever "RFLink" is actually sends the received 433MHz data in the raw form?

normen avatar Jun 10 '22 10:06 normen

Hi Normen, thanks for your reply. Actually i’m pretty sure the hardware is ok. 2 weeks afo it was integrated in my Home Assistant setup.

Is there a way that I can monitor the USB-port on the Pi-side for data to see if there is data being received?

pdenissen avatar Jun 12 '22 06:06 pdenissen

Any received data would appear in the homebridge log. Is the receiver connected to the pins set in the code?

normen avatar Jun 12 '22 08:06 normen

Ah, there also was an issue with the latest arduino versions, maybe try this fix with the arduino code: https://github.com/normen/arduino-433/issues/5

normen avatar Jun 12 '22 14:06 normen

I committed the needed change to the arduino-433 project, so if that was the issue just pull the latest changes and re-flash your arduino.

normen avatar Jun 12 '22 14:06 normen