Making my first plugin : ThinkingCleaner for Roomba
Posted: Mon Jan 25, 2016 1:01 am
Since it doesn't look like anyone else has made or shared a plugin for the thinkingcleaner wifi add on for roomba, I am going to try for my self.
This will then be my first plugin, so I hope someone can point me in the right direction.
The thinkingcleaner has a well defined (in my opinion) API that can be found here : http://www.thinkingcleaner.com/setup/api/#API
As far as I can see sending commands can be done through sending a "http command"
Example:
So I thought I should start playing around a little with this. I have also gone through the Indigo documentation: http://wiki.indigodomo.com/doku.php?id=indigo_5_documentation:plugin_guide
So my first question is what software is recommended for this kind of programming? And if anyone has some useful tips, please share them
This will then be my first plugin, so I hope someone can point me in the right direction.
The thinkingcleaner has a well defined (in my opinion) API that can be found here : http://www.thinkingcleaner.com/setup/api/#API
As far as I can see sending commands can be done through sending a "http command"
Example:
- Code: Select all
Clean
This command starts a cleaning cycle like pressing the 'Clean' button on the Roomba. When Roomba is
sleeping this command will wake Roomba first and execute the Dock command. When Roomba is cleaning,
this command will stop the Roomba.
Example:
http://thinking.local/command.json?command=clean
returns:
{
"action" : "clean",
"result" : "success
}
So I thought I should start playing around a little with this. I have also gone through the Indigo documentation: http://wiki.indigodomo.com/doku.php?id=indigo_5_documentation:plugin_guide
So my first question is what software is recommended for this kind of programming? And if anyone has some useful tips, please share them