stainlesslobster-serial
v0.1.1
Published
Information and javascript parsing example for the Stainless Lobster serial output.
Downloads
5
Readme
Stainless Lobster Fridge Optimizer - Serial Connection
Proposal
Every 60 seconds the fridge optimizer controller will write to the usb/serial port a string of comma seperated numerical values. Example: "1,700,1,-6.61,40,26.67,70,12.4,5.6"
Float value representing relative humidity in percent
Float value with two effective decimals Example: 12.38
Values
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.
Future Values
compressorAmps
: Compressor Amps - Number of amps being consumed by the compressor.
Possible Json Format
{
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,
}
}