Every 60 seconds the fridge optimizer controller will write to the usb/serial port (/dev/tty.wchusbserial1410) at 115200 a string of comma seperated numerical values. The string starts with "Output: " Example of full string: "Output: 0,0,0,0,nan,78.80,nan,39.00,5.00,F,0.02"
compressorStatus
: Compressor status - Is the compressor running.0
= Not running1
= Running at min RPM2
= Running at max RPM
defrostStatus
: Defrost mode status - Is the system defrosting.0
= not in defrost mode1
= Defrosting
boxFan
: Fridge Fan status - Is the fan running inside the box.0
= Not running1
= Running
compressorFan
: Room Room Fan status - Is the fan running in the compressor room.0
= Not running1
= Running
boxTemp
: Box temp - Measured on fan enclosure. Localized (F/C). Float value with two digits or "nan" if no sensor is present. Example:39.05
controllerTemp
: Ambient temp - Temperature of the head unit. Localized (F/C). Float value with two digits or "nan" if no sensor is present. Measured in the head unit enclosure. Example:75.72
.boxHumidity
: Box relative humidity - Relative humidity percentage. Measured on fan enclosure. Float value representing relative humidity in percent. Example:55.72
.controllerHumidity
: Ambient relative humidity - Relative humidity percentage. Measured in the head unit enclosure. Float value representing relative humidity in percent. Example:73.21
.compressorVolts
: System Voltage - Voltage measured at head unit.tempScale
: Temperature Scale - Temp values are sent inF
orC
based on choice user selected in setup. This tells us scale is currently being used.compressorAmps
: Compressor Amps - Number of amps being consumed by the compressor.
{
box: {
fan: true,
temp: -6.61,
humidity: 40,
},
compressor: {
running: true,
resistor: 700,
volts: 12.4,
amps: 5.6
},
controller: {
temp: 26.67,
humidity: 70,
}
}
Need some mapping of fields to SK paths.