Send command to a device from other application

Lucas Medina 20 Reputation points
2023-03-29T21:54:02.1433333+00:00

I would like to know if is possible to send commands to a device from other solution, for example to send a command to activate a toggle led to device from Power BI or other application instead of azure iot central.

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
342 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Roman Kiss 2,241 Reputation points
    2023-03-29T22:18:52.0566667+00:00

    Hi Lucas,

    have a look at the Devices - Run Command reference.

    Thanks

    Roman

    1 person found this answer helpful.
    0 comments No comments

  2. Sander van de Velde 28,311 Reputation points MVP
    2023-03-29T22:27:48.5133333+00:00

    Hello @Lucas Medina,

    Azure IoT Central is a SaaS IoT platform and offers a REST API to program against it, outside IoT Central.

    Next to many other features, You can:

    • Write Device properties (docs)
    • Call commands (docs)

    A possible solution is writing custom code around these calls and embedding them in eg. Azure Functions or the (web)controllers of a Custom application (seen in an MVC pattern).

    I tried to find any documentation about adding buttons to PowerBI to offer execution of custom logic. I was not able to find anything on that topic.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    1 person found this answer helpful.
    0 comments No comments