-
AREDN Setup for Antenna and Camera on one Ethernet cable with VLAN
I wanted to connect both an AREDN antenna and a camera outdoors without running a separate Ethernet cable to each device. Two managed switches carry the antenna's DTD connection and the regular LAN over a single cable, using separate VLANs. At the outdoor switch, the connections are split again: DTD goes to the antenna and LAN goes to the camera.
The setup:
Outdoor
C: Camera connected to LAN
A: Antenna connected to DTD
K: PoE converter, 24 V
S2: Managed switch
E: Ethernet cable connecting the devices
P: Surge protectorIndoor
I: PoE++ injector, 30 W
S1: Managed switch
R: AREDN RouterOutdoor switch
The outdoor switch receives both tagged VLANs from the indoor switch on port 5 (red cable), then separates them again. VLAN 2 carries the DTD connection to the antenna (white), while VLAN 1 carries the regular LAN to the camera (dark green).
VLAN 1 carries the regular LAN connection for devices such as a camera on ports 3 and 4. Ports 1 and 2 also carry LAN traffic tagged with VLAN ID 1 to AREDN devices.
VLAN 2 carries the DTD connection to AREDN devices on ports 1 and 2.
Indoor switch
The indoor switch combines the AREDN router's DTD connection and regular LAN into separate VLANs. Both VLANs are tagged on port 5, which carries them over the single Ethernet cable to the outdoor switch.
The default VLAN 1 is tagged on port 5. Since the default PVID is 1, untagged would also work.
-
A New View for a Security Camera: Swapping the Lens
Sometimes seeing more is not the same as seeing better. A wide camera view is useful when you want to monitor a large area, but it can make distant details look small.
For my project, I wanted to give an existing Reolink RLC-510A a more focused view. It is an outdoor camera that can be accessed easily over HTTP and works without cloud services. Its fixed 4 mm lens covers about 80 degrees horizontally, which is wider than I need.
The camera uses a standard board with an M12 lens mount. For this project, I used a 12 mm replacement lens. Although 12 mm lenses are available at very different price points, the inexpensive versions perform surprisingly well. More expensive options from manufacturers such as Commonlands use the same type of plastic housing and do not provide better image quality1.
Make sure that any replacement lens does not have an IR filter, because the Reolink camera already has one. This focal length was ideal for my project. After the swap, the horizontal field of view changed from about 80 degrees to about 28 degrees.
The following example images show the difference between the original 4 mm lens and the narrower view provided by the 12 mm lens.
Opening the Camera Housing
To access the lens, remove the three screws on the back of the housing. The front cover can then be removed to expose the lens board.
Unplug the IR board connector, then remove the board by unscrewing it.
Removing the Factory Glue
The original lens is secured with a hard factory adhesive. The lens mount is made of ABS plastic, so acetone and other harsh chemicals are not suitable. They can melt the plastic threads.
The safest approach is to remove the adhesive without using chemicals. Use a sharp knife to carefully scrape and lift it away from the lens mount. Take your time and avoid cutting into the plastic.
After removing as much of the glue as possible, slowly try to unscrew the original lens. Do not use pliers or force it, as this could damage the plastic threads. If it does not turn easily, remove more adhesive first.
Installing the New Lens
Screw the 12 mm lens into the mount and check that it sits straight. The fit is tight enough to hold the lens securely. No new glue is needed.
Adjusting the Lens and Cover
Connect to the camera and adjust the lens until the live image is sharp. Check the image at the distance where you plan to use the camera.
The adjusted 12 mm lens sticks out farther than the original, so the front cover needs a spacer.
The spacer in my case needs to be about 3 mm thick to extend the housing and give the lens enough room, which is a much cleaner fix than holding the cover in place with tape.
Building a custom spacer
M2.5 screws are available in sets, but the sets never include the length I need. I therefore make the screws myself from a piece of brass. The thread pitch is 0.45 mm. Use a die or a lathe.
The spacer is made from a plastic plate.
If you have access to a lathe, the plastic plate can be shaped accurately this way. Otherwise, it can also be cut and drilled by hand.
Cut the openings for the screws and the circuit-board holder.
A 3D-printed spacer is another option. If the camera is installed outdoors, use a material that is suitable for outdoor use and resistant to UV light.
The lens sits almost flush with the front glass.
A second camera with a 50 mm lens
The lens is considerably larger than the 12 mm lens, and the spacer must be adapted accordingly.
For this setup, the spacer needs to be 22 mm high.
-
The following images compare a budget AliExpress 12 mm lens with a high end version from Commonlands. First, the budget lens:
At night, bright light sources produce internal reflections between the uncoated glass elements, which appear as bright spots in the image:
The $39 Commonlands lens uses the same plastic barrel and suffers from the same internal reflections, placing it in the same optical class. Note also the slight difference in field of view:
The original 4 mm Reolink lens does not show any reflections. In daylight, there is no visible difference between the two 12 mm lenses. ↩
-
-
Installing AREDN firmware on a MikroTik SXTsq Antenna
This guide documents the installation process of AREDN on a MikroTik SXTsq Lite2 using the PXE/TFTP method.
Although written for the SXTsq Lite2, most steps also apply to other MikroTik devices using RouterBOOT and Etherboot.
Please check out the official documentation first: http://docs.arednmesh.org/en/latest/
Prerequisite
The installation of the AREDN firmware is using a direct connection to the device without a firewall or wlan.
- Download the KERNEL and the SYSUPGRADE-V7 bin files from
https://downloads.arednmesh.org/afs/www/
(Please note that the screenshot shows the current version as of writing)
-
Tiny PXE version 1.0.0.23 https://github.com/erwan2212/tinypxeserver/blob/main/pxesrv.zip
Note: Version 1.0.0.24 caused DHCP socket errors during testing. Example errors:16:41:56 DHCPd:REQUEST received, MAC:D0-EA-11-94-AB-C7, XID:464E87C0 16:41:56 DHCPd:BOOTP REQUEST 16:41:56 DHCPd:REQUEST does not match a known offer, MAC:D0-EA-11-94-AB-C7, XID:464E87C018:42:44 DHCPd:DISCOVER received, MAC:00-E0-4C-68-0A-86, XID:8DF01C2D 18:42:45 send_dhcpoffer:Socket Error # 10049 Cannot assign requested address.Version 1.0.0.23 worked correctly.
-
NetInstall tool https://mikrotik.com/download/tools
-
Original Router OS image to restore the Antenna https://mikrotik.com/download?architecture=mipsbe
in System Package click on RouterOS -
Connect the Antenna (or any Mikrotik device you are flashing) to the PCs Ethernet port:
Connect to the router via WinBox or SSH and run:
/system/device-mode/printExample:
routerboard: noIf
routerboardis set tono, RouterBOARD settings cannot be modified. In this case, run:/system/device-mode/update routerboard=yesThe router responds with something similar to:
update: turn off power in 5m to activate changesPower-cycle the device within the specified time.
Verify:/system/device-mode/printExpected:
routerboard: yesCheck current settings:
/system routerboard settings printConfigure Ethernet boot:
/system routerboard settings set boot-device=try-ethernet-once-then-nandVerify:
/system routerboard settings printExpected:
boot-device: try-ethernet-once-then-nand boot-protocol: bootp
Set Firewall Off
Disconnect from the Internet by switching off the WLAN connection.
In the windows settings, enter 'Firewall' to get this dialog. Click the highlighted topic to switch the firewall on or off.
Note: All screenshots from a live system. The language varies, but the tech stays the same.
Click the deactivate option for both the private and public:
The dialog now shows the firewall set to off:
Set static IP for your computer
Open the network adapter connection dialog.
You can enter ncpa.cpl in the windows start menu.
(ncpa.cpl stands for Network Control Panel Applet)- Right click the Ethernet adapter
- Select Internet protocol Version 4 (TCP/IPv4)
- Set the IP address to 192.168.1.10
- Set the Sub net mask to 255.255.255.0
- Unset the DNS server auto selection
Install
Unzip the pxesrv.zip to a folder.
Copy the initramfs-kernel.bin file, in this example aredn-4.26.7.0-ath79-mikrotik-mikrotik_routerboard-sxtsq-2nd-initramfs-kernel.bin to the subfolder files in your pxesrv folder as the file rb.elf.
Run pxesrv.exe from your pxesrv folder as admininstrator.
-
Confirm Option 54 to have 192.168.1.10 and the Bind IP option is set.
-
Select the Boot File rd.elf you just copied/renamed in the files folder.
-
Uncheck option Filename if user-class=gPXE or iPXE
-
Click Online
First Node Setup
Unplug the power of the Antenna and press the reset button.
While keeping the reset button hold, plug the antenna back in. Keep the reset button hold until you see TFTPd:DoREadFile:rb.elf
The first boot image is getting installed. It is temporary so do not unplug the power once it finished.
Once the transfer is done, launch 192.168.1.1 in an in-private browser window and select the second AREDN firmware file ending in -sysupgrade-v7.bin. Click Upload & Reboot
AREDN Firmware is getting installed:
Set Node Name and password and click Save & Reboot
Once the node rebooted, enable back the firewall and then restore the Internet connection:
Set the IP-Address back to auto:
Use an in-private browser window to avoid any cached content or settings and open http://10.148.171.200
You should see a page similiar to this:
This concludes the Mikrotik-Firmware update.
GL.iNet AR750 router setup
If your router is not already flashed for AREDN, follow these steps:
Flashing the AREDN firmware onto a factory-fresh GL.iNet AR750 is straightforward, but you must use the correct physical port and bootloader menu.
Because the router's recovery mode cannot assign IP addresses automatically, you must configure your computer manually first.
- Take an Ethernet cable and plug it into the middle LAN port of the AR750. Connect the other end directly to your PC.
- Open your computer's network adapter settings (IPv4) and change it from DHCP to Manual (Static IP).
- Enter the following exact values:
- IP Address:
192.168.1.2 - Subnet Mask:
255.255.255.0 - Gateway:
192.168.1.1
- IP Address:
Now, we set the AR750 into its built-in web recovery mode.
- Unplug the power cable (Micro-USB) from the AR750.
- Use a paperclip or a pen to press and hold the Reset button on the side.
- Plug the power cable back in while keeping the Reset button pressed.
- Watch the front LEDs: The power light will turn on, and the Wi-Fi LED will start flashing (about 5 times).
- After several seconds, when the flashing changes, release the Reset button.
Your AR750 is now hosting a minimal web interface specifically designed for manual firmware installation.
- Open your web browser and navigate to
http://192.168.1.1 - You will see a simple interface titled "GL.iNet Firmware Update".
- Click Choose File and select your downloaded AREDN factory firmware file (ends in
.binor.img). - Click Update firmware.
⚠️ Important: Wait a few minutes. Do not unplug the power while the router is flashing.
Once complete, the router automatically reboots into AREDN.
- Go back to your computer's network adapter settings and switch IPv4 back to Automatic (DHCP).
- Plug an internet-connected cable from your home router into the LAN port of the AR750.
- Open your browser and type
http://local.meshto begin the initial AREDN setup wizard.
Mikrotik and AR750 Router Setup
Mikrotik gets connected to the middle port for the DTD connection (VLAN-2).
PC goes to the right side LAN port.
Later, the Home-Router goes to the left side WAN port (with the globe symbol) to allow internet connection for the AREDN devices.Setup with added Message Board
Restoring Original MikroTik Firmware
Download:
- MikroTik Netinstall https://mikrotik.com/download/tools
- RouterOS package https://mikrotik.com/download?architecture=mipsbe
Select the SXTsq device and the downloaded original firmware:
Click Install
Status Done is displayed when install finished successfully.
Start WinBox, set firewall on, wlan on, and IP-Address back to auto as described in the chapter above.
Select System - Reset configuration
Note: if http://192.168.88.1 does not work, set the address:
Why Can't I Access
local.meshFrom My Home Network?When you first connect your newly flashed AREDN router (like the GL.iNet AR750) to your home network, you will likely notice that you can see the router's IP address inside your home router's dashboard, but when you type
http://local.meshinto your browser, you get a 'Site cannot be reached' error.Why does this happen? And how do you fix it without breaking your home internet?
The Technical Reason: A Tale of Two DNS Servers
When your PC is connected to your normal home Wi-Fi, your home router acts as your DNS Server. Its only job is to translate domain names into IP addresses.
- If you type
google.com, your home router asks the internet, gets the IP, and loads the page. - If you type
localnode.local.mesh, your home router searches the global internet for the.meshextension. Since.meshdoes not exist in the public domain space, your router responds with "Server not found."
Your home network does not know that the AREDN router sitting next to it holds the map to the
.meshuniverse.❌ What NOT to do
You could try to fix this by adding static routing tables to your Windows PC, modifying your operating system's
hostsfiles, or configuring custom DNS forwarding rules inside your primary home router.Don't do this. It creates IP conflicts, breaks your VPNs, and will likely lock you out of your internet or your AREDN node entirely.
The Solution: Connect Directly to the AREDN LAN
The official way to work with AREDN is to completely separate the two worlds. Instead of trying to reach the node through your home network, connect directly onto the AREDN network.
- The WAN Port (the port with the globe icon) of your AR750 plugged into your home router allows your AREDN node to access the internet (needed for updates or setting up tunnel connections).
- The Device Connection: Look for the unencrypted Wi-Fi network broadcasting from your AR750 (the default SSID is
AREDN-LAN). - Switch Networks: Disconnect your laptop or phone from your home Wi-Fi and connect to
AREDN-LAN.
By connecting directly to the AREDN Wi-Fi access point, you are changing who is in charge of your network. Your computer is now connecting directly to the AR750's internal DNS server.
Now, when you type
http://local.mesh, the AR750 instantly recognizes the request, resolves the name, and opens up the AREDN dashboard.The WAN port is for the router to connect to the internet. The LAN port (and AREDN Wi-Fi) is for devices to connect to the Mesh.
When you want to experiment with Amateur Radio Mesh networks, simply switch your Wi-Fi to
AREDN-LAN. - Download the KERNEL and the SYSUPGRADE-V7 bin files from
https://downloads.arednmesh.org/afs/www/
-
AREDN Server for ESP32
An experimental lightweight local web server for the AREDN (Amateur Radio Emergency Data Network). It runs on an Arduino Nano ESP32 and provides a message board, a camera snapshot page, and browser-based radio calculators without requiring external internet or central server infrastructure.
Features
- The browser polls the message board every 30 seconds by default and requests only messages newer than the latest received ID.
- HTTP responses use
Connection: closeto free TCP sockets promptly. - Messages are stored as validated fixed-size binary records in FFat. JSON is used for import and export.
- Messages support Green, Orange (warning), and Red (emergency) priorities, with browser-side rendering and filtering.
- All service pages synchronize the device clock from the visiting browser; the message board also periodically corrects clock drift.
- The camera snapshot is fetched once every 30 seconds by a background task, independently of the number of viewers.
- Radio Tools provides browser-side Maidenhead locator and radio link-budget calculators without additional ESP32 processing.
System Requirements
- Hardware: Arduino Nano ESP32, or an equivalent ESP32 board with sufficient flash memory mapped for FFat.
- Client: A modern web browser with HTML5 and ES6 support.
Hardware
The optional SSD1306 OLED uses the board's default I2C interface and address
0x3C. When connected, it cycles every five seconds through four screens: main server status, a large two-line IP address, the newest message, and camera status. The camera screen shows the snapshot age and actual JPEG dimensions, the measured interval between the last two successful snapshots, the next requested resolution, and the duration and bytes received in the last camera fetch (including failed attempts). Until two snapshots have been received, the measured refresh interval is shown as waiting. The main screen shows the router connection state and Wi-Fi signal strength. If no router Wi-Fi credentials are saved, the OLED displays the setup access point name, password, and setup URL. The web service can also run without the OLED.OLED Wiring
For an Arduino Nano ESP32, connect a 4-pin I2C SSD1306 OLED as follows:
OLED pin Nano ESP32 pin Description VCC3V33.3 V supply GNDGNDGround SDAA4/SDAI2C data SCLA5/SCLI2C clock Check the module's pin labels before connecting it. Do not apply 5 V to a 3.3 V-only OLED module.
Installation
Choose either the web flasher or build from source.
Flash with the web flasher
The firmware can be flashed online directly to the board using the AREDN Firmware Flasher.
Connect the board to your computer by USB, open the page in a supported browser, and follow its instructions. After flashing, connect to the
AREDN-Server-Setupaccess point and follow the setup steps below.Build and flash from source
You can build and install the firmware from the GitHub source repository:
- Install the ESP32 board package in the Arduino IDE.
- Select an Arduino Nano ESP32 or a compatible ESP32 board with FFat support.
- Install these libraries through the Arduino Library Manager:
- ESPAsyncWebServer
- Adafruit GFX Library
- Adafruit SSD1306
- Open
aredn-services.ino, select the correct board and port, then upload the sketch. - Connect to the
AREDN-Server-Setupaccess point and follow the setup steps below.
The service uses the ESP32's built-in
WiFi,Wire,FFat, FreeRTOS, and system libraries.WebServerandArduinoJsonare not required.Setup
The device always starts the
AREDN-Server-Setupaccess point, including while connected to router Wi-Fi:- Access point:
AREDN-Server-Setup - Password:
arednsetup - Setup page:
http://192.168.4.1/setup
Connect a phone or computer to the setup access point and open the setup page. The setup pages and configuration APIs are available only through this access point, not through router Wi-Fi or the AREDN network.
Wi-Fi Setup
Choose Wi-Fi network on the setup page. Scan for nearby networks and select one, or enter the SSID manually for a hidden network; then enter the Wi-Fi password. A current-connection panel near the top shows the router connection status and the router and setup access point IP addresses. The ESP32 tests the connection and saves working credentials in non-volatile storage. The Wi-Fi settings can be changed later through the setup access point.
Reolink Camera Setup
Open the camera setup page at
http://192.168.4.1/setup/camerawhile connected to the setup access point:- Give the RLC-510A a reserved IPv4 address on a network reachable by the ESP32.
- Enable the camera's HTTP port in Reolink settings. The default port is
80; see Reolink's port settings guide. - Enter the camera IP, HTTP port, Reolink username, and password.
The password is stored in ESP32 Preferences and is never returned by the setup API or sent to camera-page viewers. The camera-to-ESP32 request uses HTTP and includes the camera credentials in that local request. Use a dedicated camera account and keep the camera connection on a trusted local network; do not expose the camera's HTTP port to the mesh or Internet.
Services
The service portal is available at
/. The message board is served at/msg-board, with its API under/msg-board/api/. The camera snapshot page is available at/camera. Radio Tools is available at/tools.Message Board
The board supports message submission, priority filtering, search, and administrative editing and import/export. Messages persist in FFat across restarts.
Camera Snapshot
The Camera Snapshot page shows a still JPEG image, refreshed about every 30 seconds. Beside its age, it shows the megapixels of the displayed image. Its preview can be expanded to fullscreen in supported browsers. The SVG overlay is drawn in each visitor's browser and remains separate from the camera JPEG.
The ESP32 starts with Reolink's
cmd=SnapJPEG endpoint at the camera's default resolution. A background FreeRTOS task normally starts one snapshot request every 30 seconds, independently of viewer count; download time is part of that interval. When camera-to-ESP32 transfers remain slow, a time-based controller gradually reduces the requested resolution through 896 × 672 and 640 × 480. Before increasing resolution it estimates the next image's transfer time from observed image sizes, throughput, and response time; a quick small image alone does not trigger an upgrade to a much larger one. If the estimate is missing or remains unfavorable, the controller occasionally tries the higher level after at least 15 minutes so that a stale size estimate cannot keep it stuck indefinitely. Individual slow transfers do not cause an immediate change, and connection failures alone do not reduce resolution. The controller starts over at the default resolution when camera settings change or the device restarts.Connection and transfer timeouts adapt to recent successful transfers within safety limits. Transient failures are retried after 3 seconds, increasing to at most 30 seconds on consecutive failures; a successful update resets the retry delay. If a slow viewer still holds the spare buffer, the update is retried after 5 seconds without discarding the current image. The latest JPEG is held in two bounded PSRAM buffers so the active image can be served while the next one is downloaded. The browser checks the status endpoint every 5 seconds independently of image downloads, downloads the JPEG only when its version changes, and shows the snapshot age reported by the device. Refreshing pauses while the page is hidden.
The resolution controller measures the camera-to-ESP32 transfer, not individual viewers' connections. The camera status API and browser console report the next requested resolution level (0 is default, 1–4 are the sizes above), the last camera fetch duration and byte count, and the next download timeout. The serial console also logs the request level and separate header and download durations. Actual JPEG dimensions depend on the camera's response to the requested size.
Snapshots larger than the 2 MiB buffer limit are rejected and reported in the camera status.
Radio Tools
The Radio Tools page contains two client-side calculators, in this order:
- Maidenhead Locator accepts even-length locators from 2 to 12 characters and estimates the distance, initial bearing, and center coordinates between them.
- Link Budget Calculator estimates transmit EIRP, free-space path loss, received signal level, and link margin from frequency, distance, transmit power, antenna gains, feedline losses, and receiver sensitivity.
Calculations run in the visitor's browser; the ESP32 only serves the page. Link-budget results are free-space estimates and do not model terrain, obstacles, Fresnel-zone clearance, interference, polarization, or weather.
Storage and Limits
Messages are stored in
/messages.datas fixed-size records with a checksum. Replacement files are written through temporary FFat files so normal imports, edits, and deletions do not modify the active file in place.The in-memory index supports up to 4096 records. Imports currently retain at most 4095 messages; larger imports are accepted but truncated. JSON fixtures in the project are intended for import and pagination testing.
Supported import fields are
id,created_atin UTC ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ),name,text, and optionalpriority(green,orange, orred).API Reference
Message Board API
GET /msg-board/api/messagesreturns newest messages first, at most 100 per request (default 20). Optional parameters:limit=,after=,before=,search=,priority=green|orange|red|all,rev=, andboot=. Clients pass the revision (r) and boot ID (b) from their previous response asrevandboot; the response flagfis thentruewhen a message was edited, deleted, imported, or reset after that revision, or when the device has restarted, and the client must reload the list instead of polling incrementally.POST /msg-board/api/messagessubmits a message.GET /msg-board/api/messages/export.jsondownloads the complete board as JSON; it requires an admin session.GET /msg-board/api/timereturns the current device clock state.POST /msg-board/api/timesets the device time manually using form fieldepoch; it requires an admin session.
Example response from
GET /msg-board/api/messages:{"r":2,"b":"a1b2c3d4e5f60718","f":true,"v":true,"s":"client","e":1790968087,"p":[{"i":10,"t":1790939700,"u":"W6AM","m":"Acknowledged."}]}Administration API
These endpoints require the admin session cookie created by login. The session token is random, expires after one hour, and login is blocked for one minute after five failed attempts:
POST /msg-board/api/admin/loginwith form fieldpasswordPOST /msg-board/api/admin/logout(admin session required)GET /msg-board/api/admin/statusPOST /msg-board/api/admin/importwith anapplication/jsonfile body; the board answers202once the upload is stored and finishes the import in a background taskGET /msg-board/api/admin/import/statusreports{"state":"processing"},{"state":"done","count":,} {"state":"failed","reason":", or"} {"state":"idle"}DELETE /msg-board/api/admin/message?id=andPOST /msg-board/api/admin/message?id=with form fieldsname,text, andpriorityreturn202while the board edits or deletes the message in a background task. Only one edit/delete runs at a time; a competing request gets409with{"error":"board_busy"}and its browser waits for the active operation to finish before asking the administrator to retry.GET /msg-board/api/admin/message/mutation/statusreports{"state":"processing"},{"state":"done"},{"state":"failed"}, or{"state":"idle"}DELETE /msg-board/api/admin/messagesPOST /msg-board/api/admin/format/preparestarts the time-limited confirmation for a full FFat resetPOST /msg-board/api/admin/formaterases the whole FFat partition like a new board after the challenge and exactFORMAT FFATconfirmation are supplied; the request can take up to two minutes, and this deletes all FFat files but does not delete Preferences dataDELETE /msg-board/api/admin/message?id=POST /msg-board/api/admin/message?id=with form fieldsname,text, andpriority(all required)
Device and Setup APIs
GET /api/statusreturns Wi-Fi, heap, and uptime information, the existing top-level board fields, and aservicesobject containing the full status details and volatile page access count for each main service. Status endpoints return indented JSON for easier reading in a browser. Counts include only successful requests for/msg-board,/camera, and/tools; API requests and the home page are not counted. Counts reset on restart.GET /msg-board/api/statusreturns the board readiness, message and storage metrics, and access count.GET /tools/api/statusreturns its status and access count.GET /camera/api/statusreturns the camera snapshot status and access count.POST /api/time/syncaccepts a form fieldepochand submits a browser time sample to the device clock. The root, camera, and message-board pages call it when opened; the message board also calls it during its periodic refresh. Large corrections and corrections after manual time setting require agreement from three distinct clients whose samples are within 10 seconds of each other. Each sample is advanced by the time elapsed since it arrived, a client's newer sample replaces its older one, and samples older than one hour are discarded.The following setup pages and APIs are only available to clients connected to the
AREDN-Server-Setupaccess point:GET /setupserves the setup selection page.GET /setup/wifiserves the Wi-Fi configuration page.GET /setup/cameraserves the Reolink camera configuration page.GET /api/wifi/statusreturns connection state and setup/router IP addresses.POST /api/wifi/scanstarts an asynchronous scan for nearby networks.GET /api/wifi/networksreturnsscanning,completewith scan results, oridle.POST /api/wifi/configaccepts form fieldsssidandpassword; credentials are saved after a successful connection.GET,POST, andDELETE /api/camera/configread, save, and clear camera settings.
Camera Snapshot API
GET /camera/api/statusreports the camera status, snapshot availability, and age without revealing camera settings.GET /camera/image.jpgserves the current cached JPEG. Before the first successful snapshot, it returns503.
Radio Tools
GET /toolsserves the browser-based Maidenhead Locator and Link Budget Calculator page. The calculators do not use additional API endpoints.
Examples
Submit a message:
Invoke-WebRequest http://device-address/msg-board/api/messages -Method Post -Body @{ name = 'W6AM' text = 'Acknowledged.' priority = 'green' # 'green' = normal, 'orange' = important, 'red' = urgent }Read the newest messages:
Invoke-RestMethod 'http://device-address/msg-board/api/messages?limit=20'Use
after=for newer messages andbefore=for older messages. Additional filters aresearch=andpriority=green|orange|red|all.Security and Deployment
The service uses plain HTTP and is intended for a trusted local AREDN network. It does not provide TLS. The firmware no longer requires
arduino_secrets.h.Load Test
load-test.ps1runs staged polling and posting tests against a configured device. Set$BaseUriat the top of the script before running it:.\load-test.ps1The device clock must already be valid before running the posting stage. The script requires PowerShell and network access to the device.
-
Der CPL-Filter: Dieses analoge Kamera-Zubehör kann nicht durch Software ersetzt werden
In Zeiten KI-gestützter Bildbearbeitung gibt es ein analoges Kamera-Zubehör, das nach wie vor unersetzbar bleibt. Oft entscheiden nämlich nicht die Megapixel der Kamera über ein brillantes Landschaftsfoto, sondern ein unscheinbares Stück Glas auf dem Objektiv.
Wer glaubt, dass sich alles nachträglich in der Nachbearbeitung korrigieren lässt, stößt bei unerwünschten Spiegelungen an Grenzen, da diese Bildinformationen im Nachhinein einfach fehlen. Und niemand möchte ein Foto, bei dem eine KI die entfernte Spiegelung bloß fantasievoll simuliert, statt die echte Szene zu zeigen:
In der Landschafts- und Architekturfotografie lassen sich viele Effekte durch digitale Bildbearbeitung anpassen, doch beim CPL-Filter (zirkularer Polarisationsfilter) hört der Spaß auf. Da der Filter das Licht vor dem Sensor manipuliert, lassen sich die Effekte nachträglich nicht fehlerfrei rekonstruieren.
Ein Schatten, den es ohne dieses Glas für uns nicht gibt.
Was ist ein CPL-Filter?
CPL steht für Circular Polarizer. Optisch handelt es sich um einen Aufsatz aus zwei Glasscheiben in einem Metallgewinde, bei dem sich die vordere Scheibe kontinuierlich im Kreis drehen lässt.
Physikalisch gesehen funktioniert der Filter wie ein optisches Gitter für Lichtwellen. Normales Tageslicht schwingt unpolarisiert in alle Richtungen. Trifft es auf eine nicht-metallische Oberfläche (wie Wasser, Glas oder die Wachsschicht von grünen Blättern), wird es reflektiert. Durch diese Reflexion wird das Licht polarisiert, es schwingt danach überwiegend in einer Vorzugsrichtung. Genau dieses gerichtete Reflexionslicht blockiert der Filter, wenn er in den passenden Winkel gedreht wird.
Die optischen Auswirkungen und praktische Anwendung
Der Einsatz bewirkt drei zentrale Effekte:
- Unterdrückung von Reflexionen: Spiegelungen auf Oberflächen werden ausgeblendet, wodurch beispielsweise der Grund eines Sees oder das Innere von Fenstern sichtbar wird.
- Erhöhung der Farbsättigung: Ein Lichtschleier auf Blättern, Gras oder nassen Steinen wird eliminiert, was das Grün intensiver wirken lässt (außer bei den Steinen).
- Kontraststeigerung im Himmel: Dunstpartikel werden herausgefiltert, wodurch das Himmelsblau abdunkelt und Wolken kontrastreicher hervortreten.
Was in der Praxis beachten werden muss
Ein CPL-Filter ist nichts, das einmal aufschraubt und vergessen wird. Er verlangt ein wenig Aufmerksamkeit:
- Manuelle Justierung: Beim Wechsel vom Quer- ins Hochformat oder wenn sich der Winkel zur Sonne ändert, muss auch der vorderen Ring des Filters neu justiert werden. Ein kurzer Blick durch den Sucher oder auf das Display reicht: Einfach so lange drehen, bis die Spiegelung auf dem Wasser verschwindet oder der Himmel den dunkelsten Punkt erreicht.
- Der 90-Grad-Winkel zur Sonne: Die maximale Wirkung am Himmel wird erzielt, wenn im 90-Grad-Winkel zur Sonne fotografiert wird. Wer direkt in die Sonne oder mit der Sonne im Rücken fotografiert, verliert den Effekt am Himmel fast vollständig (die Farbintensivierung auf Blättern oder Wasser funktioniert trotzdem).
- Vorsicht bei Ultraweitwinkel-Objektiven: Bei extremen Weitwinkelobjektiven (z. B. unter 24mm Vollbild-Äquivalent) wird so viel Himmel auf einmal eingefangen, dass der Polfilter-Effekt ungleichmäßig wirkt. Das Resultat ist oft ein unschöner, dunkler Fleck mitten im ansonsten helleren Himmel. Hier sollte der Filter etwas feinfühliger dosiert und nicht komplett auf Anschlag gedreht werden.
- Physikalischer Lichtverlust: Das Filtern verringert physikalisch bedingt die Lichtmenge, meistens um 1 bis 2 Blendenstufen. Das bedeutet: Die Verschlusszeit verlängert sich. Bei strahlendem Sonnenschein ist das nebensächlich, aber in der Dämmerung oder im schattigen Wald muss die ISO angehoben oder ein Stativ benutzt werden.
Bereit für den Praxistest?
Eine Software-Nachbearbeitung kann viel, aber verlorene Bilddaten durch überstrahlte Reflexionen nicht rekonstruieren. Wer Spiegelungen eliminieren will, muss das Licht physikalisch filtern, bevor es den Sensor erreicht. Einzig die optische Qualität des Glases ist entscheidend und minderwertige Filter ruinieren nur die Bildschärfe und verfälschen die Farben.
Lass dich inspirieren: Weitere Vorher-Nachher-Vergleiche, die den Unterschied zeigen.
ohne CPL-Filtermit CPL-Filter
Seite 1 von 58
Ältere Beiträge →