Actions

Difference between revisions of "Weather Station"

From Unofficial Stationeers Wiki

(Created page with "<languages/> <translate> <!--T:1--> {{Itembox | name = Kit (Weather Station) | createdwith = Electronics Printer, Fabricator | cost = 8g Iron, 3g...")
 
 
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
<!--T:1-->
 
<!--T:1-->
 
{{Itembox
 
{{Itembox
| name       = Kit (Weather Station)
+
| name = Kit (Weather Station)
| createdwith = [[Electronics Printer]], [[Fabricator]]
+
| image = [[File:ItemKitWeatherStation.png]]
| cost        = 8g [[Iron]], 3g [[Gold]], 5g [[Copper]], 3g [[Steel]]
+
| prefabhash = 337505889
| stacks      = 1
+
| prefabname = ItemKitWeatherStation
 +
| stacks = 1
 +
| slot_class = SlotClass.None
 +
| sorting_class = SortingClass.Default
 +
| recipe_machine1 = Electronics Printer
 +
| recipe_cost1 = 8g [[Iron]], 3g [[Gold]], 5g [[Copper]], 3g [[Steel]]
 +
| constructs = [[Weather Station]]
 
}}
 
}}
 
{{Structurebox
 
{{Structurebox
| name             = Weather Station
+
| name = Weather Station
| power_usage      = 10W
+
| image = [[File:Weather_Station.jpg]]
| placed_with_item = [[Kit (Weather Station)]]
+
| prefab_hash = 1997212478
| placed_on_grid   = Small Grid
+
| prefab_name = StructureWeatherStation
| decon_with_tool1 = [[Hand Drill]]
+
| power_usage = 10W
| item_rec1       = [[Kit (Weather Station)]]
+
| placed_on_grid = Small Grid
 +
| decon_with_tool1 = [[Hand Drill]]
 +
| placed_with_item = [[Kit (Weather Station)]]
 +
| item_rec1 = [[Kit (Weather Station)]]
 +
| decon_with_tool2 = [[Angle Grinder]]
 +
| const_with_tool1 = [[Welding Torch]]
 +
| const_with_item1 = 3 x [[Plastic Sheets]]
 +
| item_rec2 = 3 x [[Plastic Sheets]]
 
}}
 
}}
  
Line 23: Line 36:
  
 
It will not do anything when placed indoors, but will not flash an error, instead lighting up green in all cases.
 
It will not do anything when placed indoors, but will not flash an error, instead lighting up green in all cases.
 +
 +
Even if not powered, the small Wind turbine on its top will be able to spin. So even without power, it can warn you. (The logic output will not work if not powered!)
  
 
{{Data Network Header}}
 
{{Data Network Header}}
Line 39: Line 54:
 
|}
 
|}
  
{{Data Parameters}}
+
{{Data Parameters|
{| class="wikitable"
+
{{Data Parameters/row|Power|Boolean|w=0|Can be read to return if the Weather Station is correctly powered or not, set via the power system, return 1 if powered and 0 if not|multiple=2|0|Unpowered|1|Powered}}
|-
+
{{Data Parameters/row|Mode|Integer|w=0|The mode of the Weather Station.|multiple=3|0|NoStorm|1|StormIncoming|2|InStorm}}
! Parameter Name !! Data Type !! Description
+
{{Data Parameters/row|Error|Boolean|w=0|1 if device is in error state, otherwise 0|multiple=2|0|<p></p>|1|Error}}
|-
+
{{Data Parameters/row|Activate|Integer|1 if device is activated (usually means running), otherwise 0}}
| Mode || Integer || Does not function (non-writable)
+
{{Data Parameters/row|Lock|Boolean|Disable manual operation of the Weather Station.|multiple=2|0|Unlocked|1|Locked}}
|-
+
{{Data Parameters/row|On|Boolean|The current state of the Weather Station.|multiple=2|0|Off|1|On}}
| Lock || Boolean || Locks the Weather Station, when set to 1. Unlocks it, when set to 0.
+
{{Data Parameters/row|RequiredPower|Integer|w=0|Idle operating power quantity, does not necessarily include extra demand power}}
|-
+
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
| Activate || Boolean || Currently unused.
+
{{Data Parameters/row|NextWeatherEventTime|Integer|w=0|Returns in seconds when the next weather event is inbound.}}
|-
+
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
| On || Boolean || Turns the Weather Station on, when set to 1. Turns it off, when set to 0.
+
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer.}}
|}
+
}}
 
 
{{Data Outputs}}
 
