JSON file for Heater in Homekit
unknown
json
3 years ago
1.6 kB
9
Indexable
{ "c": // General config section { "l":13, // Enable status LED at GPIO 13 "i":1, // Invert status LED GPIO "n":"Heater", // Custom hostname to use for the device "b": // Define button to Invoke Setup Mode [ { "g":0, // Button GPIO 0 "t":5 // Hold press during 8 seconds } ] }, "a": // Accessory section [ { "0": // Actions triggered when HomeKit switch is set to OFF { "r": // Digital output [ { "g":12 // Relay connected to GPIO 12 //"v":0 Value assigned to the relay OFF. Default value. } ] }, "1": // Actions triggered when HomeKit switch is set to ON { "a":0 // Copy action "0" (All OFF) }, "3": // Actions triggered when service HeaterCooler is active and heating { "r": // Digital output [ { "g":12, // Relay connected to GPIO 12 "v":1 // Value assigned to the relay ON } ] }, "5": // Action to perform when there is a sensor error { "a":0 // Copy action "0" (All OFF) }, "t":21, // Accessory type 21 (HeaterCooler) "s":5, // Initial start = Last state before restart "g":14, // Sensor GPIO 14 "n":3, // Sensor Type 3: DS18B20 Temperature sensor "j":10, // How often the temperature sense is read in seconds "b": // Button [ { "g":0 // Button at GPIO 0 } ], "d":2, // Deadband/Hysteresis of service HeaterCooler "x":45, // Maximum temperature that can be set "m":15 // Minimum temperature that can be set } ] }
Editor is loading...