The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Enlighted

The Enlighted lighting solution optimizes energy savings while enhancing occupant productivity, well-being, and security.

BLE Mode of Sensor¶

The API sets the BLE mode of the sensor.

Request¶

POST https://{em_ip_address_or_hostname}/ems/api/org/fixture/op/assignblemode/{blemode}
<fixtures> 
   <fixture>
         <id>nn</id>
   </fixture>
   <fixture>
        <id>mm</id>
  </fixture>
</fixtures>

Parameters¶

Request¶

ParameterDescription
em_ip_address_or_hostnameManage’s IP address or hostname
blemodeSensor BLE mode:
- OFF – BLE mode is off;
- SCAN – The sensor scans for BLE signals;
- BEACON – The sensor sends out BLE signals.
idSensor identifier.

Response¶

ParameterDescription
statusnnn – Number of sensors where the BLE mode was updated successfully.
msgError message description.
-1 – Error message.

Sample Request¶

The example below shows how to set the BLE Mode for two sensors to the OFF mode. The response indicates that two fixtures have been updated successfully. If there is an error, the error message is displayed.

POST https://192.80.30.2/ems/api/org/fixture/op/assignblemode/OFF

Sample Response¶

   <fixtures>
       <fixture>
            <id>27</id>
        </fixture>
           <fixture>
                <id>28</id>
          </fixture>
    </fixtures>

  {
    "status": "2", 
  }

or

    {
      "status": "-1",
      "msg": "Error..."
    }