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