Gencloud Event Types

Events still in use.

Deprecated Events no longer in use. (Deprecated in version 1.1.36 of the Device Software)

Events still in use.

Deprecated Events no longer in use. (Deprecated in version 1.1.36 of the Device Software)

 

Protocol Name

Protocol ID

ID

Hex ID

Name

Description

Generic

1

0

0x00

Dummy Event Packet

No purpose

Generic

1

1

0x01

Connected Event

Device connected with unknown connection type

Generic

1

2

0x02

Connected Modem Packet

Device connected over Modem

Generic

1

3

0x03

Connected Wifi Packet

Device connected over WiFi

Generic

1

4

0x04

Connected Ethernet Packet

Device connected over Ethernet

Generic

1

5

0x05

Watchdog Setup Failure Packet

Raspberry Pi watchdog could not be setup for Controller

Generic

1

6

0x06

Software Startup Event Packet

Controller software has launched

Internal

32

0

0x00

Presence Disconnected Event Packet

Controller has gone offline

Genflow

64

0

0x00

Connector Scanned Event Packet

Controller has found a connector, at most 1 per connector every 5 minutes

Genflow

64

1

0x01

Connector Signal Event Packet

Connector signal strength (RSSI from -90 to -42 and Packet Loss from 0 to 1)

Genflow

64

2

0x02

Installation Connector State Event Packet*

Details if a Connector is connected or disconnected

Genflow

64

3

0x03

Connector Flow Sensor Information Event Packet*

Details about a Connectors connected flow sensors (connected, temperature)

Genflow

64

4

0x04

Connector Signal Rating Event Packet

Rating of the Connector Signal from 0 to 1

Genflow

64

5

0x05

Connector State Event Packet*

Websocket message detailing if a Connector is connected

Genflow

64

6

0x06

Connector Calculated Flow Sensor Information Event Packet*

Websocket version of Genflow 0x03, detailing connector flow sensor state

Genflow

64

7

0x07

Installation Connector State Detail Event Packet*

Details the state (battery, vdd, chip temperature, ambient temperature, charging, power supply and battery connection status) of a connector

Genflow

64

8

0x08

Connector State Detail Event Packet*

Details the state (battery, vdd, chip temperature, ambient temperature, charging, power supply and battery connection status) of a connector

Genflow

64

9

0x09

Pour Start Event Packet*

Installation Pour Started

Genflow

64

10

0x0A

Pour Stop Event Packet*

Installation Pour Stopped

Genflow

64

11

0x0B

Full Pour Event Packet*

Installation Pour Started and Stopped very quickly

Genflow

64

12

0x0C

Pour Start Event Websocket Packet*

Websocket version of Genflow 0x08

Genflow

64

13

0x0D

Pour Stop Event Websocket Packet*

Websocket version of Genflow 0x09

Genflow

64

14

0x0E

Full Pour Event Websocket Packet*

Websocket version of Genflow 0x0A

Genflow

64

15

0x0F

Calibration Result Event Packet

Details the result of a calibration. Information within the Packet includes the connector and flow sensor id that calibration was attempted on. “calibration_result”: 0 is success, everything else is bad

Genflow

64

16

0x10

Pour Start Complete Event Packet

Pour Started, details the controller and sensor id that the pour was generated on

Genflow

64

17

0x11

Pour Stop Complete Event Packet

Pour Stopped, details the controller and sensor id that the pour was generated on and the volume

Genflow

64

18

0x12

Full Pour Complete Event Packet

Pour Started and Stopped quickly, details the controller and sensor id that the pour was generated on and the volume

Genflow

64

19

0x13

Pour Stop with Temp Complete Event Packet

Same purpose as Genflow 0x11 but also includes temperature

Genflow

64

20

0x14

Full Pour with Temp Complete Event Packet

Same purpose as Genflow 0x12 but also includes temperature

Genflow

64

21

0x15

Calibration Start Websocket Packet

Websocket message stating that calibration has started

Genflow

64

22

0x16

Calibration Stop Websocket Packet

Websocket message stating that calibration has stopped

Genflow

64

23

0x17

Calibration Cancel Websocket Packet

Websocket message stating that calibration has been cancelled

Genflow

64

24

0x18

