reduced logging
This commit is contained in:
@ -34,7 +34,7 @@ export class RelayBoxThing extends AItem {
|
||||
processMessage(topic: string, payload: string) {
|
||||
// logger.info(`RT: ${topic}, ${payload}`)
|
||||
if (topic == this.deviceStatusTopic) {
|
||||
logger.info(`RT: status received`)
|
||||
// logger.info(`RT: status received`)
|
||||
this.status = JSON.parse(payload)
|
||||
let statusParsed = JSON.stringify(this.status)
|
||||
this.switchStates = JSON.stringify(this.status.data.switchStates)
|
||||
|
Reference in New Issue
Block a user