Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96123

RFXtrx devices with rotating code

$
0
0

@boywiz wrote:

Hi

I have a couple of 433 Security Alarm devices that i am trying to use but they have a rotating code in the middle, I wondered if there is a way to use regex for the devices. so to illustrate below i effectively want to do the following as i like the idea of the codes rotating, I know these devices use to work ing Demoticz but i don’t want to run that again. or an additional powered device

  - platform: rfxtrx
    automatic_add: True
    devices:
     ......
      077500<regex>990580:
        name: Office PIR
        device_class: motion

When i track it in the RFXmngr i can see in the small tests that i have done that the first 6 and last stay the same but are unique per device, what i don’t want is lots of 1-time devices. below is output from the test the front and last have been changed to avoid publically exposing my devices.

All help greatly appreciated.
Mo

------------------------------------------------
17/03/2020 09:07:23:927= 077500**2600**990580
Packettype    = Chime
subtype       = Byron SX
Sequence nbr  = 38
ID            = 0095 decimal:149
Sound         = SX21 Tubular 3 notes
Signal level  = 8  -56dBm
------------------------------------------------
17/03/2020 09:14:32:565= 077500**2700**990580
Packettype    = Chime
subtype       = Byron SX
Sequence nbr  = 39
ID            = 0095 decimal:149
Sound         = SX21 Tubular 3 notes
Signal level  = 7  -64dBm
------------------------------------------------
17/03/2020 09:14:37:052= 077500**2800**990580
Packettype    = Chime
subtype       = Byron SX
Sequence nbr  = 40
ID            = 0095 decimal:149
Sound         = SX21 Tubular 3 notes
Signal level  = 8  -56dBm
------------------------------------------------
17/03/2020 09:14:38:472= 077500**2900**990580
Packettype    = Chime
subtype       = Byron SX
Sequence nbr  = 41
ID            = 0095 decimal:149
Sound         = SX21 Tubular 3 notes
Signal level  = 8  -56dBm

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 96123

Trending Articles