Code Monkey home page Code Monkey logo

alertme-api-v2-csharp-sample's Introduction

AlertMe API v2 - C# Sample Application

The AlertMe API is a home automation API that is used by Lowe's Iris Smart Home platform (among others). I put together this repository as an example of how to make calls to the XML-RPC API using C#.

Overview

The official AlertMe documentation is included in the AlertMe Web API 2.2.pdf file. This is the file that was used to build and document the C# API.

The C# API is located in the IAlertMeApi.cs file which contains annotations that are consumed by the XmlRcp library.

Currently, the API allows for logging in, retrieving hub information, and querying of device status. It does include a call for sending commands to individual devices, but the API doc doesn't list all of the commands.

It is also important to note that this is not feature complete. I've instead opted to work in the v5 API which is a REST API that has much more complete documentation.

Finally, a quick and dirty WinForms application is also included which allows for quick testing of each API call. Parameters can be pipe delimited an entered into the parameters text box, and the responses will appear as pipe delimited strings (per the API doc) in the responses text box.

Why?

First and foremost, I wanted to write my own mobile application, using C# to make the API calls.

Second, the AlertMe system is the backbone of both the Lowe's Iris and British Gas 'Safe & Secure' products, neither of these services currently provide a publicly documented API interface. I would encourage you to contact the retailers of these products and request that this facility be added, as there is no good reason for its omission.

Additional Resources

AlertMePy - A Python implementation of the AlertMe v2 API

AlertMe Web API Documentation v2.02 - The official API in PDF format

AlertMe Web API Example Code - Contains a HTML test page with a JavaScript implementation as well as some Python source code

I've also included the PDF documentation in this repository in case the URL's above go dark. It is available here.

Future

After writing this API I found out that there is a much better documented and easier to use RESTful API available. I've stopped working on this API in favor of the new one. It can be found here.

License

Copyright © 2014 Justin Unterreiner.

Released under an MIT license; see LICENSE for more information.

alertme-api-v2-csharp-sample's People

Contributors

justin-credible avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.