| Edmon Begoli 的个人资料hGadget Project Space照片日志列表 | 帮助 |
|
7月30日 INSTEON simplified my life ...INSTEON is a new X10 compliant home automation standard.
All of the equipment I purchased for this project, including the development kit was INSTEON based.
The best part of all was actually the implementation of the INSTEON development kit.
I was fortunate to discover that INSTEON supplies the DeviceManager .NET kit that provides a direct API for the manipulation of the X10/INSTEON devices:
using SDM3Server;
//prior to using this code execute SDM3.EXE with the /regserver parameter
SDM3Class sdm3 = new SDM3Class();
//turn the lamp link device on sdm3.SetOnLevelText( "04.9B.CA", "ON" ); //interrogate the device String level = sdm3.GetOnLevelText("04.9B.CA"); Console.WriteLine("Level is " + level); Furthermore, INSTEON also provides a web server that responds to POST/GET entries that can manipulate and query devices as well:
This is all very important because it pretty much helps me realize my webservices based API for the project, both SOAP based and pure RESTful. 引用通告此日志的引用通告 URL 是: http://madeinexpress5.spaces.live.com/blog/cns!A76D9BC62DCF3521!138.trak 引用此项的网络日志
|
|
|