Wiki source code of Radio Log

Last modified by Treyfane Dingo on 2025/04/27 13:33

Hide last authors
Treyfane Dingo 12.2 1 (% data-widget="image" contenteditable="false" tabindex="-1" %)[[image:radiolog1.png]](% title="Click and drag to resize" %)​
Treyfane Dingo 2.2 2
Treyfane Dingo 2.3 3
Treyfane Dingo 31.1 4 The **Radio Log** is a module, which can be called by pressing **F8** anywhere in L.A.S.S.I.E.. It will be available if L.A.S.S.I.E. is connected to a [[Pi-Star>>https://www.pistar.uk/]] with [[pistarlog2ws>>https://git.furcom.org/Dingo/pistarlog2ws]] installed (green antenna symbol) and subsequently show the DMR radio traffic.
Treyfane Dingo 5.3 5
Treyfane Dingo 30.1 6 **Please be aware that only radio DMR IDs in the range 10000 < x < 9999999 will work due to a limitation of the Pi-Star MMDVMHost software.**
7
Treyfane Dingo 23.3 8 = Pi-Star Preparation =
Treyfane Dingo 5.3 9
Treyfane Dingo 19.5 10 == OS Installation ==
Treyfane Dingo 10.8 11
Treyfane Dingo 23.3 12 Pi-Star has to be installed on a Raspberry Pi (Zero) with a MMDVM HAT. A non-duplex MMDVM HAT is fully sufficient since Pi-Star only can monitor one single frequency and sending is not something this setup is expected to do. See [[https:~~/~~/www.pistar.uk/downloads/>>https://www.pistar.uk/downloads/]] for image download and installation instructions.
Treyfane Dingo 10.14 13
Treyfane Dingo 13.3 14 The SD card for the Raspberry Pi will be flashed using [[Raspberry Pi Imager>>https://www.raspberrypi.com/software/]]. During the process, you will be asked if you like to apply OS customization settings. You can change the //hostname//, //wireless LAN// and //locale settings// here. **Do not set username and password, or anything in the Services or Options tab!**
Treyfane Dingo 12.2 15
Treyfane Dingo 13.2 16 **~ **[[image:radiolog_set3.png]]
17
Treyfane Dingo 18.4 18 After flashing and booting the Raspberry from the SD card, you should be able to access the Pi-Star webinterface via browser at e.g. [[http:~~/~~/radiolog.local/admin/>>http://radiolog.local/admin/]]
Treyfane Dingo 12.10 19
Treyfane Dingo 18.4 20 Default Username: pi-star
21 Default Password: raspberry
22
Treyfane Dingo 12.10 23 == Configuration ==
24
Treyfane Dingo 19.3 25 After installing Pi-Star, the following configuration should be used for the Radio Log. First, in the “General Configuration” section the Radio Frequency has to be set to the **output** frequency of your DMR repeater. Also the correct Radio/Modem Type has to be selected, depending on the MMDVM HAT used, and the Node Type has to be set to “Public”. **Please remember to press “Apply Changes” after changing every section.** Depending on the changes some options may only show after pressing “Apply Changes”.
Treyfane Dingo 13.4 26
Treyfane Dingo 19.2 27 [[image:radiolog_cfg2.png]]
Treyfane Dingo 13.4 28
Treyfane Dingo 19.2 29 (% id="cke_bm_335101S" style="display:none" %) (%%)In the “MMDVMHost Configuration” section the DMR Mode should be enabled.
Treyfane Dingo 15.2 30
Treyfane Dingo 19.2 31 [[image:radiolog_cfg1.png]]
Treyfane Dingo 15.2 32
Treyfane Dingo 21.9 33 After enabling the DMR Mode in the “MMDVMHost Configuration” section, you should head over to “Expert” → “MMDVMHost” in the top menu. Here it is imperative to set “Enable = 0” in the “DMR Network” section (**not** the “DMR” section!). This will disable all DMR networking. We don't want to have the Radio Log Pi-Star send out our private DMR communication to the world after all.
Treyfane Dingo 19.6 34
Treyfane Dingo 21.2 35 [[image:radiolog_cfg2b.png]]
36
Treyfane Dingo 22.2 37 As an additional information, the OLED display of a Raspberry Pi Zero can be configured to face the right direction and show some useful information, when the parameters in the “OLED” section are set as follows. This is especially useful if your OLED until now is just black.
Treyfane Dingo 16.2 38
Treyfane Dingo 22.2 39 [[image:radiolog_cfg2c.png]]
40
Treyfane Dingo 22.3 41 Back on the regular configuration page, in the “Wireless Configuration”, the IP address of the Pi-Star acquired by DHCP is shown. This IP address has to be configured as “IP for a FurCom Services Radio Log system” in L.A.S.S.I.E. (System Settings → General Settings).
Treyfane Dingo 17.2 42
43 [[image:radiolog_cfg4.png]]
44
Treyfane Dingo 18.7 45 For the configuration to be completed and usable, you should change the default password to something more secure. Please remember the password!
Treyfane Dingo 17.2 46
Treyfane Dingo 18.2 47 [[image:radiolog_cfg5.png]]
48
Treyfane Dingo 23.6 49 You also should run an Update of the Pi-Star using the “Configuration” → “Update” page.
50
Treyfane Dingo 23.2 51 After all of the configuration, the “Dashboard” of the Pi-Star should look like this (frequency may vary):
Treyfane Dingo 18.2 52
Treyfane Dingo 23.2 53 [[image:radiolog_cfg6.png]]
54
Treyfane Dingo 23.3 55 = Installing pistarlog2ws =
Treyfane Dingo 23.2 56
Treyfane Dingo 26.1 57 The pistarlog2ws repository can be found at the [[FurCom Git>>https://git.furcom.org/Dingo/pistarlog2ws]]. To install it, you have to connect to the Pi-Star via ssh.
Treyfane Dingo 23.4 58
Treyfane Dingo 23.5 59 //Pi-Star's disk is read-only by default, so you have to enable read-write with “rpi-rw”.//
Treyfane Dingo 23.4 60
61 Clone the repository into the pi-star home and run the install script:
62
63 {{{rpi-rw
64 git clone https://git.furcom.org/dingo/pistarlog2ws
65 cd pistarlog2ws
66 ./install.sh
67 }}}
68
69 This should install and enable the websocket service and make the necessary adjustments to the firewall.
70
71 == Test ==
72
Treyfane Dingo 23.5 73 You can test the installation from another machine in the network using “nc” or “wscat”.
Treyfane Dingo 23.4 74
75 {{{nc -zv <IP-ADDRESS OF PI-STAR> 8765
76 }}}
77
78 {{{wscat -c ws://<IP-ADDRESS OF PI-STAR>:8765 --no-color}}}
Treyfane Dingo 24.2 79
80 = DMR ID Naming =
81
Treyfane Dingo 27.2 82 To get a readable nickname in the Radio Log rather than the DMR ID, the respective Radio has to be handed out to the Operative via the Personal Assets Database. The DMR ID (e.g. 9912345) has to be set as ”Information” when handing out the radio.
Treyfane Dingo 25.2 83
Treyfane Dingo 29.1 84 **Please be aware that only radio DMR IDs in the range 10000 < x < 9999999 will work due to a limitation of the Pi-Star MMDVMHost software.**
Treyfane Dingo 27.2 85
Treyfane Dingo 29.1 86
Treyfane Dingo 25.2 87 [[image:radiolog_asset.png]]