0.1.1 • Published 8 years ago

stainlesslobster-serial v0.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

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

  1. compressorStatus: Compressor status - Is the compressor running.
    • 0 = Not running
    • 1 = Running at min RPM
    • 2 = Running at max RPM
  2. defrostStatus: Defrost mode status - Is the system defrosting.
    • 0 = not in defrost mode
    • 1 = Defrosting
  3. boxFan: Fridge Fan status - Is the fan running inside the box.
    • 0 = Not running
    • 1 = Running
  4. compressorFan: Room Room Fan status - Is the fan running in the compressor room.
    • 0 = Not running
    • 1 = Running
  5. 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
  6. 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.
  7. boxHumidity: Box relative humidity - Relative humidity percentage. Measured on fan enclosure. Float value representing relative humidity in percent. Example: 55.72.
  8. controllerHumidity: Ambient relative humidity - Relative humidity percentage. Measured in the head unit enclosure. Float value representing relative humidity in percent. Example: 73.21.
  9. compressorVolts: System Voltage - Voltage measured at head unit.

Future Values

  1. 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,
  }
}