Skip to content

Commit

Permalink
Added notes about module not working with V9
Browse files Browse the repository at this point in the history
  • Loading branch information
murphytodd4 committed Nov 5, 2022
1 parent f73200b commit 84c9167
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,14 @@ class instance extends instance_skel {
id: 'info',
width: 12,
label: 'Information',
value: 'This will connect with Rational Acoustics Smaart server.'
value: 'This will connect with Rational Acoustics Smaart server.<br> If using Smaart V9 or newer this module will not work!'
},
{
type: 'textinput',
id: 'host',
label: 'Target IP/hostname',
width: 12
width: 12,
regex: this.REGEX_HOSTNAME | this.REGEX_IP
},
{
type: 'textinput',
Expand Down Expand Up @@ -704,7 +705,7 @@ class instance extends instance_skel {
clearTimeout(this.reconnecting);
this.reconnecting = null;
}

if (this.socket !== undefined) {
// Disconnect if already connected
if (this.socket.readyState !== 3 /*CLOSED*/) {
Expand Down

0 comments on commit 84c9167

Please sign in to comment.