Skip to content

Releases: chuank/node-red-contrib-particle

v1.20: utility node enhancements

16 Feb 03:12
Compare
Choose a tag to compare

(Thanks @steves2j)

Utility node now allows claiming and renaming of a supported Particle device.

v1.1.0: SSE disconnect fix

09 Feb 07:01
Compare
Choose a tag to compare

As reported in #16, SSEs will disconnect after a long period of time, or more particularly when client drops out from a network and does not automatically reconnect.

Two workarounds are applied:

  1. Added listener to reconnect when stream ends
  2. Added a keepalive interval to force reconnects every 5 minutes – this should ensure SSEs remain connected even if above stream end event does not fire

v1.0.3

11 Jan 09:00
Compare
Choose a tag to compare

Changelog

  • More stringent checks on field limits and conversion to Strings before sending to Particle Cloud
  • Updated documentation and validation for field limits

v1.0.2

11 Jan 00:27
Compare
Choose a tag to compare

Changelog

  • Fix ParticleVar emit scope error
  • Update README.md with specific upgrade instructions
  • SSEs: don't call encodeURIComponent for devprodslug

SSE: remove URI encoding from event name

03 Jan 00:52
8e167ea
Compare
Choose a tag to compare

v1.0.0: Particle JS API + Product support

02 Jan 12:30
Compare
Choose a tag to compare
  • Adopts the Particle JS API
  • Product support (use Device ID instead of Device name)
  • New Utility node now provides handy utilities:
    • listDevices
    • getDevice
    • signalDevice
  • Verbose Logging option no more (see Breaking Changes below)
  • Node names shortened
  • Node label appearances do not change when node properties are dynamically updated by upstream messages
  • Removed debug comment that exposes access token in logs (!)

BREAKING CHANGES:

  • Node name changes – your existing Particle nodes will need to be set up again. Sorry.
  • For consistency with Particle JS API, nodes now directly pass the returned result from Particle as a JSON object
  • Verbose Logging removed – adopting Node-RED's logging system to provide trace/debug/log details
  • ParticlePublish 'shortcut' mode changed: passing in message with payload and no topic will set new data parameter into ParticlePublish node and trigger the event

TODO:

  • Webhooks
  • Utility node is currently meant for information retreival; in the future it might provide options to edit device names, claim/unclaim, access token access

v0.1.2

09 Oct 03:44
Compare
Choose a tag to compare
  • removed remnant dependency for querystring
  • cleaned up older httpAdmin getter/setter code
  • edited README.md re: license and attribution

v0.1.1

08 Oct 10:05
Compare
Choose a tag to compare

v0.1.1

  • removed console debugging log remnants
  • updated README.md

v0.1.0

08 Oct 09:42
Compare
Choose a tag to compare

v0.1.0

  • access token credentials no longer copied as plain text when exported in clipboard
  • old bug fixes
  • cleaned up documentation; examples added
  • new Particle Publish node: publish events to the Particle Cloud within Node-RED