<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Misha Manulis on Medium]]></title>
        <description><![CDATA[Stories by Misha Manulis on Medium]]></description>
        <link>https://medium.com/@mmanulis?source=rss-dd0de8dbe969------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QtRm0Ri6LjznuZYtfDhNHQ.jpeg</url>
            <title>Stories by Misha Manulis on Medium</title>
            <link>https://medium.com/@mmanulis?source=rss-dd0de8dbe969------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 16:46:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mmanulis/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SD-WAN and Edge]]></title>
            <link>https://medium.com/alvarium/sd-wan-and-edge-9201873dbb59?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/9201873dbb59</guid>
            <category><![CDATA[sd-wan]]></category>
            <category><![CDATA[sd-wan-technology]]></category>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[edge]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Thu, 16 Jan 2020 19:59:45 GMT</pubDate>
            <atom:updated>2023-12-16T21:00:10.574Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*8ZCrZrOejgD2it-TY0D0jQ.jpeg" /></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><h3>Intro</h3><p>Edge computing has emerged as a common name for several deployment architectures. It has been closely tied to IoT but it’s an approach used for decades to manage remote sites. Let’s define what Edge is for this conversation:</p><blockquote>Edge is a remote compute and storage capability capturing &amp; analyzing data closest to where the data is acquired.</blockquote><p>For a more in-depth definition, check out <a href="https://en.wikipedia.org/wiki/Edge_computing">Wikipedia</a>. It can be as simple as a Raspberry Pi running custom software (or Edge software such as AWS GreenGrass) all the way up to a Container Data Center.</p><p>The more common scenario is a remote site with compute resources and storage. An example is a doctors office or a remote sales office.</p><p>What about SD-WAN? SD-WAN simplifies and automates operating a corporate network across multiple locations. Think of it as automated VPN that manages itself. While this is an oversimplification, it’s good enough for this conversation.</p><blockquote>SD-WAN simplifies the management and operation of a WAN by decoupling the networking hardware from its control mechanism.<a href="https://en.wikipedia.org/wiki/SD-WAN">*</a></blockquote><p>Instead of having to purchase and install specialized network circuits from ISPs, configure network appliances for management of these kinds of networks, etc. SD-WAN allows you to extend the corporate network using standard “Internet” circuits. This simplifies deployment of remote sites while allowing them to be connected to the corporate network.</p><p>While SD-WAN is not a panacea, the combination of the two technologies multiplies the power of an Edge solution. This article explores how that multiplication happens.</p><h3>Why Edge</h3><p>The benefit of an Edge-based approach is to present a homogeneous view of your infrastructure that does not rely on custom frameworks &amp; terminology.</p><p>Do you need to subscribe to the Edge-based approach? No. Plenty of businesses have been working with homegrown solutions and approaches for decades.</p><blockquote>Should you use Edge-based approach? Yes.</blockquote><p>Analogy time: you can build a website from scratch or you can use a CMS framework, like WordPress. Another analogy: you can create your own sales tools or you can use something like SalesForce. While it can be fun to build something from scratch, is it really key to your business to figure out how to build and manage a website or a CRM? The same applies to Edge computing.</p><p>Edge computing concept is a framework; a collection of tools, approaches, configuration and vendors that enable your business to focus on your core competencies — your customers — instead of being distracted by your tools.</p><h3>Why SD-WAN</h3><p>SD-WAN can seem like a confusing technology, but let’s make it simple. You need to connect multiple locations with your data center in a secure manner. If you built a zero-trust network, then stop reading and go do some work. For the rest of the people out there, who work within a perimeter-trust network, keep reading.</p><p>Perimeter-trust network assume that every device on the network can be trusted. So if you’re using corporate WiFi or LAN, then the network assumes you’re a trusted device automatically. Obviously I’m oversimplifying this quite a bit, but it’s good enough for this conversation.</p><p>A zero-trust network works based on accounts. A great example of this is Gmail or Office365. If you want to access your corporate email account on any computer or smartphone, you have to login first. Need access to your companies Intranet, you have to login.</p><p>This is where that oversimplification rears it’s head. Today, most corporate networks ask you to login anyways, but what happens when we think about servers and server-based applications?</p><blockquote>If your order management system needs access to your accounting system? What if the medical imaging system needs to send that X-ray image to your electronic medical records system? How do they authenticate to each other?</blockquote><p>In a perimeter-based system, they just trust each other (caveats apply obviously). In a zero-trust system there would be some kind of authentication, say API keys, TLS certificates, etc.</p><p>What does this all have to do with SD-WAN?</p><blockquote>What happens when your X-ray machine is in Virginia but your imaging server is in your Colorado data center?</blockquote><p>Traditionally, you’d have to establish special-kind of connectivity between these sites, using something like MPLS network circuits. With SD-WAN, you use business internet connectivity (e.g. DIA circuits) and SD-WAN appliances to extend that perimeter-trust.</p><blockquote>SD-WAN is like VPN but for your server-based systems.</blockquote><h4>The Magic Part</h4><p>The Magic of SD-WAN is that you can have sites connect directly to each other, in a secure manner, without having to go through the data center.</p><p>So you can have a secure mesh network without having to involve your data center and lots of complicated routing and firewall rules.</p><p>Obviously, not all vendors support different SD-WAN features, so YMMV.</p><h4>How it works for you?</h4><p>Depending on your needs, this approach reduces costs, new network circuit timelines, etc.</p><blockquote>That magic part above, it simplifies how you think and manage a network with many sites. It makes it easier to scale your business and brings predictability to your deployment costs.</blockquote><p>If you have to buy the same appliance from one vendor for each and every site, use a template &amp; provision each appliance remotely, then you don’t need as many expensive network engineers or large staff. MSP option becomes much more attractive, etc.</p><p>Some of the SD-WAN solutions provide simpler and smarter ways to configure, monitor, secure and deploy networks across a wide-reaching area.</p><h4>Why not use it?</h4><p>SD-WAN is not a silver bullet. You have to pick the vendor and architecture carefully, depending on your application needs.</p><p>For example, is your business based on a fat client that’s a bandwidth hog? Make sure you can still leverage WAN Acceleration with your SD-WAN vendor. Have specific monitoring / auditing needs? What about low-latency end-points?</p><p>Treat it as just another tool and evaluate it for your environment and strategic needs.</p><h3>Edge with SD-WAN</h3><h4>Simplify deployment</h4><p>As I covered above, when it comes to SD-WAN deployment, it can be very simple. With Edge devices being deployed all over the place and coming in all performance and form-factor needs, it’s not always possible to drop a rack of network equipment or a secure connection to your data center over cellular line.</p><p>SD-WAN is another tool, weather it’s a physical or virtual appliance that makes connecting Edge devices to your corporate network possible.</p><h4>Use any connection type</h4><p>One of the biggest strengths SD-WAN offers when it comes to EDGE deployments is a straight-forward (relatively speaking) secure link to your internal network.</p><p>Imagine having to deploy a server at a remote location for an oil rig or a medical clinic. Imagine you only have cellular network connectivity available to you. Using an SD-WAN virtual appliance, you can securely establish that connection over the cellular line.</p><p>Or, you only have consumer-grade DSL line you can bring in without spending &gt; $100,000 on construction costs for a temporary office. You can still do this with SD-WAN to make it worth your time to establish that office.</p><h4>How fast can IT scale?</h4><p>Scaling your IT department is crucial as your business grows. But it’s not just business growth that requires scaling your department. New technologies, team changes, management changes, change in priorities — you get the picture — means IT departments are constantly having to adjust their focus on a very frequent basis.</p><p>SD-WAN provides another tool when dealing with an Edge strategy. Especially given how “new” Edge is and what it means to deploy Edge technologies.</p><p>This faster scalability is due to reduction in network changes. If your team doesn’t have to adjust firewall rules or routing configuration across a multitude of devices, they can focus on the other business priorities.</p><p>Just don’t be fooled into thinking that SD-WAN is some panacea. You still have to manage it, just not as much as a good deal of the alternatives.</p><h4>Joint Partners &amp; Integrations</h4><p>Last item to discuss is integrating with other networks. Not all networks you may need to integrate with or deploy your Edge solutions into will support your network requirements. Having to negotiate and influence a partners or customers infrastructure teams is a long, arduous and painful process.</p><p>SD-WAN can be a solution for that. By either bringing in your own Internet circuit or leveraging their DMZ connectivity, you can setup an SD-WAN appliance with your Edge solution.</p><p>Example time: you deploy a device that processes and analyzes sensitive information on a customer’s site. Let’s say it’s a new-fangled AI system that scans all financial transactions for fraud. You want to get anonymized data out of it and send it updates as the AI algorithms are tuned and improved.</p><p>You can work with the security and network teams to open up firewall ports, setup routing for your servers, etc. Or, you can run a virtual SD-WAN appliance on your Edge solution that connects directly to your data center or Cloud via a single path.</p><p>While the example is a bit contrived, I’m sure you can expand it to your situation easily enough and see how much easier it is to get a single, encrypted, connection in/out of someone else’s network, then to try to deal with firewall and routing rules.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9201873dbb59" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/sd-wan-and-edge-9201873dbb59">SD-WAN and Edge</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disaster Recovery At The Edge]]></title>
            <link>https://medium.com/alvarium/disaster-recovery-at-the-edge-eca1fcdc4fb5?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/eca1fcdc4fb5</guid>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[sensors]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Fri, 28 Jun 2019 13:01:01 GMT</pubDate>
            <atom:updated>2023-12-16T20:59:52.705Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jPGxlnXuIc2FXG9pAM2yg.jpeg" /></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><h3>What is Disaster Recovery?</h3><p>Let’s define Disaster Recovery first:</p><blockquote>Disaster recovery involves a set of policies, tools and procedures to enable the recovery or continuation of vital technology infrastructure and systems following a natural or human-induced disaster. (<a href="https://en.wikipedia.org/wiki/Disaster_recovery">wikipedia</a>)</blockquote><p>Disaster recovery for IoT is a complicated topic and highly dependent on the type of install and the application. For this article we will focus on how to think about disaster recovery when it comes to Edge Computing.</p><h3>Why Disaster Recovery for the Edge?</h3><p>Given how new Edge Computing is, why spend precious time and resources on it right now? The answer lies in a different question:</p><blockquote>How much critical infrastructure and processes rely on this new tech anyways?</blockquote><p>Put another words: how much of your company depends on some small device in your building?</p><p>To get answers and find out how to think about them we need to consider what role Edge devices play in your company.</p><h3>Role of the Edge</h3><p>The following roles are just some of the possible uses for Edge devices. There are many others and the risk factors of an outage are driven by how safety-critical the system is to people and your business. Feel free to reach out if you have questions.</p><h4>Store-and-Forward</h4><p>This is the simplest case and the most confusing for a lot of our clients. The role of the Edge device here is to get readings from the sensors / gateways and upload them to your Cloud / data center.</p><blockquote>If the external network access goes down, the readings are saved on the Edge device until connectivity is restored and then are uploaded.</blockquote><h4>Analytics</h4><p>This type of Edge device gathers data from sensors but is not responsible for transmitting those readings to the Cloud. Instead, it runs various analytics functionality on that data and drives dashboards on the manufacturing floor or sends processed data into your Splunk / ELK / TICK system. Maybe it manages monitoring and alerting for your equipment. It can, also, update your ERP system or other Enterprise systems.</p><p>It’s job can be safety-critical or it can be informational. Ask how people are using these systems in your organization.</p><blockquote>You’d be amazed how often something like a graph becomes a critical piece of information for daily tasks.</blockquote><h4>ML/AI</h4><p>While still fairly new, ML/AI solutions are starting to be deployed closer and closer to end users. Voice assistants (e.g. Alexa) are a great example. Smart security systems is another. Uploading Gigabytes of 4k video to the cloud if there’s nothing happening is a huge waste of money and resources, instead run the analytics locally and upload only what’s needed.</p><p>If you can process large volumes of data close to the where the data is gathered, you can respond faster and save money on bandwidth costs. Running ML models closer to the systems or people that need the result means they get the answers that much faster.</p><p>While these systems can be system-critical, they’re not directly so.</p><blockquote>If an ML/AI Edge device goes down, it often affects the system-critical system. So they end up being system-critical by proxy — nothing like downstream consequences.</blockquote><h4>Device / System Control</h4><p>These, often, manage multiple <a href="https://en.wikipedia.org/wiki/Programmable_logic_controller">PLCs</a> or similar systems. If one of these goes down, it means the equipment relying on configuration and management of the PLCs are not functioning.</p><p>Some of these systems can be built into the actual equipment. Think HVAC controllers or computers inside milling machines, etc.</p><h3>Failure Happens</h3><p>The following are just some of the possible failures. You’ll notice that most of them are interconnected. That’s why we have redundancies.</p><h4>Network Outage</h4><p>This is the simplest example to think about. The external connectivity (Internet) for your location goes down. How do the sensors upload the data to your servers? If you have store-and-forward device and configured it correctly, then you’re good. Unless you’re using DNS (e.g. AWS IoT GreenGrass) and don’t have a local DNS server. Or the drive on the Edge device is full and you’re not monitoring it.</p><p>The cascade of issues starts to happen fairly quickly in this scenario. Ideally you can test this easily and on a regular basis (or at least once). Does your Edge device vendor provide support for this scenario?</p><h4>Fail-Over Failure</h4><p>Let’s say your IT team is amazing and they set up DNS for the Edge device, it’s connected to your Splunk servers with alerting setup for system load and storage. There are redundancies for your entire infrastructure. However, the Edge vendor doesn’t support device-level fail-over, so you have just one Edge device on your network. What happens if it fails?</p><blockquote>At minimum, you’ll need more than one Edge device of the same type to fail-over to.</blockquote><p>Without going into details of every single Edge device vendor, you’ll have various options on how you handle this. Some will have options for automatically failing over to another device (e.g. AWS IoT GreenGrass), while others will act as a more traditional system and require your IT to manage fail-over scenarios via DNS or other options.</p><h4>Power Outage</h4><p>You loose power to your entire building, you’ve got bigger problems to think about. What happens if you loose it to just part of the building?</p><p>Hopefully your fail-over device is installed in a separate location, using a different power circuit and network connection that’s isolated from other parts of the building. If not…</p><h4>Drive Full</h4><p>…or system load is too much or network load is too much or … This one is fairly easy to address, just do what you do for your servers and add monitoring to it.</p><blockquote>This error case should not be a surprise.</blockquote><p>Hopefully you have Splunk / ELK / TICK stack with alerting setup. Then just add the Edge device to this monitoring as part of it’s installation.</p><h4>Bad Update</h4><p>There are many reasons for a bad update. The vendor providing updates got hacked. Someone uploaded a package with an error. There’s a security vulnerability and it was exploited by a hacker, etc.</p><p>Protection against this requires that you can manage Edge devices remotely and revoke it’s authorization easily. This quickly starts to get into IoT security and is very large topic that will be covered by a separate blog post.</p><blockquote>The key takeaway here is to have a conversation about security and updates with your Edge device vendor.</blockquote><h3>Plan For DR</h3><p>Having a plan for disaster recovery is an involved process but it doesn’t have to be difficult. Taking a few small steps can take care of the major issues out of the gate.</p><blockquote>It all depends on your risk profile and the Edge devices are used.</blockquote><p>Let’s consider what are some simple steps you can take now or have conversations with your Edge vendor(s) about.</p><h3>Monitoring</h3><h4>Internal</h4><p>You should have some kind of basic internal monitoring for these devices. This can be as simple as an automated check that the device is reachable on the network. It’s fairly easy to setup in something like Splunk or similar service.</p><p>If your IT department has the capabilities, you can go much further in terms of monitoring network traffic in/out of the device, etc.</p><h4>External</h4><p>External monitoring is something that the device’s vendor can do. For example, one of our life sciences client’s has multiple Edge devices that we monitor. If one of them is offline or is experiencing issues, our team gets a notification in Slack, Email or SMS. Whoever is on-call at that point investigates the issue and provides a fix of some kind.</p><p>Talk to your Edge device vendor about what kind of monitoring they provide.</p><h4>On-Device</h4><p>On-device monitoring will help make sure you don’t run out of resources, e.g. storage. There are many types of resources you can monitor on the device, the details are specific to what the vendor supports.</p><p>Ideally, you can treat it as another server and feed the data into metrics software with monitoring and alerting setup.</p><h3>When Disaster Strikes</h3><p>Stuff happens, no matter how you plan, things will go wrong. There are a few straight-forward steps you can take now to reduce the impact.</p><h4>Backups</h4><p>Backing up a system is not just about the data on the system. After all, Edge devices are there to help with backups and processing. You don’t store “data” in a traditional sense. Rather it’s about how quickly you can get the device back up and running, which means configuration.</p><blockquote>Have backups of all software and configuration.</blockquote><p>Your vendor should have some of this, maybe all of it? You should have a written procedure that someone tried at least once. While this takes some time and effort, it’s worth it when everyone is stressed out in the middle of an incident.</p><h4>Redundancy</h4><p>These systems are there to protect your business and help you make money — directly or not. So invest in having a redundancy. Buying an Edge device that you will rely on? Buy two to make sure you can, at least, swap them out quickly.</p><p>Ideally, you have seamless fail-over capability, but that’s not always possible. So at least have something you can plug in to replace the smoking paper weight you have in that corner.</p><h4>Alerting</h4><p>Setup some basic alerting. Something as simple as a “ping test” (ask your IT department) is a start. Ideally you’ll be able to monitor more than just that, but start with something and add on to it.</p><p>If you have questions or would like to know more about how to deploy and manage your Edge devices, send me an email: <a href="http://misha@alvariumtech.com/">misha@alvariumtech.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eca1fcdc4fb5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/disaster-recovery-at-the-edge-eca1fcdc4fb5">Disaster Recovery At The Edge</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT Device Provisioning]]></title>
            <link>https://medium.com/alvarium/iot-device-provisioning-671131600ab1?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/671131600ab1</guid>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[iot-security]]></category>
            <category><![CDATA[sensors]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Sat, 30 Mar 2019 10:01:01 GMT</pubDate>
            <atom:updated>2024-05-07T15:48:56.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JQdB6D-ljEzgGRbj" /><figcaption>Photo by <a href="https://unsplash.com/@0asa?utm_source=medium&amp;utm_medium=referral">Vincent Botta</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><p>How many engineers does it take to provision a sensor? I’ll let you know when it gets provisioned.</p><p>Today, we’re going to dive into the wonderful world of device provisioning, the issues you’ll likely encounter and how to make it suck less.</p><h3>The What of Device Provisioning</h3><p>What does it even mean for a sensor to be provisioned? For our purposes, it means the sensor is installed on site, configured to upload it’s data securely and our ERP is updated with what the sensor is monitoring.</p><blockquote>The sensor collects readings somehow, then it needs to be configured to do something with those readings. This is provisioning.</blockquote><p>Getting a sensor to upload it’s readings can be as simple as turning it on and making sure it can talk to the gateway. It can be involved as well, having to install device certificates on each sensor, provisioning it in the sensor portal and updating your ERP to associate a sensor with a piece of equipment.</p><p>The vagaries of how a sensor gets its readings into a system that can do something with them is device provisioning.</p><h3>How of device provisioning?</h3><p>How the device actually gets provisioned is a different story. There are two major components to provisioning. First, the device has to be able to communicate with the platform/servers to send them the data. Second, the device has to be identified as monitoring something.</p><p>Let’s start at the end first; when a sensor is installed the platform (and your ERP system) are updated with which sensor is monitoring what piece of equipment or location. This can be as simple as a text box that has the asset tag or location. With the easy part done, let’s move onto how the sensor uploads it’s data.</p><p>There are a couple of ways this can be done: sensor uploads data directly to the platform/server or sensor sends data to the gateway/edge device that uploads the data. There are more complications and moving pieces possible along the way (e.g. repeaters, translators, etc.) but in terms of boxes-and-arrows, this should get the point across.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*e2ss_53UfGAhwhMFIpjosA.png" /></figure><h4>Sensor Talks To Server Directly</h4><p>In the first case, the sensor has to have a way to communicate with the platform securely. This, often, is done using TLS/SSL certificates, same as your browser talking to your bank website. Sometimes tokens are used — think username/password. There are instances when there is no security or the sensor obfuscates how it communicates to the server — obviously this is bad, please use security when communicating over a network of any kind.</p><p>Let’s ignore people running around with sharp objects (aka no security) and focus on how does a token or certificate gets onto a device. This can be done by the manufacturer, using a single certificate/token for all devices — presents another security issue since this is like you giving your email password to your friend. The manufacturer can have a process to load a unique certificate/token for each device and then associate that certificate with the device in the platform.</p><p>Alternatively, you can install the certificate/token for each device as it’s installed — this kind of manual process is rather error prone. Ideally, you have an automated and secure process that pushes a unique certificate to each device as it comes online. This is a bit of voodoo magic, but quite straight forward using something like AWS IoT Core provisioning.</p><h4>Sensor Talks To Gateway / Edge</h4><p>The second scenario is the sensor talking to the gateway. Often, the manufacturer sets up a secure communication channel between the sensor and the gateway, so you only need to provision the gateway. This is a lot easier to do, since you’ll have many sensor per gateway. The provisioning of a gateway can be a complicated process, just look at how AWS IoT GreenGrass is setup, but that’s a factor of your use-case and which vendor you go with.</p><p>Last point to address is that pesky ERP system.</p><blockquote>Somehow, you should tie an individual sensor with an asset.</blockquote><p>This way, when the sensor tells you something is wrong, you’ll know what that something is — otherwise everyone is running around the manufacturing floor wondering where that darn noise is coming from. Ideally, the IoT platform you chose has direct integration with your ERP system. If it doesn’t, it’s worth looking into integrating them together. Your ERP will have all manner of business processes defined that notify the correct people and/or departments, why not leverage that? Also, it’s a lot easier to look in one place, especially since you already spend your day working with the ERP.</p><h3>Common Issues</h3><p>Let’s run through a few common issues that you can run into when dealing with sensor provisioning.</p><p>First one is having sensors that are pre-provisioned for a specific piece of equipment. Another words, you get a box of sensors and sensor A goes with machine X. If you install sensor A with machine Z, then you messed up and when you get an alert you won’t know what’s going on. While it’s understandable why you’d want to do things in such a manner, I would strongly caution against it. It is simply too easy for the installer to mess up and then tracking down what goes where becomes an enormous slow down for the project.</p><blockquote>What is your process for documenting which sensor goes with what and where that what is at?</blockquote><p>Next issue to worry about is keeping track of sensors and which asset they’re installed on/at. Another words, what is your process for documenting which sensor goes with what and where that what is at? If you have an ERP system or asset management system that tracks all of your equipment, locations, etc. then this should go there. IoT platforms will, often, allow you to match a sensor to an asset tag or location, use those fields. Make this part of the install procedure — you do have one of those, right?</p><blockquote>What would happen to your monitoring solution or your corporate network if someone decided to simulate a few thousand devices sending data every second?</blockquote><p>Last issue to consider is security. While it may not seem like a big deal if someone can read the sensor data for some machine, it’s not just the data you have to worry about. What would happen to your monitoring solution or your corporate network if someone decided to simulate a few thousand devices sending data every second? Don’t discount the data either, a smart adversary can tell a good deal about your company by how well your manufacturing floor / lab space / office space is doing. IoT security is still in it’s early stages but given how many touch-points you’re dealing with when it comes to devices reading and uploading data, a hacker can cause a lot of trouble for your business. Taking some basic steps early on, working with a trusted vendor and asking hard questions will give you some ideas on how big of a security risk you’re dealing with.</p><h3>Robots Taking Over</h3><p>I want to close with how to automate the entire process. Unfortunately, it’s not that easy to do.</p><blockquote>Automating anything in IT is hard, especially for a company that’s been in existence for more than a month.</blockquote><p>You’ll have legacy systems, complicated networks, security, compliance, governance, etc. Provisioning means letting an installer who’s slapping a sensor on a piece of machinery in your factory somehow connect that sensor with security, networking and asset management. Just think about how many pieces in the physical and digital world that touches for a minute.</p><p>Let’s talk about your IT Operations team. If they are using automation or have your systems running in the Cloud, you’re more than half way there.</p><ul><li>Is your IT team doing things manually or is managed by a 3rd party vendor?</li><li>Does your ERP or asset management system run on a mainframe?</li><li>Can you deploy a new API in less than a month?</li><li>Do you have a heavy governance and/or compliance model you have to follow?</li></ul><p>These will all complicate automation of provisioning because provisioning is how you connect many systems in the physical and digital worlds together. The digital part is not as hard as the physical part though — think about how does an installer enter data about the sensor and the asset into multiple systems?</p><blockquote>Most IoT systems are many giant balls of assumptions held together with industrial-strength chewing gum and bailing wire.</blockquote><p>The above is not meant to denigrate them, rather it’s the reality of what it takes to build an incredibly complicated piece of technology that has to straddle multiple areas of expertise into a single product. The sheer level of sophistication required to design sensors that talk to each other while taking measurements of something, then have all this information uploaded somewhere is hugely complicated.</p><p>Think back to mid-90s — what did it take to launch a website that could process a credit card payment back then? IoT is that hard right now.</p><p>With this level of complication, things will go wrong, people will make assumptions that are not shared by others, miscommunication will happen, etc. That means automating something like this is doubly difficult and requires more communication, better (not more) planning and more patience.</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=671131600ab1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/iot-device-provisioning-671131600ab1">IoT Device Provisioning</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sensors and Gateways and Edge Devices, Oh My]]></title>
            <link>https://medium.com/alvarium/sensors-and-gateways-and-edge-devices-oh-my-635f3aeb5fb5?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/635f3aeb5fb5</guid>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Fri, 22 Feb 2019 11:01:00 GMT</pubDate>
            <atom:updated>2023-12-16T20:57:41.838Z</atom:updated>
            <content:encoded><![CDATA[<p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><p>My <a href="https://breakthroughiot.com/iot-edge-computing-why/">last post on Edge Computing</a> generated a few questions from people trying to understand what are all of these things and how do they go together. Let’s try to sort through these pieces and how they go together. We’ll be looking at sensors (aka nodes) and gateways through the eyes of an edge device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tvJO5Gf_A5M3emRRbIwk2g.png" /></figure><p>For our purposes, we’ll assume that all data has to come through the Edge Device for now. I’ll give an example of that not being the case later, but your IoT architecture will dictate what role an Edge Device will actually play.</p><p>For this post, let’s use our Edge Device for store-and-forward approach. I.e. if the connection to the data center is interrupted, we’ll store the data at the edge and then transmit it when connectivity is restored. To do this, we installed an edge device in our factory. It’s in the main server room with fire suppression and backup power supply, along with monitoring and backups as well.</p><p>The first question to answer is: how do we get data from the sensors to this edge device? This is where gateways come in.</p><h3>Gateway</h3><p>A gateway is like a bridge between your sensors and your network. Since sensors can use all manner of wireless frequencies and topologies but your corporate network tends to be TCP/IP based, something needs to connect them together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZBxOlux0SYpKKcMHbkUgpw.png" /></figure><p>Let’s look at a couple of examples of how this would work. First, let’s start with something simple, a WiFi-based sensor network. Fair warning though, I’m not advocating for using WiFi for your IoT deployment unless you understand exactly what that means for the kind of environment you’re deploying your sensors in. Back to WiFi sensors; let’s say you built your sensor platform using Raspberry Pis (it’s not an unheard of practice, shall we say). Your gateway in this scenario is your WiFi Access Point. In your home, this Access Point would be your WiFi router. This allows the sensor to transmit it’s readings to your server using WiFi connection offered by your Gateway (Access Point).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GAeEO6BoFSGloUt0Cup3jQ.png" /></figure><p>Let’s look at a slightly more complicated example: you deployed sensors in your office building and those sensors use Thread protocol. It operates on its own frequencies, uses mesh networking and other bells &amp; whistles. You need a gateway to connect your sensor to your server. The gateway will translate the data sent over Thread protocol to something your network in the office building will understand, TCP/IP, and send the data to the server. Thus, the temperature reading in that meeting room will be transmitted to your system from the sensor to the gateway — the gateway will transmit that reading to your <a href="https://en.wikipedia.org/wiki/Building_Management_System">Building Management System</a>, which can then turn up AC to cool down the meeting room.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zwC6urYMQ6ctUTea_a31hQ.png" /></figure><p>Lastly, let’s look at a really complicated example. You have a host of sensors monitoring a fuel pipeline spread over several hundred miles. There might be over a hundred miles between a sensor in this scenario. Also, running cable is prohibitive and you’re in the middle of the wilderness. In this scenario, one answer is to deploy a gateway that the sensors can talk to but to have the gateways be able to talk to each other. This allows one gateway to transmit its information to another gateway, using it as a relay to get to the corporate network that way. These gateways would have different radios with one being optimized to talk to the sensors and the other to transmit over long distances.</p><p>So when you’re thinking about gateways, just imagine data from a sensor being sent to your network. That’s the job a gateway is doing at the basic level. Of course there are complications and complexities, you are dealing with IoT after all, but those are details to be sorted for each project.</p><h3>Sensor / Node</h3><p>This is a device that’s measuring something and reporting the result to the gateway. A node can have multiple sensors attached to it and a sensor can sense multiple things. For example, a humidity sensor, usually, will have a temperature sensor in it as well.</p><p>These sensors will connect to your network in a myriad of ways. Most of them will use a gateway. Some will be able to leverage WiFi or wired connectivity and talk directly to your network. The important thing to remember, you need a way to get data from your sensors somehow. How is up to your project requirements and limitations.</p><h3>Edge Devices</h3><p>So we’re back to where we started now, but before we close, let’s cover a couple of things quickly.</p><p>Edge Computing can mean multiple things and it can be packaged with a gateway component to save on costs or space limitations or any number of other reasons. It can be a server farm too, such as when you’re running a lot of computational logic or need storage.</p><p>The goal of an edge device is to offload the work from the data center/cloud, provide backup capability in case of network failure, offer complex data processing closer to data acquisition and many other reasons. For some ideas on how you would leverage an Edge Device, check out my previous post.</p><p>There are many complicated scenarios and network topologies to deal with when it comes to IoT. You are trying to work around the limitations of the physical world after all. Gateways and Edge Devices are just a couple of patterns that have evolved over time to deal with these difficulties.</p><p>Given the fluidity of the industry, constantly discovering what’s working and how to do things better, you’re better of focusing on how to address your needs in a flexible and cost-effective manner. Sometimes it’s worth it to pay for all the data to be sent to the cloud and optimize later. Other times, you need to optimize at the start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=635f3aeb5fb5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/sensors-and-gateways-and-edge-devices-oh-my-635f3aeb5fb5">Sensors and Gateways and Edge Devices, Oh My</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT Edge Computing — Why?]]></title>
            <link>https://medium.com/alvarium/iot-edge-computing-why-944f875e4e7?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/944f875e4e7</guid>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Fri, 15 Feb 2019 11:01:00 GMT</pubDate>
            <atom:updated>2023-12-16T20:57:22.031Z</atom:updated>
            <content:encoded><![CDATA[<h3>IoT Edge Computing — Why?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WMAhWCLM800Hr3x09AW2kg.jpeg" /></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><p>Let’s sojourn into Edge Computing topic. This will be an introduction to what it is and why you should care. We’ll get into more detailed examples later on.</p><h3>Why Do You Care?</h3><p>This is always a good question to start with, otherwise, you have TPS reports to fill out. Thinking back to the 90s or even 80s, you’d have all these sensors and other devices installed in your business to monitor things or automate things. Back then, we called them embedded devices, IoT wasn’t a thing yet — not that anyone’s bitter about that.</p><p>So you’d have these embedded devices and they’d upload their information to some server running in that one closet that’s under lock and key. The closet would have a few servers, maybe in a rack, but more likely on the floor in a pile. If you were lucky, the data went into some kind of database that a couple of people knew how to restart when you didn’t get that end-of-the-week report. If you were a bit luckier, you might have had them going into an AccessDB with some kind of Windows application (written in VB6 of course) that let you see dials and presets and flow information.</p><blockquote>Now, this was amazing since it allowed your organization to know exactly what was happening with your plant or factory or environmental controls. You would get reports from this system that tell you if the quality of the product was slipping or if a customer had an issue you could investigate it, with actual data.</blockquote><p>Fast forward to today and we have this fancy Cloud thing. Instead of embedded devices with AccessDB and VB6 Windows programs, we have IoT and mobile apps and smart dashboards and predictive maintenance. All of this data is being generated and sent up into the Cloud so you can do all manner of fancy things. Except there is a bit of a problem because sensors don’t always transmit the data. Also, how do you handle security for a few hundred devices in your factory when your IT team is a few folks working out of Chicago? Or was it Minneapolis? Then someone wants to run some kind of AI on this data and generate automated alerts or even manage manufacturing equipment from the Cloud.</p><p>Now your data acquisition and processing are separated by hundreds of miles. Also, what happens if the Internet connection to your factory gets interrupted for some reason? Cloud is useless at that point and that AccessDB is starting to look better and better. I know, I can’t believe I typed that either.</p><p>At this point, I’m going to ask you for a favor — step away from AccessDB please — no, your enterprise DB2 with that mainframe in the basement is not the answer either. Instead, let’s talk about edge computing.</p><h3>What Is Edge Computing?</h3><p>Simple version, it’s a computer that resides close to your sensors, collects data, and can do data processing. This way, instead of you shipping all that data to the Cloud or to your data center, you deal with it locally first.</p><blockquote>The “computing” part can be anything from a Raspberry Pi to a rack of servers with multiple GPUs running the latest neural networks.</blockquote><p>Think of it this way, you want to do your processing as close to data acquisition as possible. This helps you save money on bandwidth costs. If you can clean up the data before uploading it, then you save on storage costs as well, since you don’t need 100% of the video from your security systems, right?</p><blockquote>Edge Computing allows you to process sensor data before involving a data center.</blockquote><p>Another benefit to think about: if your network goes down, the edge device(s) can store the data until network connectivity is restored and upload it at that point.</p><p>Let’s run through a couple of small examples to get a general idea.</p><h3>Story Time Part One</h3><p>You’re in charge of the PCB assembly plant. After the various components are placed onto each PCB, the PCBs enter a reflow oven. You have to carefully monitor the temperature of the oven to make sure the solder melts but the temperature doesn’t get so hot as to damage the components. There’s a report generated for every batch run through the oven that the customer gets. That’s how you can certify that the manufacturing process is not causing defects.</p><p>There’s a power surge in the building and it damages the network router, cutting your Internet connectivity. The oven sensors cannot upload the data without Internet connectivity, so you cannot generate the report for the customer.</p><p>One way to solve this is to use an edge device. The sensors submit their data to this device and the device manages uploading the data to your data center. If there is no Internet connectivity, you can generate a report from the readings stored on the edge device.</p><h3>Story Time Part Deux</h3><p>You’re heading up a new mining project. This means there’s a mountain of equipment distributed over many square miles. You’re lucky though, cause it’s all new equipment that has all manner of fancy sensors.</p><p>You’re not so lucky because half of the equipment is constantly moving around and it’s impossible to get good wireless coverage everywhere. So you decide to deploy a mesh network solution with many access points. Problem is, connectivity is spotty. The wireless network vendor you went with doesn’t have great support for mesh networking or client hand-off. Also, having giant metal things moving around tend to block wireless signals.</p><p>In a stroke of brilliance, you decide to add edge compute devices to each of the access points. This allows you to always record the data from the sensors locally and when connectivity is re-established to transmit this data upstream.</p><h3>Thoughts On Edge Hardware</h3><p>Hopefully, you’re convinced that edge computing can improve your IoT projects. How do you go about buying a solution though?</p><p>As always, it depends. Are you just doing store-and-forward of the data or do you need complex computing needs? The difference can be a $30 Raspberry Pi or a rack full of GPUs that’s &gt; $10,000 a piece.</p><p>Here’s another issue to worry about, it’s another device to monitor and manage. What happens if it fails? Do you need a backup? How do sensors handle fail-over scenarios when one of the edge devices fails?</p><blockquote>Edge systems are just another production system</blockquote><h3>Parting Thoughts</h3><p>Edge computing is not a silver bullet, rather it’s another arrow in your quiver when looking to address a set of issues inherent in any IoT project. These include (but are not limited to) connectivity, bandwidth management, sparse/bad data, heavy computing needs, etc.</p><p>As always, start small, run a couple of experiments with cheap hardware and see what you can learn.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=944f875e4e7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/iot-edge-computing-why-944f875e4e7">IoT Edge Computing — Why?</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT Secret Sauce Part Three]]></title>
            <link>https://medium.com/alvarium/iot-secret-sauce-part-three-71f7bc9cfd54?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/71f7bc9cfd54</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Wed, 06 Feb 2019 11:01:01 GMT</pubDate>
            <atom:updated>2023-12-16T20:57:02.709Z</atom:updated>
            <content:encoded><![CDATA[<h3>IoT Secret Sauce — Business Process</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bo6AORTXZqA7K_gG" /><figcaption>Photo by <a href="https://unsplash.com/@naffiq?utm_source=medium&amp;utm_medium=referral">Galymzhan Abdugalimov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><p>Continuing from <a href="https://breakthroughiot.com/iot-secret-sauce-more-sensors/">part two</a>, let’s explore using a business process for building an IoT product.</p><blockquote><strong>What does a business process-based IoT solution look like?</strong></blockquote><p>In this scenario, we’re placing our emphasis on whatever specialized knowledge, experience and information we posses that a competitor either doesn’t have or it will be very difficult for them to get. Second, instead of focusing on the sensors and bringing value through sensors, we’re going to focus majority of our effort on bringing value through various business processes / workflows. It’ll make more sense as we get further along.</p><p>Another way to think about a business process-centric solution is that it’s all about the data.</p><blockquote>It’s the data that drives the process, it’s the data that improves it and it’s the data that makes it harder for competitors to enter the market.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*kM4ehLzfK0qjtTqTjwoP5w.jpeg" /></figure><p>We’ll cover where that business process is implemented in a bit, for now, let’s assume it’s not on the actual sensors themselves.</p><p>So, sensors. We’ve spent a bunch of time talking about sensors so far, but when it comes to leveraging a business process, the sensors should be as dumb as they can be to get the data you need.</p><blockquote>Their only purpose is to record the data and pass it along to the rest of the systems to use.</blockquote><p>Just how dumb do the sensors need to be? That depends on what kind of data you need them to gather and how critical it is to get that data from them. For example, if you’re recording a temperature reading every 30 seconds but your use-case needs the data at 5-minute resolution, you can drop 9 out of 10 readings and still meet your use-case. That means you can get away with not great connectivity and dropping some readings. On the other hand, if you are recording the stability of an oil well you’re drilling and you need up-to-the-second readings, then you’ll be building a very complicated sensor with multiple redundancies and reliable communication protocols.</p><p>The driver of the complexity is the complexity of your business process; that’s how you decide how smart/dumb to make your sensor. Ask yourself:</p><blockquote><strong>What can I get away with and succeed?</strong></blockquote><p>The other thing to consider is if you should be using edge computing for your application. We’ll talk about edge computing in greater detail in another post.</p><p>For the purposes of this post, the better question to ask is: how quickly do you need to take advantage of the data you’re collecting? If your data is going into some <a href="https://en.wikipedia.org/wiki/Extract,_transform,_load">ETL pipeline</a>, then its going into a data lake to be processed by a team of data scientists and then finally into some kind of data model to be deployed to your system — you might not need to worry about “the Edge”.</p><p>However, if you need to leverage that data with an <a href="https://en.wikipedia.org/wiki/Service-level_agreement">SLA </a>you cannot meet from your data center, you’ll want to consider adding some kind of edge computing capability into your solution. This can be another embedded device that flashes an alert on a monitor or a rack full of servers deployed inside a factory. Let the business needs drive the conversation about your “edge” needs — just remember, “edge” isn’t free, it’s more stuff to build and maintain.</p><p>By the way, did you notice how many times “data” is mentioned in the above paragraph?</p><blockquote>Data is the second component to IoT Business Process approach.</blockquote><p>The sensors produce the data and the data is used by business process to generate value for the client. Sounds easy, but there’s always a catch. For this conversation, we’ll actually worry about two catches: storing the data and processing it.</p><h3>First, storing the data.</h3><p>Depending on how much information your sensors are generating, it can result in a lot of data to store. You should do your best to store all of it. Yes, all of it. This way, when you want to try new experiments or test our different algorithms, you’ll have all the raw data to play with.</p><p>If your sensors are generating bad data on occasion, you can leverage that too — identifying when a sensor is misbehaving. There are many strategies for storing data long-term, so just start with the assumption that you’ll keep it all — you’ll avoid menacing looks from your data science team.</p><h3>Second, let’s talk about processing the data.</h3><p>We’ll get into fancy stuff (e.g. AI) another time. For now, we’ll focus on some basic data analyses using traditional data science approaches.</p><p>This means that you should plan on some kind of ETL pipeline first. This pipeline will allow you to process the raw data into something usable by either your existing systems or by your data science team. Given the complexities around reliable data collection from sensors, you’ll have to deal with missing (sparse) and bad data. You’ll want to figure out how to tie that data with other information you have. Finally, you’ll want to transform said data into something others can leverage to build your offering.</p><blockquote><strong>The best way to start is to talk with the team that will be leveraging all of this information to build the product and what their needs are.</strong></blockquote><p>It’s multiple conversations, each raising more questions, but will result in critical information around how to leverage all of this data and what to do with it. If in doubt, err on the side of storing the data and doing the minimum possible to get a prototype done — you’ll learn what you don’t know and have a better idea of where you’re going.</p><blockquote><strong>When dealing with all of this data there are no magic bullets.</strong></blockquote><p>You’ll have a huge advantage over you competition by the virtue of having this data, but you need to leverage it to actually exercise this advantage. The easiest way to start is with questions and hypothesis about what the data can tell you. You may find out that the data doesn’t tell you what you asked it initially, but that doesn’t mean it won’t tell you something interesting.</p><p>At this point, I can quote a bunch of stuff about Lean, moving fast and breaking things, etc. but you already know that stuff, so just run some experiments and see what you get.</p><h3>Lastly, let’s talk about AI/ML.</h3><blockquote>The short version, you don’t need AI.</blockquote><p>In reality, if you have to ask, you don’t need AI. No really, you don’t need it. Some basic data science tools will take you a long long way to your goal. By basic data science I’m talking about statistical analyses that your team already knows how to do. You’ve probably already purchased a data science package from one of your vendors, so you can just keep going with that.</p><p>In case you don’t believe me, the first step to “doing AI” is having high quality data. This means having large data sets of sorted, organized and labeled data. For example, you’re looking to identify if a photo has a cat in it or not. You’ll need a few thousand photos with cats in them.</p><blockquote><strong>Then you’ll need a few thousand photos without cats in them.</strong></blockquote><p>Did I mention that the photos will need to have all manner of other stuff in there, like trees and people and cars and flowers and such? You’ll use both of those sets to train a model. Once you have a model, you’ll need another set of a few thousand photos with cats and another set of a few thousand without cats. It’s critical that the second set does not contain any photos from the first set. You’ll use this second set to make sure you trained your model correctly.</p><p>With me so far? If not, don’t worry — your keys are under the newspaper by your bed and your glasses are on your head. If you’re still here, just extrapolate the cat photo example to your sensor data. How many sensor readings in the last week do you have with bad data? How many of those are actually bad readings versus someone forgetting to shut the fridge in time or turn off the light (i.e. human error)? How about that sparse data? Is it sparse because the wireless gateway is having interference issues or did the cleaning crew unplug the power supply to vacuum the carpet? Did that sensor really go down or is it because the wireless gateway got unplugged?</p><p>So you don’t need AI for now. We’ll come back to it later on, for now, just talk to your data science team. They’ll ask you lots of great questions that you’ll have no idea how to answer. Focus on answering those questions first, you’ll sleep easier at night.</p><p>Next time, we’ll talk about Edge computing. What is it? Why is it? When do you need to think about?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71f7bc9cfd54" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/iot-secret-sauce-part-three-71f7bc9cfd54">IoT Secret Sauce Part Three</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT Secret Sauce Part Two]]></title>
            <link>https://medium.com/alvarium/iot-secret-sauce-part-two-7aac75e77441?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/7aac75e77441</guid>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[sensors]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Mon, 28 Jan 2019 11:19:43 GMT</pubDate>
            <atom:updated>2023-12-16T20:56:44.283Z</atom:updated>
            <content:encoded><![CDATA[<h3>IoT Secret Sauce — More Sensors</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*rb-6-o6KrGB4u8VZs_U6KQ.jpeg" /></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><p>Continuing the sensor theme from <a href="https://breakthroughiot.com/iot-secret-sauce-thinking-about-sensors/">part one</a>, let’s explore building specialized sensors. We’ll be looking at three different sensor “types”: <a href="https://en.wikipedia.org/wiki/Microelectromechanical_systems">MEMS</a>-based solution, recording data for compliance-based applications and brewing beer. Through these three stories, we’ll explore what makes each one special and defensible and what risks each sensor faces.</p><h3>Story Time</h3><p>Let’s start with MEMS-bases sensor solution. For those unfamiliar, MEMS is a type of nanotech. In our case, we have a <a href="https://en.wikipedia.org/wiki/PH_meter">pH sensor</a> for measuring acidity/alkalinity levels. Traditional pH sensors require that the probe is stored in a specialized solution, use some kind of reference liquid and is constantly re-calibrated. This makes them difficult to use, especially in automation. Our MEMS-based solution is self-contained, we can use it like any other sensor without worrying about storage or re-calibration. Through the magic of nanotech, the reference solution is included with the sensor, so our product is far superior to anything else on the market. We have multiple patents on the sensor itself and on the highly-specialized manufacturing process. The sensor can be used in many industrial and scientific applications to automate processes that could not have been automated before, making us first to market.</p><p>All of the above makes our pH sensor highly defensible. It requires specialized knowledge to design it and a custom manufacturing process to build it. This will make any competition take significantly longer to release a new product, since they’ll have to build the manufacturing capability and then figure out how to build the device. Furthermore, nanotech devices are really difficult to manufacture, so that makes the timelines of launching a competitor product that much longer.</p><blockquote><strong>The questions we’re asking ourselves are around how difficult it will be for our competitors to catch up?</strong></blockquote><p>If it takes a competitor 12–24 months (dates pulled out of the air) to launch a version of our current product, we’ll be able to have a range of products in that time-frame, more interactions from customers, more customer stories, and more lessons learned. While we’re still dealing with all the limitations of the physical world over a software world, the fact that it takes significant specialized knowledge, resources and time to build a version of a similar product provides the needed runway to build the momentum defending against new entrants.</p><blockquote><strong>How specialized does a competitor has to be to be able to replicate our results?</strong></blockquote><p>There are many business questions to be asking about building such a specialized sensor, but that’s for a different blog post. The main takeaway here is that specialized knowledge + long manufacturing time-frames allows us to build significant market momentum that will be very difficult for our competitors to match.</p><p>Our next example is a compliance-based sensor application. Let’s say we’re working in a biotech cleanroom, where we need to make sure the number of particles (e.g. dust) is below a specific count. This has direct effect on the quality of our manufacturing process, compliance with various regulations, etc. The sensor itself is fairly banal, it’s akin to a really fancy smoke detector. However, the logic behind this sensor is crucial.</p><p>Let’s throw a few more requirements into the box — we need to know immediately if the count is too high and we need to keep up-to-the-minute logs of the count across a very large area. So now we have multiple sensors, acting in concert to understand the current state of the manufacturing area and provide alerts to the people on the floor and to the administrators in remote offices. Oh and don’t forget the data logging, so the auditors can validate that everything is copacetic.</p><blockquote><strong>Our solution is a system now, not just a single sensor.</strong></blockquote><p>While we’re using <a href="https://en.wikipedia.org/wiki/Commercial_off-the-shelf">COTS </a>components, by combining them into a coherent system, including how they need to be installed in a restricted environment, provide various monitoring and multiple types of alerts, plus selling into a highly regulated market, makes this a defensible proposition. I’m going to ignore the actual business demands around making money from something like this, why let reality ruin a good story?</p><p>In this case, this sensor suite is defensible across multiple dimensions: difficult market to sell into and once installed — really hard to replace the system, regulatory requirements impact how the system is built and operated (e.g. calibration, sensor certification, etc.) and specialized knowledge about cleanroom operations. Plus, there are some interesting logistics concerns here for installing and maintaining sensors in a cleanroom environment.</p><p>While it may be easy to create a copy of our sensors, it’s much more difficult to figure out the rest of the business around logistics, specialized knowledge &amp; algorithms to detect alarm conditions, how and where to install the sensors within a cleanroom, etc.</p><blockquote><strong>The defensibility here is around specialized knowledge of how to leverage domain expertise &amp; COTS sensors to build a solution, not the sensors themselves.</strong></blockquote><p>For example, how do we combine multiple sensors into an offering that is more than just an individual sensor? Can we use our specialized knowledge about a vertical or business workflows to build a solution that’ll require significant effort to replicate? What kind of regulatory or highly-manual workflows can we solve for with sensors?</p><p>The last example combines the ideas from the first two for something fun, brewing beer. A few years ago, a couple of friends and I launched an experiment for home brewers — smart temperature controller — we called it BrewBit. Imagine Nest but for making beer.</p><p>One of the top things you can do to improve the quality of your homebrew is controlling the temperature. This is usually done by converting a small fridge and installing the probe from a “regular” temperature controller inside the fridge, plugging the fridge into the temperature controller and plugging the controller into the wall power. When the temperature goes too high, the controller turns on the circuit to the fridge, which then cools the insides to the desired setting.</p><p>I’m skipping all manner of details, but the important part is what made BrewBit “smart”. Apart from being able to control it and see the status on the web, you could upload a temperature profile. A temperature profile allows you to control how the temperature is changed over time — very important for making a <a href="https://en.wikipedia.org/wiki/Lager">lager style beer</a>, plus some bonus automation.</p><p>On the surface, the hardware is not overly complicated — temperature controllers have existed for decades now. Connecting them to some kind of network (Internet in our case) has existed as well. Adding specialized logic for managing temperature over time in a consumer-friendly package was not that common back then. We combined our knowledge of brewing with our experience building sensors and connected devices and automation of industrial control systems, then made it usable by a consumer.</p><p>The combination of specialized knowledge with COTS components and workflow design for a general audience made BrewBit an effective device. Our closest competitor, at the time, required a Bluetooth connection from a phone — meaning you had to be close by, not at work or on vacation. Another competitor was a DIY solution, where you had to know how to build electronic components and write code to use it. The strength of the offering was in building a system that leverages specialized knowledge and brewing workflow understanding to build a flexible device. We were able to move past just fermentation control and include brewing management, all by adopting our experience to the brewing application.</p><p>While we were having fun building BrewBit, it’s a good example of looking at a space from a consumer-friendly perspective, a la Nest. Adding some magic dust via workflows that are difficult to replicate and require specialized hardware made it difficult to replicate quickly. Sometimes it helps to marry the hardware and software together, as long as the hardware can be expanded via software later on. This is not always the case, can be quite expensive and error-prone. However, it’s worth asking yourself what the customer will need and how they can use it to improve their processes. Having inside knowledge in cases where you’re also the customer is hugely important in such cases.</p><p>In the next article, we’re going to explore the impact of workflows and how to leverage them for making your IoT project more defensible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7aac75e77441" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/iot-secret-sauce-part-two-7aac75e77441">IoT Secret Sauce Part Two</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT Secret Sauce Part One]]></title>
            <link>https://medium.com/alvarium/iot-secret-sauce-part-one-93b9ff69f4ce?source=rss-dd0de8dbe969------2</link>
            <guid isPermaLink="false">https://medium.com/p/93b9ff69f4ce</guid>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <dc:creator><![CDATA[Misha Manulis]]></dc:creator>
            <pubDate>Mon, 21 Jan 2019 18:35:20 GMT</pubDate>
            <atom:updated>2023-12-16T20:56:03.190Z</atom:updated>
            <content:encoded><![CDATA[<h3>IoT Secret Sauce — Thinking About Sensors</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1bEd0r5cJwLk9KZwUop4pA.jpeg" /></figure><p>Check out more of my writing on my Substack:</p><p><a href="https://breakthroughiot.substack.com/embed">Breakthrough IoT | Misha Manulis | Substack</a></p><p>Through stories, examples and lots of questions, we’ll look at different types of IoT projects (sensors, platforms, analytics, etc.) and explore what defines them, what risks are posed and how to think about them. We’re kicking off the series by thinking about launching a general-purpose sensor that leverages <a href="https://en.wikipedia.org/wiki/Commercial_off-the-shelf">COTS </a>components.</p><p>So you came up with a new sensor that’s going to revolutionize detecting something really important. You’re talking to several manufacturers and distribution partners. Even Big Co. is interested in licensing your technology. Pretty amazing!</p><p>Now it’s time to ask yourself: What makes this sensor special?</p><blockquote><strong>How are you going to keep someone from selling the exact same sensor for cheaper before you had a chance to establish yourself?</strong></blockquote><p>I’m going to share a couple of stories with you that explore thinking about how to defend your sensor product and make it a little more defensible.</p><p>First, let’s do a quick sojourn into why hardware is different from software when it comes to competition.</p><p>When building a software-only product, it’s simpler (not necessarily easier) to defend your product. The cost of shipping something new is the cost of development, thus you can release new features/capabilities every minute if you wanted to. You can build up huge momentum through a thought-out product road-map and keep ahead of your competition through better execution and customer testing. In the world of hardware, that’s not possible.</p><blockquote>Once you’re dealing with manufacturing physical things, you’re at the mercy of numerous vendors.</blockquote><p>Unless you’re the size of Apple or GE or Amazon, you simply don’t have the volume or the cash to lock down your supply chain and logistics. I’m going to completely ignore patents, NDAs, etc. as these things are frequently skirted.</p><h3>Story Time</h3><p>Let’s take a look at our first example: you’ve built a wireless security camera for the consumer market. It uses COTS (commercial-off-the-shelf) components and integrates everything together seamlessly. It’s super easy to setup by leveraging the latest WiFi chip from ACME Corp. This chip simplifies provisioning via a custom mobile app that let’s a user configure the WiFi credentials with a push of a button. You’ve built a beautiful app where people can view the video, manage how long to store the video, even use advanced AI features, like sending alerts when a person enters the field of view.</p><p>Here’s the problem, anyone can get their hands on this WiFi chip or on the camera you’re using. Your beautiful app can be copied by an off-shore team for a few thousand dollars in record time. While you can add plenty of cool features to the mobile app, you can’t add offline support to your camera or night vision. Those require hardware modifications. Didn’t think of that ahead of time? Now you’ve started a 12–18 month development cycle for new hardware version.</p><p>There’s another problem with staying ahead of the game, your first order for 1,000 units isn’t enough to secure sufficient supply of the camera modules or the WiFi chips. Your competitor is a large home-security company and decided to offer the same solution. They placed an order for 100,000 units, buying up the full run of the WiFi chips and camera modules. That means the lead time for more WiFi and camera modules is months now. Your competitor will now have a range of security cameras to offer for holiday shopping season and you’re stuck waiting till start of Q2 of next year before you’ll get your units. Or, <a href="https://www.zdnet.com/article/thailand-floods-to-lead-to-hard-drive-shortages-for-months/">there’s a flood in Thailand and the entire factory for making that component is down for months.</a></p><p>Another example to consider is a temperature sensor for food safety applications. Various government institutions set out rules for how raw &amp; cooked food should be stored — temperature, humidity, enclosures, etc. You have a temperature sensor that will detect when a freezer gets too warm and send an alert to the right individual so they can do something about it. Same question again: what’s so special about your sensor? If you can buy an Arduino kit that includes all the components and code to send an alert to your phone, how are you going to defend against all the competition?</p><p>While you may not have to worry about part shortages with something this simple, you do have to worry about supporting different temperature ranges. What if someone wants to monitor a -80C freezer? How are you going to handle wireless signal if the sensor has to be inside a walk-in freezer that’s a <a href="https://en.wikipedia.org/wiki/Faraday_cage">Faraday cage</a>? There are many more questions to consider here around logistics of installing and managing fleets of sensors, that’s going to be discussed in a later post.</p><p>A sensor can be copied, often easily. It’s not enough to have something that just measures a value, except in fairly specific cases — we’ll explore that in the next article. For this discussion, thinking about physical world limitations, logistic chains, supply demands and other factors such as these create significant risks when entering such markets. To handle these risks, it helps to change how you think about where the value to your customer comes from and what role the hardware components play.</p><blockquote><strong>So how would you think differently about the above offering?</strong></blockquote><p>You can start by identifying the various risks, such as the ones I mentioned above. Then you’d look into how to shift these risks such that your business is not at their mercy. Let’s run through a couple of examples.</p><h3>Question Time</h3><p>What’s important about the consumer security camera? One aspect can be the ease of installation and setup. Another can be features such as automated alerts when a person enters it’s field of view. Maybe it’s integration with existing security systems. Another words, it’s not the hardware, it’s what the hardware lets you do. Splitting hairs maybe, but it starts to change how you’re thinking about your value proposition and what’s important about your offering.</p><p>Now, your value is not the camera, it’s the software that works on the images/video captured by the camera. Can you sell a system that works with different cameras now, including yours? Can you remotely push updates that enable greater features from the start?</p><p>How about offering a subscription-based service where the person gets the system for “free” but pays a monthly charge for various features?</p><p>Just how much harder did you make it now for that Large Security Company to build this kind of solution and compete with you? Can you, now, leverage the software-only speed of delivery to your advantage and reduce the risk of hardware-only solutions?</p><p>In the next article, we’ll explore how to think about a hardware-only solution and what aspects make hardware-only solution defensible. For now, challenge yourself to think about your sensor as a dumb data collector and the rest of your solution as the brains that leverage the collected data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93b9ff69f4ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alvarium/iot-secret-sauce-part-one-93b9ff69f4ce">IoT Secret Sauce Part One</a> was originally published in <a href="https://medium.com/alvarium">Alvarium</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>