Forum Widgets
Latest Discussions
IoT Hub Device twin returning connectionState = Disconnected, when it's actually connected
I have a Monitoring web job that querys my iot devices for any that have a connection state = disconnected, and then sends an email out to the user of that device to let them know it has a connection state issue. I'm seeing a problem where one device will look like it is down about once every hour (or 1 hour and 5 minutes). But the device is not down and there is no intermittent connection issue. I currently have 3 devices, all connected through different internet ISPs. One system started having this issue every so often, then another did, and now the 3rd one is having this issue. My web job code is pretty simple and runs every 5 minutes to see if there are any devices that are down. Here's my code public static async Task CheckDeviceAvailability([TimerTrigger("00:05:00", RunOnStartup = true)] TimerInfo timer) { string connectionString = CloudConfigurationManager.GetSetting("IotHubConnectionString"); try { RegistryManager manager = RegistryManager.CreateFromConnectionString(connectionString); IQuery query = manager.CreateQuery("SELECT * FROM devices where ConnectionState = 'Disconnected'", 10); while (query.HasMoreResults) { var page = await query.GetNextAsTwinAsync(); foreach (Twin twin in page) { await SendNotification(twin.DeviceId); } } } catch (Exception exc) { Console.WriteLine(exc.Message); } } I've just added a check (if (twin.ConnectionState == DeviceConnectionState.Disconnected)) above the Await SendNotification line in the above code just to see if this helps out, but it seems like the query shouldn't be returning any devices that are connected.Solvedsmart_doorDec 26, 2018Brass Contributor27KViews0likes19CommentsStep-by-step guide to installing OPC Publisher on Azure IoT Edge
Of all the Azure IoT Edge modules, the https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoft_iot.iotedge-opc-publisher?tab=Overview is one of the more challenging modules to setup. I've had a number of Industrial IoT partners struggle with connecting an https://opcfoundation.org/about/opc-technologies/opc-ua/ server, such as a Historian or SCADA system, to https://docs.microsoft.com/en-us/azure/iot-hub/about-iot-hub using https://docs.microsoft.com/en-us/azure/iot-edge/about-iot-edge and our open source OPC Publisher module. So I recently wrote a step-by-step https://www.linkedin.com/pulse/step-by-step-guide-installing-opc-publisher-azure-iot-kevin-hilscher/ on LinkedIn on how to do this. If you don't have a physical device to act as the IoT Edge gateway, you can use a virtual machine running on-premise or in Azure as an alternative. Hopefully the blog post will help you and save you some headaches when connecting using OPC UA.ROS 2 on Windows
Super cool to see the progress on ros2 since I ran it last ... what milestones in the next couple months are there on Windows / Azure that we can look out for? Also is the https://index.ros.org/doc/ros2/Installation/Windows-Install-Binary/ up to date (and does it work for vs17 as well)? I setup the environment a year ago but don't know if there any changes I should be aware ofSolvedpeppersMar 25, 2019Copper Contributor7.1KViews1like2CommentsMicrosoft Surface Event 2024 rumors: Surface Laptop 6, Surface Pro 10, and more expected
Microsoft's next showcase is a Surface event for business that will likely reveal to us a duo of AI PC offerings in the form of the Surface Laptop 6 and Surface Pro 10. The event, expected to take place this coming Thursday (March 21, 2024), will also likely showcase a number of Copilot features available with Microsoft's first dive into the AI PC landscape. We've keenly observed and had the chance to review Surface devices for over a decade at Laptop Mag, from the original Surface Pro to last year's Surface Laptop Go 3 . While it's a cliche to hear, this year's Surface event, with its "New Era of Work" tagline, has the potential to be one of the brand's biggest in recent years. Far from hollow hype, the age of AI sees Microsoft in pole position when it comes to adoption of this tech, and this is the company's first chance to really showcase how it can impact our devices on a day-to-day level. Coming off a rather lackluster showing in 2023 and with Surface Chief Product Officer Panos Panay having stepped down , Microsoft will, no doubt, be seeking to impress this time around. And, with a duo of AI PCs, Microsoft Copilot, and the potential of M3 Apple Silicon -crushing Qualcomm CPUs all expected to feature, it might well do so. Microsoft's more traditional Surface laptop is set for a refresh in the Surface Laptop 6, looking highly likely to feature both Intel and Qualcomm processor options, both of which touting powerful NPUs (Neural Processing Units) for dramatically improved performance and efficiency when it comes to AI-related tasks. On the Intel side of things, the Surface Laptop 6 is highly likely to include the chip manufacturer's "Meteor Lake" Core Ultra 5 and 7 processors backed by up to 64GB of RAM, which, according to Windows Central's Zac Bowden , Microsoft claim makes the device up to 50% faster than the Surface Laptop 5 . For the Qualcomm model, the Surface Laptop 6 will reportedly house an ARM-based Snapdragon X Elite processor with up to 64GB of RAM in tow. Qualcomm's processor is currently stirring up considerable buzz after benchmarks appeared online that showcase results to rival Apple's M3 SoC as found in the new 13-inch and 15-inch MacBook Air . Whichever chipset eventual Surface Laptop 6 owners go with, they can expect improved battery life, an additional USB-C port, a haptic touchpad, and the new dedicated Copilot shortcut key. Business models of the Intel Surface Laptop 6 are expected to begin shipping in April 2024, with consumer models including the ARM-based Qualcomm SoC arriving in May and Intel models in June. {https://www.artstation.com/kungfupanda4moviefree/profile} {https://www.artstation.com/watchofficialkung-fu-panda-4/profile}toremoreeeMar 20, 2024Copper Contributor6.6KViews0likes0CommentsYou can now route IoT devices messages to Azure Data Lake Gen 2 from IoT Hub
IoT Hub message routing now supports routing messages to Azure Data Lake Store (ADLS) Gen2 in public preview. ADLS Gen 2 is designed specifically for enterprises to run large scale analytics workloads in the cloud. You can utilize the existing route to storage (through CLI/PowerShell/Portal/ARM) to send messages to ADLS Gen2 accounts, which are hierarchical namespace-enabled storage accounts built on top of Blob storage. This also brings Azure IoT Hub a step closer to supporting Common Data Model (CDM) - an effort we are working towards to aid Microsoft’s Open Data Initiative. This was achieved through collaboration with Azure storage team, who enabled the Blob APIs to integrate with ADLS Gen2 for accessing data, announced through this blog. This capability is available for new ADLS Gen2 storage accounts in regions - West US 2 and West Central US. Support for existing storage accounts will roll out by next month and we aim to enable all regions and GA by early next year.OlivierBlochAug 06, 2019Iron Contributor6.5KViews1like0CommentsAZURE IOT HUB DEPRECATION
Hi, I have a query on Azure iot Hub, Will Azure iot Hub get deprecated sooner? Because i could see the some post related to depreciation of Azure iot Hub. 1) https://azure.microsoft.com/en-us/updates/azure-iot-hub-on-azure-stack-hub-preview-will-be-retired-and-it-will-not-go-to-ga/?cdn=disable#:~:text=On%2030%20September%202022%2C%20the,to%20Azure%20IoT%20Edge%20gateway. 2) https://learn.microsoft.com/en-us/dotnet/api/overview/azure/iot/management/management-iothub%28deprecated%29?view=azure-dotnet Due these post, it makes to say this question.SolvedPavithvishnuAug 30, 2023Copper Contributor5.3KViews0likes4CommentsROS on Windows and ROS with Azure
Welcome to the Robotics community. We’d like to leverage this conversation space to discuss the Robot Operating System (ROS) on Windows as well as share feedback and learnings. Come join our discussion. Microsoft is working with Open Robotics and the ROS Industrial Consortium to bring the Robot Operating System to Windows. Microsoft has joined the ROS Industrial Consortium who's mission is to extend the capabilities of ROS to manufacturing and improve the productivity and return on investment of industrial robots. Microsoft will host and maintain the Windows builds for ROS1, and shortly ROS2. We are providing documentation, development and deployment solutions for Windows. To get started using ROS on Windows and ROS with Azure, please visit the Getting Started guide at http://aka.ms/ros.ooeyguiJan 29, 2019Microsoft5KViews4likes0CommentsIoT Transformers Episode 1: How Relogix disrupted the Commercial Real Estate Industry
Many months ago my coworker Deb Oberly and I talked about capturing all the great innovation in IoT that we get to see, in the form of a Podcast. Many discussions, trials, feedback, and research later, we have landed here. We hope you enjoy it. In this episode, we are joined by Jeff Bennett, Chief Operating Officer at Relogix to discuss how Relogix is embracing IoT to disrupt the commercial real estate industry.Danilo DiazApr 23, 2019Copper Contributor4.7KViews3likes1CommentAzure IoT Central retirement?
Hello, as of today, I'm receiving the following error message when creating new Azure IoT Central applications: Error The Azure IoT Central service is being retired on March 31, 2027. Starting on April 1, 2024, you won’t be able to create new application resources; however, all existing IoT Central applications will continue to function and be managed. Subscription {{subscriptionId} is not allowed to create new applications. Please create a support ticket to request an exception. Error code: 400.200.006.063 / 19dljb0r95q.12 However, I cannot find any statement from MS which clarifies the why, when etc. What is going on? Can someone explain? Thank you. Best, AndyAndirlyFeb 14, 2024Copper Contributor4KViews0likes3CommentsAnnouncing Location telemetry support in Azure IoT Central
We have added support for location telemetry that lights up scenarios such as asset track and trace, connected logistics, and more! Location telemetry was one of the top customer requests from both device and solution builders. Customers can now define location telemetry on the device template and visualize it on the dashboard and measurement page. The feature also provides the ability to toggle between the latest location or get a historical view to trace the route of the asset. Measurement UI Configuring location telemetry is consistent with the rest of the measurement experience. The data structure of a location telemetry is longitude, latitude, and an option of altitude. A map view is presented for the user to view location history. Dashboard Map tile on the dashboard already supported location property. We have now enhanced the maps tiles to support location telemetry with an option to also provide a history view of the asset. Also, the location pin color can be augmented to show the latest device state. Where can I learn more? DocumentationSolvedOlivierBlochJul 02, 2019Iron Contributor4KViews2likes3Comments
Resources
Tags
- Azure Certified Device Program27 Topics
- iot21 Topics
- azure iot14 Topics
- Makers11 Topics
- IoT Hub9 Topics
- azure8 Topics
- IoT Edge8 Topics
- Azure Digital Twins5 Topics
- IoT Central5 Topics
- farrukh.ahmed@kaispe.com4 Topics