{| class="wikitable"
 
|-
 
! Output Name !! Data Type !! Description
 
|-
 
| Power || Boolean || Returns whether the Weather Station is receiving power and is turned on. (0 for no, 1 for yes)
 
|-
 
| Activate || Boolean || Currently unused.
 
|-
 
| Mode || Integer || Returns the setting of the current mode of the Weather Station. (See [[#Mode_Values|Mode Values]])
 
|-
 
| NextWeatherEventTime || Float || Returns the time in seconds until a storm that is incoming starts, otherwise returns 0
 
|-
 
| Error || Boolean || Returns whether the Weather Station is currently flashing an error. (0 for no, 1 for yes, currently unused)
 
|-
 
| Lock || Boolean || Returns whether the Weather Station is locked. (0 for no, 1 for yes)
 
|-
 
| On || Boolean || Returns whether the Weather Station is set to on. (0 for no, 1 for yes)
 
|-
 
| RequiredPower || Integer || Returns the current amount of power needed for the Weather Station.
 
|}
 
 
</translate>
 
</translate>

Latest revision as of 06:19, 22 May 2024

Kit (Weather Station)
ItemKitWeatherStation.png
Constructing Options Weather Station
Properties
Stacks No
Recipes
Electronics Printer 8g Iron, 3g Gold, 5g Copper, 3g Steel
Logic
Prefab Hash 337505889
Prefab Name ItemKitWeatherStation
Logic Classes
SlotClass.None
SortingClass.Default



Weather Station
Weather Station.jpg
Operation
Power Usage 10W
Prefab Hash 1997212478
Prefab Name StructureWeatherStation
Construction
Placed with Kit (Weather Station)
Placed on Small Grid
Stage 1
Next Stage Construction
Constructed with tool Welding Torch
Constructed with item 3 x Plastic Sheets
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Weather Station)
Stage 2
Deconstruction
Deconstructed with Angle Grinder
Item received 3 x Plastic Sheets



Description[edit]

The Weather Station waits for and warns about weather events such as Storms.

When turned on, the light on the Weather Station starts glowing green when there is no event incoming. If there is an event incoming, it lights up yellow, or red if an event is already occuring.

It will not do anything when placed indoors, but will not flash an error, instead lighting up green in all cases.

Even if not powered, the small Wind turbine on its top will be able to spin. So even without power, it can warn you. (The logic output will not work if not powered!)

Data Network Properties[edit]

These are all Data Network properties of this device.

Mode Values[edit]

These lists the values and meanings for the "Mode" property of the Weather Station.

Value Meaning
0 No Storm
1 Storm Incoming
2 Currently in Storm

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Parameter Name Data Type Access Value Description
Power Boolean
Read
0 Unpowered Can be read to return if the Weather Station is correctly powered or not, set via the power system, return 1 if powered and 0 if not
1 Powered
Mode Integer
Read
0 NoStorm The mode of the Weather Station.
1 StormIncoming
2 InStorm
Error Boolean
Read
0

1 if device is in error state, otherwise 0
1 Error
Activate Integer
Read Write
1 if device is activated (usually means running), otherwise 0
Lock Boolean
Read Write
0 Unlocked Disable manual operation of the Weather Station.
1 Locked
On Boolean
Read Write
0 Off The current state of the Weather Station.
1 On
RequiredPower Integer
Read
Idle operating power quantity, does not necessarily include extra demand power
PrefabHash Integer
Read
The hash of the structure
NextWeatherEventTime Integer
Read
Returns in seconds when the next weather event is inbound.
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer.