You have connected the Dallas sensor to the status led gpio2 pin (d4)
So every time it tries to retrieve data from the Dallas temperature sensor it will blink.
So if you want to use the Dallas sensor maybe choose a different pin for it.
/Mattias
Thank you for the help, I didn’t remember, silly mistake. I changed the dallas to be on D6 and the PIR trigger problem still persists. Read all the way to the end.
I found if I add the following to my code the problem doesn’t appear… and the dallas sensor is found on boot.
Here’s some more from the logs… notice the pattern. None of the PIR triggers were triggered by movement.
[17:17:23][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:17:23][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:17:23][D][light:084]: Transition length: 7.5s
[17:17:23][D][main:094]: LED lights are OFF
[17:17:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:17:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:17:40][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:17:41][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:17:41][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:17:41][D][light:084]: Transition length: 7.5s
[17:17:41][D][main:094]: LED lights are OFF
[17:18:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=24.0°C
[17:18:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 24.00000 °C with 1 decimals of accuracy
[17:18:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=24.0°C
[17:18:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 24.00000 °C with 1 decimals of accuracy
[17:18:40][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:18:41][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:18:41][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:18:41][D][light:084]: Transition length: 7.5s
[17:18:41][D][main:094]: LED lights are OFF
[17:19:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:19:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:19:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=24.0°C
[17:19:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 24.00000 °C with 1 decimals of accuracy
[17:19:40][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:19:41][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:19:41][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:19:41][D][light:084]: Transition length: 7.5s
[17:19:41][D][main:094]: LED lights are OFF
[17:20:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:20:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:20:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:20:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:21:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:21:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:21:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:21:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:21:40][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:21:41][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:21:41][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:21:41][D][light:084]: Transition length: 7.5s
[17:21:41][D][main:094]: LED lights are OFF
[17:22:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:22:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:22:10][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:22:11][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:22:11][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:22:11][D][light:084]: Transition length: 7.5s
[17:22:11][D][main:094]: LED lights are OFF
[17:22:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=24.0°C
[17:22:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 24.00000 °C with 1 decimals of accuracy
[17:23:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:23:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:23:10][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:23:11][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:23:11][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:23:11][D][light:084]: Transition length: 7.5s
[17:23:11][D][main:094]: LED lights are OFF
[17:23:40][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=23.9°C
[17:23:40][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 23.93750 °C with 1 decimals of accuracy
[17:23:40][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state ON
[17:23:41][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[17:23:41][D][light:035]: 'FastLED WS2812B Light' Setting:
[17:23:41][D][light:084]: Transition length: 7.5s
[17:23:41][D][main:094]: LED lights are OFF
[17:24:10][D][dallas.sensor:153]: 'Bedroom Inside Temperature': Got Temperature=24.0°C
[17:24:10][D][sensor:121]: 'Bedroom Inside Temperature': Sending state 24.00000 °C with 1 decimals of accuracy
And if I remove the code for the dallas… I get…
[16:56:15][D][binary_sensor:036]: 'Bdrm PIR Sensor': Sending state OFF
[16:56:15][D][light:035]: 'FastLED WS2812B Light' Setting:
[16:56:15][D][light:084]: Transition length: 7.5s
[16:56:15][D][main:094]: LED lights are OFF