An ESP32 based presence detection node for use with the Home Assistant mqtt_room
component or ESPresense-companion for indoor positioning
Documentation: https://espresense.com/
Building: building.
Release Notes: changelog.
Source for https://espresense.com
Home Page: https://espresense.com
An ESP32 based presence detection node for use with the Home Assistant mqtt_room
component or ESPresense-companion for indoor positioning
Documentation: https://espresense.com/
Building: building.
Release Notes: changelog.
It would be cool to add a link(s) in documentation from the community of some various enclosures that have been 3dprinted (hopefully with style files) to house the boards with the various configurations.
Unfortunately, I didn't double-check, trusted this link and purchased ESP8266 ESP-12F, not ESP32s. I think this link is incorrect.
Suggestion to add alternative android BLE transmitter option. HA Companion app allows you to transmit a beacon e.g.
A BLE Transmitter sensor allows your device to transmit a BLE iBeacon. This is useful in conjunction with projects like roomassistant and esp32-mqtt-room to allow room level tracking. The current transmitting ID (UUID-Major-Minor) is reported as an attribute that can be copied for use with these systems.
CAUTION
This sensor can impact battery life, particularly if used wih Transmit Power set to High. The iBeacon is transmitted every second (low latency to save battery, but sufficient for room presence).Settings are available to change the UUID, Major and Minor masks. These can be used to change the overall identifier, as well as to allow groups, e.g. family phone devices can have particular Major value which can be whitelisted in apps like roomassistant. These settings are validated: UUID should be the standard format, Major and Minor need to be within 0 and 65535. There are also settings to change the Transmit power (between Ultra Low, Low, Medium and High) as well as as toggle to allow this sensor to be turned on when the Enable all sensors toggle is activated. This is set to false, to prevent this sensor draining battery unnecessarily.
A Transmit setting toggle will start or stop the BLE transmissions - this setting is also toggled via the notification command that can turn the services on and off.
Source: https://companion.home-assistant.io/docs/core/sensors/#bluetooth-sensors
I've only been using ESPresense for a day and the HA BLE Transmit for half a day but so far everything is working well.
I'm not familiar with pull requests or git stuff but happy to try and make an amendment to the https://github.com/ESPresense/ESPresense.github.io/blob/master/apps.md and do a pull request or happy to leave this as a suggestion.
The Innway Slim Rechargeable Tracking Card works right out of the box as it transmits iBeacon messages. Sorry if this is an unacceptable way to report this. Project forking and bitly accounts are way too complicated. Thanks for this terrific project.
I think I followed the HASS model of having too much info on leaf pages that are hard to get to. Anybody know how to help?
Hi, im using room-assistant on a raspberry pi, which sees and reportsd that my Amazfit GTR 2e watch is at home/room
but espresense shows as not_home.
what can be the problem?
(note: i did setup my phone, and that is shown in the given room just right with espresense, so the config is OK for the watch too.)
Hello,
Looking at the docs found here, it describes a few ways to see the serial logs:
...
The easiest way to find it is to connect the usb cable and monitor the serial port (115200 baud) while bringing a device close to the ESP32. To monitor the serial port you can use Ardiuno monitor function or via platform io pio run --target monitor. You should see output similar to the following:
...
I suggest adding info about the PlatformIO
VScode plugin as another alternative, as it has a serial monitor as well.
Hi, could you please add xiaomi_lywsd03mmc temperature/humidity sensor too ?
it works with esp32 if that helps, and also integrated with esphome to home assistant
this is its config in ESPHome in Hme assistant
substitutions:
esphome_name: esp32tempserver
esphome:
name: ${esphome_name}
platform: ESP32
board: esp32dev
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.2.207
gateway: 192.168.2.1
subnet: 255.255.255.0
logger:
api:
reboot_timeout: 60min
password: Password
ota:
password: Password
time:
- platform: homeassistant
esp32_ble_tracker:
sensor:
- platform: xiaomi_lywsd03mmc
mac_address: A4:C1:38:F1:8E:0D
id: xiaomisensor_livingroom
bindkey: "05e04076be48f427f3d90e166d0fbd5e"
temperature:
name: "Living room Temperature"
humidity:
name: "Living room Humidity"
battery_level:
name: "Living room Battery Level"
- platform: xiaomi_lywsd03mmc
mac_address: A4:C1:38:71:06:2F
id: xiaomisensor_bedroom
bindkey: "05e04076be48f427f3d90e166d0fbd5e"
temperature:
name: "Bedroom Temperature"
humidity:
name: "Bedroom Humidity"
battery_level:
name: "Bedroom Battery Level"
- platform: xiaomi_lywsd03mmc
mac_address: A4:C1:38:B6:A1:6D
id: xiaomisensor_bathroom
bindkey: "05e04076be48f427f3d90e166d0fbd5e"
temperature:
name: "Bathroom Temperature"
humidity:
name: "Bathroom Humidity"
battery_level:
name: "Bathroom Battery Level"
Attempting to flash an esp32 using https://espresense.com/firmware however the version tab does not show any available versions and when I click connect it gives the error "Failed to download manifest".
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
It's currently hard to tell that the following sensors are also supported by ESPresense when you look at the documentation:
Addition it to the documentation will increase the overall popularity of the firmware, since several people end up using two ESP32 to accomplish something that could have been done with just ESPresense.
I know this isn't the correct place but I couldn't find a good way to submit known working devices. When I selected "edit this page on github" it leads me to a page saying I need to fork the repository.
Cat-Tailer devices work without issue. They use the ibeacon protocol and instantly showed up in espresence as ibeacon devices. They also used fixed mac addresses, worked immediately out of the box, and come in a waterproof housing. I got two of these over a year ago and have had no issues with them.
https://www.amazon.com/stores/CAT+TAILER/page/411D977A-E1F9-408C-9B5D-387B676700B2?ref_=ast_bln
Example of devices:
mac address - e4:81:dc:42:5f:cc
ibeacon broadcast - ab4e0840e2ea11e4ab0d0002a5d5c51b-38807-45270
espresence device id - iBeacon:ab4e0840-e2ea-11e4-ab0d-0002a5d5c51b-38807-45270
mac address - d3:36:3e:1a:55:92
ibeacon broadcast - ab4e0840e2ea11e4ab0d0002a5d5c51b-9527-41941
espresence device id - iBeacon:ab4e0840-e2ea-11e4-ab0d-0002a5d5c51b-9527-41940
Hi, could you please add DS18b20 temperature sensor too ?
it works with esp8622 if that helps, and also integrated with esphome
this is its config in ESPHome in Hme assistant
esphome:
name: "easttemperature"
platform: ESP8266
board: nodemcuv2
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.2.205
gateway: 192.168.2.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "East temp"
password: "Password"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "Password"
ota:
password: "Password"
# Example configuration entry
dallas:
pin: GPIO05
update_interval: 30s
# Individual sensors
sensor:
- platform: dallas
address: 0xC2000004CDD71628
name: "East temperature"
resolution: 12
accuracy_decimals: 2
Could you add support for mmWare Radar
e.g. https://www.dfrobot.com/product-2282.html
Also fits in my ESPresense enclosure (with EPS32 + PIR)
https://www.tinkercad.com/things/5CkzC6C2VLl-esp32-pir-case-with-wall-mount
https://www.thingiverse.com/thing:5353636
Hello.
Thank you for your great project.
I'd like to edit beacon.md as requested as i have 2 feedbacks to report :
So i tried to create a branch/PR with new beacon.md version, but it looks like only fork are allowed. I'll try this if i have time.
Regards.
Referencing #98 that should be posted here.
Hi,
The Samsung galaxy watch 5 pro works when used with home assistant and the home assistant companion app. For this to work you need to install the companion app for your wearable and enable the Bluetooth tracker sensor which creates an iBeacon.
My guess here is that this might work for other Android wearables depending on the app compatibility with the watch.
One thing I have noticed is the transmit rssi@1m seems to be slightly off and cannot be adjusted at this time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.