User Tools

Site Tools


operations:rpiips

This wiki is not maintained! Do not use this when setting up AuScope experiments!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
operations:rpiips [2019/09/02 03:40]
Jim Lovell [Operating modes]
operations:rpiips [2021/03/25 19:28] (current)
Guifre
Line 1: Line 1:
 +**Paged moved**
 ====== IPSPi1Hb: Raspberry Pi Internet Power Switch ====== ====== IPSPi1Hb: Raspberry Pi Internet Power Switch ======
  
Line 4: Line 5:
  
 ===== IPS Usage ===== ===== IPS Usage =====
 +
 +Current configuration of ipspi1Hb
 +
 +
 +| PS1 | PS2 | PS3 | PS4 | PS5 | PS6 | PS7 |
 +|-
 +| FlexbuffHb 1 | Universal counter | Laser PSU | - | FlexbuffHb 2 | External PS | External PS |
 +
 +External PS: External Power supply provide current to the two RF to Optics + RF filters. We need two since a 5 and a 12 Volts are required.
 +
 +dbbc3 is powered up directly from a separate UPS. We don't want to overload the system. ​
  
 ==== Local control ==== ==== Local control ====
Line 35: Line 47:
 ===== Remote Switch Usage ===== ===== Remote Switch Usage =====
  
-These are small power-socket mounted switches for remote control of whatever device is plugged into them. Once set up, the switch can be controlled locally via a button or remotely from the IPS via the Switch Interface software.+These are small power-socket mounted switches for remote control of whatever device is plugged into them. Once set up, the switch can be controlled locally via a button or remotely from the IPS via the Switch Interface software. The switches share information about their state with some server software on the IPS and can receive remote commands from the IPS too. Because the switches are designed to use the WiFi network intermittently,​ they check in with the server at regular (configurable) intervals to synchronise state information and process any pending commands. If a device is turned on or off locally after a remote (software) command has been sent, then the local operation takes precedence. Likewise, if the remote command is the most recent, it is executed at the next check-in.
  
 The switches operate in two modes: setup and operating. The switches operate in two modes: setup and operating.
Line 42: Line 54:
  
 If you hold down the button when you turn on the switch, it will enter setup mode regardless of the previous state. This is useful if you need to reconfigure the device. Hold down the button until you see the Busy LED (orange) flashing and the WiFi LED (red) on. If you hold down the button when you turn on the switch, it will enter setup mode regardless of the previous state. This is useful if you need to reconfigure the device. Hold down the button until you see the Busy LED (orange) flashing and the WiFi LED (red) on.
 +
 +=== Wifi Modes ===
 +To keep RFI down, the switch can be configured to only turn its WiFi on when it does an update. To toggle between these modes, either hold down the button on the switch for more than 2 seconds or set the update interval in the SwitchInterface software to 0.
 +
 +== Intermittent WiFi ==
 +In this mode, the WiFi is off most of the time but the switch will connect at a specified time interval and do an update. This update interval can be configured in setup mode or via the SwitchInterface program.
 +
 +== Constant WiFi ==
 +In this mode, the WiFi is on all the time and the switch will attempt a status update with the server every 60s (by default) or whatever update time is specified when in setup mode. This is indicated by the WiFi LED being on at all times.
  
 ==== Setup mode ==== ==== Setup mode ====
Line 48: Line 69:
  
 Once you've connected, you will see a new window like this on your browser: Once you've connected, you will see a new window like this on your browser:
 +
 +{{:​operations:​documentation:​rr4859390.png?​400|Initial setup window}}
  
 Choose "​Configure WiFi". You'll then see something like this: Choose "​Configure WiFi". You'll then see something like this:
  
-Select the network you want the switch to connect to from the list at the top of the screen and put in the WiFi password. Make any other configuration changes here too. NOTE: the Name of the switch, the address of the MQTT server (ipspi1hb in Hobart) and the update time when WiFi is constantly on (see below) can only be configured from this interface. Other items are remotely configurable from the SwitchInterface software.+{{:​operations:​documentation:​rr4859390-2.png?​400|Config window}} 
 + 
 +Select the network you want the switch to connect to from the list at the top of the screen and put in the WiFi password. Make any other configuration changes here too. //NOTE: the Name of the switch, the address of the MQTT server (ipspi1hb in Hobart) and the update time when WiFi is constantly on (see below) can only be configured from this interface.// Other items are remotely configurable from the SwitchInterface software.
  
 ==== Operating modes ==== ==== Operating modes ====
Line 84: Line 109:
  
  
-===== Network ===== 
- 
-Mount the SD card. 
- 
-Enable ssh: 
-touch /​Volumes/​boot/​ssh 
- 
-IP address: 131.217.63.5 
-hostname: ipspihb 
  
-interface eth0 
-static ip_address=131.217.61.28/​26 
-# /26 = netmask of 255.255.255.192 
-static routers=131.217.61.1 
-static domain_name_servers=131.217.0.19 
/home/www/auscope/opswiki/data/attic/operations/rpiips.1567395605.txt.gz · Last modified: 2019/09/02 03:40 by Jim Lovell