Recent Discussions
Enable ipv6 for azure-iot-edge user-defined network
We have a Raspberry Pi that we use as an edge device. One of our modules needs to communicate over IPv6 in the local network. Since the module is automatically connected to the "azure-iot-edge" network in Docker, I'd like a method to easily enable IPv6 on this network. To achieve this, I tried following the steps described in the IPv6Configuration documentation. For me, this worked only for the default bridge network but not for the "azure-iot-edge" network. I also checked the networking documentation and attempted to configure the network using the mentioned /etc/aziot/edged/config.yaml file. However, this file did not exist initially, and when I manually added it, it seemed to be completely ignored. The only way I have been able to get IPv6 to work for the "azure-iot-edge" network so far is by completely removing it and manually recreating it with IPv6 enabled. This also required me to manually disconnect and later reconnect all modules. This does not feel like the correct way to achieve this. I would assume there should be a way to configure this either from the module definition in the IoT Hub or by adding some configuration on the device.9Views0likes0Comments- 57Views0likes0Comments
can'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!99Views0likes0CommentsHow to active Windows IoT Enterprise LTSC2021 via phone
Dear Community, how can I activate Windows IoT Enterprise LTSC2021 via phone. I MUST activate via phone since the computers are installed in a facility without internet connection. What I have already tried that DID NOT work The activation dialogue does not show the "phone option" as seen in this video: https://www.youtube.com/watch?v=6RTu0_uWjMM Run "SLUI 4" from the command line with admin privilleges. It just returns without doing anything Rebuild some internal databases as described here before step 2: https://answers.microsoft.com/en-us/windows/forum/all/activate-windows-by-phone-not-there-in-settings/34b72b93-563f-463c-8614-4675cfd0143f Contacted the seller of the license (arrow), they referred me to email address removed for privacy reasons, who then told me to go to the forums What's left that I can try?266Views0likes0CommentsProblems with Edge Computing and Microsoft Azure IoT Edge. Any Advice?
Hi everyone, I'm currently experiencing some challenges with my edge computing setup and a Microsoft product. As someone relatively new to managing both hardware and software in this capacity, I could really use some advice from those more experienced. Here are the specifics of my setup: Edge Computing Setup: High-end CPUs, ample RAM, and SSD storage capacity. Microsoft Product: Microsoft Azure IoT Edge The Issues: Performance Challenges: The Microsoft Azure IoT Edge is not performing as expected with my edge computing setup, especially during high-traffic periods and intensive computational tasks. There are noticeable slowdowns and performance bottlenecks. Installation and Configuration Difficulties: During the setup of the Microsoft Azure IoT Edge with my edge computing infrastructure, I encountered several hurdles. While I managed to complete the installation, I suspect there may be lingering configuration issues affecting performance and usability. Integration and Compatibility Concerns: I'm facing compatibility issues with certain applications and third-party tools within the Microsoft Azure IoT Edge. These issues are disrupting workflows and reducing efficiency in system management. Steps Taken So Far: I've ensured that my hardware setup meets or exceeds the recommended specifications for the Microsoft Azure IoT Edge. I've followed the installation and setup documentation for the Microsoft Azure IoT Edge meticulously. I've reviewed and adjusted system configurations and resource allocations to optimize performance. Despite my efforts, the challenges persist. Have any of you encountered similar issues with Microsoft products in edge computing environments? Are there specific configurations, optimizations, or troubleshooting techniques you've found effective? Any advice, insights, or recommended resources would be greatly appreciated. Thank you in advance for your help!479Views0likes0CommentsIOT device event twin change
What are the ways to catch IOT device event twin change in azure? I want to send notification or execute something like function app, when device twin event occur and reported property get change. I am using .net 8 and azure. let me know all possible ways. Thanks, Bhavin Bhesaniya.210Views0likes0CommentsDetect IOT device twin report property and execute notification
Hello Community, I am seeking for the help to achieve one functionality for my IOT device. I have crated one Azure IOT device under azure IOT hub. Now on the device twin whenever my device report property get change( any property), It should send some event notification to the end user. What is the best way to achieve this? I want to use Azure event grid but the template is not available in message routing you can see below. If i use Event Hub then there is a risk to increase latency. let me know if there is any other way to get this with lowest latency. Thanks, Bhavin Bhesaniya.214Views0likes0CommentsDetect IOT device twin report property and execute notification
Hello Community, I am seeking for the help to achieve one functionality for my IOT device. I have crated one Azure IOT device under azure IOT hub. Now on the device twin whenever my device report property get change( any property), It should send some event notification to the end user. What is the best way to achieve this? I want to use Azure event grid but the template is not available in message routing you can see below. If i use Event Hub then there is a risk to increase latency. let me know if there is any other way to get this with lowest latency. Thanks, Bhavin Bhesaniya.219Views0likes0CommentsNetXDuo mDNS domain set issue
Hello, My issue is related to:- MCU: STM32H733 Middleware: Azure RTOS Middleware Component: NetxDuo (6.2.0) Addon: mDNS I am using Azure RTOS with NetxDuo, I implemented a secure https server in my device and implemented mDNS which was working very well for me till I required to change domain. I want to add a sub-domain like (myhostname.mysubdomain.local). In documentation it is stated that by default the domain is .local but can be changed using nx_mdns_domain_name_set API Now, I have implemented this API in my code like this: ``` status = nx_mdns_create(&mdns_instance, &ip_instance, &netxduo_packet_pool, MDNS_PRIORITY, mdns_thread_stack, sizeof(mdns_thread_stack), (UCHAR *)hostname, (VOID *)local_service_cache, sizeof(local_service_cache), (VOID *)peer_service_cache, sizeof(peer_service_cache), NX_NULL); if (status != NX_SUCCESS) { Error_Handler(); } status = nx_mdns_domain_name_set(&mdns_instance, "home"); status = nx_mdns_enable(&mdns_instance, PRIMARY_INTERFACE); ``` It returns success and according to the document I must be able to ping hostname.home but thats not the case not matter what I done it will be always accessible through hostname.local I checked the domain name buffer inside mdns_instance, its updated to home but even then changed domain is not accessible. Goal: To be able to add subdomain Bigger Picture: I want to use wild card while generating certificate and keys in alt name and CN so that same certificate can be used in many devices thats why I need subdomain as it allows wild card in *.example.local not in *.local1KViews0likes0CommentsConnecting PLC to Azure IoT Hub
We have a client with an Automation Direct Productivity 3000 PLC. Looks like it has an MQTT client configuration that may allow us to connect directly to Azure IoT Hub, but we are struggling. We're waiting for the client to get a vendor resource to assist. Meanwhile. we're trying to figure out if that will work directly, or if we need something like IoT Edge to act as a protocol translator. Unsure if the device is able to utilize TLS 1.2 or not. The config screen looks like this (please ignore current settings): Do we need to use something like IoT Edge to convert the MQTT to use TLS? Any other advice for getting this up and running? Thank you, -Peter390Views0likes0Comments- 201Views0likes0Comments
USBX: hard fault after reading fx_directory_information_get
Hi team, I'm using stm32f746disco and trying to implement USBx as a host with AZURE RTOS. Everything goes well until I want to read the file size using the "fx_directory_information_get" function. The function runs without failure and returns the values correctly, but if I unplug the USB, the MCU goes to a hard fault. Questions: 1) Am I using the right function to read the file size? 2) Does it need to call any other function before or after "fx_directory_information_get" somehow to close or flush the media?188Views0likes0CommentsAzure Streaming Analytics Job not writing data to Azure storage container
Hello, I have a situation where my Azure Streaming Analytics job is not writing the incoming events coming from our IoT Hub to the Azure storage container. Within my dashboard, The IoT Hub Usage states there are several thousand messages coming through daily. Below were the steps taken to start troubleshooting my problem: Tested both the input and output connections from the query and they were both successful Uploaded test data and the file format has not changed Checked for errors within the input/IoT Hub for malformed and/or deserialization errors but there are none Any help with this problem would be greatly appreciated. Thank you247Views0likes0Commentswhich IoT platform would be most suitable
I am working on a project called 'Stage IQ,' which involves using various sensors to collect and analyze real-time data from audiences at live events to enhance their enjoyment and engagement. The goal is to process this data in real-time to make immediate adjustments during events such as concerts, lectures, and performances. Considering the need for rapid data analysis and the capability to implement instant changes, which IoT platform would be most suitable for integrating and analyzing sensor data in real-time? Specifically, I am looking for a platform that can handle real-time data processing and enable immediate actionable insights to improve audience satisfaction. Can you recommend a platform that excels in these areas?247Views0likes0CommentsCNCF project Akri usage survey and latest update
We are looking to improve Akri and want to learn more about your experience with it! Please help us with a 3 minutes survey if you have tried/evaluated Akri for leaf device discovery. For more information about Akri, visit the Akri GitHub or check our presentation at KubeCon 2024. To learn what’s new for Akri, check our latest release: v0.12.20.213Views0likes0CommentsCNCF project Akri usage survey and latest update
We are looking to improve Akri and want to learn more about your experience with it! Please help us with a 3 minutes survey if you have tried/evaluated Akri for leaf device discovery. For more information about Akri, visit the Akri GitHub or check our presentation at KubeCon 2024. To learn what’s new for Akri, check our latest release: v0.12.20.186Views0likes0Commentsingest iot device data directly from tcp or udp stream?
Hi all, Newbie question. We have some existing scada iot type devices that send basic telemetry data to a propriety database system that is very old. The tcp or udp data is unencrypted and unauthenticated, and easily decoded and read with wireshark. I'm wondering if there is something in the Azure IoT world that can be deployed to listen on a tcp port for the network stream of data, and then be configured to decode this data, and then send it off to Azure for reporting? Thanks219Views0likes0CommentsAzure IoT hub & edge gateways
Hi, We are evaluating azure IoT for implementing IoT pipeline for one of our customer. We are looking for latest case study and implementation references, also we have few queries. Please help us with references and documentation. 1. Do we have any recent case study & Business cases references using the Azure IoT hub/edge? 2. Any sample case studies for implementing the IoT edge as gateways for protocol translation? 3. Do we have any recent reference for SDKs for Java/Python to build the Custom modules for translational gateways handling multiple protocol translations? GitHub we came across were atleast 2-4 years old. 4. Where can we find the details on defining the device and connect them to the IoT Edge gateway? 5. Do we have latest documentation on the IoT Edge Windows deployment? Thanks,266Views0likes0Comments
Events
Recent Blogs
- 2 MIN READAzure Sphere is updating the set of certificates it uses to establish trust with TLS endpoints, following best practices for security. The only impact on production devices is that they will experien...Feb 05, 2025171Views1like0Comments
- In the digital age, the essence of innovation lies not only in groundbreaking technology but also in the power of collaboration. At Microsoft, we have always recognized that our success is intertwine...Nov 19, 20241.7KViews3likes0Comments