User manual

Package contents

  • Edgesensor eval kit
  • DC power supply (5V, 3A)
  • USB-UART converter cable

Power up

  1. Connect the power supply to the Edgesensor with the barrel jack connector.
  2. Plug the power supply into the power outlet.
  3. For best performance, leave the room for 5 minutes after starting the device.
  4. The device starts automatically after the power is supplied.
  5. Wait until the device starts flashing red.

Wi-Fi configuration

First use

After switching on, the device creates a Wi-Fi network.

Wi-Fi credentials
SSID Edgesensor
Password edge1234
Hostname edgesensor
Wi-Fi credentials
  1. Connect your PC or Smartphone to the Wi-Fi.
    • Since there is no internet connection available on this network, make sure that your device has not switched back to another Wi-Fi network after connecting.
  2. Open the following URL in the browser: http://edgesensor.local/
    If URL is not available
  3. Open Settings and enter the height of the room and the use case of the device.

  1. Open WiFi settings from the navigation bar
  2. Set the Hostname field
  3. Be sure to give the Edgesensor a unique name.
  4. Click Save
  5. After the change, the device will be available at http://new-name.local/ where the new-name represents the hostname you chose.
  6. It may take some time for the change to take effect.

  1. Open WiFi settings from the navigation bar
  2. Select WiFi Client
  3. Enter your network SSID and password (if protected).
  4. Click Save
  5. Your device will soon connect to the specified network. In case of failure, you can reset the Wi-Fi settings. See Reset Wi-Fi configuration.
  6. You can access the device via the hostname on the new network.

  1. Open WiFi settings from the navigation bar
  2. Select Wi-Fi Hotspot
  3. Enter your network SSID and password (if protected).
  4. Click Save
  5. Your device will soon create a hotspot. In case of failure, you can reset the Wi-Fi settings. See Reset Wi-Fi configuration.
  6. In hotspot mode, the address of the device is http://192.168.2.1
    • You can access the device via the hostname on the new network too.
    • If you haven't changed the hostname, then http://edgesensor.local/

MQTT MQTT icon

Connect to MQTT broker

  1. Open the Edgesensor web interface.
  2. Connect the device to the network through which the MQTT broker is available. (See Wi-Fi configuration)
  3. Make sure the Edgesensor is on the same network as the MQTT broker.
  4. Open the MQTT settings from the navigation bar
  5. Enable MQTT
  6. Enter the MQTT broker address, port, and device name
    • The name of the device can be defined by the user.
  7. If authentication is required, check Authentication and enter the username and password.
  8. Click the Save button

MQTT Topics 

The device can connect to an MQTT broker. The Edgesensor publishes messages on the following topics:

  • Connectivity:
    • Topic: edgesensor/DEVICE-ID/connectivity
    • true the device connected, false otherwise.
  • Motion:
    • Topic: edgesensor/DEVICE-ID/motion
    • true if there is motion in the room, false otherwise.
  • Occupancy:
    • Topic: edgesensor/DEVICE-ID/occupancy
    • true if they are in the room, false otherwise.
  • People count:
    • Topic: edgesensor/DEVICE-ID/peopleCount
    • A single number representing the number of people in the room.
  • Zones
    • Topic: edgesensor/DEVICE-ID/zone/ZONE-INDEX
    • The device can monitor up to 6 zones.
    • The zone index is a number between 0 and 5. The device periodically updates the number of people in the zone.
    • If you only set fewer zones, the device will publish 0 for the remaining ones.

Home Assistant integration 

  1. Open Assistant web interface
    • Change your server address if necessary.
  2. Log in if necessary
  3. Click Ok to set up MQTT
  4. Choose Use the official Mosquitto MQTT Broker add-on
  5. Click Finish

  1. Open the Home Assistant web interface
  2. Navigate to Settings Add-ons Add-ons store
  3. Find the Mosquitto broker plugin, install it, and start it.
  4. Navigate to Settings Devices & services
  5. Click on Add integration and search for MQTT
  6. Select MQTT
  7. Choose Use the official Mosquitto MQTT Broker add-on
  8. Click Finish

Troubleshooting 

Reset Wi-Fi configuration

You can restore the default network configuration at any time by pressing the reset button or Connect INP2 with GND

Home Assistant IP address

You can find out the IP address of your Home Assistant server with the IP integration.