Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure Iothub浏览器时代错误?_Azure_Esp8266_Azure Iot Hub_Azure Cli_Azure Iot Sdk - Fatal编程技术网

Azure Iothub浏览器时代错误?

Azure Iothub浏览器时代错误?,azure,esp8266,azure-iot-hub,azure-cli,azure-iot-sdk,Azure,Esp8266,Azure Iot Hub,Azure Cli,Azure Iot Sdk,我试图查看通过iothub explorer从esp8266模块发送的消息,但出现以下错误 我正在运行的命令 iothub-explorer monitor-events DeviceID --login "HostName=Something.azure-devices.net;SharedAccessKeyName=key;SharedAccessKey=asdfsdfsdfasdfsdf=" 错误 您可以为IoT Hub explorer添加消费者组,以接收esp8266发送的事件。在A

我试图查看通过iothub explorer从esp8266模块发送的消息,但出现以下错误

我正在运行的命令

iothub-explorer monitor-events DeviceID --login "HostName=Something.azure-devices.net;SharedAccessKeyName=key;SharedAccessKey=asdfsdfsdfasdfsdf="
错误


您可以为IoT Hub explorer添加消费者组,以接收esp8266发送的事件。在Azure Portal中,您可以这样做:

iothub-explorer monitor-events myFirstDevice --consumer-group ReceiveEsp8266Events --login "HostName=xxxx"

使用命令中的
--consumer group
选项指定上面创建的使用者组,如下所示:

iothub-explorer monitor-events myFirstDevice --consumer-group ReceiveEsp8266Events --login "HostName=xxxx"
参考: