The PTDevices integration allows you to integrate your PTLevel into Home Assistant. Use cases include:
- Send notifications for low level or excessive usage.
- Setup Automations to turn off pumps when running low.
- Setup Automations to run appliances after water has been delivered.
Supported devices
- PTLevel Long Range Wireless
- PTLevel Long Range Wireless - Septic
- PTLevel Long Range Wireless - Deep Well
- PTLevel Wired Wifi
- PTLevel Wired Wifi - Septic
- PTLevel Wired Wifi - Temperature Probe
Prerequisites
You will need to create a token for your PTDevices account if you haven’t done so already. If you have already generated a Token API token, you don’t need to generate another one.
- Log in to your PTDevices account that contains the devices you wish to integrate.
- Go to the My Account page from the left hand side menu or https://www.ptdevices.com/profile.
- Go to the Settings page from the top menu.
- At the bottom of this page, select the Regenerate API Token button.
- Copy the generated API token to a safe location. This API token will be used when setting up the PTDevices integration in Home Assistant.
Configuration
To add the PTDevices hub to your Home Assistant instance, use this My button:

Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
Go to
Settings > Devices & services
.
In the bottom right corner, select the
Add Integration
button.
From the list, select PTDevices.
Follow the instructions on screen to complete the setup.
Examples
Send a push notification when Low on water
Replace TARGET_PTDEVICE and TARGET_MOBILE_DEVICE with your actual devices.
Supported functionality
The PTDevices integration provides the following entities.
Note
Some sensors are disabled by default because they provide information that is only useful to advanced users. You can manually enable them in Settings > Devices & Services > Entities> the sensor entity you want to enable > Advanced settings > Enabled.
Sensors
Level depth:
- Description: The depth of the remaining fluid.
- Available for models: All
- Unit: Meters
Level percent:
- Description: The remaining level in percent.
- Available for models: All
- Unit: %
Level volume:
- Description: The volume of remaining fluid.
- Available for models: All
- Unit: Liters
Probe temperature:
- Description: The current temperature measured by the external temperature probe.
- Available for models: PTLevel Wired Wifi With Temperature Probe
- Unit: °C
Status:
- Description: The current status of the device. For example, Working or Not connected.
- Available for models: All
Battery voltage:
- Description: The current voltage reading of the onboard batteries.
- Available for models: All battery powered models
- Remarks: Disabled by default for advanced uses.
- Unit: Volts
Wi-Fi signal strength:
- Description: The signal strength of the WiFi at the receiver/WiFI device.
- Available for models: All
- Remarks: Disabled by default for advanced uses.
- Unit: dBm
LoRa signal strength:
- Description: The signal strength between the receiver and transmitter.
- Available for models: PTLevel Long Range Wireless Only
- Remarks: Disabled by default for advanced uses.
- Unit: dBm
Data updates
The integration polls data from PTDevices every 60 seconds by default.
Known limitations
- This integration does not allow you to change the settings of the device. You must go to PTDevices.com to change device settings.
Removing the integration
This integration follows the standard integration removal. No extra steps required.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
Next to the entry, select the three dots
menu. Then, select Delete.
Our Unofficial Integration:
The integration is still in the early stages of development but we can get you up and running with it for the time being. It is not officially supported by Home Assistant yet so you will have to install it manually.
Currently, the only way to install the integration is to add it as a custom component using the Studio Code Server add-on or something similar.
Installation
1. If you haven't done so already, install the Studio Code Server add-on in Home Assistant.
2. Once Studio Code is installed and running, open it from the left sidebar.
When you open Studio Code, it should drop you into a VSCode environment in the "config" directory.
4. If there isn't already a "custom_components" folder, create one.
5. On your computer, unzip the attached "ptdevices.zip" file.
6. Drag and drop the unzipped "ptdevices" folder into the "custom_components" folder in Studio Code.
Make sure that the folder looks like the attached image.
7. Finally, reboot Home Assistant.
If you've done everything correctly, and the integration is working, you should be able to add your device using the PTDevices integration, device ID or MAC address.
You will need an API token as well. You can generate an API token by logging into the PTDevices App or a browser at ptdevices.com, selecting My Account, selecting Settings (indicated by a gear on some devices), scrolling to the bottom to Token API features.
API Token Generator for PTLevel
If you have any problems during the setup process or while using the integration, feel free to reach out. We are always happy to help.
Home Assistant Water Level Integration