Difference between pages "Taking the Wiki Offline" and "AC Power Supply"

From DFN Wiki
(Difference between pages)
Jump to: navigation, search
(Install Kiwix Reader)
(Tag: visualeditor)
 
(Tag: visualeditor)
 
Line 1: Line 1:
These instructions were tested on Debian 9 "Stretch", but should work on any POSIX-compliant system.
+
The power supply recommended for AC powered installations where the observatory is located close to the AC power supply is the [https://www.meanwellaustralia.com.au/products/gst120a Meanwell GST120A12].
  
=== Install mwoffliner ===
+
For observatories with heaters and long DC power cable runs the [https://www.meanwellaustralia.com.au/products/hrp-300 Meanwell HRP-300-12] is recommended as it's remote sense functionality allows it to compensate for any voltage drop in the long cable runs. (If no heaters are present, the [https://www.meanwellaustralia.com.au/products/hrp-150 Meanwell HRP-150-12] is the preferred option.)
Following the instructions here: https://github.com/openzim/mwoffliner.
+
[[File:Power supply wiring with remote voltage sense.svg|none|thumb|640x640px|Power supply wiring with remote sense for long cable runs.]]
  
=== Set Up redis-server for mwoffliner ===
+
=== Outdoor Cable ===
 +
The recommended off the shelf for use on roofs or outdoor structures is the sunlight and abrasion resistant AlphaWire EcoFlex PUR 80045 SL005 (unshielded) or 80145 SL005 (braid shield). Digi-Key usually has one or the other in stock: [https://www.digikey.com/product-detail/en/alpha-wire/80045-SL005/80045SL005-ND/5271247 80045 SL005], [https://www.digikey.com/product-detail/en/alpha-wire/80145-SL005/80145SL005-ND/5271269 80145 SL005].
  
Modify the <code>Unix socket</code> section of the redis-server config (<code>/etc/redis/redis.conf</code>) so that the unix socket is created and has the correct permissions.
+
=== Cable for Direct Burial ===
  
unixsocket /dev/shm/redis.sock
+
[[File:Remote sense cable wiring power supply side.jpg|none|thumb|640x640px]]
unixsocketperm 777
+
[[File:Remote sense cable wiring observatory side.jpg|none|thumb|640x640px]]
(assuming you're on debian)
 
 
 
=== Run mwoffliner ===
 
mwoffliner --mwUrl=https://wiki.dfn.net.au --adminEmail=-adminEmail=foo@bar.net --mwApiPath=/api.php --mwWikiPath=/ --mwModulePath=/load.php
 
This will create a .zim file from the wiki.
 
 
 
'''Note: many pages aren't being scraped correctly using this method as of April 2019.'''
 
 
 
=== Install Kiwix Reader ===
 
Install Kiwix Reader: https://www.kiwix.org/en/downloads/kiwix-reader/ on the on the device you want to take offline, and copy the .zim file from the previous step to the device. Test the wiki in Kiwix before you go offline.
 
 
 
Using chrome or firefox kiwix extension makes it easier.
 
 
 
__NOTOC__
 

Revision as of 07:17, 24 July 2019

The power supply recommended for AC powered installations where the observatory is located close to the AC power supply is the Meanwell GST120A12.

For observatories with heaters and long DC power cable runs the Meanwell HRP-300-12 is recommended as it's remote sense functionality allows it to compensate for any voltage drop in the long cable runs. (If no heaters are present, the Meanwell HRP-150-12 is the preferred option.)

Power supply wiring with remote sense for long cable runs.

Outdoor Cable

The recommended off the shelf for use on roofs or outdoor structures is the sunlight and abrasion resistant AlphaWire EcoFlex PUR 80045 SL005 (unshielded) or 80145 SL005 (braid shield). Digi-Key usually has one or the other in stock: 80045 SL005, 80145 SL005.

Cable for Direct Burial

Remote sense cable wiring power supply side.jpg
Remote sense cable wiring observatory side.jpg