Yes I tried different region, different 2.4 GHZ wifi, reset multiples times but still the same issue.
I think I got a lemon.
Yes I tried different region, different 2.4 GHZ wifi, reset multiples times but still the same issue.
I think I got a lemon.
Personally at this point I think they’re all lemons unfortunately .
I got 2. One works, one blinks red.
Same here. One is working nicely, the other blinks red after adding to the Tuya app. Anybody has a fix for that?
Have the exact same problem as bmcgair. Please if anyone finds out a fix share
could someone please share the model file for this tuya motion sensor?
localtuya → configure → reconfigure existing → save configuration entity as model
the model file will be saved in
…/home-assistant/config/custom_components/localtuya/templates/
I found out by myself, here is the template, put it in …/home-assistant/config/custom_components/localtuya/templates/motion-sensor.yaml
- sensor:
friendly_name: Presence
entity_category: diagnostic
id: '101'
platform: sensor
icon: ''
- sensor:
friendly_name: Luminosity
entity_category: diagnostic
id: '103'
platform: sensor
icon: ''
- select:
friendly_name: motion detection sensitivity
entity_category: config
select_options:
'0': 0x
'1': 1x
'2': 2x
'3': 3x
'4': 4x
'5': 5x
'6': 6x
'7': 7x
'8': 8x
'9': 9x
'10': 10x
restore_on_reconnect: false
is_passive_entity: false
dps_default_value: '6'
id: '105'
platform: select
icon: ''
- select:
friendly_name: micro-motion detection sensitivity
entity_category: config
select_options:
'0': 0x
'1': 1x
'2': 2x
'3': 3x
'4': 4x
'5': 5x
'6': 6x
'7': 7x
'8': 8x
'9': 9x
'10': 10x
restore_on_reconnect: false
dps_default_value: '0'
is_passive_entity: false
id: '107'
platform: select
icon: ''
- number:
friendly_name: lower limit motion detection (cm)
entity_category: config
min_value: 0.0
max_value: 600.0
step_size: 10.0
restore_on_reconnect: false
is_passive_entity: false
dps_default_value: '0'
id: '110'
platform: number
icon: ''
- number:
friendly_name: upper limit motion detection (cm)
entity_category: config
min_value: 0.0
max_value: 600.0
step_size: 10.0
restore_on_reconnect: false
is_passive_entity: false
dps_default_value: '500'
id: '109'
platform: number
icon: ''
- number:
friendly_name: lower limit micro-motion detection (cm)
entity_category: config
min_value: 0.0
max_value: 600.0
step_size: 10.0
restore_on_reconnect: false
is_passive_entity: false
dps_default_value: '0'
id: '112'
platform: number
icon: ''
- number:
friendly_name: upper limit micro-motion detection (cm)
entity_category: config
min_value: 0.0
max_value: 600.0
step_size: 10.0
restore_on_reconnect: false
is_passive_entity: false
dps_default_value: '400'
id: '111'
platform: number
icon: ''
- select:
friendly_name: Nobody time setting
entity_category: config
select_options:
'30': 30s
'60': 60s
'120': 120s
'180': 180s
restore_on_reconnect: false
dps_default_value: '30'
is_passive_entity: false
id: '104'
platform: select
icon: ''