Thinking Cleaner HS3 Script (roomba wifi Control)

Forum over Homeseer scripts (DUTCH forum)

Moderators: TANE, Ruud

Post Reply
bartbakels
Advanced Member
Advanced Member
Posts: 515
Joined: Tue May 31, 2011 6:44 pm
Contact:

Thinking Cleaner HS3 Script (roomba wifi Control)

Post by bartbakels »

Dear all,

Hereby my my HS3 script for getting the roomba status and controlling the roomba via a Thinking cleaner WIFI module in Homeseer 3;
devices
devices
thinking cleaner devices.png (68.3 KiB) Viewed 7062 times
dropbox.com/s/ogjvd86oyd9uq2u/thinking% ... 2.zip?dl=0

Installation instructions:

Unzip the zip file in the homeseer 3 root folder.

- It creates the script (thinking cleaner.vb) in the scripts directory
- thinking cleaner script images in the html folder
- json deserialisation dll in root

Also add this entry to ScriptingReferences in the homeseer settings.ini;

Code: Select all

Newtonsoft.Json;Newtonsoft.Json.dll
Restart Homeseer 3 and add a recurring event to trigger the script every x minutes.
recurring event
recurring event
recurring event.png (24.69 KiB) Viewed 7062 times
The script will automatically create the devices, which display the roomba status and also creates buttons to dock, en start cleaning. The script can also triggered with parameters to execute these commands. (Dock, Clean, Cleanmax)
event clean.png
event clean.png (26.93 KiB) Viewed 7062 times
Please comment and or request improvements in this thread

known Limitations;

- Only support one thinking cleaner module for now
- error handling need improvement

Regards

Bart
Software: HS3, HStouch, Plugwise , BLBackup, BLLatestImage, Zwave, JowiHUE, PHlocation, Netcam, Harmony Plugin, ThinkingCleaner, HSPhone, Eneco Toon Script, Pushover, Visonic Powermax LV Interface

(ON ESXI )on NUC
User avatar
RdP
Advanced Member
Advanced Member
Posts: 989
Joined: Thu May 04, 2006 10:14 am
Location: Netherlands

Re: Thinking Cleaner HS3 Script (roomba wifi Control)

Post by RdP »

Hi Bart,

Looks great !!

I had a slightly different approach... But maybe yours is better (especially voor HStouch)

My plugin creates just 1 HS device instead of different ones for several statuses.

See screenshot. I will submit the plugin to HS, this will take a while. :cry:
2015-01-19_1903.png
2015-01-19_1903.png (21.21 KiB) Viewed 7014 times
Rien
bartbakels
Advanced Member
Advanced Member
Posts: 515
Joined: Tue May 31, 2011 6:44 pm
Contact:

Re: Thinking Cleaner HS3 Script (roomba wifi Control)

Post by bartbakels »

Rien,

Yeah that was the idea to represent them in Hstouch. I probabaly will add other stausses and commands also, but was a bit in a hurry.

But maybe you could reconsider added the devices with statusses in a group? I prefer the use of a plugin above the use of scripts :oops:, your solution looks great as well.

Regards

Bart
Software: HS3, HStouch, Plugwise , BLBackup, BLLatestImage, Zwave, JowiHUE, PHlocation, Netcam, Harmony Plugin, ThinkingCleaner, HSPhone, Eneco Toon Script, Pushover, Visonic Powermax LV Interface

(ON ESXI )on NUC
Post Reply

Return to “Homeseer Scripts Forum”