Everything presence one

Just received my EP1 sensors and was hope'n to try them out.
This is my 2nd crack at hubitat. Last time i got so annoyed and frustrated i just stuck with homekit.
this is my excuse to hop back in.

Is there any drivers for the EP1?
Or should i give up and somehow find a pi for HA?

The only known integration of Everything Presence One, for now, seems to be via e Home Assistant.

Probably @jonathanb can give some more details on ESPHome + Hubitat integration possibilities.

2 Likes

I took a look at the YAML template. Should not be a problem to support all the capabilities of the EP1 using the ESPHome library I built. I've got my hands full right now with a couple of other drivers I'm working with but can put it on the todo list if there is enough interest.

2 Likes

@kkossev , @jonathanb : To quote George Costanza: "I'm out there rubbing two sticks together, you're walking around with a Zippo." :slight_smile:

4 Likes

I have about 10 of these that I wouldn't mind getting integrated into Hubitat. My Home Assistance instance is busted right now.

While I don't have one to test, I created a basic example driver for the Everything Presence One:

It should be available via HPM which has the required ESPHome library or you can grab the driver at:

https://raw.githubusercontent.com/bradsjm/hubitat-public/main/ESPHome/ESPHome-EverythingPresenceOne.groovy

and the required library at:

https://raw.githubusercontent.com/bradsjm/hubitat-public/main/ESPHome/ESPHome-API-Library.groovy

3 Likes

I must be missing something obvious, but when I use this driver, with the Home Assistant EP1 firmware installed, I can connect but no entities are shown. Is there some special step to activate certain entities?

Entities lists are all blank:

Enable debug, hit refresh command and if they don't show up when you refresh the page, send me the logs... :slight_smile:

I'm not putting in a device password, but I didn't see anything in the documentation for that. I assume that it wouldn't connect properly if it needed one.

First a refresh, then an init. No entities in drop down lists.

dev:2662023-04-23 03:03:36.531 PMinfo[I][ota:113]: Boot seems successful, resetting boot loop counter.
dev:2662023-04-23 03:02:58.954 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x70
dev:2662023-04-23 03:02:58.895 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x23
dev:2662023-04-23 03:02:58.862 PMinfo[I][i2c.arduino:068]: Results from i2c bus scan:
dev:2662023-04-23 03:02:58.764 PMinfo[I][app:104]: Project Everything_Smart_Technology.Everything_Presence_One version 1.1.3
dev:2662023-04-23 03:02:58.723 PMinfo[I][app:102]: ESPHome version 2023.3.2 compiled on Apr 1 2023, 20:36:53
dev:2662023-04-23 03:02:58.196 PMinfoSubscribing to ESPHome device states
dev:2662023-04-23 03:02:58.194 PMinfoSubscribing to ESPHome INFO logging
dev:2662023-04-23 03:02:58.192 PMinfoSubscribing to ESPHome HA services
dev:2662023-04-23 03:02:57.826 PMinfoMaster Bathroom - Presence - EP1 is online: connection completed
dev:2662023-04-23 03:02:57.757 PMinfoESPHome sending connect request (no password)
dev:2662023-04-23 03:02:57.754 PMinfoESPHome device name: everything-presence-one-efce90
dev:2662023-04-23 03:02:57.743 PMinfoESPHome server info: everything-presence-one-efce90 (esphome v2023.3.2)
dev:2662023-04-23 03:02:57.669 PMinfoESPHome API version: 1.7
dev:2662023-04-23 03:02:57.466 PMinfoESPHome requesting API version
dev:2662023-04-23 03:02:56.036 PMinfoMaster Bathroom - Presence - EP1 is connecting: host 192.168.187.250:6053
dev:2662023-04-23 03:02:28.678 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x70
dev:2662023-04-23 03:02:28.631 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x23
dev:2662023-04-23 03:02:28.585 PMinfo[I][i2c.arduino:068]: Results from i2c bus scan:
dev:2662023-04-23 03:02:28.450 PMinfo[I][app:104]: Project Everything_Smart_Technology.Everything_Presence_One version 1.1.3
dev:2662023-04-23 03:02:28.404 PMinfo[I][app:102]: ESPHome version 2023.3.2 compiled on Apr 1 2023, 20:36:53
dev:2662023-04-23 03:02:27.936 PMinfoSubscribing to ESPHome device states
dev:2662023-04-23 03:02:27.934 PMinfoSubscribing to ESPHome INFO logging
dev:2662023-04-23 03:02:27.932 PMinfoSubscribing to ESPHome HA services
dev:2662023-04-23 03:02:27.664 PMinfoMaster Bathroom - Presence - EP1 refresh

In the driver, can you add this at line 115 in the refresh() command:

public void refresh() {
    log.info "${device} refresh"
    state.clear()
    state.requireRefresh = true
    espHomeDeviceInfoRequest()
}

Then do a refresh, that should force it to get the list of entities again.

**Yep, that appears to have worked. Awesome! I'll play around with it.

On another note, I remember hearing that these can be used as BT proxies, which I suppose means I could theoretically get rid of the silly little BT/Wi-Fi bridges I have for my Utec locks. That's cool, but what I'd really like to do is indoor positioning somehow with active beacon tech. I wonder if that's possible.

ah, actually it's only showing illuminance and temperature -- the two that were already reporting on the sidebar "current states."

While they do now also populate in the dropdowns, there are not actually any new entities.

Since I could no longer enable debug without selecting from the dropdowns, I just chose temp for everything, and enabled debug.

