staromeste / homebridge-http-advanced-accessory

Supports all devices on HomeBridge Platform / Bridges devices to http
Apache License 2.0
65 stars 22 forks source link

DisplayName and JSON catch #41

Closed shanemcw closed 1 year ago

shanemcw commented 1 year ago

Added "displayName" to package.json to display as "HTTP Advanced Accessory" in the Homebridge UI.

Some code in index.js and mappers.js to catch bad external JSON data from crashing Homebridge (fix of Unexpected token M in JSON at position 0 #29; see issue for code; tested for 12 months).