anthonywebb / homebridge-cbus

CBus plugin for homebridge
MIT License
35 stars 20 forks source link

Accessory Types #112

Open brianza opened 3 years ago

brianza commented 3 years ago

Great App!

Question: On the README.md you mention that

Accessory valid values are "light", "switch", "dimmer", "shutter", "motion", "security", "trigger" and "contact".

However on your exmaple I also see other types being: "fan", "temperature", 'Smoke"

Where can we get an updated list of values and what each does please?

JasonY00 commented 3 years ago

Hi Brianza,

The types supported are: lights, switches (with optional timeout), dimmers, shutter relays, fans, motion sensors, security presence detectors, trigger events, contact sensors, smoke Sensor and temperature sensors. Examples are given for each of the supported accessory types. It appears that the "type" list was not updated to reflect the latest accessories that were added.

Cheers

Jason

brianza commented 3 years ago

Thank you for the information.

When you say switches are you refering to CBUS switches such as the NEO or something else please?

rgs Brian

JasonY00 commented 3 years ago

Hi Brian,

A switch is something that turns a device on/off. It is virtual. An example may be a watering system valve. This is why there is an active duration option. You can turn it “on” for say, 10mim and then it will turn off by itself. Another example may be to Open/Stop/Close a garage door that requires a “pulse” to perform the function. It could also be used for a C-Bus controlled GPO that you plug a device into. For example an iron which you could turn off remotely if you forgot. It’s not a c-bus wall switch but can be set up to perform the same function from your phone/iPad/Siri/Google/Alexa/etc.

Hope this helps.

Cheers

Jason

brianza commented 3 years ago

Thank you. Got it.

DaveGraham123456 commented 3 years ago

Hi guys. I thought I would add my PIRL montion sensor, which is a 5753L

I put in the config but then Homebridge won't run until I remove it. I tried adding the unit, it didn't work. I tried adding a new Group address and set the "Any Motion" to this address, it did not like this either.

How should it work? what config do I need to put in?

JasonY00 commented 3 years ago

Hi Dave,

look at this thread. It may help you.

https://www.cbusforums.com/threads/c-bus-homebridge-accessory-motion-sensor-no-response.10352/#post-55721

Remember, that your PIR is merely turning a Group Address ON/OFF in C-Bus that YOU choose. You are not querying the PIR directly. So don't go programming the C-Bus Address of the PIR into homebridge.

In homebridge you just set the Group Address up as a motion sensor and you are good to go.

Cheers

Jason