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

Can't configure PIR #3

Open
wroblewski6 opened this issue Apr 12, 2018 · 0 comments
Open

Can't configure PIR #3

wroblewski6 opened this issue Apr 12, 2018 · 0 comments

Comments

@wroblewski6
Copy link

Hello i have Sonoff bridge rf and PIR (motion detector) In console I get
01:55:45 MQT: tele/Bridge/RESULT = {"RfReceived":{"Sync":12470,"Low":420,"High":1220,"Data":"D691DE","RfKey":"None"}}

And i configure accessory like this

{
"accessory": "mqtt-sonoffrf-receiver",
"name": "Motion",
"url": "mqtt://192.168.1.16", as this is my rpi ip
"topic": "tele/Bridge/RESULT", topic of my Bridge RF Is Bridge
"username": "ppp",
"password": "ppp", My password and username
"rfcode": "D691DE", the code form PIR
"rfkey": "None",
"ondelay": "time in ms while the sensor is active, the default is 10000", Do I have to change it ??
"accessoryservicetype": "'MotionSensor' (default) or 'StatelessProgrammableSwitch'"
}

it does not work and I get error

Apr 12 01:06:08 raspberrypi homebridge[13577]: [2018-4-12 01:06:08] [Motion] Initializing mqtt-sonoffrf-receiver accessory...
Apr 12 01:06:08 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Apr 12 01:06:08 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Apr 12 01:06:08 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

the code was validated by son so this is not a problem.

Can you tell me what is wrong with my accessory??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant