Skip to content

🎉 Version 2.0 🎉

Compare
Choose a tag to compare
@codetheweb codetheweb released this 12 Jan 21:11
· 390 commits to master since this release

Includes

  • Autodiscovery of devices
  • Support for an arbitrary number of devices
  • Support for setting a dps index other than 1
  • Ability to get the schema of a device (this functionality is combined with what was previously getStatus(), now changed to simply get())
  • Better error reporting
  • All functions now return Promises
  • Much better documentation, now with examples
  • A huge performance increase, mainly do to the removal of the auto-reconnect cruft
  • Much better JSON parsing, it should fix Unexpected token � in JSON at position x

Because functions now return Promises, this is a breaking update. Make sure you update your code appropriately.