No UDP changes since 114
The WeatherFlow Smart Weather Station's hub broadcasts UDP messages over port 50222 on the local network.
Rain Start Event [type = evt_precip]
		
	{
	  "serial_number": "SK-00008453",
	  "type":"evt_precip",
	  "hub_sn": "HB-00000001",
	  "evt":[1493322445]
	}
	
 
	Evt Value Layout
	
		| Index | Field | Units | 
		| 0 | Time Epoch | Seconds | 
	
 
Lightning Strike Event [type = evt_strike]
		
	{
	  "serial_number": "AR-00004049",
	  "type":"evt_strike",
	  "hub_sn": "HB-00000001",
	  "evt":[1493322445,27,3848]
	}
	
 
	Evt Value Layout
	
	  | Index | Field | Units | 
	  | 0 | Time Epoch | Seconds | 
	  | 1 | Distance | km | 
	  | 2 | Energy |  | 
	
 
Rapid Wind [type = rapid_wind]
		
	{
	  "serial_number": "SK-00008453",
	  "type":"rapid_wind",
	  "hub_sn": "HB-00000001",
	  "ob":[1493322445,2.3,128]
	}
	
 
Ob Value Layout
  | Index | Field | Units | 
  | 0 | Time Epoch | Seconds | 
  | 1 | Wind Speed | mps | 
  | 2 | Wind Direction | Degrees | 
 
Observation (AIR) [type = obs_air]
		
	{
	  "serial_number": "AR-00004049",
	  "type":"obs_air",
	  "hub_sn": "HB-00000001",
	  "obs":[[1493164835,835.0,10.0,45,0,0,3.46,1]],
	  "firmware_revision": 17
	}
	
 
Observation Value Layout
  | Index | Field | Units | 
  | 0 | Time Epoch | Seconds | 
  | 1 | Station Pressure | MB | 
  | 2 | Air Temperature | C | 
  | 3 | Relative Humidity | % | 
  | 4 | Lightning Strike Count |  | 
  | 5 | Lightning Strike Avg Distance | km | 
  | 6 | Battery |  | 
  | 7 | Report Interval | Minutes | 
 
Observation (Sky) [type = obs_sky]
		
	{
	  "serial_number": "SK-00008453",
	  "type":"obs_sky",
	  "hub_sn": "HB-00000001",
	  "obs":[[1493321340,9000,10,0.0,2.6,4.6,7.4,187,3.12,1,130,null,0,3]],
	  "firmware_revision": 29
	}
	
 
Observation Value Layout
	
		| Index | Field | Units | 
		| 0 | Time Epoch | Seconds | 
		| 1 | Illuminance | Lux | 
		| 2 | UV | Index | 
		| 3 | Rain Accumulated | mm | 
		| 4 | Wind Lull (minimum 3 second sample) | m/s | 
		| 5 | Wind Avg (average over report interval) | m/s | 
		| 6 | Wind Gust (maximum 3 second sample) | m/s | 
		| 7 | Wind Direction | Degrees | 
		| 8 | Battery | Volts | 
		| 9 | Report Interval | Minutes | 
		| 10 | Solar Radiation | W/m^2 | 
		| 11 | Local Day Rain Accumulation | mm | 
		| 12 | Precipitation Type | 0 = none, 1 = rain, 2 = hail | 
		| 13 | Wind Sample Interval | seconds | 
	
 
    
Observation (Tempest) [type = obs_st]
		
    {
        "serial_number": "ST-00000512",
        "type": "obs_st",
        "hub_sn": "HB-00013030",
        "obs": [
            [1588948614,0.18,0.22,0.27,144,6,1017.57,22.37,50.26,328,0.03,3,0.000000,0,0,0,2.410,1]
        ],
        "firmware_revision": 129
    }
	
 
Observation Value Layout
	
		| Index | Field | Units | 
		| 0 | Time Epoch | Seconds | 
        | 1 | Wind Lull (minimum 3 second sample) | m/s | 
        | 2 | Wind Avg (average over report interval) | m/s | 
        | 3 | Wind Gust (maximum 3 second sample) | m/s | 
        | 4 | Wind Direction | Degrees | 
        | 5 | Wind Sample Interval | seconds | 
        | 6 | Station Pressure | MB | 
        | 7 | Air Temperature | C | 
        | 8 | Relative Humidity | % | 
        | 9 | Illuminance | Lux | 
        | 10 | UV | Index | 
        | 11 | Solar Radiation | W/m^2 | 
        | 12 | Precip Accumulated | mm | 
        | 13 | Precipitation Type | 0 = none, 1 = rain, 2 = hail | 
        | 14 | Lightning Strike Avg Distance | km | 
        | 15 | Lightning Strike Count |  | 
        | 16 | Battery | Volts | 
        | 17 | Report Interval | Minutes | 
	
 
	Status (device) [type = device_status]
	{
	  "serial_number": "AR-00004049",
	  "type": "device_status",
	  "hub_sn": "HB-00000001",
	  "timestamp": 1510855923,
	  "uptime": 2189,
	  "voltage": 3.50,
	  "firmware_revision": 17,
	  "rssi": -17,
	  "hub_rssi": -87
	  "sensor_status": 0,
	  "debug": 0
	}
 
    Sensor Status (sensor_status) is a set of bit flags, encoded in a single decimal value, each bit represents the following
    
        | Binary Value | Applies to device | Status description | 
        | 0b000000000 | All | Sensors OK | 
        | 0b000000001 | AIR, Tempest | lightning failed | 
        | 0b000000010 | AIR, Tempest | lightning noise | 
        | 0b000000100 | AIR, Tempest | lightning disturber | 
        | 0b000001000 | AIR, Tempest | pressure failed | 
        | 0b000010000 | AIR, Tempest | temperature failed | 
        | 0b000100000 | AIR, Tempest | rh failed | 
        | 0b001000000 | SKY, Tempest | wind failed | 
        | 0b010000000 | SKY, Tempest | precip failed | 
        | 0b100000000 | SKY, Tempest | light/uv failed | 
    
    debug
    
        | Value | Description | 
        | 0 | Debugging is disabled | 
        | 1 | Debugging is enabled | 
    
 
	Status (hub) [type = hub_status]
	{
	  "serial_number":"HB-00000001",
	  "type":"hub_status",
	  "firmware_revision":"35",
	  "uptime":1670133,
	  "rssi":-62,
	  "timestamp":1495724691,
	  "reset_flags": "BOR,PIN,POR",
	  "seq": 48,
	  "fs": [1, 0, 15675411, 524288],
          "radio_stats": [2, 1, 0, 3],
          "mqtt_stats": [1, 0]
	}
 
	Reset Flag Values
	
		| Value | Description | 
		| BOR | Brownout reset | 
		| PIN | PIN reset | 
		| POR | Power reset | 
		| SFT | Software reset | 
		| WDG | Watchdog reset | 
		| WWD | Window watchdog reset | 
		| LPW | Low-power reset | 
	
	fs
	For internal use.
	radio_stats
	
	  | Index | Field | 
	  | 0 | Version | 
	  | 1 | Reboot Count | 
	  | 2 | I2C Bus Error Count | 
	  | 3 | Radio Status (0 = Radio Off, 1 = Radio On, 3 = Radio Active) | 
	
	mqtt_stats
	For internal use.