GhostXML  

Developer: Dave's Plugins     Like this plugin? Show your appreciation!
Category: Virtual Devices and Scenes
Github: Github Repo
Assistance: Get help!    Check the online documentation
Plugin ID: com.fogbert.indigoplugin.GhostXML
Latest release: v0.4.13 released on July 20, 2018
Release downloaded: 0 times
Requires: Indigo v7.0.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

GhostXML Logo
The GhostXML plugin allows users to create custom devices for XML and JSON data sources.

The purpose of the GhostXML plugin is to interface with XML and JSON files (web-based or on the local machine) and parse the XML to device states. If the structure of the XML or JSON changes over time, the plugin will pick up the new structure and add the states automatically. Similarly, if the XML or JSON source drops keys from the data, those states will disappear from the device states list.

As noted above, the plugin supports XML and JSON feeds. It also includes the ability to perform variable substitutions within a URL, and provides a facility for Basic and Digest Authentication for downloading data from sites that require a username and password.

Release details
Released on: July 20, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

v0.4.13 - Moves proc kill timer to function.

v0.4.12 - Fixes bug when new devices are created. - Changes default debugging level to informational messages.

v0.4.11 - Adds timeout setting to device config.

v0.4.10 - Adds timeout to proc.communicate()

Release details
Released on: July 18, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  • Debugs new bug in setting of debug level for new installs.
Release details
Released on: July 17, 2018
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

v0.4.08 - Fixes bug in setting of debug level for new installs. - Code refinements.

Release details
Released on: July 8, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

This release combines all beta and other changes since the last stable release.

All users of the plugin can upgrade to this version (GhostXML now requires Indigo 7.x). The GhostXML plugin now uses considerably fewer system resources and all users running versions older than 0.4.04 are strongly encouraged to upgrade their plugins.

Highlights:

v0.4.06 - Adds new Action Item to adjust the refresh frequency of a specified GhostXML device. - Improves device configuration validation and help bubble text.

v0.4.05 - Adds feature to automatically disable a device if it has failed to refresh 10 times.

v0.4.04 - Adds option for sites that require token authentication. - Completely refactors threading. - Migrates plugin devices to their own class. - Updates docstrings to Sphinx standard. - Refines logging. - Fixes bug where changes to debug level not applied. - Fixes bug where curl reported error when completed successfully.

flatdict.py - Adds trap for dict values that are empty lists or empty dicts. The trap replaces the list or dict with 'None'. This allows the plugin to retain and show the key as a device state.

v0.4.02 - Migrates writing of device states to API 2.0 [ dev.updateStatesOnServer() ].

v0.4.01 - Requires Indigo 7.0 - Updates to Indigo API 2.0 - Removes Toggle Debug from plugin menu.

Release details
Released on: May 4, 2018
Requires: Indigo v5.0.0+
Downloaded: 0 times 
Changes in this release
  • Adds ability to parse JSON keys that contains spaces.
Release details
Released on: March 27, 2018
Requires: Indigo v5.0.0+
Downloaded: 0 times 
Changes in this release
  • Fixes bug that could occur when establishing new devices with Basic Auth.
  • Code clean up.
Release details
Released on: Feb. 5, 2018
Requires: Indigo v5.0.0+
Downloaded: 0 times 
Changes in this release
  • Updates plugin update checker to use curl to overcome outdated security of Apple's Python install.
Release details
Released on: Jan. 6, 2018
Requires: Indigo v5.0.0+
Downloaded: 16 times 
Changes in this release
  • Adds basic authentication to config dialog.
  • Cosmetic changes to device config dialog.
  • Fixed bug in menu option to disable all GhostXML devices.
  • Fixed bug in call to manually refresh a device.
Release details
Released on: Dec. 13, 2017
Requires: Indigo v5.0.0+
Downloaded: 18 times 
Changes in this release
  • Converts last string operations to Unicode.
Release details
Released on: Nov. 22, 2017
Requires: Indigo v5.0.0+
Downloaded: 11 times 
Changes in this release

0.3.11 - Installs threading in place of multiprocessing. - Code refinements.