HomeGenie Forum

Development => Feature request => Topic started by: dsa4055 on March 15, 2015, 09:34:50 PM

Title: Roomba and Thinking Cleaner and HG
Post by: dsa4055 on March 15, 2015, 09:34:50 PM
Hello

I have buy two Roomba 650 and Thinking Cleaner to Control the Roomba Remote.
https://www.kickstarter.com/projects/thinkingbits/thinking-cleaner-the-wifi-add-on-to-your-irobot-ro?ref=nav_search (https://www.kickstarter.com/projects/thinkingbits/thinking-cleaner-the-wifi-add-on-to-your-irobot-ro?ref=nav_search)

i want to Integrate the Roomba to HG, i found a Pdf with api.
http://www.thinkingcleaner.com/downloads/TC_API.pdf (http://www.thinkingcleaner.com/downloads/TC_API.pdf)

Many other Homeautomation make a plugin for it..HomeWizard compatible, Gira Homeserver , Fibaro,  SmartThings plugin , Vera,  INDIGO, IFTTT.....it was great when HG have it to :-)

Cheers
David
Title: Re: Roomba and Thinking Cleaner and HG
Post by: hybridview on March 20, 2015, 04:43:36 PM
I didn't know this roomba device was in development. I have a spare roomba that is just begging for this. I might acquire this interface and develop some supporting code when time permits.
Title: Re: Roomba and Thinking Cleaner and HG
Post by: dsa4055 on April 29, 2015, 10:53:05 PM
i have make tests with iframe but i dont know how to make the Wigdet work for this to put in on the Group.

i Need help :-)
Title: Re: Roomba and Thinking Cleaner and HG
Post by: dani on April 30, 2015, 11:11:56 AM
You have to put some code in javascript.

You can look at the code of SunData Widget. I think create a renderview function that make a minimum of things will be suffisant.

[{
    Name: "RoomBa  Widget",
    Author: "Dani",
    Version: "2015-04-30",

    GroupName: '',
    IconImage: 'pages/control/widgets/weather/earthtools/images/AtYourChoice.png',
    StatusText: '',
    Description: '',
    Initialized: false,

    RenderView: function (cuid, module) {
        var container = $(cuid);
        var widget = container.find('[data-ui-field=widget]');
        //
        if (!this.Initialized) {
            this.Initialized = true;
        }
    }
}]


I know that if the Widget.js file doesn't exist the widget disappear from the control group.
But I don't test

Cheers
Dani
Title: Re: Roomba and Thinking Cleaner and HG
Post by: dsa4055 on May 02, 2015, 12:19:54 PM
Hello

I have made a widget and a program for iFrame to put my Roombas in Homegenie.
With the iFrame progam you can put News or other things like Romba Squeezbox etc.
It is the first Version of the program and  know Roomba works only.
I Need to do some Change to finish this.