Skip to content

Configuration: General

Sergi Esteve edited this page Nov 19, 2025 · 9 revisions

Getting the camera up and running requires initial setup of the bootloader environment. Most camera firmware images already have environment settings in them, and you only need to provide your wireless network credentials to get the camera online. However, if you are building firmware for a new camera, or if you are using a module firmware, you will need to provide the environment file yourself.

Networking MAC Addressing

When the system is installed, it generates and assigns MAC addresses to the ethaddr and wlan_mac environment variables. These MAC addresses are based on the SoC (System on Chip) serial number. They are unique to your device. If the serial number is not available, random MAC addresses are created instead.

You can change or clear these variables if needed. It's important to note that some WiFi modules might not provide a consistent MAC address without these generated values.

Configuring via the camera's access point

If your camera does not already have wireless credentials, it will launch an access point with a built-in portal that allows you to connect directly to the camera and enter credentials to connect to your wireless network. The portal will only stay up for 5 minutes, then it will shut down for security reasons and you will need to reboot the camera to restart it.

To access the portal, turn on the camera and scan available wireless networks for an SSID called THINGINO-XXXX, where XXXX is a unique part of the camera's MAC address. Connect to this network (it's open, so you don't need any credentials) and navigate to http://thingino.local/ or http://172.16.0.1/ in your web browser. On the page, enter your wireless network SSID and password to access the network and click the Save Credentials button. The camera will reboot and attempt to connect to your wireless network using the credentials provided.

Configuration with an SD card

Find your camera model in /configs/cameras/ directory, copy its configuration file and save it as uEnv.txt. Add the wlan_ssid and wlan_pass values with your wireless network credentials. Copy the file to an SD card, insert the card into your camera and reboot.

Bootloader environment explained

Hardware Settings

  • gpio_default - List of default GPIO states on boot. each position consists of the GPIO number followed by the desired state:
    • O - Output, High
    • o - Output, Low
    • i or I - Input
  • gpio_button - GPIO pin for reset button
  • gpio_led_r - GPIO pin for red LED
  • gpio_led_g - GPIO pin for green LED
  • gpio_led_b - GPIO pin for blue LED
  • gpio_led_y - GPIO pin for yellow LED
  • gpio_mmc_cd - GPIO pin for MMC card detection
  • gpio_mmc_power - GPIO pin to control power to MMC
  • gpio_usb_en - GPIO pin to control power to USB
  • gpio_speaker - GPIO pin to contol power to speaker

Night Mode

  • gpio_ircut - GPIO pins for IRCUT driver, can be one or two pins, depending on drive type
  • gpio_ir850 - GPIO pin for 850nm IR LEDs
  • gpio_ir940 - GPIO pin for 940nm IR LEDs
  • gpio_white - GPIO pin for white light LEDs
  • pwm_ch_ir850 - PWM Channel of 850nm IR LED
  • pwm_ch_ir940 - PWM Channel of 940nm IR LED
  • pwm_ch_white - PWM Channel of white light LED

Pan and tilt motors

  • gpio_motor_en - GPIO pin for enabling the motor controller
  • gpio_motor_h - GPIO pins for horizontal (pan) motors
  • gpio_motor_v - GPIO pins for vertical motion (tilt) motors
  • motor_maxstep_h - Maximum number of microsteps for pan motor
  • motor_maxstep_v - Maximum number of microsteps for tilt motor
  • disable_homing - Set to true to disable homing of motors on boot

Wireless networking

  • disable_wlan - Disable WLAN
  • gpio_wlan - GPIO pin to control power to wireless card
  • wlan_module - Wireless card driver
  • wlan_module_opts - Arguments to pass to wireless driver
  • wlan_mac - MAC address for wireless interface
  • wlan_ssid - Wireless network name
  • wlan_pass - wireless network password

Ethernet networking

  • ethaddr - MAC address for Ethernet interface
  • disable_eth - Disable Ethernet networking for faster boot on Wi-Fi only cameras

Miscellaneous

  • disable_streamer - Disable video streamer
  • disable_watchdog - Disable system watchdog
  • enable_updates - Enable virtual partitions used for firmware upgrades
  • debug - Debug mode

Configuring via SSH

If your camera is already connected to a wireless network, you can access an SSH shell using the same credentials as the WebUI (root / whatever password you've set).

Important

Newer versions of Thingino use JSON for configuration files. The tool to edit JSON configurations is jct. See below.

Older versions using libconfig

Modifications to /etc/prudynt.cfg should be made using the /bin/prudyntcfg script.

Example:

/bin/prudyntcfg set stream1.bitrate 900
/bin/prudyntcfg set stream2.fps 5
/bin/prudyntcfg set stream2.bitrate 900

The script will exit with code 0 if the modification was successful.

The "default" configuration for Prudynt is located at /rom/etc/prudynt.cfg, so you can revert easily by running:

rm /etc/prudynt.cfg && cp /rom/etc/prudynt.cfg /etc/prudynt.cfg

NOTE: Removing /etc/prudynt.cfg is only really necessary if you're using an idempotent configuration manager (like Ansible) to reset the configuration when no changes have been made since flashing the firmware due to the overlay filesystem. Failure to remove a the stock file may result in the error: cp: '/rom/etc/prudynt.cfg' and '/etc/prudynt.cfg' are the same file

Newer versions using JSON

Recent builds use JSON for configuration files. These can be edited with the command line tool jct. For example:

jct /etc/prudynt.json set stream0.fps 15
jct /etc/prudynt.json set stream0.osd.enabled false

The configuration can be easily restored to its original state with:

jct /etc/prudynt.json restore

For more details see the jct project repository.

DEPRECATED

  • day_night_min - Gain value to switch to day mode, defaults to 500
  • day_night_max - Gain value to switch to night mode, defaults to 15000
  • day_night_color - Whether to enable black & white colors on night mode and disable on day mode, defaults to false
  • day_night_ir850 - Whether to enable the 850nm IR LEDs on night mode and disable on day mode, defaults to false
  • day_night_ir940 - Whether to enable the 940nm IR LEDs on night mode and disable on day mode, defaults to false
  • day_night_ircut - Whether to enable IRCUT on night mode and disable on day mode, defaults to false
  • day_night_white - Whether to enable the white light LED on night mode and disable on day mode, defaults to false
  • hostname - Host name to use when connecting to a network
  • timezone - Timezone, set from Web UI so you don't need to edit it directly
  • sshkey_ed25519 - backup of ssh key
  • devip - IP address of developer's workstation

Configuration via wireless network

If your camera doesn't have an SD card slot and Wi-Fi is the only way to access it, you can use the default credentials that come with our firmware. Create a wireless network with a name thingino and password thingino. Make sure it has a DHCP server to assign IP addresses to cameras. Boot the camera with the new firmware. Check the list of DHCP clients on the server. Find the client with hostname thingino- where is the SoC model of the camera. Check the assigned IP address and use it to connect to the camera via ssh. Once in shell, set your real wireless network credentials using the following commands:

fw_setenv wlan_ssid <ssid>
fw_setenv wlan_pass <password>
reboot
  1. Wiki Home
  2. About the Project
    1. Contributions
    2. Features
    3. Project Philosophy
    4. Releases
  3. Getting Started
    1. FAQ
    2. Hardware Identification
    3. Ingenic USB Cloner
      1. OTG Booting
    4. Installation: General
    5. Installation: No Tools Methods
    6. Resources and Links
    7. Support Community
    8. Troubleshooting
    9. UART Connection
    10. Updating Firmware
    11. Web UI
  4. Supported Cameras
    1. Cameras
    2. 360 AP1PA3
    3. AliExpress LTIA‐37FJZ (Vanhua Z55 module)
    4. AOQEE C1
    5. Aosu C5L
    6. Cinnado
      1. Cinnado D1 2K
      2. Cinnado D1 3K
    7. Dekco DC5L
    8. Eufy
      1. Eufy E210 Outdoor Cam
      2. Eufy E220
    9. Galayou/Wansview
      1. Galayou G2
      2. Galayou G7
      3. Wansview W6
      4. Wansview W7/Galayou Y4
    10. Hualai (Wyze/Atom/Neos/Personal)
      1. Dafang Upgrading for Wyze v2
      2. NEOS conversion
      3. Personalcam
      4. Wyze Cam Pan V1
      5. Wyze Doorbell (V1)
        1. Chime Reverse Engineering
      6. Wyze v2/Neos SmartCam/ATOM Cam 1
      7. Wyze v3
      8. Wyze Accessories
    11. iFlytek XFP301‐M
    12. Jienuo JN-107-AR-E-WIFI
    13. Jooan A6M
    14. LaView L2
    15. LongPlus X07
    16. LSC 3215672
    17. Sannce I21AG
    18. Sonoff Cam‐S2
    19. Wuuk Y0510
    20. Xiaomi
      1. Xiaomi Mijia1080p (SXJ02ZM)
      2. Xiaomi MJSXJ03HL
      3. Xiaomi Outdoor Camera AW200 (MJSXJ05HL)
  5. Configuration
    1. Administration
    2. Automation
    3. Cron jobs
    4. General
    5. LED Indicators
    6. Lighting
    7. Media Streaming Endpoints
    8. Network Storage
    9. Networking
      1. Wireless Networking
      2. USB Direct w CDC
      3. USB Ethernet Networking
      4. Remote Access
      5. VPN
        1. Tailscale
        2. Wireguard
        3. Zerotier
      6. Wi-Fi
        1. Self Hosted AP
        2. Tips and Tricks
      7. WWAN (Cellular)
    10. Night Mode
    11. ONVIF
    12. OSD (On-screen Display)
    13. Plugins
      1. Motion Guard
      2. Yandex Disk
    14. SSH Access Keys
    15. Wi-Fi Access
    16. Provisioning
  6. Integration
    1. Home Assistant
    2. Frigate
    3. Ingenic A1/$15 NVR
    4. Mobile Apps
    5. MQTT Integration
    6. Virtual Webcam on Linux
    7. Mainsail (Klipper)
  7. Development
    1. Booting
      1. Boot: MMC SD
      2. Boot: NFS
    2. CH341A Programmer
    3. RTSP Players
    4. Flash Chips
    5. go2rtc
    6. Porting Guide
    7. Ingenic Platform Capability Matrix
    8. Ingenic Image Processor
    9. ISP Reserved Memory (RMEM)
    10. Debugging
    11. Software
      1. Building From Sources
      2. Buildroot
      3. Toolchain
      4. Choice of JSON library
    12. SSL and TLS Web UI in thingino
    13. Tech Info
      1. Hardware
      2. PWM Info
      3. Supported Hardware
      4. T23 GPIOs
      5. T31 GPIOs
    14. U-Boot Cheatsheet
    15. Zeratul/Atlas/Tassadar
    16. Resources
Clone this wiki locally