Hubitat Driver Code for Delta Faucet VoiceIQ v2 API
This driver was built using OpenAI based on the script found here: https://gist.github.com/velaar/4e18a200c1db7b06109a3fd840838684
Thanks to all from the Hubitat community that participated in its creation! More information here: https://community.hubitat.com/t/integration-to-delta-voiceiq/119842?u=sebastien
Setup:
- Reset your VoiceIQ module and set it up again using the DFC@Home app
NOTE: I had trouble getting my Gen 1 module to connect at first. The DFC@Home app showed that it joined my 2.4 GHz WiFi, but the green light was not solid on the module. I unplugged the RJ-45 connection from the module for just 1 second (too long and it will reset again). This worked and the LED turned solid green.
- Using Google Chrome, navigate to https://device.deltafaucet.com/#/
- Select the Gen2 VoiceIQ link (even if you have a Gen 1 VoiceIQ module)
- Check the box at the bottom of the page first
By signing in, I have read and agreed to Delta Faucet's Privacy Policy
-
Login with whatever method you used in the app. It shouldn’t matter if you use Amazon, Apple or Google
-
From the Chrome View menu at the top of the screen, select Developer > JavaScript Console
-
At the top of the console window, click on the Network tab
-
On the Delta faucet page, click on the blue button labelled Water Usage - This Week
-
Expand the left side of the inspector window
-
On the Name column, click on the result that starts with UsageReport?macAddress=
-
Copy the MAC Address, since you will need later to enter on the Preferences tab of the Hubitat driver
Do not include : or spaces in MAC Address
-
On the Headers tab, under Request Headers you will find the required the full Authorization token needed.
NOTE: Copy the entire Authorization token after the word Bearer