I have a set of motion sensors “PIR DETECTOR MC-355DMT” with my alarm that I would use with Homa Assistant (Hass.io) and RfxTrx
But they are only recognized as sensors and I’m not able to get their status.
Hass.io 0.90.0 to 0.96.0
RFXtrx433XL firmware 1039
In RfxMng they are seen as Atlantic motion censors :
Packettype = Security1 subtype = Meiantech/Atlantic/Aidebao Sequence nbr = 4 id1-3 = 846AF8 decimal:8678136 status = Motion battery level = OK Signal level = 6 -72dBm
I can “see” them in debug log when motion is detected, for example :
DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 84d24e_32 Class: RFXtrxDevice Sub: 8, Pkt_id: 0820081984d24e0479)
I’have tried autoadd=true on binary sensor, switch and sensor config files, but they are only seen with autoadd=True in sensor.yaml
If I add them manually in the binary sensor config file, I can see them in “unused entities” dashboard but their state is not catched, they are always off.
So I’ve tried to catch their events (with fire_event: True in the sensors config file) and make a censor template, but I event can’t catch when their state go to “Motion”.
When they go to “Motion”, they don’t change their status (there is no OFF_DELAY option available here).
My code to see a change in automation.yaml :
- alias: Motion 02 TimerStart id: 'motion_02_timer_start' trigger: - platform: state entity_id: sensor.motion_02 to: 'Motion' action: - service: persistent_notification.create data: message: "Motion O2 !!! " title: "Trigger !"
Can someone help me to
- make a working template (with working trigger)
- or be able to change them as binary sensors
Thank you in advance !