Scene to Switch AV Gear On/Off

Hey guys

Currently using OpenRemote to control my AV but I would love it if I could have the AV gear switch off when I set the alarm on Night-Stay. Trouble is I don’t see the power buttons for the AV gear in the scene creation. I’m guessing I’ll have to do this by Lua code.

To start, I’d like to run a scene that sends a HTTP request to XBMC to stop whatever is playing. I can do this successfully in OpenRemote but how do I structure this for Vera so that I can enter it in the LUUP tab. Please see the attached file. The full string for the WORKLOAD is:

{"jsonrpc":"2.0","method":"Player.Stop","params":{"playerid":1},"id":1}

Anyone have any ideas on how to do this?

Hi

I don’t know about xmbc, but this Thread talks about how to send http commands: http://forum.micasaverde.com/index.php/topic,29630.0.html