ESPresense
Moderator: leecollings
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: ESPresense
Looks pretty interesting and with autodiscovery, it should not require any additional work for the devices to integrate. Then the question is how to deal with these in domoticz... Have you done any work by now?
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: ESPresense
Started to mess around with a couple of these.
1) In terms of usage, it's only useful if you can use a fixed beacon to track. Phones normally don;t work because they spoof BLE MAC's for obvious reasons. There are apps that turn on a beacon but that then makes you trackable everywhere (malls, ..) which one may debate, is a good thing.
2) The domoticz integration would need a little work: through autodiscovery, rooms get picked up easily. Next then is to track mqtt messages for devices one would want to track. Building this in itself would not be overly complex since these messages are all sent on the "espresence/device" topic. Example:
Which is sent on the espresense/devices/iBeacon:32c45173-77f0-4c0e-bf2a-e21f044877b5-0-0/study_he topic meaning my phone is 6.74 somethings (meters?) away from the espresense module in my study. As said, it would just take a little logic in a (python type?) plugin to start tracking devices and assigning them to rooms. @moroen and I built the zwavejs2mqtt plugin before autodiscovery was built in natively which contains much of the base stuff we would need.
My key questioni is whether the first item can be resolved in a meaningful, workable way. Homeassistant has this built into the homeassistant app for android and apple devices but my understanding is that it's on 24/7. I would want it to be ONLY on within the geofence of my house. Maybe the domoticz app developer can help here.
H
1) In terms of usage, it's only useful if you can use a fixed beacon to track. Phones normally don;t work because they spoof BLE MAC's for obvious reasons. There are apps that turn on a beacon but that then makes you trackable everywhere (malls, ..) which one may debate, is a good thing.
2) The domoticz integration would need a little work: through autodiscovery, rooms get picked up easily. Next then is to track mqtt messages for devices one would want to track. Building this in itself would not be overly complex since these messages are all sent on the "espresence/device" topic. Example:
Code: Select all
{"id":"iBeacon:32c45173-77f0-4c0e-bf2a-e21f044877b5-0-0","idType":99,"rssi@1m":-65,"rssi":-94,"raw":6.74,"distance":6.02,"speed":0,"mac":"663b3ba2f54c"}
My key questioni is whether the first item can be resolved in a meaningful, workable way. Homeassistant has this built into the homeassistant app for android and apple devices but my understanding is that it's on 24/7. I would want it to be ONLY on within the geofence of my house. Maybe the domoticz app developer can help here.
H
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 369
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: ESPresense
I've only been looking at the data available with mqtt explorer at the moment, one strange thing I noticed was I have some BLE Temp/Hum sensors and the first day I used this it picked those up as well and you could extract the info quite easily if you wanted it but after that it completely ignored them !
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: ESPresense
I am currently testing a first version of the plugin (pretty alpha/beta).
You can set 2 parameters in the esp devices through the plugin:
1) the exclude list of devices in the filter section
2) the "query device id's in the scanning section
The plugin then creates 2 domoticz devices per found device: an on/off to indicate if the device is picked up by any of the esp's and a text device indicating which room the device is in (smalles distance to the esp: if below 2.5 meters then "In" otherwise "Near").
If anyone is interested: https://github.com/heggink/domo-espresense.git
You can set 2 parameters in the esp devices through the plugin:
1) the exclude list of devices in the filter section
2) the "query device id's in the scanning section
The plugin then creates 2 domoticz devices per found device: an on/off to indicate if the device is picked up by any of the esp's and a text device indicating which room the device is in (smalles distance to the esp: if below 2.5 meters then "In" otherwise "Near").
If anyone is interested: https://github.com/heggink/domo-espresense.git
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: ESPresense
nice
When i have time i test
When i have time i test
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: ESPresense
At the moment, you cannot delete devices as I need an update in the domoticzEx framework that has not made it into the pi beta just yet.
The plugin is based on the domoticzEx framework so only newer betas will work.
Sent from my SM-G980F using Tapatalk
The plugin is based on the domoticzEx framework so only newer betas will work.
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Re: ESPresense
Great plugin! I'm testing with 4 iPhones. It seems that the ID is nog unique but is the iPhone type. I've 2 iPhones with the same ID in the MQTT. The plugin therefor doesn't create a new device but updates the device with info coming from 2 different iPhones. Could that be correct?
Re: ESPresense
Sorry, I'm new, could be basic, but, how can I test the plugin, what is the procedure to install it or run?
Thanks,
Thanks,
- waltervl
- Posts: 5397
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: ESPresense
For basic python plugin installation and usage check wiki page https://www.domoticz.com/wiki/Using_Python_plugins
It seems that this plugin does not have extra installation Instructions on its github repository.
Be sure you have python already available in Domoticz, see in your domoticz page Setup - About. Python version should be shown. If not check the same wiki page for instructions.
It seems that this plugin does not have extra installation Instructions on its github repository.
Be sure you have python already available in Domoticz, see in your domoticz page Setup - About. Python version should be shown. If not check the same wiki page for instructions.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests