I’m Xavi, the designer of RooWifi (Roomba Wi-Fi Remote). Sorry If I didn’t participate in this post line before, I didn’t see it. I will look every day to try to help Chuck or anybody wants help. In the case of strangely the only way to switch off totally the led the wifi remote is when the router signal disapears. In this case could be when the router shutsdown or when the power of wifi signal is not enought. I tried to reproduce it in my home and it happens in these two cases. I will try to reproduce another time doing other things.
I’m writing happy because Apple aproved my app to control roomba from iPhone like a car I put here the link to the itunes store app. I supose it will be findable on app store in a few days:
Let’s play (Before connects to your roomba on the bottom left switch configure the IP on the config page and save configuration, after that you could switch on the main screen and let’s play XD)
[quote=“LightsOn, post:84, topic:174190”]I have been trying to add one of the cgi comands to a bit of code and notice i need to add the username and password. I am useing:
how do I parse the string to include username and passwrod details? anybody know?[/quote]
If your code is inside I_xxx.xml and you are giving it as a literal string, you have to make sure the ampersands (&) are given as [tt]&[/tt] . Likewise, if your code (in the .xml file) uses comparison operators like [tt]>[/tt] , [tt]<=[/tt] , etc., they have to appear as [tt]>[/tt] , [tt]<=[/tt] , etc. Otherwise the .xml file parsing will get confused. Lastly, if your username or password have odd characters, they have to be URL encoded before being passed in the URL, or the Roomba wifi’s built-in web server will have trouble parsing them. But what seems more likely to me is the issue with the Lua code embedding in the .xml file.
I wanted to keep things simple and just use wget to send a command like i do with my ipcam. as such i just need a string that i can add the a web browser that has all relervant data in it.
I tried chnaging & to & but no joy sadly.
I will leave the lua dev work to you and chuck - a bit above me but learning fast
I wanted to keep things simple and just use wget to send a command like i do with my ipcam. as such i just need a string that i can add the a web browser that has all relervant data in it.
I tried chnaging & to & but no joy sadly.
I will leave the lua dev work to you and chuck - a bit above me but learning fast :-)[/quote]
You’re very welcome. If you didn’t add the ; (semicolon) to & that could be it… watou
but no cigar :-([/quote]
Shoot. Wish I could test it here but if I had a Roomba my dog would try to kill it and bring me the broken pieces as his quarry.
nice development guys !
i was struggeling with understanding the making of a plugin like a lot of us and i find it very helpfull to read how to approach such.
the main thing is what you want the plugin to do and how to do it.
like for example do you wish to run it autonomicly or by adding a pre-defined route ?
wish for a notification telling the device got stuck.
sending mail to persons to notify about anything changed or happend
perhaps some mini-map like a square which tells you where the roomba is.
battery level reporting, signal reporting.
i have a samsung vacuumcleaner which has remote control and i like to implement this also to vera.
perhaps its wise to make a standard layout which can be adapted to different vacuumcleaners.
every robot cleaner of floorlicking machine uses the command clean and perhaps some directional pads.
and a command to return it to base. and some kind of programmability for more expensive ones.
and has a ON OFF button or sleep mode.
and now works - tried this before but it was IE causing hasstle again, tried in naouther browser and hey presto - so my wget then worked fine. I relay must remebr to try other browsers I have been here before and will likly be again - such a silly error.
Sorry I fell of the radar for soooo long. I had a home improvement project that consumed all of my free time for the past month. Now having put this down, I almost need to start all over! Ugh… I could sure use some help.
Also, is anyone interested in a RooWifi Group Buy? I can work out the details, but I am not sure if I am allowed to do that here on the micasaverde forum?!? I sure don’t want to step on any toes as I really love the forum and do NOT want to be banned!!!
Well, I thought I had it ready to go, but after uploading the files and creating the device… FAIL. I am frustrated!!! I think my device ID’s are part of the issue.
Anyway, I decided to use the Binary Light Device file and change it from “off” to “dock” and from “on” to “clean”… seemed simple enough to work as my D_Roomba device file. Then I took S_SwitchPower as the basis for my Roomba1 service file.
local ipAddress local ROOMBA_SID = "urn:irobot-com:serviceId:Roomba1" local deviceid = lul_device function clean () luup.inet.wget("http://" .. ipAddress .. "/roomba.cgi?button=CLEAN") end function dock () luup.inet.wget("http://" .. ipAddress .. "/roomba.cgi?button=DOCK") end function init(x) end -- well, not really but roughly
init
urn:irobot-com:serviceId:Roomba1
Clean
Clean ()
urn:irobot-com:serviceId:Roomba1
Dock
Dock ()
[/code]
Just can’t seem to piece it all together just right !?! HELP!!! >:(