The local agent is a small program that runs in your home, reads data directly from the Solarman data logger and sends it encrypted to the Solarmeter server – without the manufacturer's cloud. This guide walks you through installing it on Windows, Linux, Raspberry Pi and macOS, shows how the agent finds the logger on your network and how to pair it with your plant, and what to do when something does not work.
What you need
- A computer that runs around the clock on the same network as the logger: Windows 10/11 (64-bit), Linux (Debian, Ubuntu, Raspberry Pi OS) or macOS 12 or later. A low-power Raspberry Pi is plenty.
- A Solarman data logger (Wi-Fi or LAN) connected to your home network. The agent talks to it on TCP port 8899. Nothing needs to be enabled in a Deye inverter – the logger talks to the inverter on its own.
- On Linux and macOS Python 3.9 or later with the venv module, and internet access during installation (dependencies are downloaded). On Linux the installer adds a missing python3-venv package via apt; on macOS you need Python from the Command Line Tools (
xcode-select --install) or Homebrew. - A Solarmeter account with a plant set up. The local agent is part of the paid plans (Installer plus Monitor or Control) – see pricing for details.
A tip before you start: give the logger a fixed IP address in your router (a DHCP reservation). Its address then stays the same after a router restart or replacement, and the agent finds it in the same place.
Step 1: create a pairing code
In the Solarmeter app, choose the local agent connection for your plant and create a pairing code (in the form ABCD-1234). The code tells the agent during installation which plant it belongs to. After pairing, the agent stores its own access token and no longer needs the code.
Step 2: install the agent
Windows 10 / 11
- Download the Windows package (zip) and extract all of it – the installer needs its files next to it.
- Double-click
install.cmdand confirm the administrator prompt. - The wizard searches the local network for Solarman loggers (about 30 seconds), asks for the pairing code, pairs the agent and starts it.
The agent then runs as the Windows service solarmeter-agent: it starts automatically at boot and restarts itself after a failure. Configuration, buffer and logs live in C:\ProgramData\Solarmeter\; the log is logs\agent.log.
Linux and Raspberry Pi
Extract the Linux package (tar.gz) and run the wizard:
sudo ./install.sh
Just like on Windows, the wizard finds the logger, asks for the code and pairs the agent. For an unattended install, for example on several devices, everything can be passed as options:
sudo ./install.sh --code ABCD-1234 --server https://your-server --host 192.168.1.50 -y
The agent runs as the systemd service solarmeter-agent. Follow it with journalctl -u solarmeter-agent -f or in /var/log/solarmeter-agent/agent.log.
macOS
The steps are the same as on Linux (sudo ./install.sh); the agent registers as a system service (LaunchDaemon) and logs to /Library/Logs/Solarmeter.
Step 3: find the data logger on your network
Usually there is nothing to do – the installer scans the local network (the address range the computer is in) on port 8899 and lists the logger it finds together with its serial number. The agent reads the serial number from the logger itself, so you do not need to copy it. If it finds several loggers, it offers a list and you pick yours by its serial number.
If no logger is found, it asks for the logger's IP address. You will find it in your router's list of connected devices (DHCP). On Windows you can also pass it with -LoggerHost, on Linux and macOS with --host.
Step 4: check that data is arriving
- On Linux and macOS,
solarmeter-agent statusshows the agent's state and whether it is paired; on Windows you will see thesolarmeter-agentservice in the Services console. - The agent log should not keep showing connection errors to the logger or the server.
- Live data starts appearing for your plant in the Solarmeter app. Then enter the location, tilt and orientation of your strings and your tariffs – you will see the forecast, performance and savings right away.
If the internet drops, the agent keeps samples in a local buffer and sends them once the connection is back – no data is lost. By default the agent only reads from the inverter and does not touch its settings. The exception is charge control on Deye with the Control plan: only after you explicitly switch it on does the agent write a time-based battery charging and discharging schedule (Time of Use) to the inverter.
Common problems and how to fix them
- The logger is on a different subnet. The automatic search only covers the network the agent's computer is on. Guest Wi-Fi, a separate IoT network or a second router behind the first (double NAT) "hide" the logger. The simplest fix is to put the computer and the logger on the same network; otherwise enter the logger's IP manually and make sure the network between them allows connections to TCP port 8899.
- Firewall. The agent needs two outgoing connections: to the logger on port 8899 on your home network, and over HTTPS to the Solarmeter server. If a firewall on the computer or router blocks them, the search finds nothing or data is not uploaded.
- Data stopped after a router replacement. The logger has to join the new Wi-Fi and often gets a new IP address. That is why we recommend a fixed IP.
- The agent says it needs to be paired again. The server rejected the agent's access token. The agent stops and asks for re-pairing in its log; create a new pairing code in the app.
- A brand other than Deye. Sofar with the same Solarman data logger is supported in beta. GoodWe, SolaX and Huawei are in preparation – they do not use a Solarman logger but the manufacturer's dongle with Modbus TCP enabled, or an RS485 converter. Modbus TCP is enabled in the manufacturer's app (SolarGo, FusionSolar) and sometimes only by the manufacturer's service; a Huawei dongle also allows only one connection, so no other integration may use it at the same time. See Supported inverters for an overview.
Uninstalling: on Windows run uninstall.cmd in the program folder, on Linux sudo /opt/solarmeter-agent/uninstall.sh. The differences between the agent and a Deye Cloud connection are summarised in Monitoring a Deye inverter; what to watch in your data is covered in How to read your solar PV data.
Ready? Sign up, add a plant and create a pairing code. Both ways of connecting are described on How it works.