Hi all -
I would like to explore ways to get data from a SensorPush sensor more frequently.
Here’s my setup:
Home Assistant 2023.2.0 on a Raspberry Pi 4
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230201.0 - latest
ESPHome running a generic ESP32 Core Board from Inland (The ESP is currently configured to only monitor/control a BedJet device).
According to SensorPush, the hardware records and presents data once a minute.
Searching around the net, I found that I could use the SensorPush BLE API and SensorPushBleak to get data from the device on demand. I made a little python script to run on a separate Raspberry pi 3 and get sensor data on demand - works pretty good.
Hopefully, without adding more hardware to my whole setup, I’d like to be able to run the above functionality to poll the SensorPush device from within Home Assistant. Here’s what I’ve tried:
Official
-
Investigated the official Home Assistant Integration for SensorPush. Did not see a way to increase the frequency of incoming data.
-
Installed Python Scripts. Could not run my script because it not possible to use Python imports (need to import BleakClient referenced above)
-
Installed HACS and Passive BLE Monitor. Again stuck with the one reading per minute constraint of the hardware.
-
As of today, I’m investigating using the ESPHome BLE Client Sensor to query the SenorPush device - looks promising (?)
I’m only about 3 days into working with Home Assistant and this issue, but thought I’d reach out to this excellent community for comments on attacking this goal of getting data on demand from a SensorPush sensor.
Thanks in advance for your consideration and comments.
John