maxwellhadley / node-red-contrib-rfxcom

node-RED nodes to access an RFXtrx433 transceiver
BSD 2-Clause "Simplified" License
22 stars 13 forks source link

Receive %opening curtain #77

Closed pabloreadi closed 3 years ago

pabloreadi commented 5 years ago

Hello, can I receive the information of the position of the curtain with some node?

maxwellhadley commented 5 years ago

The rfx-blinds-in node can receive messages from some (but not all) types of curtain & blinds remote control handsets. This lets you react to 'open' and 'close' commands sent from the remote, updating your record of the curtain position. However, there is no way of knowing the actual physical position of the curtains, as the curtain motors do not include a radio transmitter.

pabloreadi commented 5 years ago

I'm using somfy with your contribute of node red and RFXtrx433XL to open and close my curtain. I think the somfy motor have radio transmitter, I'll try rfx-blinds-in if I receive the actual physical position. I don't understand why the curtain remote control send the position, the motor must be inform the position, don't you?

maxwellhadley commented 5 years ago

Unfortunately the RFXtrx433 devices cannot receive the RFY protocol used by Somfy, so there is no way to know what commands are being sent from the remote control. I believe this is because Somfy use a different radio channel to most other devices. Also, as far as I know, the Somfy motors are receive-only.

VincentSC commented 4 years ago

Correct, the Somfy devices that are controlled via "RFY" are receive only. After the control is programmed correctly, it will fully go to the upper position with command "up" and lower position with command "down" - AFAIK it's not possible to open it halfway.

Edit: it is possible to stop halfway by timing the speed, set a delay and send "stop" in the payload.

Now experimenting. "Blinds livingroom" sets the msg.topic to "RFY/0xAABBCC/1" (ID "AA", "BB", "CC", Unit "1". The other change nodes set the msg.payload to what I put on their label. Somfy v1

VincentSC commented 4 years ago

Did not know. Somfy has a stop-position besides "up" and "down". See the manual how to program this position. Unfortunately it does not have multiple stop-positions.