Difference between revisions of "User:Vortex1942/Automating the TEG"

From Space Station 13 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Wip
{{Wip|Reason=}}
|Reason=
}}


== Wireless Devices ==


== Devices ==
=== Frequencies ===
Stuff that MechComp can interact with in engineering.
Using a multitool on a WiFi capable device will tell you it's frequency
* Engineering: 122.5
* Science: 122.9
* Security: 127.4 :)


{|class="wikitable mw-collapsible mw-collapsed plainrowheaders" style="width: 30%;
|'''Pumps'''
|-
|
=== Pumps ===
=== Pumps ===
Powered down pumps do not transfer gas, Meaning they can be used as controllable Electronic Valves,
Powered down pumps do not transfer gas, Meaning they can be used as controllable Electronic Valves,


==== Frequencies ====
Using a multitool on a WiFi capable device will tell you it's frequency
* Engineering: 122.5
* Science: 122.9
==== Commands ====
==== Commands ====
The following points demon
The following points demon
Line 43: Line 45:
* <code>address_tag</code>: <code>pumpcontrol</code>
* <code>address_tag</code>: <code>pumpcontrol</code>


{|class="wikitable mw-collapsible mw-collapsed plainrowheaders" style="width: 30%;
==== Packet Examples ====
|Transmission Examples.
|-
|
Purge Hotloop:
Purge Hotloop:
* <code>tag=Hot Loop Purge Pump;command=power_on</code>
* <code>tag=Hot Loop Purge Pump;command=power_on</code>
Line 55: Line 54:
Set Pressure:
Set Pressure:
* <code>tag=Hot Loop Purge Pump;command=set_target_pressure;parameter=5000</code>
* <code>tag=Hot Loop Purge Pump;command=set_target_pressure;parameter=5000</code>
|}
{|class="wikitable mw-collapsible mw-collapsed plainrowheaders" style="width: 30%;
|'''Gas Mixers'''
|-
|
=== Gas Mixers ===
Did I hear you say "Adjustable combustion chamber temperatures?"
==== Commands ====
* Toggle Power
** <code>command</code>: <code>toggle_pump</code>
** <code>parameter</code>: <code>power_on</code> or <code>power_off</code>
** <code>tag</code>: <code>(Mixer Name)</code>
* Set gas ratio
** '''NOTE''': <code>parameter</code> value is Input 1 ratio only ie. 66 = 66:33
** <code>command</code>: <code>set_ratio</code>
** <code>parameter</code>: <code>(0-100 Number)</code>
** <code>tag</code>: <code>(Mixer Name)</code>
* Set gas pressure
** '''NOTE''': <code>parameter</code> is an uncapped value
** <code>command</code>: <code>set_ratio</code>
** <code>parameter</code>: <code>(Target Air Pressure)</code>
** <code>tag</code>: <code>(Mixer Name)</code>


Status Response:
==== Packet Examples ====
* <code>tag=Cold Loop Gas Supply 2; device=AGP; power=on; target_output=1000; address_tag=pumpcontrol; sender=0201a522; </code>
Set Ratio to 66:33:
* <code>tag=engine_combust_control; command=set_ratio; parameter=66</code>


|}
Set Pressure to 75kPa:
* <code>tag=engine_combust_control; command=set_pressure; parameter=75</code>


Turn off mixer:
* <code>tag=engine_combust_control; command=toggle_pump; parameter=power_off</code>


|}


<code>tag</code>: <code>(Pump Name)</code>
<code>tag</code>: <code>(Pump Name)</code>


<code></code>: <code></code>
<code></code>: <code></code>

Revision as of 12:52, 13 December 2023

MechanicNew64.png This page is under construction.
The following information may be incomplete.

Wireless Devices

Frequencies

Using a multitool on a WiFi capable device will tell you it's frequency

  • Engineering: 122.5
  • Science: 122.9
  • Security: 127.4 :)
Pumps

Pumps

Powered down pumps do not transfer gas, Meaning they can be used as controllable Electronic Valves,

Commands

The following points demon

  • WARNING: Omitting tag will cause commands to be sent to ALL pumps
  • Power on
    • command: power_on
    • tag: (Pump Name)
  • Power off
    • command: power_off
    • tag: (Pump Name)
  • Set target pressure
    • NOTE: parameter has a max value of 5066.25kPa
    • tag: (Pump Name)
    • command: set_target_pressure
    • parameter: (Target Pressure)
  • Broadcast status
    • command: broadcast_status

Pump Status

The following is transmited whenever a pump recieves are command

  • tag: (Pump Name)
  • device: AGP
  • power: on or off
  • target_output: (Target Pressure)
  • address_tag: pumpcontrol

Packet Examples

Purge Hotloop:

  • tag=Hot Loop Purge Pump;command=power_on

Check All Pumps:

  • command=broadcast_status

Set Pressure:

  • tag=Hot Loop Purge Pump;command=set_target_pressure;parameter=5000
Gas Mixers

Gas Mixers

Did I hear you say "Adjustable combustion chamber temperatures?"

Commands

  • Toggle Power
    • command: toggle_pump
    • parameter: power_on or power_off
    • tag: (Mixer Name)
  • Set gas ratio
    • NOTE: parameter value is Input 1 ratio only ie. 66 = 66:33
    • command: set_ratio
    • parameter: (0-100 Number)
    • tag: (Mixer Name)
  • Set gas pressure
    • NOTE: parameter is an uncapped value
    • command: set_ratio
    • parameter: (Target Air Pressure)
    • tag: (Mixer Name)

Packet Examples

Set Ratio to 66:33:

  • tag=engine_combust_control; command=set_ratio; parameter=66

Set Pressure to 75kPa:

  • tag=engine_combust_control; command=set_pressure; parameter=75

Turn off mixer:

  • tag=engine_combust_control; command=toggle_pump; parameter=power_off

tag: (Pump Name)

: