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

MQTT Sensor not showing up

$
0
0

@kceleslie wrote:

I’m using motion (https://github.com/andrewjfreyer/monitor) to detect bluetooth devices at home. Right now i’m just trying to determine who is home but in the future i’d like to try to figure out where in the house we are.

Following the example in the documentation i should either add to the device_tracker or a sensor node. Here is the config for the sensor

sensor:
 - platform: mqtt
    state_topic: 'monitor/monitor-garage/keith_phone'
    #value_template: '{{ value_json.confidence }}'
    #unit_of_measurement: '%'
    name: 'keith-bluetooth-monitor'
  - platform: mqtt
    state_topic: 'monitor/monitor-garage/alias'
    value_template: '{{ value_json.confidence }}'
    unit_of_measurement: '%'
    name: 'Garage-Kristy-Phone'
    uname_id: garage_kristy_phone

For some reason i cannot see the state of the sensor. It does not show up on the Developer -> States page. I know MQTT is working as i receive other MQTT messages, and i know the “monitor” script is publishing to mqtt as i can see them on my laptop.

I’ve waited a bit to see if it just took a while but the sensors never show up.

When i try with the device_tracker i get a configuration error. Does anyone have it working for either sensor or device_tracker?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles