You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the official OpenMowerOS (OMOSv2) image for running the [OpenMower](https://github.com/ClemensElflein/OpenMower) project on your OM's Pi4/CM4.
5
+
This repository contains the official OpenMowerOS (OMOSv2) image for running the [OpenMower](https://github.com/ClemensElflein/OpenMower) project on your OM's Pi/CM.
6
6
7
7
➡️ What’s new in the latest release? See [WHATSNEW.md](./WHATSNEW.md).
8
8
@@ -25,14 +25,14 @@ This repository contains the official OpenMowerOS (OMOSv2) image for running the
25
25
Tip: Click a section title to expand/collapse.
26
26
27
27
<details>
28
-
<summary><b>Install OpenMowerOS on your Pi4/CM4</b></summary>
28
+
<summary><b>Install OpenMowerOS on your Pi/CM</b></summary>
29
29
30
30
31
-
1. Flash the latest image (link TODO) to an SD card, preferably using [**Raspberry Pi** Imager](https://www.raspberrypi.com/software/).
31
+
1. Flash the latest OpenMowerOS v2.x [OpenMowerOS_YYYYMMDD.zip](https://github.com/ClemensElflein/OpenMowerOS/releases) to an SD card or your CM, preferably using [**Raspberry Pi** Imager](https://www.raspberrypi.com/software/).
32
32
33
33
2.***Optional: Raspberry Pi Imager configuration***<br>
34
34
When prompted by Raspberry Pi Imager, you can change some custom settings:
35
-
1. As shown here, but never use a username other than`openmower`!<br>
35
+
1. As shown here, but the username must be`openmower`.
2. You may also add your SSH public key for quicker SSH login;
38
38
password login remains active (even if it's an either/or selection).<br>
@@ -43,10 +43,10 @@ Tip: Click a section title to expand/collapse.
43
43
<details>
44
44
<summary><b>First boot and network setup</b></summary>
45
45
46
-
3. After writing the image, eject the card, insert it into your mowers Pi4 or xCore, and turn it on.
46
+
3. After writing the image, eject the card, insert it into your mower’s Pi or xCore, and turn it on.
47
47
48
48
4. Your Pi will boot multiple times.<br>
49
-
***Sometimes, after the first boot, it may fail to reboot*** (red LED near the HDMI plug remains on, whereas the green one doesn't flicker anymore). If that happens, a power cycle will get it back on track.
49
+
***Sometimes, after the first boot, it may fail to reboot*** (the Pi/xCore’s green LED doesn’t flicker anymore and remains off for >10 seconds). If that happens, a power cycle will get it back on track.
50
50
51
51
5.***Optional: Comitup hotspot (if you skipped step 2 "Raspberry Pi Imager configuration")***<br>
52
52
If you didn't enter your Wifi settings when asked for the custom settings during Pi Imager (see step 2), or if you accidentally entered the wrong Wifi settings:
@@ -57,61 +57,68 @@ If you didn't enter your Wifi settings when asked for the custom settings during
3. Click on your home WiFi and fill in your password.
60
+
3. Click on your home WiFi, fill in your password and click "SUBMIT".
61
61
62
62
4. The hotspot will disappear and the mower should connect to your WiFi.
63
63
64
-
6.Try pinging your mower via `ping openmower` (or the hostname you entered during Pi Imager). If the host can't be found, check your router for the mower's IP address.
64
+
6.Two minutes after the second reboot, try pinging your mower via `ping openmower` (or the hostname you entered during Pi Imager). If the host can't be found, check your router for the mower's IP address.
65
65
66
-
7. SSH into your mower via `ssh openmower@openmower` or `ssh openmower@<your hostname or mower's IP address>` (password 'openmower' or the one you entered during Raspberry Pi Imager).
67
-
68
-
8.***Optional:***<br>
69
-
1. If you didn't configure a custom password during step 2 (Raspberry Pi Imager configuration), change your password now via `passwd`.
66
+
7.***Optional:***<br>
67
+
1. If you didn't configure a custom password during step 2 (Raspberry Pi Imager configuration), login via SSH and change your password now via `passwd`.
70
68
2. Use `raspi-config` to change keyboard, timezone, WLAN country and the like (if not configured in Raspberry Pi Imager's custom settings).
Dockge (a container manager GUI), as well as a ttyd (a WebTerminal) are automatically pulled and started after 2-5 minutes (after final boot).
77
+
[Dockge](https://dockge.kuma.pet/) (a container manager GUI) and [ttyd](https://tsl0922.github.io/ttyd/) (a web terminal)
78
+
are bundled with the OpenMowerOS image and are unpacked and installed during the final second‑boot step.
79
+
This may take about 2 minutes.
80
+
81
+
Please wait while the Pi/xCore’s green LED is flickering or steadily on.
78
82
79
83
The WebTerminal is available as a lightweight alternative to SSH for running the same commands.
80
84
It can be reached via `http://openmower:7681` (adjust if you changed the hostname).
81
-
Default login credentials: openmower/openmower.
82
85
83
86
For each relevant GUI action, a CLI alternative is available via a powerful `openmower` command; both are listed below.
84
87
85
88
1. Connect to the container manager:
86
-
- GUI: Open <http://openmower:5001> (or your individual hostname if changed), and login by entering the default Dockge admin user `openmower/openmower`:
- SSH into your Pi: `ssh openmower@openmower` (or your configured hostname).
90
91
- WebTerminal via URL `http://openmower:7681` (or your configured hostname).
92
+
- GUI: Open <http://openmower:5001> (or your individual hostname if changed)
91
93
92
94
2. Configure the stack (.env)
95
+
- CLI: `openmower configure env`
93
96
- GUI:
94
97

95
98

96
99

97
-
- CLI: `openmower configure env`
98
100
99
-
3. Start the stack (inclusive initial pull)
100
-
- GUI:
101
-

102
-
- CLI:
101
+
3. Start the stack (including the initial pull)
102
+
- CLI: If you configured your .env file via `openmower configure env` then the stack is pulled and started automatically.<br>
103
+
If not:
103
104
104
105
```bash
105
106
openmower pull
106
107
openmower start
107
108
```
109
+
- GUI:
110
+

108
111
109
-
4. Check status and open the OpenMower webApp
112
+
4. Check status and open the OpenMower web app
113
+
- CLI: `openmower status` should list three service names (open_mower_ros, Mosquitto and OpenMowerApp), all with status 'up'. If so, open a browser and visit `http://openmower:8080` (or your configured hostname).
110
114
- GUI:
111
115

112
-
- CLI: `openmower status` should list three service names (open_mower_ros, Mosquitto, OpenMowerApp), all with status 'up'. If so, open a browser and visit `http://openmower:8080` (or your configured hostname).
113
116
114
-
5. Configure the ROS parameters (CLI only for now): `openmower configure ros`
117
+
5. Configure the ROS parameters (CLI only for now): `openmower configure ros` and:
118
+
119
+
1. Adapt section `gps` to your needs, but set at least `datum_lat` and `datum_lon` to the corresponding lat/lon values near your docking station. Use right‑click in [Google Maps](https://maps.google.com) to get them.
120
+
2. `ntrip_client` settings with the ones from your local RTK base or from your public NTRIP service.
121
+
3. Once (and not before 🩸) you have validated your emergency sensors, set`enable_mower` to true.
- 🗂️ Consolidated storage layout: configs, maps, logs now in `/home/openmower`.
12
12
- 🧾 Version metadata at `/usr/share/openmoweros/version.{json,yaml,sh,txt}` (git hash, branch, describe, build timestamp).
@@ -16,15 +16,15 @@ This document highlights the most relevant changes compared to previous OpenMowe
16
16
17
17
- ⚙️ Key settings (e.g. WLAN SSID & password) configurable directly in Raspberry Pi Imager.
18
18
- ✍️ No need to pre-edit files like `/boot/openmower/openmower_version.txt` before first boot.
19
-
- 🚀 Eliminated initial large image pull (only a short 2–5 minute Dockge pull remains).
19
+
- 🚀 Eliminated initial large image pull.
20
20
- 👤 Containers run with `openmower` user permissions (no sudo needed for most operations).
21
21
22
22
23
23
## 🛠️ Under the hood (for the curious)
24
24
25
25
- 🐧 Debian Trixie (arm64) images built with [pi‑gen](https://github.com/RPi-Distro/pi-gen).
26
26
- 📁 `openmower` CLI command is in `/usr/local/bin`.
27
-
- 🐳 OpenMower stack: Mosquitto and OpenMowerApp (together with a small Nginx) now run as separate containers and are no longer built into the openmower image.
27
+
- 🐳 OpenMower stack: Mosquitto and OpenMowerApp (together with a small Nginx) now run as separate containers and are no longer built into the open_mower_ros image.
28
28
- 📶 WLAN is managed by NetworkManager.
29
29
- 🔌 LAN is managed by ifupdown.
30
30
- 📡 DHCP for the internal (xCore) LAN is handled by dnsmasq.
0 commit comments