Note: If you downloaded my file on the the 1st day I found an error in one of the scripts, redownload it.
Domoticz is one of the home automation systems out there that doesn't have any integration for Shark Vacuums. So I wrote some python scripts to bring it in. Here are the requirements and instructions. The scripts are attached.
General information:
I use a Shark ION vacuum, I can't guarantee this will work for all Shark vacuums. If this script breaks your vacuum it's not my fault! USE AT YOUR OWN RISK!
Shark contracted out a company called Alya Networks to do their integration. Although their vacuums only seem to work through the app, Alya has a web portal you can control your vacuum through. My scripts interface with this portal to control the vacuum. If you log in there be EXTREMELY careful it doesn't have any protections to prevent you from breaking your vacuum.
The timer script creates all the needed devices and variables automatically. An important note is these scripts only work with one vacuum. If you have more than one that it will automatically grab the 1st one you registered with Shark. The others will be ignored. Another note is the scripts aren't totally complete. I'd like to add things like uploading your Domoticz room map to the vacuum without it having to learn your house. Possibly some other functions/switches I didn't need that urgently.
Requirements:
1: Shark Vacuum
2: Shark account with email and password
3: Python enabled on your server
4: Curl enabled on your server
5: None passworded, open access from localhost (127.0.0.1)
Instructions:
1: Place the scripts in your /scripts/python folder.
2: Wait at least a minute for the 1st script to kick in and created all your variables and devices.
3: Goto the user variable section in Domoticz, Update the AylaMail and AylaPass variables with the ones you used to sign up with in the Shark App.
4: That's it! You can go into your switches and Utility sections in Domoticz to view the new hardware. Due to limitations to the way the integration by Shark was done I split out the devices that provide info (placed into the Utility section) and buttons to activate and control the vacuum (in the Switches section).
5: Now you can use Domoticz timers and scripts to control your vacuum.
Shark ION Robot Integration, Updated
Moderator: leecollings
-
- Posts: 48
- Joined: Tuesday 03 January 2017 0:37
- Target OS: Linux
- Domoticz version: 13939
- Location: USA
- Contact:
Shark ION Robot Integration, Updated
- Attachments
-
- SharkVacuumScripts.zip
- (11.02 KiB) Downloaded 22 times
-
- Posts: 48
- Joined: Tuesday 03 January 2017 0:37
- Target OS: Linux
- Domoticz version: 13939
- Location: USA
- Contact:
Re: Shark ION Robot Integration, Updated
I created a Git repo for this if people wanted to add improvements: https://github.com/Ittiz/Domoticz_SharkIQ_Integration
Who is online
Users browsing this forum: No registered users and 1 guest