Humly Sensor Gateway - Troubleshooting
This article helps you find out why sensor data does not reach Humly Control Panel. Start with the symptom you see, and work through the checks in order.
In this article
- How data travels
- A sensor shows as offline
- A sensor never appears in HSG
- An MQTT sensor gets "not authorised"
- Readings are in HSG but not in Humly Control Panel
- A reading looks old
- You cannot sign in to the dashboard
- Contact Humly support
How data travels
A reading passes several steps before it reaches Humly Control Panel. Find the last step where it still arrives, then look at the next one.
- LoRaWAN: sensor, then gateway, then network server, then HSG. MQTT: sensor, then the broker in HSG.
- HSG: the sensor is approved and online.
- Humly Control Panel: the licence and integration are active, and the sensor is assigned to a resource.
A sensor shows as offline
The Issues column on the Sensors page says why.
| Issue | What to check |
|---|---|
| no reading in 1h or never reported (LoRaWAN) |
|
| broker reported disconnect or never connected to broker (MQTT) |
|
A sensor never appears in HSG
- LoRaWAN: Check the webhook address and token in the network server. A wrong token gives HTTP 401 in the network server. Check that the sensor's payload is decoded, with field names that HSG reads. See Connect LoRaWAN sensors.
- MQTT: Check that the sensor's topics start with the topic prefix from HSG. Look for "unknown sensor" warnings on the Logs page.
- Atlona AT-OCS-900N: The sensor only publishes when something changes. Walk under it to trigger a reading.
An MQTT sensor gets "not authorised"
The Logs page shows disconnected: not authorised for the sensor. The username or password in the sensor does not match HSG.
- On the Sensors page, use Regenerate password on the sensor.
- Enter the new password in the sensor and save.
- Restart the sensor.
Readings are in HSG but not in Humly Control Panel
- The sensor is pending or disabled. Only confirmed, enabled sensors send readings. Confirm or enable it.
- The licence is missing or expired. The HSG log shows The Humly Sensor Gateway license is missing or has expired. Add a valid licence under Settings > Licenses in Humly Control Panel.
- The integration is off. The HSG log shows The Humly Sensor Gateway integration is not enabled. Turn on Humly Sensor Gateway under Settings > Sensor integration in Humly Control Panel.
- HSG cannot reach Humly Control Panel. Check Settings > HCP pairing in HSG. Check that the HSG server can reach the Humly Control Panel address over HTTPS.
- The sensor is not assigned to a resource. In Humly Control Panel, add the sensor to the room or resource in its sensor settings.
A reading looks old
Some sensors only report when a value changes. In a quiet room, the last reading can be hours old. That is normal.
HSG also skips an unchanged value if it sent the same value in the last 60 seconds. A changed value goes through straight away.
You cannot sign in to the dashboard
- "Too many login attempts": Wait one minute and try again.
- Lost authenticator app: Sign in with the recovery code you saved when you turned on two-factor authentication.
- Lost admin password: HSG has no self-service reset. Email support@humly.com.
- The page does not load: Check that the HSG service runs, and that port 3100 is open in the server's firewall.
Contact Humly support
Email support@humly.com and include this information. It saves a lot of time.
- The HSG version, shown in the top left of the dashboard.
- Windows or Linux, and the operating system version.
- The sensor brand and model, and LoRaWAN or MQTT.
- The HSG log: on the Logs page, click Download.
- The full service log:
- Windows:
C:\ProgramData\Humly\SensorGateway\logs\HsgService.log - Linux:
sudo journalctl -u humly-hsg --since "1 day ago" > hsg.log
- Windows:
Humly Sensor Gateway guide
Get started
- Humly Sensor Gateway - Overview
- Humly Sensor Gateway - Use cases
- Humly Sensor Gateway - Requirements
Install and set up
- Install Humly Sensor Gateway on Windows
- Install Humly Sensor Gateway on Linux
- Humly Sensor Gateway - First-time setup
Connect sensors
- Connect LoRaWAN sensors to Humly Sensor Gateway
- Connect ChirpStack to Humly Sensor Gateway
- Connect The Things Stack to Humly Sensor Gateway
- Connect MQTT sensors to Humly Sensor Gateway
Manage and troubleshoot
- Humly Sensor Gateway - Dashboard tour
- Humly Sensor Gateway - Settings reference
- Update Humly Sensor Gateway
- Humly Sensor Gateway - Troubleshooting