Giter Club home page Giter Club logo

homebridge-mqtt-motionsensor's People

Stargazers

 avatar  avatar

Watchers

 avatar

homebridge-mqtt-motionsensor's Issues

RfRaw combining

Hello,
when a "RfRaw massage" (possible because portisch firmware on the Rf bridge) is transmittet, homebridge stops working. Error massage: "TypeError: Cannot read property 'Data' of undefined". I think this error comes from mqtt-motionssensor does not filter the RfRaw massages quit well. The skript only expects "rfReceived" massages to be transmitted. You can see this at index.js row 66. I am not able to solve this issue because i dont know much about this.. Using RfRaw is quit important to me, to get every outlet work. Thank you.

how does this work?

How does this actually work? I have PIR sensor on my pi zero, can I get it to work with this??

Can't configure PIR

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??

Message to be published

Hi, I'm trying to realize your sensor using mqtt on a raspberry and an esp8266; I need a clarification about the following:
as subscriber, I use the string in the topic "home/livingroom/motionsensor", but what should I use a message to be published?

Thanks for your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.