Azure IoT
13 Topicscan't use create_from_edge_environment with proxy options - client doesn't connect to azure iot hub
Hello, I am trying to configure a client connection towards azure iot hub from a module. I've tried creating the client with create_from_edge_environment method and I get the following error: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/azure/iot/device/common/mqtt_transport.py", line 391, in connect rc = self._mqtt_client.connect( File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect return self.reconnect() File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect sock = self._create_socket_connection() File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3683, in _create_socket_connection return socks.create_connection(addr, timeout=self._connect_timeout, source_address=source, **proxy) File "/usr/local/lib/python3.10/site-packages/socks.py", line 209, in create_connection raise err File "/usr/local/lib/python3.10/site-packages/socks.py", line 199, in create_connection sock.connect((remote_host, remote_port)) File "/usr/local/lib/python3.10/site-packages/socks.py", line 47, in wrapper return function(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/socks.py", line 814, in connect raise GeneralProxyError("Socket error", error) socks.GeneralProxyError: Socket error: 407: Proxy Authentication Required This problem doesn't appear if I create the client using create_from_connection_string method. This adds complexity to my script and I would like to use create_from_edge_environment method. Does anybody have any insights on why one method works and the other doesn't? Thanks!111Views0likes0Comments[new blog post] Azure IoT PnP from a device client perspective
What if every IoT message exposes the id of the interface it implements? What if it supports sub-components? What if it matches up with Azure IoT Devices and modules? See how IoT Plug and Play is implemented in Azure IoT to answer these questions Read the full story at: https://sandervandevelde.wordpress.com/2023/05/12/azure-iot-pnp-from-a-device-client-perspective/385Views0likes0Comments[new blog post] All IoT sessions at the Build 2023 event
This May 23–25, the latest Build event is held in Seattle. I arranged a long list of Azure IoT-related sessions. There are many new topics so if you are Azure IoT-minded, this is the Build event for you! Check out the complete list at here540Views0likes0CommentsMicrosoft Q&A v2: IoT-related Tags
Have questions about Azure IoT products and services? Microsoft Q&A can help! With a new unified search across Learn content & more findability improvements, Microsoft Q&A can help you locate previously answered questions and related resources. Can't find what you need? Tag your new Microsoft Q&A question with the related tag(s) to get answers more quickly: Azure IoT - Microsoft Q&A Azure IoT Hub - Microsoft Q&A Azure IoT Edge - Microsoft Q&A Azure IoT Central - Microsoft Q&A Azure RTOS - Microsoft Q&A Azure IoT SDK - Microsoft Q&A Azure Sphere - Microsoft Q&A Azure Digital Twins - Microsoft Q&A Azure IoT Device Provisioning Service - Microsoft Q&A Azure IoT Plug and Play - Microsoft Q&A Tips for asking a question Search - Another user may have experienced the issue you are facing. Search for product and service-related keywords, and you may find a solution that has already been posted. Summarize - Use the Question Title block to give a short snapshot of your issue. Include product and service-related keywords to help other Microsoft Q&A users find your thread. Use product and service tags - Select the product and service tags that relate most closely to your scenario. This is important for discoverability of your question among the community experts on Q&A. Provide full details - Include all the details of your issue in the Question Details block. Include what you are attempting to accomplish, steps that have already been taken, error messages, unique aspects of your scenario or configuration, and any other pertinent information. Ask one question in the body to ensure quality answers. Learn more at How to write a quality question.463Views0likes0CommentsUpcoming Webinar on New/Planned Dynamics 365 Field Service Functionality!
Attend this free virtual event presented by Kat Taylor and Keith Hill for highlights on key Dynamics 365 Customer Service and Field Service features in the 2023 wave 1 release. Dynamics 365 Service Wave 1 Release Webinar (DYNA061EXT) When: April 05, 2023 at 9:00 AM (Pacific Time Zone) Duration: 60 minutes Register now! https://learning.eventbuilder.com/event/71530 How does this relate to IoT? Dynamics 365 Field Service is an industry-leading field service management application that allows companies to transform their service operations by connecting people, places, and things to deliver customer-centric experiences. The Connected Field Service solution integrates IoT data into the Dynamics 365 Field Service app to help organizations proactively detect, troubleshoot, and resolve issues remotely, dispatching a technician only when necessary. Read more: Overview of Dynamics 365 Field Service 2023 release wave 1432Views0likes0CommentsGet Device to Cloud messages in IoT Hub using Rest API
Hello, I'm currently trying to get the messages that I sent to my azure iot hub using rest api (postman), but without success, I always got 204 no content. thats how i'm sending the message: Type: POST Url: https://{{iothub-north}}/devices/{{new-device}}/messages/events?api-version={{api-version}} Authorization: SharedAccessSignature sr={my sas-key}&sig={my-sig}se={my-se}. Answer: 204 No Content. thats how i'm trying to get the messages: Type: GET Url: https://{{iothub-north}}/devices/{{new-device}}/messages/deviceBound?api-version={{api-version}} Authorization: SharedAccessSignature sr={my sas-key}&sig={my-sig}se={my-se}. Answer: 204 No Content. I was searching for some documentation and found this: https://learn.microsoft.com/en-us/rest/api/iothub/device/receive-device-bound-notification however, for what I understood, it only works for cloud to device messages, so can someone help me how can I get the messages that I sent from my device to my azure iot hub? Obs: I've created one service bus to link in my azure iot hub just to be sure that I'm receiving the messages that I sent, and it's working, so probably the issue is something about the way I'm trying to GET these messages.839Views0likes0CommentsThe Azure IoT Hub team needs your feedback about the new features in preview
Hi IoT friends The Azure IoT Hub team regularly publishes new features in preview so you get a chance to test them and provide feedback. Here is your opportunity to let them know what you liked, what works/doesn't work for you, what your suggestions are. You can find more information for the preview features here: https://docs.microsoft.com/azure/iot-hub/iot-hub-preview-mode. Your feedback will help the team deliver what you need! The Survey is this way: https://aka.ms/iothubpreviewsurvey1.3KViews0likes0CommentsPlayed with Azure IoT Central ... then stopped using it? We'd like to know why
If you have been trying Azure IoT Central but stopped using it, our engineering teams would like to hear from you to understand why. If you want to help us help you, making Azure IoT Central what you need and want, please fill in this short survey (<2min). You'll definitively influence the future of IoT Central. Thank you!1.3KViews0likes0CommentsHardware suggestion for solution
Hello, I am looking to accomplish something, but I am not sure how to approach it with hardware, I've never done any IoT projects before. I am confident I can figure out the software solution, but I am looking for something like an Amazon IoT button with a display a display OR some sort of light (red/green), this light/display needs to be able to be controlled. Does anyone have any recommendations for this? I am not sure if this is the correct forum to place this query.937Views0likes1Comment