Home Assistant Water Level Integration

Home Assistant 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.

There is a wonderful Home Assistant Community with lots of additional information as well.

Home Assistant Water Level Integration


    • Related Articles

    • Alexa Integration

      You now can access your PTLevel account information from your Amazon Alexa! What can you ask Alexa? First, always ask "Alexa, open my ptdevices account" Then ask: - what is my tank level? (what are my tank levels? what my tank levels are?") - list my ...
    • API Options

      What is an API? An API stands for application programming interface. It is a way for you to get the data you want or need by making your own program to access and use it. There is a great article on UPWork here that simply explains what an API is in ...
    • Texas’ Water Challenges and the Role of Innovation

      Texas’ Water Challenges and the Role of Innovation Texas, a state defined by its vast landscapes and economic vitality, faces an ongoing water crisis. Severe drought conditions, coupled with rapidly growing population demands, put immense pressure on ...
    • High Water Alarm for Sump Pump

      High Water Alarm for Sump Pump: How the PTLevel Can Help When it comes to protecting your basement or crawl space from water damage, a sump pump is the first line of defense. Adding a high-water alarm and a monitoring device like the PTLevel can ...
    • Water Monitoring in New York: Agriculture, Residential, and Tides

      Water Monitoring in New York: Challenges and Solutions with PTLevel New York is a state of incredible diversity when it comes to water resources. From the iconic reservoirs supplying New York City to private wells in rural upstate areas, the need for ...