Borbin the 🐱

🔍 Suche...
🔍
Alle Begriffe müssen vorkommen (UND), "Phrase" für exakte Treffer, r"regex" für Muster (oder ').
  • AREDN Setup for Antenna and Camera on one Ethernet cable with VLAN

    📅 17. November 2026 · Electronics · ⏱️ 2 min

    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 protector

    Indoor
     I: PoE++ injector, 30 W
     S1: Managed switch
     R: AREDN Router


    Outdoor 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

    📅 14. November 2026 · Electronics · ⏱️ 4 min

    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.


    1. 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

    📅 28. Oktober 2026 · Electronics · ⏱️ 8 min

    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:464E87C0
      18: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/print

      Example:

      routerboard: no

      If routerboard is set to no, RouterBOARD settings cannot be modified. In this case, run:

      /system/device-mode/update routerboard=yes

      The router responds with something similar to:

      update: turn off power in 5m to activate changes

      Power-cycle the device within the specified time.
      Verify:

      /system/device-mode/print

      Expected:

      routerboard: yes

      Check current settings:

      /system routerboard settings print

      Configure Ethernet boot:

      /system routerboard settings set boot-device=try-ethernet-once-then-nand

      Verify:

      /system routerboard settings print

      Expected:

      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.

    1. Take an Ethernet cable and plug it into the middle LAN port of the AR750. Connect the other end directly to your PC.





    2. Open your computer's network adapter settings (IPv4) and change it from DHCP to Manual (Static IP).
    3. Enter the following exact values:
      • IP Address: 192.168.1.2
      • Subnet Mask: 255.255.255.0
      • Gateway: 192.168.1.1

    Now, we set the AR750 into its built-in web recovery mode.

    1. Unplug the power cable (Micro-USB) from the AR750.
    2. Use a paperclip or a pen to press and hold the Reset button on the side.
    3. Plug the power cable back in while keeping the Reset button pressed.
    4. Watch the front LEDs: The power light will turn on, and the Wi-Fi LED will start flashing (about 5 times).
    5. 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.

    1. Open your web browser and navigate to http://192.168.1.1
    2. You will see a simple interface titled "GL.iNet Firmware Update".
    3. Click Choose File and select your downloaded AREDN factory firmware file (ends in .bin or .img).
    4. 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.

    1. Go back to your computer's network adapter settings and switch IPv4 back to Automatic (DHCP).
    2. Plug an internet-connected cable from your home router into the LAN port of the AR750.
    3. Open your browser and type http://local.mesh to 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.mesh From 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.mesh into 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 .mesh extension. Since .mesh does 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 .mesh universe.

    ❌ What NOT to do

    You could try to fix this by adding static routing tables to your Windows PC, modifying your operating system's hosts files, 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.

    1. 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).
    2. The Device Connection: Look for the unencrypted Wi-Fi network broadcasting from your AR750 (the default SSID is AREDN-LAN).
    3. 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.

  • AREDN Server for ESP32

    📅 20. Oktober 2026 · Electronics · ⏱️ 12 min

    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.

    ESP32


    ESP32

    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: close to 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
    VCC 3V3 3.3 V supply
    GND GND Ground
    SDA A4 / SDA I2C data
    SCL A5 / SCL I2C clock
    ESP32 ESP32

    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.

    Web 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-Setup access point and follow the setup steps below.

    Build and flash from source

    You can build and install the firmware from the GitHub source repository:

    1. Install the ESP32 board package in the Arduino IDE.
    2. Select an Arduino Nano ESP32 or a compatible ESP32 board with FFat support.
    3. Install these libraries through the Arduino Library Manager:
      • ESPAsyncWebServer
      • Adafruit GFX Library
      • Adafruit SSD1306
    4. Open aredn-services.ino, select the correct board and port, then upload the sketch.
    5. Connect to the AREDN-Server-Setup access point and follow the setup steps below.

    The service uses the ESP32's built-in WiFi, Wire, FFat, FreeRTOS, and system libraries. WebServer and ArduinoJson are not required.

    Setup

    The device always starts the AREDN-Server-Setup access 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
    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/camera while connected to the setup access point:

    1. Give the RLC-510A a reserved IPv4 address on a network reachable by the ESP32.
    2. Enable the camera's HTTP port in Reolink settings. The default port is 80; see Reolink's port settings guide.
    3. 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=Snap JPEG 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.dat as 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_at in UTC ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ), name, text, and optional priority (green, orange, or red).

    API Reference

    Message Board API
    • GET /msg-board/api/messages returns newest messages first, at most 100 per request (default 20). Optional parameters: limit=, after=, before=, search=, priority=green|orange|red|all, rev=, and boot=. Clients pass the revision (r) and boot ID (b) from their previous response as rev and boot; the response flag f is then true when 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/messages submits a message.
    • GET /msg-board/api/messages/export.json downloads the complete board as JSON; it requires an admin session.
    • GET /msg-board/api/time returns the current device clock state.
    • POST /msg-board/api/time sets the device time manually using form field epoch; 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/login with form field password
    • POST /msg-board/api/admin/logout (admin session required)
    • GET /msg-board/api/admin/status
    • POST /msg-board/api/admin/import with an application/json file body; the board answers 202 once the upload is stored and finishes the import in a background task
    • GET /msg-board/api/admin/import/status reports {"state":"processing"}, {"state":"done","count":}, {"state":"failed","reason":""}, or {"state":"idle"}
    • DELETE /msg-board/api/admin/message?id= and POST /msg-board/api/admin/message?id= with form fields name, text, and priority return 202 while the board edits or deletes the message in a background task. Only one edit/delete runs at a time; a competing request gets 409 with {"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/status reports {"state":"processing"}, {"state":"done"}, {"state":"failed"}, or {"state":"idle"}
    • DELETE /msg-board/api/admin/messages
    • POST /msg-board/api/admin/format/prepare starts the time-limited confirmation for a full FFat reset
    • POST /msg-board/api/admin/format erases the whole FFat partition like a new board after the challenge and exact FORMAT FFAT confirmation are supplied; the request can take up to two minutes, and this deletes all FFat files but does not delete Preferences data
    • DELETE /msg-board/api/admin/message?id=
    • POST /msg-board/api/admin/message?id= with form fields name, text, and priority (all required)

    Device and Setup APIs

    GET /api/status returns Wi-Fi, heap, and uptime information, the existing top-level board fields, and a services object 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/status returns the board readiness, message and storage metrics, and access count. GET /tools/api/status returns its status and access count. GET /camera/api/status returns the camera snapshot status and access count.

    POST /api/time/sync accepts a form field epoch and 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-Setup access point:

    • GET /setup serves the setup selection page.
    • GET /setup/wifi serves the Wi-Fi configuration page.
    • GET /setup/camera serves the Reolink camera configuration page.
    • GET /api/wifi/status returns connection state and setup/router IP addresses.
    • POST /api/wifi/scan starts an asynchronous scan for nearby networks.
    • GET /api/wifi/networks returns scanning, complete with scan results, or idle.
    • POST /api/wifi/config accepts form fields ssid and password; credentials are saved after a successful connection.
    • GET, POST, and DELETE /api/camera/config read, save, and clear camera settings.
    Camera Snapshot API
    • GET /camera/api/status reports the camera status, snapshot availability, and age without revealing camera settings.
    • GET /camera/image.jpg serves the current cached JPEG. Before the first successful snapshot, it returns 503.
    Radio Tools
    • GET /tools serves 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 and before= for older messages. Additional filters are search= and priority=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.ps1 runs staged polling and posting tests against a configured device. Set $BaseUri at the top of the script before running it:

    .\load-test.ps1

    The 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

    📅 20. September 2026 · Fotografie · ⏱️ 4 min

    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.

    Funktionsweise eines CPL-Filters Unpolarisiertes Licht Reflektierende Fläche CPL-Filter (drehbar) Störende Reflexion Reflexion herausgefiltert


    Was in der Praxis beachten werden muss

    Ein CPL-Filter ist nichts, das einmal aufschraubt und vergessen wird. Er verlangt ein wenig Aufmerksamkeit:

    1. 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.
    2. 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).
    3. 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.
    4. 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-Filter
    mit CPL-Filter




























Seite 1 von 58 Ältere Beiträge →
ÜBER

Jürgen E
Principal Engineer, Landei und kreativer Entwickler vieler Projekte:
Windows Photo Explorer (cpicture-blog), Android apps AI code rpn calculator und Stockroom, vrlight, 3DRoundview, klassische und 360-Grad-Panoramen, BitBlog, mein github und Inhaber einer US Extra Class Funklizenz.


Blog-Übersicht Chronologisch

KATEGORIEN

Auto • Electronics • Fotografie • Motorrad • Paintings • Panorama • Software • Querbeet


Erstellt mit BitBlog!