Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
arachnetech committed Nov 21, 2020
1 parent a49f487 commit d87b770
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions test2/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"getOn": "light/get",
"setOn": "light/set"
},
"whiteMix": true,
"accessory": "mqttthing"
},
{
Expand Down Expand Up @@ -257,21 +258,30 @@
"type": "humiditySensor",
"topics": {
"getCurrentRelativeHumidity": "miflora/Limone",
"getStatusLowBattery": { "topic": "miflora/Limone", "apply": "return message < 20;" }
"getStatusLowBattery": {
"topic": "miflora/Limone",
"apply": "return message < 20;"
}
}
},
},
{
"type": "temperatureSensor",
"topics": {
"getCurrentTemperature": "miflora/Limone",
"getStatusLowBattery": { "topic": "miflora/Limone", "apply": "return message < 20;" }
"getStatusLowBattery": {
"topic": "miflora/Limone",
"apply": "return message < 20;"
}
}
},
{
"type": "lightSensor",
"topics": {
"getCurrentAmbientLightLevel": "miflora/Limone",
"getStatusLowBattery": { "topic": "miflora/Limone", "apply": "return message < 20;" }
"getStatusLowBattery": {
"topic": "miflora/Limone",
"apply": "return message < 20;"
}
}
}
]
Expand Down Expand Up @@ -323,7 +333,9 @@
"setRotationSpeed": "test/fan/setRotationSpeed"
},
"integerValue": true,
"mqttOptions": { "insecure": true }
"mqttOptions": {
"insecure": true
}
},
{
"accessory": "mqttthing",
Expand All @@ -348,6 +360,18 @@
"accessory": "mqttthing",
"logMqtt": "true",
"confirmationPeriodms": 2000
},
{
"type": "lightbulb-RGBWW",
"name": "Test RGBWW",
"url": "192.168.10.35",
"logMqtt": true,
"topics": {
"setRGBWW": "rgbww/rgbww",
"setOn": "rgbww/on"
},
"whiteMix": true,
"accessory": "mqttthing"
}
]
}

0 comments on commit d87b770

Please sign in to comment.