I remember a while back that someone on the forum here was looking into using a Chumby or Infocast as an interface for Vera. I think it was “Shady” sorry if it wasn’t you. Anyway has anyone ever got it to work. I have an Infocast laying around and it would be great to use it with Vera. Any info would be helpful.
Thanks
It was @Shady
It officially works, but is coded to my Vera’s IP address and my scene numbers (and of course the labels on the buttons match my scenes).
It is a Get’R’Dun approach and I haven’t had time to go back and set up the page for Chumby where you’d be able to configure the widget to control your Vera and your scenes.
Selfish, I know, but it sounded like someone else was much further along with more control than 4-8 scene buttons I have, and I don’t want to repeat the efforts of someone else. I have the 3.5" Infocasts on my bedside tables and so I have limited screen space and decided to go with 4-8 buttons.
What size Infocast do you have? I’d be happy to send you the code.
I have a 3.5" Chumby One that I’d love to use with my zwave stuff.
I’d like to have a copy of your code too if you don’t mind Shady.
I have one problematic outdoor motion light that sometimes hangs “on” at night and requires a power on/off cycle to get it working again or it just stays on all night. I have it connected to a Zwave outdoor outlet now so when it hangs in the “on” position I fire up my Android tablet and reset it through HomeBuddy. It would be even better if I could quickly reset it through the Chumby setup by the bed!
Thanks…
I’ll upload what I have later tonight when I get home. I had access to Adobe Flash, but you can use FlashDevelop for free. There might be some minor differences, I don’t know.
Each style/version of Chumby/Infocast supports different versions of Actionscript and they have different screen sizes. So each needs a slightly different version of the widget.
Thanks, Shady
Looking forward to putting the Chumby to some good use.
Shady, I have the 8" Infocast. Will it work with it ?
Thanks
[quote=“jackpot, post:7, topic:168422”]Shady, I have the 8" Infocast. Will it work with it ?
Thanks[/quote]
The code will work, but you’ll have to start by creating a larger Flash movie (widgets are just Flash movies) at 800x600 pixels, I believe, so it fits the screen of the 8" Infocast. Then create some buttons with appropriate labels and use my code except change the IP Address of Vera and the Scene numbers. Then upload it to Chumby’s website and then load it on to one of your Channels and there you go.
I think it will be good to familiarize yourselves with the process, because then you can make changes or customizations pretty easily. Come to think of it, I did test this out on my friends Sony DASH and it worked just fine by making a larger movie to fit it.
OK…I’m not sure how I would accomplish what you just recommended,
“creating a larger Flash movie” but I can follow instructions pretty well if it’s not to much trouble for you. If it is I understand.
If you do upload what you have I will give it a go.
Thanks @Shady
Hopefully the online tutorials will give you something to go on. I haven’t used flash myself for a long time so I had a learning curve too. I started at this page:
http://wiki.chumby.com/index.php/Chumby_Flash_Tutorials
Under the heading:
Playing .FLV Files Using NetConnection
And I used this code in each button I created in Flash:
on (release) {
var d:Date = new Date();
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
stream_ns.play(“http://192.168.0.69:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=69&blah=”+d.getTime());
stream_ns.close();
connection_nc.close();
}
Hope this helps. You start by opening Flashdevelop and creating a new project in Flash Lite 3 and/or Actionscript 2 and then once it is created you can adjust the size of the movie, I think. Think of anything Flash as a movie, whether it is a website, game, or Chumby widget, and you’ll just be creating a blank movie and then add buttons to it. Then you just need to copy/paste the code into each button with a scene number in Vera specific to that button. It may take some time, but hopefully you can get it and once you do you’ll be able to change it if you want to.
Another possibility is the Panel Builder widget for Chumby. It allows for a customized button/action setup via an XML file.
I have the widget running, but not sending commands when they are executed via the Chumby.
Maybe another set of eyes can help with the configuration.
http://www.doghouselabs.com/software/index.cgi?cat=chumby&app=Panel+Builder
[quote=“mikea9999, post:11, topic:168422”]Another possibility is the Panel Builder widget for Chumby. It allows for a customized button/action setup via an XML file.
I have the widget running, but not sending commands when they are executed via the Chumby.
Maybe another set of eyes can help with the configuration.
http://www.doghouselabs.com/software/index.cgi?cat=chumby&app=Panel+Builder[/quote]
Is your .xml config file residing on Vera or on your PC? This looks promising, but I’m not sure what URL to use for the .xml file if I place it on Vera somewhere.
The XML and PHP are on my local web server. The Chumby config for Panel Builder points to my web server.
The sample page is displayed properly on my Infocast. The commands are not executing on Vera.
As long as Chumby/Infocast is sending out http commands in a similar syntax (with correct IP and device/scene #):
then things should be working, but notice the yellow text on the command. That was added to append a random string to the command because Chumby can only submit the http command once, by randomizing it with “getTime” it is a new http command everytime.
Does your Chumby at least execute the command once? then stop working?
I’ll see if I can try it later tonight.
The author has it setup to use X10 commands.
The commands don’t execute at all. I can get the sub menu command to work and call a second screen. So I do know the buttons are functioning.
I have attached my Chumby.xml file that it call on the web server.
in your xml file, actionroot should not end in ‘&’ - you need to break the url at the ‘?’ - panel builder will add the ‘?’ when it creates the full url. the action was supposed to be a php script. not sure if it works w/ just a straight URL. run wireshark to sniff the traffic to see if the correct url’s are being created.
one more thing re: panel builder, your web server will also need a crossdomain.xml file in the root directory.
@dhl.
I did get it working. Take a look at:
http://forum.micasaverde.com/index.php/topic,6124.msg48942.html#msg48942
and
http://forum.micasaverde.com/index.php/topic,6124.msg49859.html#msg49859