Connector Firmware Update Event Packet

Sent for each connector when a firmware update process has been completed. Ignore the “complete” true/false and look at the “firmware_version”

Genflow

64

25

0x19

Connector Stack Warning Inactive Event Packet

Connector Stack is no longer in a warning state (this is good, but alarming that it ever entered a warning state in the first place…)

Genflow

64

26

0x1A

Connector Battery Connect Event Packet*

Previously used to detect when the battery was connected. We could never accurately tell so it was deprecated in 1.1.36

Genflow

64

27

0x1B

Connector Battery Disconnect Event Packet

Previously used to detect when the battery was disconnected. We could never accurately tell so it was deprecated in 1.1.36

Genflow

64

28

0x1C

Connector Disconnect Event Packet

Connector is no longer communicating with the controller

Genflow

64

29

0x1D

Connector Flow Sensor Connect Event Packet

Flow sensor has been connected to a connector

Genflow

64

30

0x1E

Connector Flow Sensor Disconnect Event Packet

Flow sensor has been disconnected from a connector

Genflow

64

31

0x1F

Connector Flow Sensor Tamper Event Packet

Flow sensor has been knocked/hit, typically comes with a small pour

Genflow

64

32

0x20

Connector PSU Connect Event Packet

Connector power supply has been connected

Genflow

64

33

0x21

Connector PSU Disconnect Event Packet

Connector power supply has been disconnected

Genflow

64

34

0x22

Connector Stack Warning Active Event

Related to Genflow 0x19. This event means the connector stack has reached a state of warning. Very bad.

Genflow

64

35

0x23

Connector Light Sensor Active Event Packet

Connector light sensor tamper has been activated (the lid has been opened)

Genflow

64

36

0x24

Connector Light Sensor Inactive Event Packet

Connector light sensor tamper has been deactivated (the lid has been closed, or somebody turned the lights off with the lid open)

Genflow

64

37

0x25

Connector Connect Event Packet

Connector has started communicating with the controller

Genflow

64

38

0x26

Controller PSU Connect Event Packet

Controller power supply has been connected

Genflow

64

39

0x27

Controller PSU Disconnect Event Packet

Controller power supply has been disconnected

Genflow

64

40

0x28

Controller Tamper Active Event

Controller tamper has been activated (lid has been opened)

Genflow

64

41

0x29

Controller Tamper Inactive Event

Controller tamper has been deactivated (lid has been closed)

Genflow

64

42

0x2A

Controller I2C Watchdog Triggered Event Packet*

Previous version of Genflow 0x2E. Only contains the response from I2C

Genflow

64

43

0x2B

Calibration Result Event Websocket Packet

Websocket version of Genflow 0x0F.

Genflow

64

44

0x2C

Pour Event Websocket Packet

Websocket message detailing when a pour has been started or stopped, includes some information such as bar name, tap index, drink name

Genflow

64

45

0x2D

Duplicate Pour Event Websocket Packet

Websocket message containing the same content as Genflow 0x2C. This message is used when a pour has already been stored but has been detected again.

Genflow

64

46

0x2E

Controller I2C Payload Error Event Packet

Controller has responded with a weird response that the software can’t understand, eg; expecting 50 bytes got 2.

Genflow

64

47

0x2F

Command Response Websocket Packet

Websocket message detailing when commands have been responded to

Genflow

64

48

0x30

Connector Unexpected Version Change Event Packet

Connector has changed firmware version unexpectedly, this is very rare but happens when a firmware update has been completed, then the firmware crashes. So, it rolls back

Genflow

64

49

0x31

Connector Commands Update Event Packet

Sent every 6 hours for each connector, contains information about number of commands sent, the signal strength and number of commands received. You can figure out the average signal strength and packet loss from this packet!

Genflow

64

50

0x32

Connector Ambient Temperature Update Event Packet

Sent every hour for each connector, contains information about min/max ambient temperature, the total and number of samples used. You can determine the min/max/average from this packet!

Genflow

64

51

0x33

Connector Calibration Save Event Packet

Sent when the calibration is saved to non-volatile memory on the connector. Typically sent after calibration is completed but can be sent at other times too.

 

* Deprecated in version 1.1.36 of the Device Software