Skip to content

3. Device Editor project

nanowebcoder edited this page Mar 7, 2016 · 1 revision

The Device Editor is a Windows application designed solely to remove the headache of CORS permission problems when using the excellent Web Configurator that is part of Armzilla's original project. The author got tired of having to start chrome in a more permissive mode just to make simple changes... and so, this Windows application was born.

It does just a few things:

  1. It loads data from a specified webservice (VeraHuesBridgeService specifically, although it will also work with JAVA application in the original Armzilla project).

  2. It can UPDATE a device.

  3. It can DELETE a device.

  4. It can ADD a device.

Unlike the original web configurator, this editor provides access to four additional data fields in Armzilla's original project (DeviceType, ContentType, httpVerb and ContentBody). While DeviceType isnt implemented, the ContentType, httpVerb and ContentBody allows the NanoVeraHuesBridge to control devices using other protocols besides an HTTP GET (such as POSTing JSON content to a server). However, in the author's experiences, 99.9% of control actions performed against the Vera are simple HTTP GETs.