Hi!
I’m trying to control my Dooya shutter motor with RFXtrx433E using the OH2 version of the binding.
I have successfully paired the device with RFXcom using this guide: Forum Topic.
It works like a charm using the RFX Manager software.
Then I installed the binding and tried to configure the control using the same guide. Used the following:
ID1 = 01
ID2 = 01
ID3 = 01
ID4 = 1
Unit Code = 1
Based on these values my combined ID should be 65793.17 which I used to create the thing on PaperUI.
It was not working so I turned on the debug logging for the binding to check what happens. First I encourted an existing bug in the binding (Error when connecting to RFXtrx device and timeout connection) which was solved by using the 2.1.0-Snapshot version of the binding mentioned for this problem on GitHub.
It solved the mentioned problem but the motor control is not working and I have this in my log:
08:14:27.134 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:blinds1:6bb5af78:shutter, command: DOWN
08:14:27.208 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Transmitting message 'Raw data = 09190600001010110100, Packet type = BLINDS1, Seq number = 0, Sub type = T6, Device Id = 65793.17, Command = CLOSE, Signal level = 0, Battery level = 0'
08:14:27.209 [TRACE] [rnal.connector.RFXComSerialConnector] - Send data (len=10): 09190600001010110100
08:14:27.329 [INFO ] [marthome.event.ItemStateChangedEvent] - rfxcom_blinds1_6bb5af78_shutter changed from NULL to 100
08:14:28.914 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'rfxcom_blinds1_6bb5af78_shutter' received command STOP
08:14:28.929 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:blinds1:6bb5af78:shutter, command: STOP
08:14:30.632 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'rfxcom_blinds1_6bb5af78_shutter' received command UP
08:14:30.643 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:blinds1:6bb5af78:shutter, command: UP
08:14:30.691 [INFO ] [marthome.event.ItemStateChangedEvent] - rfxcom_blinds1_6bb5af78_shutter changed from 100 to 0
08:14:33.457 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'rfxcom_blinds1_6bb5af78_shutter' received command STOP
08:14:33.476 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received channel: rfxcom:blinds1:6bb5af78:shutter, command: STOP
It seems to me (based on reading a lot in this forum) it is transmitting wrong signal:
Example:
Data: 09 19 06 00 00 10 10 11 01 00
09 = default
19 = blinds1
06 = T6 subtype
00 = sequence code (don’t really know what it is)
00 = ID1
10 = ID2
10 = ID3
11 = Unit Code
01 = Command Code
00 = Signal Level
Seems to me I’m missing ID4 and I have wrong IDs…
Thanks for the help!