Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G g4s
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • lia2-publico
  • g4s
  • Wiki
    • Freedsm
  • Configuration

Last edited by unknown May 08, 2026
Page history

Configuration

FreeDSM is accessible through its own web server. You can check the IP address in your router or, physically, access the configuration option of the device and select "AP information" (it will show the IP in use in the LCD screen). Simply use your favorite web browser and connect to that IP via HTTP.

The device It has a power switch and a USB-C connector for charging. It also has a LCD screen and a Joystick to control the menus.

The FreeDSM provides the information in 5 different ways:

  1. On the LCD display itself you can see the measurement information.

  2. Through the web browser, on the main screen you will get complete information.

  3. The firmware is based on Tasmota, so it integrates easily with any IoT installation. To send the data to, for example, your own HomeAssistant, you would have to configure the MQTT server with your web browser, with the option "Configuration" -> "Configure MQTT".

  4. FreeDSM sends the information to the web platform of the project that developed the device (https://dsm.citic.udc.es). You can register to create an account, view the data, export it and compare it with our natural sky model (Gambons).

  5. Additionally, there is a mode that we have called DEBUG to send the data in JSON format to any HTTP server you want to install. To enable it, using the web browser, go to "Consoles" -> "Manage File system", enable "Show hidden files" and you will see a ".cfg.json" file in the list. Click on the white icon and you will be able to edit it including the information of your HTTP server that will receive the data, the port and a field (1|0) to send or not the data when the light sensor is saturated (0 mpsas).

First boot

After the construction of the device and its firmware flashing, these screens should appear in the LCD screen.

In the last one, you can see the message indicating that there is no wifi network configured. FreeDSM will create a wifi network during limited time (the wifi AP uses the same name as the device). The easiest way is to use our mobile phone to connect to that Wi-Fi network.

After the connection to this AP, we are usually automatically shown a web browser connected to the address: http://192.168.4.1. If not, we do it manually. On that page (which is provided by FreeDSM itself) we configure the wifi we want to use.

After choosing the Wi-Fi network and entering the password in the configuration interface, our FreeDSM will restart and, if everything has gone well, we will see that it already has a connection when it starts. In this case, the message indicates that the device is not registered in the platform (http://dsm.citic.udc.es), we recommend to do it.

After starting up we will see the information on the display (these values ​​are the ones from the start-up, when we do not yet have the time synchronization or measurements of light, temperature or humidity).

Settings and options

During normal operation of the photometer, we can select the gear (also press the joystick) and we will enter a menu with several options (information about the device, current Acces Point (AP) information, reboot and Reset device configuration, including the wifi setup). This option show three enable/disable possibilities:

Here you can disable the sending of data to the Gaia4Sustainability project platform (we recommend do not disable it, at https://dsm.citic.udc.es you can register and view your data).

Other option is to enable/disable the storage of the data in the device's internal flash (datalog.json file; very limited space, around 16h of data); It is possible to download these JSON files through the photometer's web interface with any web browser, using the IP that the device has assigned in our network. To do this, select "Console" or "Tools" -> "Manage File system" and click on the file to start the download.

The third option is to enable the "eclipse mode"; the instrument will configure the sensor to perform correctly during the elipse, and the previous hours, on August 12, 2026. In this mode, the instrument will show an eye and "eclipse" on the main screen.

How the sensors work

The photometer takes 6 light measurements at the end of each minute, sending the data. Additionally, it incorporates temperature and humidity information, as well as the raw measurements used for the calculation of mpsas and their calibrated value (calibrated mpsas are displayed on the LCD screen). The device has a built-in generic average adjustment, with which we have obtained an error of about 0.11 mpsas (on moonless nights) in relation to the measurements of a Tess-W. It is possible to perform individual calibrations with parallel FreeDSM / Tess-W measurements, although it is outside the scope of this document. In such cases, the error is reduced to 0.5 mpsas.

In addition to these automatic measurements, the "Read" button on the LCD screen can be selected using the joystick. This will trigger an instant measurement (provided an automatic one is not in progress) by turning off the display for about 6 seconds.

Clone repository
  • FreeDSM
    • Assembly
    • Components
    • Configuration
    • Enclosure
    • Flashing
  • fw
    • current
  • Home