Davit
July 25, 2020, 6:05pm
1
i was happily controlling my awning using RFXTRX433E quite some time, but with 0.113 update my setup got broken.
This was my cover before the update
cover:
- platform: rfxtrx
automatic_add: false
devices:
0919060063000AB10000:
name: sun screen
i moved it to configuration.yaml as was advised in the changes log as follows:
rfxtrx:
device: /dev/ttyUSB0
debug: true
devices:
# shade - markiza
0919060063000AB10000:
no joy - does not work. when the system starts it says the device is unavailable and suggests me to remove it.
I then looked at the RFXCOM documents where it suggests the cover to be started with 071a0000 id. So i added the following line to the RFXCOM config
071a000063000AB01:
still no joy.
here is the reading from Rfx manager:
22/05/2019 08:41:41:867
Packettype = BLINDS1
subtype = DC106
Sequence nbr = 1
id1-4 = 63000AB decimal:103809195
Unit = 1
Command = Open
Signal level = 7 -64dBm
Can you help to revive my awning control?
thank you.
marxkemp
(marxkemp)
July 25, 2020, 6:35pm
2
Davit:
071a0000
In your new config: i’m missing this: automatic_add: true
Davit
July 25, 2020, 6:39pm
3
i had an impression that automatic_add: true is used when you don’t know the IDs of your RF devices. But in my case i know the device IDs. Moreover, the devices used to work before the 0.113 update.
Are you saying that if i add that line, it will start working?
marxkemp
(marxkemp)
July 25, 2020, 6:44pm
4
Guess thats true, but worth a try? I’m using HA since two days… so no expert here
I’m having trouble with a doorsensor’s state not responding after the update. It goes on, but not off when closing the door.
Davit
July 29, 2020, 6:11pm
5
So i ended up removing all devices from rfxtrx and use rfxtrx.send service in a script to open and close the cover.
Configuration.yaml
rfxtrx:
device: /dev/ttyUSB0
debug: true
automatic_add: false
cover:
- platform: template
covers:
markiza:
friendly_name: "Markiza"
position_template: "{{ states('input_number.markiza_pos')}}"
open_cover:
service: script.turn_on
data:
entity_id: script.markiza_open_rfx_send
close_cover:
service: script.turn_on
data:
entity_id: script.markiza_close_rfx_send
stop_cover:
service: script.turn_on
data:
entity_id: script.markiza_stop_rfx_send
script.yaml
markiza_close_rfx_send:
sequence:
- service: rfxtrx.send
data:
event: 0919060063000AB10100
markiza_open_rfx_send:
sequence:
- service: rfxtrx.send
data:
event: 0919060063000AB10000
markiza_stop_rfx_send:
sequence:
- service: rfxtrx.send
data:
event: 0919060063000AB10200
Although it’s a nice workaround, it’s not supposed to work like that.
The “071a0000” id is for RFY covers, yours is a different type.
Nothing seems really off in configuration below, the code seems valid. Could you add a screenshot of how it looks like in Home Assistant? Do you see the device and also entities or only the device?
rfxtrx:
device: /dev/ttyUSB0
debug: true
devices:
# shade - markiza
0919060063000AB10000:
Davit
July 30, 2020, 9:15am
7
Hi Rob,
thank you for the advice.
I tried again - it is working now. Not sure what was the reason - probably something has been corrected in 0.113.2 ?
Anyway - it works now with the config you mentioned.
I brought back my previous setup and removed the scripts.
There is no difference in the code base of 0.113.2 and 0.113.0 that explains the difference, although it’s hard to judge what was going wrong without screenshots.
Good anyway that you got it working
@Davit : what is the final code that made it all work? I want to integrate CoCo cover in my HA.
seccho
(El Ƨecchone)
August 18, 2020, 4:49pm
10
Hi
Can’t get mine to work.
rfxtrx:
device: /dev/ttyUSB0
automatic_add: true
debug: true
devices: 071a000005040202
cover:
- platform: rfxtrx
automatic_add: true
devices:
071a000005040202:
name: Sonnenstoren
It’s not available. May someone could help?
Thx
Remove the cover part using platform setup and change to the following:
rfxtrx:
device: /dev/ttyUSB0
automatic_add: true
debug: true
devices:
071a000005040202: