This document provides a comprehensive reference for all MQTT topics available on the Everything Presence Lite sensor, including how to read current values and set new configurations. I created this to help me remember how to use this sensor without having to use HomeAssistant.
MQTT Broker: 192.168.178.65
Base topic: everything-presence-lite
- Light Controls
- Configuration Settings (Numbers)
- Sensors
- Binary Sensors
- Switches
- Status Topics
- Update Information
Control the ESP32 status LED.
State Topic:
everything-presence-lite/light/esp32_led/state
Command Topic:
everything-presence-lite/light/esp32_led/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/light/esp32_led/state" -v
Expected Response:
everything-presence-lite/light/esp32_led/state {"color_mode":"onoff","state":"OFF","color":{}}
Set Example (Turn ON):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/light/esp32_led/command" -m '{"color_mode":"onoff","state":"ON","color":{}}'
Set Example (Turn OFF):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/light/esp32_led/command" -m '{"color_mode":"onoff","state":"OFF","color":{}}'
These topics allow you to configure various aspects of the sensor.
Set the maximum detection distance (in centimeters).
State Topic:
everything-presence-lite/number/max_distance/state
Command Topic:
everything-presence-lite/number/max_distance/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/max_distance/state" -v
Expected Response:
everything-presence-lite/number/max_distance/state 400.000000
Set Example (Set to 4 meters):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/max_distance/command" -m "400"
Set the delay before occupancy turns off after no movement (in seconds).
State Topic:
everything-presence-lite/number/occupancy_off_delay/state
Command Topic:
everything-presence-lite/number/occupancy_off_delay/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/occupancy_off_delay/state" -v
Expected Response:
everything-presence-lite/number/occupancy_off_delay/state 15.000000
Set Example (Set to 30 seconds):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/occupancy_off_delay/command" -m "30"
Set the installation angle of the sensor (in degrees).
State Topic:
everything-presence-lite/number/installation_angle/state
Command Topic:
everything-presence-lite/number/installation_angle/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/installation_angle/state" -v
Expected Response:
everything-presence-lite/number/installation_angle/state 0.000000
Set Example (Set to 45 degrees):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/installation_angle/command" -m "45"
Configure the boundaries of Zone 1.
State Topics:
everything-presence-lite/number/zone_1_begin_x/state
everything-presence-lite/number/zone_1_end_x/state
everything-presence-lite/number/zone_1_begin_y/state
everything-presence-lite/number/zone_1_end_y/state
everything-presence-lite/number/zone_1_occupancy_off_delay/state
Command Topics:
everything-presence-lite/number/zone_1_begin_x/command
everything-presence-lite/number/zone_1_end_x/command
everything-presence-lite/number/zone_1_begin_y/command
everything-presence-lite/number/zone_1_end_y/command
everything-presence-lite/number/zone_1_occupancy_off_delay/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/zone_1_begin_x/state" -v
Expected Response:
everything-presence-lite/number/zone_1_begin_x/state -4000.000000
Set Example (Set Zone 1 X-begin):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/zone_1_begin_x/command" -m "-3000"
Similar to Zone 1, Zones 2-4 can be configured with the same pattern.
Example for Zone 2:
# Read
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/zone_2_begin_x/state" -v
# Set
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/zone_2_begin_x/command" -m "-3000"
Configure areas where occupancy detection should be masked.
State Topics:
everything-presence-lite/number/occupancy_mask_1_begin_x/state
everything-presence-lite/number/occupancy_mask_1_end_x/state
everything-presence-lite/number/occupancy_mask_1_begin_y/state
everything-presence-lite/number/occupancy_mask_1_end_y/state
Command Topics:
everything-presence-lite/number/occupancy_mask_1_begin_x/command
everything-presence-lite/number/occupancy_mask_1_end_x/command
everything-presence-lite/number/occupancy_mask_1_begin_y/command
everything-presence-lite/number/occupancy_mask_1_end_y/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/occupancy_mask_1_begin_x/state" -v
Set Example:
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/occupancy_mask_1_begin_x/command" -m "-3000"
Set an offset value for the light sensor readings.
State Topic:
everything-presence-lite/number/illuminance_offset/state
Command Topic:
everything-presence-lite/number/illuminance_offset/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/number/illuminance_offset/state" -v
Expected Response:
everything-presence-lite/number/illuminance_offset/state 0.000000
Set Example (Set offset to 10):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/number/illuminance_offset/command" -m "10"
These topics provide read-only sensor information.
Light level sensor (in lux).
State Topic:
everything-presence-lite/sensor/illuminance/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/sensor/illuminance/state" -v
Expected Response:
everything-presence-lite/sensor/illuminance/state 15.5
Information about detected targets (up to 3 targets).
State Topics for Target 1:
everything-presence-lite/sensor/target_1_x/state
everything-presence-lite/sensor/target_1_y/state
everything-presence-lite/sensor/target_1_speed/state
everything-presence-lite/sensor/target_1_resolution/state
everything-presence-lite/sensor/target_1_angle/state
everything-presence-lite/sensor/target_1_distance/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/sensor/target_1_distance/state" -v
Expected Response:
everything-presence-lite/sensor/target_1_distance/state 1310
Similar topics exist for targets 2 and 3.
Number of targets detected in each zone.
State Topics:
everything-presence-lite/sensor/zone_1_target_count/state
everything-presence-lite/sensor/zone_2_target_count/state
everything-presence-lite/sensor/zone_3_target_count/state
everything-presence-lite/sensor/zone_4_target_count/state
everything-presence-lite/sensor/occupancy_mask_1_target_count/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/sensor/zone_1_target_count/state" -v
Expected Response:
everything-presence-lite/sensor/zone_1_target_count/state 1
Firmware version of the mmWave sensor.
State Topic:
everything-presence-lite/sensor/mmwave_firmware/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/sensor/mmwave_firmware/state" -v
Expected Response:
everything-presence-lite/sensor/mmwave_firmware/state V0.00
These topics provide binary (ON/OFF) state information.
Main occupancy detection for the entire sensing area.
State Topic:
everything-presence-lite/binary_sensor/occupancy/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/binary_sensor/occupancy/state" -v
Expected Response:
everything-presence-lite/binary_sensor/occupancy/state ON
Occupancy detection for each configured zone.
State Topics:
everything-presence-lite/binary_sensor/zone_1_occupancy/state
everything-presence-lite/binary_sensor/zone_2_occupancy/state
everything-presence-lite/binary_sensor/zone_3_occupancy/state
everything-presence-lite/binary_sensor/zone_4_occupancy/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/binary_sensor/zone_1_occupancy/state" -v
Expected Response:
everything-presence-lite/binary_sensor/zone_1_occupancy/state ON
Active status for each potential target.
State Topics:
everything-presence-lite/binary_sensor/target_1_active/state
everything-presence-lite/binary_sensor/target_2_active/state
everything-presence-lite/binary_sensor/target_3_active/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/binary_sensor/target_1_active/state" -v
Expected Response:
everything-presence-lite/binary_sensor/target_1_active/state ON
These topics allow toggling specific features.
Control for the Bluetooth functionality.
State Topic:
everything-presence-lite/switch/mmwave_bluetooth/state
Command Topic:
everything-presence-lite/switch/mmwave_bluetooth/command
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/switch/mmwave_bluetooth/state" -v
Expected Response:
everything-presence-lite/switch/mmwave_bluetooth/state OFF
Set Example (Turn ON):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/switch/mmwave_bluetooth/command" -m "ON"
Set Example (Turn OFF):
mosquitto_pub --host 192.168.178.65 -t "everything-presence-lite/switch/mmwave_bluetooth/command" -m "OFF"
Overall device status.
State Topic:
everything-presence-lite/status
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/status" -v
Expected Response:
everything-presence-lite/status offline
This status will typically show online
when the device is connected and offline
when disconnected (or as a last will message).
Information about firmware updates.
State Topic:
everything-presence-lite/update/everything_presence_lite_firmware/state
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/update/everything_presence_lite_firmware/state" -v
Expected Response:
everything-presence-lite/update/everything_presence_lite_firmware/state {"installed_version":"","latest_version":"","title":""}
Debug messages are published to:
everything-presence-lite/debug
Read Example:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/debug" -v
Expected Response:
everything-presence-lite/debug [D][sensor:093]: 'Target 1 Angle': Sending state 8.11773 ° with 0 decimals of accuracy
To monitor all topics from the device:
mosquitto_sub --host 192.168.178.65 -t "everything-presence-lite/#" -v
This will show all state changes and messages from the device in real-time.