jlamendo/ha-sensor.owlet

Unable to get data - Is my setup corroect

Closed this issue · 4 comments

Him just seeing if i could get this work work
Below is my yaml setup. Im located in Australia, so not sure if i need to change the region?

- platform: owlet
  username: xxxxxxxxxxxxxxxxxxxx
  password: xxxxxxxxxxxxxxxxxx
  region: world

- platform: template
  sensors:
    owlet_heart_rate:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.heart_rate}}"
      unit_of_measurement: BPM
    owlet_spo2:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.oxygen_saturation}}"
      unit_of_measurement: SPO2
    owlet_movement:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.movement}}"
      unit_of_measurement: '%'
    owlet_battery:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.battery}}"
      unit_of_measurement: '%'
    owlet_rssi:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.ble_rssi}}"
      unit_of_measurement: dBm
    owlet_monitoring_status:
      value_template: "{{(states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.active) and (states.sensor.owlet_smart_sock_ac000w016647961.state == 'Connected')}}"
      unit_of_measurement: boolean
    owlet_connection:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.state}}"
      unit_of_measurement: boolean
    owlet_tachycardia_alert:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.HIGH_HR_ALRT}}"
      unit_of_measurement: boolean
    owlet_bradycardia_alert:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.LOW_HR_ALRT}}"
      unit_of_measurement: boolean
    owlet_hypoxia_alert:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.LOW_OX_ALRT}}"
      unit_of_measurement: boolean
    owlet_lobatt_alert:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.LOW_BATT_ALRT}}"
      unit_of_measurement: boolean
    owlet_read_integrity_alert:
      value_template: "{{states.sensor.owlet_smart_sock_xxxxxxxxx.attributes.LOW_INTEG_READ}}"
      unit_of_measurement: boolean

what does the log says?

what does the log says?

what does the log says?
Just getting this..
i checked the password multiple times

Owlet API Could not Authenticate against Firebase: 400 Client Error: Bad Request for url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyCsDZ8kWxQuLJAMVnmEhEkayH1TSxKXfGA

Do you have Adguard or pihole installed?
For me that was the culprit and adding some of owlet services to the whitelist fixed my problem.
However, it seems the password is wrong.
Ensure you can access the owlet website with the password and login you used for the sensor here.

Sorted, wrong password