dev:2662023-04-23 03:37:37.748 PMdebug[C][improv_serial:032]: Improv Serial:
dev:2662023-04-23 03:37:37.715 PMdebug[C][api:143]: Using noise encryption: NO
dev:2662023-04-23 03:37:37.674 PMdebug[C][api:139]: Address: everything-presence-one.local:6053
dev:2662023-04-23 03:37:37.641 PMdebug[C][api:138]: API Server:
dev:2662023-04-23 03:37:37.608 PMdebug[C][ota:094]: Address: everything-presence-one.local:3232
dev:2662023-04-23 03:37:37.565 PMdebug[C][ota:093]: Over-The-Air Updates:
dev:2662023-04-23 03:37:37.522 PMdebug[C][mdns:109]: Hostname: everything-presence-one-efce90
dev:2662023-04-23 03:37:37.482 PMdebug[C][mdns:108]: mDNS:
dev:2662023-04-23 03:37:37.438 PMdebug[C][captive_portal:088]: Captive Portal:
dev:2662023-04-23 03:37:37.394 PMdebug[C][esp32_improv.component:217]: Status Indicator: 'NO'
dev:2662023-04-23 03:37:37.358 PMdebug[C][esp32_improv.component:215]: ESP32 Improv:
dev:2662023-04-23 03:37:37.323 PMdebug[C][esp32_ble_server:161]: ESP32 BLE Server:
dev:2662023-04-23 03:37:37.280 PMdebug[C][esp32_ble:214]: ESP32 BLE:
dev:2662023-04-23 03:37:37.236 PMdebug[C][safe_mode.button:022]: Icon: 'mdi:restart-alert'
dev:2662023-04-23 03:37:37.192 PMdebug[C][safe_mode.button:022]: Safe Mode Button 'everything-presence-one Safe Mode'
dev:2662023-04-23 03:37:37.147 PMdebug[C][restart.button:017]: Restart Button 'Restart_internal'
dev:2662023-04-23 03:37:37.101 PMdebug[C][bh1750.sensor:124]: Update Interval: 30.0s
dev:2662023-04-23 03:37:37.068 PMdebug[C][bh1750.sensor:119]: Address: 0x23
dev:2662023-04-23 03:37:37.026 PMdebug[C][bh1750.sensor:118]: Accuracy Decimals: 1
dev:2662023-04-23 03:37:36.987 PMdebug[C][bh1750.sensor:118]: Unit of Measurement: 'lx'
dev:2662023-04-23 03:37:36.946 PMdebug[C][bh1750.sensor:118]: State Class: 'measurement'
dev:2662023-04-23 03:37:36.914 PMdebug[C][bh1750.sensor:118]: Device Class: 'illuminance'
dev:2662023-04-23 03:37:36.881 PMdebug[C][bh1750.sensor:118]: BH1750 ' Illuminance'
dev:2662023-04-23 03:37:36.841 PMdebug[C][shtcx:068]: Accuracy Decimals: 1
dev:2662023-04-23 03:37:36.807 PMdebug[C][shtcx:068]: Unit of Measurement: '%'
dev:2662023-04-23 03:37:36.775 PMdebug[C][shtcx:068]: State Class: 'measurement'
dev:2662023-04-23 03:37:36.733 PMdebug[C][shtcx:068]: Device Class: 'humidity'
dev:2662023-04-23 03:37:36.691 PMdebug[C][shtcx:068]: Humidity ' Humidity'
dev:2662023-04-23 03:37:36.648 PMdebug[C][shtcx:067]: Accuracy Decimals: 1
dev:2662023-04-23 03:37:36.604 PMdebug[C][shtcx:067]: Unit of Measurement: '°C'
dev:2662023-04-23 03:37:36.559 PMdebug[C][shtcx:067]: State Class: 'measurement'
dev:2662023-04-23 03:37:36.506 PMdebug[C][shtcx:067]: Device Class: 'temperature'
dev:2662023-04-23 03:37:36.473 PMdebug[C][shtcx:067]: Temperature ' Temperature'
dev:2662023-04-23 03:37:36.433 PMdebug[C][shtcx:065]: Update Interval: 60.0s
dev:2662023-04-23 03:37:36.393 PMdebug[C][shtcx:061]: Address: 0x70
dev:2662023-04-23 03:37:36.353 PMdebug[C][shtcx:060]: Model: SHTC3 (0887)
dev:2662023-04-23 03:37:36.313 PMdebug[C][shtcx:059]: SHTCx:
dev:2662023-04-23 03:37:36.274 PMdebug[C][light:104]: Light 'ESP32 Status LED'
dev:2662023-04-23 03:37:36.234 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 03:37:36.202 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 03:37:36.156 PMdebug[C][template.number:050]: Template Number 'mmWave Sensitivity'
dev:2662023-04-23 03:37:36.096 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 03:37:36.063 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 03:37:36.027 PMdebug[C][template.number:050]: Unit of Measurement: 'seconds'
dev:2662023-04-23 03:37:35.986 PMdebug[C][template.number:050]: Template Number 'mmWave On Latency'
dev:2662023-04-23 03:37:35.947 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 03:37:35.907 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 03:37:35.867 PMdebug[C][template.number:050]: Unit of Measurement: 'seconds'
dev:2662023-04-23 03:37:35.826 PMdebug[C][template.number:050]: Template Number 'mmWave Off Latency'
dev:2662023-04-23 03:37:35.786 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 03:37:35.746 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 03:37:35.705 PMdebug[C][template.number:050]: Unit of Measurement: 'cm'
dev:2662023-04-23 03:37:35.652 PMdebug[C][template.number:050]: Template Number 'mmWave Distance'
dev:2662023-04-23 03:37:35.619 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 03:37:35.586 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 03:37:35.545 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 03:37:35.505 PMdebug[C][template.switch:076]: Template Switch 'uart_target_output'
dev:2662023-04-23 03:37:35.467 PMdebugESPHome received: [type:state, platform:number, key:2427642228, state:7, hasState:true]
dev:2662023-04-23 03:37:35.431 PMdebugESPHome received: [type:state, platform:number, key:2032846715, state:0, hasState:true]
dev:2662023-04-23 03:37:35.384 PMdebugESPHome received: [type:state, platform:number, key:3041621973, state:15, hasState:true]
dev:2662023-04-23 03:37:35.347 PMdebugESPHome received: [type:state, platform:number, key:1812831206, state:315, hasState:true]
dev:2662023-04-23 03:37:35.307 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 03:37:35.266 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 03:37:35.227 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 03:37:35.187 PMdebug[C][template.switch:076]: Template Switch 'uart_presence_output'
dev:2662023-04-23 03:37:35.143 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 03:37:35.104 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 03:37:35.070 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 03:37:35.014 PMdebug[C][template.switch:076]: Template Switch 'mmWave LED'
dev:2662023-04-23 03:37:34.893 PMdebugESPHome received: [type:state, platform:switch, isDigital:false, key:168412542, state:false]
dev:2662023-04-23 03:37:34.856 PMdebugESPHome received: [type:state, platform:switch, isDigital:false, key:3171023721, state:true]
dev:2662023-04-23 03:37:34.822 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 03:37:34.787 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 03:37:34.752 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 03:37:34.712 PMdebug[C][template.switch:076]: Template Switch 'mmWave Sensor'
dev:2662023-04-23 03:37:34.611 PMdebug[C][template.binary_sensor:018]: Device Class: 'occupancy'
dev:2662023-04-23 03:37:34.578 PMdebug[C][template.binary_sensor:018]: Template Binary Sensor ' Occupancy'
dev:2662023-04-23 03:37:34.536 PMdebugESPHome received: [type:state, platform:sensor, key:920262939, state:47.31298828125, hasState:true]
dev:2662023-04-23 03:37:34.502 PMdebugESPHome received: [type:state, platform:sensor, key:389697879, state:44.89105224609375, hasState:true]
dev:2662023-04-23 03:37:34.469 PMdebug[C][gpio.binary_sensor:016]: Pin: GPIO33
dev:2662023-04-23 03:37:34.434 PMdebug[C][gpio.binary_sensor:015]: Device Class: 'motion'
dev:2662023-04-23 03:37:34.401 PMdebug[C][gpio.binary_sensor:015]: GPIO Binary Sensor ' PIR'
dev:2662023-04-23 03:37:34.358 PMdebugESPHome received: [type:state, platform:sensor, key:2314301022, state:24.5757598876953125, hasState:true]
dev:2662023-04-23 03:37:34.305 PMdebug[C][gpio.binary_sensor:016]: Pin: GPIO15
dev:2662023-04-23 03:37:34.264 PMdebug[C][gpio.binary_sensor:015]: Device Class: 'occupancy'
dev:2662023-04-23 03:37:34.216 PMdebug[C][gpio.binary_sensor:015]: GPIO Binary Sensor ' mmWave'
dev:2662023-04-23 03:37:34.176 PMdebugESPHome received: [type:state, platform:light, isDigital:false, key:4263935647, state:false, masterBrightness:1, colorMode:1, colorModeCapabilities:[ON/OFF], colorBrightness:1, red:1, green:1, blue:1, white:1, colorTemperature:0, coldWhite:1, warmWhite:1, effect:]
dev:2662023-04-23 03:37:34.131 PMdebug[C][uart.arduino_esp32:117]: Stop bits: 1
dev:2662023-04-23 03:37:34.088 PMdebug[C][uart.arduino_esp32:116]: Parity: NONE
dev:2662023-04-23 03:37:34.045 PMdebug[C][uart.arduino_esp32:115]: Data Bits: 8
dev:2662023-04-23 03:37:34.001 PMdebug[C][uart.arduino_esp32:114]: Baud Rate: 115200 baud
dev:2662023-04-23 03:37:33.958 PMdebug[C][uart.arduino_esp32:112]: RX Buffer Size: 256
dev:2662023-04-23 03:37:33.916 PMdebug[C][uart.arduino_esp32:110]: RX Pin: GPIO14
dev:2662023-04-23 03:37:33.874 PMdebug[C][uart.arduino_esp32:109]: TX Pin: GPIO13
dev:2662023-04-23 03:37:33.838 PMdebug[C][uart.arduino_esp32:108]: UART Bus 1:
dev:2662023-04-23 03:37:33.802 PMdebugESPHome received: [type:state, platform:binary, isDigital:false, key:718120679, state:true, hasState:true]
dev:2662023-04-23 03:37:33.758 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x70
dev:2662023-04-23 03:37:33.716 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x23
dev:2662023-04-23 03:37:33.656 PMinfo[I][i2c.arduino:068]: Results from i2c bus scan:
dev:2662023-04-23 03:37:33.613 PMdebug[C][i2c.arduino:058]: Recovery: bus successfully recovered
dev:2662023-04-23 03:37:33.570 PMdebug[C][i2c.arduino:055]: Frequency: 50000 Hz
dev:2662023-04-23 03:37:33.527 PMdebug[C][i2c.arduino:054]: SCL Pin: GPIO25
dev:2662023-04-23 03:37:33.491 PMdebug[C][i2c.arduino:053]: SDA Pin: GPIO26
dev:2662023-04-23 03:37:33.454 PMdebug[C][i2c.arduino:052]: I2C Bus:
dev:2662023-04-23 03:37:33.411 PMdebugESPHome received: [type:state, platform:binary, isDigital:false, key:1881935881, state:true, hasState:true]
dev:2662023-04-23 03:37:33.360 PMdebug[C][logger:296]: Hardware UART: UART0
dev:2662023-04-23 03:37:33.182 PMdebug[C][logger:295]: Log Baud Rate: 115200
dev:2662023-04-23 03:37:33.128 PMdebug[C][logger:294]: Level: DEBUG
dev:2662023-04-23 03:37:33.089 PMdebug[C][logger:293]: Logger:
dev:2662023-04-23 03:37:33.052 PMdebugESPHome received: [type:state, platform:binary, isDigital:false, key:355621613, state:true, hasState:true]
dev:2662023-04-23 03:37:33.015 PMdebug[C][wifi:377]: DNS2: 0.0.0.0
dev:2662023-04-23 03:37:32.963 PMdebug[C][wifi:376]: DNS1: 192.168.187.1
dev:2662023-04-23 03:37:32.926 PMdebug[C][wifi:375]: Gateway: 192.168.187.1
dev:2662023-04-23 03:37:32.881 PMdebug[C][wifi:374]: Subnet: 255.255.255.0
dev:2662023-04-23 03:37:32.830 PMdebug[C][wifi:373]: Channel: 11
dev:2662023-04-23 03:37:32.801 PMdebug[C][wifi:369]: Signal strength: -59 dB ▂▄▆█
dev:2662023-04-23 03:37:32.746 PMdebug[C][wifi:367]: Hostname: 'everything-presence-one-efce90'
dev:2662023-04-23 03:37:32.708 PMdebug[C][wifi:366]: BSSID: 6E:22:32:ED:89:35
dev:2662023-04-23 03:37:32.672 PMdebug[C][wifi:364]: IP Address: 192.168.187.250
dev:2662023-04-23 03:37:32.628 PMdebug[C][wifi:363]: SSID: 'CS Melbourne IoT'
dev:2662023-04-23 03:37:32.576 PMdebug[C][wifi:362]: Local MAC: C8:F0:9E:EF:CE:90
dev:2662023-04-23 03:37:32.526 PMdebug[C][wifi:504]: WiFi:
dev:2662023-04-23 03:37:32.481 PMdebug[C][status_led:064]: Pin: GPIO32
dev:2662023-04-23 03:37:32.444 PMdebug[C][status_led:063]: Status Led Light:
dev:2662023-04-23 03:37:32.405 PMinfo[I][app:104]: Project Everything_Smart_Technology.Everything_Presence_One version 1.1.3
dev:2662023-04-23 03:37:32.360 PMinfo[I][app:102]: ESPHome version 2023.3.2 compiled on Apr 1 2023, 20:36:53
dev:2662023-04-23 03:37:31.793 PMdebugESPHome send msg type #20 with [:]
dev:2662023-04-23 03:37:31.790 PMinfoSubscribing to ESPHome device states
dev:2662023-04-23 03:37:31.786 PMdebugESPHome send msg type #28 with [1:[5, 0], 2:[1, 0]]
dev:2662023-04-23 03:37:31.784 PMinfoSubscribing to ESPHome DEBUG logging
dev:2662023-04-23 03:37:31.780 PMdebugESPHome send msg type #34 with [:]
dev:2662023-04-23 03:37:31.776 PMinfoSubscribing to ESPHome HA services
dev:2662023-04-23 03:37:31.772 PMdebugESPHome received: [type:device, name:everything-presence-one-efce90, macAddress:C8:F0:9E:EF:CE:90, espHomeVersion:2023.3.2, compileTime:Apr 1 2023, 20:36:53, boardModel:esp32dev, hasDeepSleep:false, projectName:Everything_Smart_Technology.Everything_Presence_One, projectVersion:1.1.3, portNumber:0, webServer:http://192.168.187.250:0, btProxyVersion:0, manufacturer:Espressif]
dev:2662023-04-23 03:37:31.755 PMtraceESPHome executing espHomeDeviceInfoResponse
dev:2662023-04-23 03:37:31.636 PMdebugESPHome send msg type #9 with [:]
dev:2662023-04-23 03:37:31.577 PMdebugESPHome received: [platform:network, type:state, state:online, reason:connection completed]
dev:2662023-04-23 03:37:31.574 PMinfoMaster Bathroom - Presence - EP1 is online: connection completed
dev:2662023-04-23 03:37:31.569 PMtraceESPHome executing espHomeConnectResponse
dev:2662023-04-23 03:37:31.451 PMdebugESPHome send msg type #3 with [1:[null, 2]]
dev:2662023-04-23 03:37:31.436 PMinfoESPHome sending connect request (no password)
dev:2662023-04-23 03:37:31.432 PMinfoESPHome device name: everything-presence-one-efce90
dev:2662023-04-23 03:37:31.429 PMinfoESPHome server info: everything-presence-one-efce90 (esphome v2023.3.2)
dev:2662023-04-23 03:37:31.426 PMinfoESPHome API version: 1.7
dev:2662023-04-23 03:37:31.423 PMtraceESPHome executing espHomeHelloResponse
dev:2662023-04-23 03:37:31.116 PMdebugESPHome send msg type #1 with [1:[Hubitat Club Steve Melbourne(new), 2]]
dev:2662023-04-23 03:37:31.078 PMinfoESPHome requesting API version
dev:2662023-04-23 03:37:29.947 PMdebugESPHome received: [platform:network, type:state, state:connecting, reason:host 192.168.187.250:6053]
dev:2662023-04-23 03:37:29.937 PMinfoMaster Bathroom - Presence - EP1 is connecting: host 192.168.187.250:6053
dev:2662023-04-23 03:37:29.931 PMinfoMaster Bathroom - Presence - EP1 driver configuration updated
dev:2662023-04-23 03:35:22.450 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x70
dev:2662023-04-23 03:35:22.415 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x23
dev:2662023-04-23 03:35:22.382 PMinfo[I][i2c.arduino:068]: Results from i2c bus scan:
dev:2662023-04-23 03:35:22.262 PMinfo[I][app:104]: Project Everything_Smart_Technology.Everything_Presence_One version 1.1.3
dev:2662023-04-23 03:35:22.216 PMinfo[I][app:102]: ESPHome version 2023.3.2 compiled on Apr 1 2023, 20:36:53
dev:2662023-04-23 03:35:21.691 PMinfoSubscribing to ESPHome device states
dev:2662023-04-23 03:35:21.688 PMinfoSubscribing to ESPHome INFO logging
dev:2662023-04-23 03:35:21.686 PMinfoSubscribing to ESPHome HA services
dev:2662023-04-23 03:35:20.380 PMinfoMaster Bathroom - Presence - EP1 refresh
dev:2662023-04-23 03:33:15.404 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x70
dev:2662023-04-23 03:33:15.364 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x23
dev:2662023-04-23 03:33:15.330 PMinfo[I][i2c.arduino:068]: Results from i2c bus scan:
dev:2662023-04-23 03:33:15.185 PMinfo[I][app:104]: Project Everything_Smart_Technology.Everything_Presence_One version 1.1.3
dev:2662023-04-23 03:33:15.149 PMinfo[I][app:102]: ESPHome version 2023.3.2 compiled on Apr 1 2023, 20:36:53
dev:2662023-04-23 03:33:14.672 PMinfoSubscribing to ESPHome device states
dev:2662023-04-23 03:33:14.662 PMinfoSubscribing to ESPHome INFO logging
dev:2662023-04-23 03:33:14.655 PMinfoSubscribing to ESPHome HA services
dev:2662023-04-23 03:33:12.941 PMinfoMaster Bathroom - Presence - EP1 refresh

Ah, I missed the binary sensors, one more change at line 139:

        case 'entity':
            if (message.platform in ['sensor', 'binary_sensor']) {
                switch (message.deviceClass) {
                    case 'illuminance':

Not quite there yet:

dev:2662023-04-23 05:09:22.831 PMdebug[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
dev:2662023-04-23 05:09:22.798 PMdebug[D][esp32.preferences:113]: Saving 1 preferences to flash...
dev:2662023-04-23 05:09:18.220 PMdebugESPHome received: [type:state, platform:sensor, key:920262939, state:46.06790924072265625, hasState:true]
dev:2662023-04-23 05:09:18.180 PMdebug[D][sensor:127]: ' Illuminance': Sending state 46.06791 lx with 1 decimals of accuracy
dev:2662023-04-23 05:09:18.139 PMdebug[D][bh1750.sensor:159]: ' Illuminance': Got illuminance=46.1lx
dev:2662023-04-23 05:09:13.978 PMdebug[C][improv_serial:032]: Improv Serial:
dev:2662023-04-23 05:09:13.945 PMdebug[C][api:143]: Using noise encryption: NO
dev:2662023-04-23 05:09:13.911 PMdebug[C][api:139]: Address: everything-presence-one.local:6053
dev:2662023-04-23 05:09:13.877 PMdebug[C][api:138]: API Server:
dev:2662023-04-23 05:09:13.842 PMdebug[C][ota:094]: Address: everything-presence-one.local:3232
dev:2662023-04-23 05:09:13.806 PMdebug[C][ota:093]: Over-The-Air Updates:
dev:2662023-04-23 05:09:13.762 PMdebug[C][mdns:109]: Hostname: everything-presence-one-efce90
dev:2662023-04-23 05:09:13.724 PMdebug[C][mdns:108]: mDNS:
dev:2662023-04-23 05:09:13.688 PMdebug[C][captive_portal:088]: Captive Portal:
dev:2662023-04-23 05:09:13.644 PMdebug[C][esp32_improv.component:217]: Status Indicator: 'NO'
dev:2662023-04-23 05:09:13.600 PMdebug[C][esp32_improv.component:215]: ESP32 Improv:
dev:2662023-04-23 05:09:13.555 PMdebug[C][esp32_ble_server:161]: ESP32 BLE Server:
dev:2662023-04-23 05:09:13.518 PMdebug[C][esp32_ble:214]: ESP32 BLE:
dev:2662023-04-23 05:09:13.480 PMdebug[C][safe_mode.button:022]: Icon: 'mdi:restart-alert'
dev:2662023-04-23 05:09:13.440 PMdebug[C][safe_mode.button:022]: Safe Mode Button 'everything-presence-one Safe Mode'
dev:2662023-04-23 05:09:13.396 PMdebug[C][restart.button:017]: Restart Button 'Restart_internal'
dev:2662023-04-23 05:09:13.338 PMdebug[C][bh1750.sensor:124]: Update Interval: 30.0s
dev:2662023-04-23 05:09:13.278 PMdebug[C][bh1750.sensor:119]: Address: 0x23
dev:2662023-04-23 05:09:13.232 PMdebug[C][bh1750.sensor:118]: Accuracy Decimals: 1
dev:2662023-04-23 05:09:13.199 PMdebug[C][bh1750.sensor:118]: Unit of Measurement: 'lx'
dev:2662023-04-23 05:09:13.153 PMdebug[C][bh1750.sensor:118]: State Class: 'measurement'
dev:2662023-04-23 05:09:13.109 PMdebug[C][bh1750.sensor:118]: Device Class: 'illuminance'
dev:2662023-04-23 05:09:13.075 PMdebug[C][bh1750.sensor:118]: BH1750 ' Illuminance'
dev:2662023-04-23 05:09:13.040 PMdebug[C][shtcx:068]: Accuracy Decimals: 1
dev:2662023-04-23 05:09:13.006 PMdebug[C][shtcx:068]: Unit of Measurement: '%'
dev:2662023-04-23 05:09:12.972 PMdebug[C][shtcx:068]: State Class: 'measurement'
dev:2662023-04-23 05:09:12.937 PMdebug[C][shtcx:068]: Device Class: 'humidity'
dev:2662023-04-23 05:09:12.904 PMdebug[C][shtcx:068]: Humidity ' Humidity'
dev:2662023-04-23 05:09:12.863 PMdebug[C][shtcx:067]: Accuracy Decimals: 1
dev:2662023-04-23 05:09:12.821 PMdebug[C][shtcx:067]: Unit of Measurement: '°C'
dev:2662023-04-23 05:09:12.784 PMdebug[C][shtcx:067]: State Class: 'measurement'
dev:2662023-04-23 05:09:12.749 PMdebug[C][shtcx:067]: Device Class: 'temperature'
dev:2662023-04-23 05:09:12.715 PMdebug[C][shtcx:067]: Temperature ' Temperature'
dev:2662023-04-23 05:09:12.535 PMdebug[C][shtcx:065]: Update Interval: 60.0s
dev:2662023-04-23 05:09:12.501 PMdebug[C][shtcx:061]: Address: 0x70
dev:2662023-04-23 05:09:12.467 PMdebug[C][shtcx:060]: Model: SHTC3 (0887)
dev:2662023-04-23 05:09:12.423 PMdebug[C][shtcx:059]: SHTCx:
dev:2662023-04-23 05:09:12.383 PMdebug[C][light:104]: Light 'ESP32 Status LED'
dev:2662023-04-23 05:09:12.331 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 05:09:12.271 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 05:09:12.230 PMdebug[C][template.number:050]: Template Number 'mmWave Sensitivity'
dev:2662023-04-23 05:09:12.196 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 05:09:12.161 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 05:09:12.120 PMdebug[C][template.number:050]: Unit of Measurement: 'seconds'
dev:2662023-04-23 05:09:12.086 PMdebug[C][template.number:050]: Template Number 'mmWave On Latency'
dev:2662023-04-23 05:09:12.053 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 05:09:12.013 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 05:09:11.980 PMdebug[C][template.number:050]: Unit of Measurement: 'seconds'
dev:2662023-04-23 05:09:11.946 PMdebug[C][template.number:050]: Template Number 'mmWave Off Latency'
dev:2662023-04-23 05:09:11.908 PMdebug[C][template.number:052]: Update Interval: 60.0s
dev:2662023-04-23 05:09:11.869 PMdebug[C][template.number:051]: Optimistic: YES
dev:2662023-04-23 05:09:11.835 PMdebug[C][template.number:050]: Unit of Measurement: 'cm'
dev:2662023-04-23 05:09:11.744 PMdebug[C][template.number:050]: Template Number 'mmWave Distance'
dev:2662023-04-23 05:09:11.701 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 05:09:11.666 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 05:09:11.632 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 05:09:11.597 PMdebug[C][template.switch:076]: Template Switch 'uart_target_output'
dev:2662023-04-23 05:09:11.561 PMdebugESPHome received: [type:state, platform:number, key:2427642228, state:7, hasState:true]
dev:2662023-04-23 05:09:11.525 PMdebugESPHome received: [type:state, platform:number, key:2032846715, state:0, hasState:true]
dev:2662023-04-23 05:09:11.473 PMdebugESPHome received: [type:state, platform:number, key:3041621973, state:15, hasState:true]
dev:2662023-04-23 05:09:11.426 PMdebugESPHome received: [type:state, platform:number, key:1812831206, state:315, hasState:true]
dev:2662023-04-23 05:09:11.347 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 05:09:11.312 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 05:09:11.278 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 05:09:11.237 PMdebug[C][template.switch:076]: Template Switch 'uart_presence_output'
dev:2662023-04-23 05:09:11.197 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 05:09:11.163 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 05:09:11.128 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 05:09:11.093 PMdebug[C][template.switch:076]: Template Switch 'mmWave LED'
dev:2662023-04-23 05:09:11.059 PMdebugESPHome received: [type:state, platform:switch, isDigital:false, key:168412542, state:false]
dev:2662023-04-23 05:09:11.025 PMdebugESPHome received: [type:state, platform:switch, isDigital:false, key:3171023721, state:true]
dev:2662023-04-23 05:09:10.991 PMdebug[C][template.switch:061]: Optimistic: YES
dev:2662023-04-23 05:09:10.957 PMdebug[C][template.switch:060]: Restore State: YES
dev:2662023-04-23 05:09:10.922 PMdebug[C][template.switch:099]: Restore Mode: restore defaults to OFF
dev:2662023-04-23 05:09:10.888 PMdebug[C][template.switch:076]: Template Switch 'mmWave Sensor'
dev:2662023-04-23 05:09:10.843 PMdebugESPHome received: [type:state, platform:sensor, key:920262939, state:49.8031463623046875, hasState:true]
dev:2662023-04-23 05:09:10.809 PMdebug[C][template.binary_sensor:018]: Device Class: 'occupancy'
dev:2662023-04-23 05:09:10.774 PMdebug[C][template.binary_sensor:018]: Template Binary Sensor ' Occupancy'
dev:2662023-04-23 05:09:10.740 PMdebugESPHome received: [type:state, platform:sensor, key:389697879, state:45.1092529296875, hasState:true]
dev:2662023-04-23 05:09:10.700 PMdebugESPHome received: [type:state, platform:sensor, key:2314301022, state:24.0149993896484375, hasState:true]
dev:2662023-04-23 05:09:10.658 PMdebug[C][gpio.binary_sensor:016]: Pin: GPIO33
dev:2662023-04-23 05:09:10.623 PMdebug[C][gpio.binary_sensor:015]: Device Class: 'motion'
dev:2662023-04-23 05:09:10.589 PMdebug[C][gpio.binary_sensor:015]: GPIO Binary Sensor ' PIR'
dev:2662023-04-23 05:09:10.549 PMdebugESPHome received: [type:state, platform:light, isDigital:false, key:4263935647, state:false, masterBrightness:1, colorMode:1, colorModeCapabilities:[ON/OFF], colorBrightness:1, red:1, green:1, blue:1, white:1, colorTemperature:0, coldWhite:1, warmWhite:1, effect:]
dev:2662023-04-23 05:09:10.503 PMdebug[C][gpio.binary_sensor:016]: Pin: GPIO15
dev:2662023-04-23 05:09:10.460 PMdebug[C][gpio.binary_sensor:015]: Device Class: 'occupancy'
dev:2662023-04-23 05:09:10.418 PMdebug[C][gpio.binary_sensor:015]: GPIO Binary Sensor ' mmWave'
dev:2662023-04-23 05:09:10.384 PMdebug[C][uart.arduino_esp32:117]: Stop bits: 1
dev:2662023-04-23 05:09:10.350 PMdebug[C][uart.arduino_esp32:116]: Parity: NONE
dev:2662023-04-23 05:09:10.308 PMdebug[C][uart.arduino_esp32:115]: Data Bits: 8
dev:2662023-04-23 05:09:10.274 PMdebug[C][uart.arduino_esp32:114]: Baud Rate: 115200 baud
dev:2662023-04-23 05:09:10.239 PMdebug[C][uart.arduino_esp32:112]: RX Buffer Size: 256
dev:2662023-04-23 05:09:10.199 PMdebug[C][uart.arduino_esp32:110]: RX Pin: GPIO14
dev:2662023-04-23 05:09:10.165 PMdebug[C][uart.arduino_esp32:109]: TX Pin: GPIO13
dev:2662023-04-23 05:09:10.129 PMdebug[C][uart.arduino_esp32:108]: UART Bus 1:
dev:2662023-04-23 05:09:10.095 PMdebugESPHome received: [type:state, platform:binary, isDigital:false, key:718120679, state:true, hasState:true]
dev:2662023-04-23 05:09:10.061 PMdebugESPHome received: [type:state, platform:binary, isDigital:false, key:1881935881, state:true, hasState:true]
dev:2662023-04-23 05:09:10.026 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x70
dev:2662023-04-23 05:09:09.991 PMinfo[I][i2c.arduino:074]: Found i2c device at address 0x23
dev:2662023-04-23 05:09:09.958 PMinfo[I][i2c.arduino:068]: Results from i2c bus scan:
dev:2662023-04-23 05:09:09.915 PMdebug[C][i2c.arduino:058]: Recovery: bus successfully recovered
dev:2662023-04-23 05:09:09.881 PMdebug[C][logger:295]: Log Baud Rate: 115200
dev:2662023-04-23 05:09:09.846 PMdebug[C][logger:294]: Level: DEBUG
dev:2662023-04-23 05:09:09.812 PMdebug[C][logger:293]: Logger:
dev:2662023-04-23 05:09:09.772 PMdebugESPHome received: [type:state, platform:binary, isDigital:false, key:355621613, state:true, hasState:true]
dev:2662023-04-23 05:09:09.728 PMdebug[C][wifi:377]: DNS2: 0.0.0.0
dev:2662023-04-23 05:09:09.694 PMdebug[C][wifi:376]: DNS1: 192.168.187.1
dev:2662023-04-23 05:09:09.650 PMdebug[C][wifi:375]: Gateway: 192.168.187.1
dev:2662023-04-23 05:09:09.607 PMdebug[C][wifi:374]: Subnet: 255.255.255.0
dev:2662023-04-23 05:09:09.571 PMdebug[C][wifi:373]: Channel: 11
dev:2662023-04-23 05:09:09.537 PMdebug[C][wifi:369]: Signal strength: -56 dB ▂▄▆█
dev:2662023-04-23 05:09:09.498 PMdebug[C][wifi:367]: Hostname: 'everything-presence-one-efce90'
dev:2662023-04-23 05:09:09.461 PMdebug[C][wifi:366]: BSSID: 6E:22:32:ED:89:35
dev:2662023-04-23 05:09:09.399 PMdebug[C][wifi:364]: IP Address: 192.168.187.250
dev:2662023-04-23 05:09:09.344 PMdebug[C][wifi:363]: SSID: 'CS Melbourne IoT'
dev:2662023-04-23 05:09:09.308 PMdebug[C][wifi:362]: Local MAC: C8:F0:9E:EF:CE:90
dev:2662023-04-23 05:09:09.273 PMdebug[C][wifi:504]: WiFi:
dev:2662023-04-23 05:09:09.229 PMdebug[C][status_led:064]: Pin: GPIO32
dev:2662023-04-23 05:09:09.185 PMdebug[C][status_led:063]: Status Led Light:
dev:2662023-04-23 05:09:09.145 PMinfo[I][app:104]: Project Everything_Smart_Technology.Everything_Presence_One version 1.1.3
dev:2662023-04-23 05:09:09.103 PMinfo[I][app:102]: ESPHome version 2023.3.2 compiled on Apr 1 2023, 20:36:53
dev:2662023-04-23 05:09:08.677 PMdebugESPHome send msg type #20 with [:]
dev:2662023-04-23 05:09:08.675 PMinfoSubscribing to ESPHome device states
dev:2662023-04-23 05:09:08.673 PMdebugESPHome send msg type #28 with [1:[5, 0], 2:[1, 0]]
dev:2662023-04-23 05:09:08.670 PMinfoSubscribing to ESPHome DEBUG logging
dev:2662023-04-23 05:09:08.668 PMdebugESPHome send msg type #34 with [:]
dev:2662023-04-23 05:09:08.664 PMinfoSubscribing to ESPHome HA services
dev:2662023-04-23 05:09:08.660 PMdebugESPHome received: [type:device, name:everything-presence-one-efce90, macAddress:C8:F0:9E:EF:CE:90, espHomeVersion:2023.3.2, compileTime:Apr 1 2023, 20:36:53, boardModel:esp32dev, hasDeepSleep:false, projectName:Everything_Smart_Technology.Everything_Presence_One, projectVersion:1.1.3, portNumber:0, webServer:http://192.168.187.250:0, btProxyVersion:0, manufacturer:Espressif]
dev:2662023-04-23 05:09:08.643 PMtraceESPHome executing espHomeDeviceInfoResponse
dev:2662023-04-23 05:09:08.351 PMdebugESPHome send msg type #9 with [:]
dev:2662023-04-23 05:09:08.205 PMdebugESPHome received: [platform:network, type:state, state:online, reason:connection completed]
dev:2662023-04-23 05:09:08.192 PMinfoMaster Bathroom - Presence - EP1 is online: connection completed
dev:2662023-04-23 05:09:08.189 PMtraceESPHome executing espHomeConnectResponse
dev:2662023-04-23 05:09:07.777 PMdebugESPHome send msg type #3 with [1:[null, 2]]
dev:2662023-04-23 05:09:07.749 PMinfoESPHome sending connect request (no password)
dev:2662023-04-23 05:09:07.746 PMinfoESPHome device name: everything-presence-one-efce90
dev:2662023-04-23 05:09:07.744 PMinfoESPHome server info: everything-presence-one-efce90 (esphome v2023.3.2)
dev:2662023-04-23 05:09:07.742 PMinfoESPHome API version: 1.7
dev:2662023-04-23 05:09:07.739 PMtraceESPHome executing espHomeHelloResponse
dev:2662023-04-23 05:09:07.480 PMdebugESPHome send msg type #1 with [1:[Hubitat Club Steve Melbourne(new), 2]]
dev:2662023-04-23 05:09:07.456 PMinfoESPHome requesting API version
dev:2662023-04-23 05:09:06.202 PMdebugESPHome received: [platform:network, type:state, state:connecting, reason:host 192.168.187.250:6053]
dev:2662023-04-23 05:09:06.200 PMinfoMaster Bathroom - Presence - EP1 is connecting: host 192.168.187.250:6053

I'll be glad to help test this in DMs, Signal, Telegram or whatever if you want.

Ok I got some of these EP1 sensors. How do I get hubitat to see them? I have the driver package installed from GitHub. I don't have HA or smart things. Not obvious with ZigBee or zwave modes.

You will need to plug the device into your machine, and use Chrome to configure it, (at least this is one of the recommended methods.)

Using Chrome, go here: Updating and Connecting to WiFi | Everything Presence One Documentation

This will connect to the EP1 over USB-to-serial, and then you can use the interface to install the latest software, set up Wi-Fi, and view the logs. You do NOT want to use the ST firmware, as that works entirely differently.

As for the driver version, I'm not sure the version I'm testing is in the main HPM repo yet. Give it a try though and if not, perhaps that can be updated.

I will point out, however, the EP1 might not be very useful for you without Home Assistant, or the ESP configuration tools that you would need to run separately. Meaning... there are no sensitivity adjustments, or any basic settings that can be modified. If it constantly bounces between occupied/not-occupied, you're SOL.

@jonathanb says he might look into adding these features, but that could take some time. You're better off physically moving or adjusting your environment to make these work properly (for now.)

Yeah I got it to connect to the wifi and got the sensor file edited from prior thread. Just :crossed_fingers:t2: other guy can help figure it out for us without me needing to drop $$$ on HA or Smart things.

I just pushed the version you are using into HPM.

2 Likes