iot

1Gig-Tech (#40) – PowerShell, IoT, .NET, ESP8266, Deep Learning

September 4, 2016 1Gig Tech No comments , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 11 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • Engineering the Future of .NET (Sam Basu)
    While there is a huge army of engineers at Microsoft who work on .NET and C#, the following folks are arguably the most influential in bringing you the future of .NET and .NET Tooling.
  • Download free Windows Server 2016 eBook, White paper, PDF, etc. (AnandK)
    Microsoft and its partners have made available for download a bunch of resources for Windows Server 2016, that can help you get the best out of this Server operating system. Windows Server 2016 is the next version of Microsoft’s server operating system, being developed in line with Windows 10.
  • Writing a bot for IP Messaging in Node.js (Dominik Kundel)
    It seems like bots are the new hot thing that every chat supports. They usually augment conversations or they can perform tasks for the user. We will add to an existing IP messaging chat a simple bot that will return us a GIF whenever we ask for it.
  • What is Deep Learning?
    Deep learning is an emerging topic in artificial intelligence (AI). A subcategory of machine learning, deep learning deals with the use of neural networks to improve things like speech recognition, computer vision, and natural language processing.
  • Unit Testing .NET Core (Ricardo Peres)
    With the recent arrival of .NET Core, some things that we were used to having are no longer available. This includes unit tests – plus Visual Studio integration – and mocking frameworks. Fortunately, they are now becoming available, even if, in some cases, in pre-release form.
  • AWS vs Azure vs Google Cloud Platform – Internet of Things
    Choosing the right cloud platform provider can be a daunting task. Take the big three, AWS, Azure, and Google Cloud Platform; each offer a huge number of products and services, but understanding how they enable your specific needs is not easy.
  • .NET Rocks! vNext
    The URL for this tag filter is below. Copy it to easily share with others. Carl Franklin is Executive Vice President of App vNext, a software development firm focused on the latest methodologies and technologies. Carl is a 20+ year veteran of the software industry, co-host and founder of .

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#38) – IoT, VR, Azure, .NET 4.6.2

August 10, 2016 1Gig Tech No comments , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 9 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • IoT-VR with Unity,Intel Edison (Grasshopper.iics, Abhishek Nandy)
    In this tutorial we will cover a different perspective how we can use Unity and for virtual experience.We will work on an animation system give complete life to our character and add a different dimension by bringing in the scope of MQTT adding Intel Edison to feel the magic.
  • AWS vs Azure vs Google Cloud Platform – Storage & Content Delivery
    In this series, we’re comparing cloud services from AWS, Azure and Google Cloud Platform. A full breakdown and comparison of cloud providers and their services are available in this handy poster. With any cloud deployment it is important to be match the right storage solution to each workload.
  • Announcing .NET Framework 4.6.2 (Stacey Haffner)
    Today we are excited to announce the availability of the .NET Framework 4.6.2! Many of the changes are based on your feedback, including those submitted on UserVoice and Connect. Thanks for your continued help and engagement! You can see the full set of changes in the .NET Framework 4.6.
  • .NET Standard Library Support for Xamarin (James Montemagno)
    Today, we are extremely pleased to release support for .NET Standard Libraries for all Xamarin applications. This includes creating and consuming local .NET Standard Libraries, but also adding .NET Standard Libraries from NuGet directly to your Xamarin apps.
  • Cloud Adoption: A Deep Dive into the Swiss Cheese Model
    In a three-part series describing how Hymans Robertson adopted Microsoft Azure, guest blogger Barry Smart describes their risk & mitigations analysis process and explains how you can use the same process to understand the risk of your own cloud journey.
  • Entity Framework Core 1.1 Plans (Rowan Miller)
    Now that Entity Framework Core (EF Core) 1.0 is released, our team is beginning work on bug fixes and new features for the 1.1 release. Keep in mind that it’s early days for this release, we’re sharing our plans in order to be open, but there is a high chance things will evolve as we go.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#30) – Azure Stream Analytics, IoT, ThinScript, NuGet

April 24, 2016 1Gig Tech No comments , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 15 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • Azure Stream Analytics and Power BI general availability (Ryan CrawCour)
    Today we are pleased to announce the general availability of the integration between Azure Stream Analytics and Power BI. With this capability you are able to create interactive real-time dashboards for streaming data from devices, sensors, infrastructure and even your business applications.
  • Typing with pleasure (editor)
    In this article I examine human- and machine aspects of typing latency (“typing lag”) and present experimental data on latency of popular text / code editors.
  • ThinScript Compiler Demo
    ThinScript is an experimental programming language that compiles to both WebAssembly and JavaScript. It’s meant to be a thin layer on top of WebAssembly that makes it easier to work with: no dependencies and fast compile times.
  • What Has Microsoft Done For You Lately? (Cody Lindley)
    Thanks to some influencial dialog with Rey Bango and Christian Heilmann I recently stopped and reflected upon Microsoft. What I realized is Microsoft isn’t just talking about change – they have actually changed. Just take a look at Github and I think you’ll see what I am talking about.
  • Hjson, the Human JSON
    A configuration file format for humans. Relaxed syntax, fewer mistakes, more comments. Tweet Glad you asked. Actually you don’t need to do that!
  • NuGet 3.4.2 Release Notes
    NuGet 3.4.2 was released on April 8, 2016 to address several issues that were identified in the 3.4 and 3.4.1 release.
  • Modern software is built on APIs.
    Create and send any HTTP request using the awesome Postman Builder. Requests are saved to history and can be replayed later. Manage and organize your APIs with Postman Collections for a more efficient testing and integration workflow.
  • Azure IoT at //build 2016 (Sam George)
    We just wrapped up an incredible week at //build 2016, and we’d like to thank all of the developers, customers and partners involved for making this such a great event.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

WiFi connectivity – Spark Core vs Particle

April 4, 2016 IoT, Particle No comments , , ,

Over the last few days I have been struggling to get my Spark and Particle Photon connected to my home WiFi seamlessly.

The Particle board connects to WiFi instantly. When I tried connecting my Spark Core, it fails continuously. Spark Core would always blink GREEN and would never get connected to my home WiFi.

I tried flashing the lastest software using dfu-util

particle flash --usb cc3000_1_14

It did not connect. I tried connecting using Mobile Hotspot (using LG G4 Android), Home WiFi and Xiaomi USB Access Point. Particle Photon Board was able to connect to all of them successfully; Spark Core could only connect to Mobile Hotspot. This meant that there were some settings in the other two WiFi that were creating issue.

Finally, the electronics engineer in me took up the challenge and I started reading the datasheet of both boards. Below are the findings and the way to fix this

Particle Photon Board

  • Uses Broadcom BCM43362 chipset that works with IEEE 802.11 b/g/n device classes at 2.4GHz (single band)
  • Connects well with Channels 1-13 (tried by myself)

Spark Core Board

  • Uses CC3000 chipset that works with IEEE 802.11 b/g device classes at 2.4 GHz (single band)
  • Connects well with Channels 1-11

The Fix

With this knowledge, I tried to analyze my home WiFi connecting using 3 different WiFi connections

  • Home WiFi (AzTech repeater) using mixed mode 802.11 b/g/n at 2.4GHz was using Channel 12. I changed the channel to Channel 5 and rebooted the router but it still used Channel 12. This was because the repeater was connected to DLINK router (main router) that was broadcasting on Channel 12.I manually configured to use mixed mode 802.11 b/g/n with Channel 10. A restart of modem and Spark Core could finally connect to main router. A restart of repeater was required to have Spark Core connect successfully to the repeater network.

Spark Core

 

  • Xiaomi USB Access Point: I could not manage to connect using this even with Channel 1. I believe this uses 802.11 n mode.

WiFi Analysis

For this analysis, I used WiFi Analyzer on Windows Store. This application displayed all key information required to troubleshoot this.

After fixing the router, WiFi analyzer output looks like,

 

wifi-analysis

So in a nutshell,

Spark Core needs 2.4Ghz 802.11b/g CH 1-11 whereas Photon works with 2.4GHz 802.11b/g/n CH1-13

PS: I had posted the problem on Community forum and troubleshooted this problem. Detail steps also available at:  https://community.particle.io/t/wifi-connectivity-issue-with-spark-core-1-0/20851/18

Session – Internet of Things – Devices and Azure Telemetry (Azure Florida Association)

March 24, 2016 Azure, IoT, Sessions No comments , ,

I am really excited to share my upcoming session on Internet of Things – Devices and Azure Telemetry organized by Azure Florida Association.

The session will be online on GotoWebinar and in one hour I will cover range of topics on Internet of Things.

Date: 30 March 2016 9:00 PM SST (UTC+8)
Duration: 1 hour

What’s on the plate?

The topic of “Internet of Things” pops up in almost every geek world and yet it’s the term that has been misinterpreted the most. This session will cover what’s Internet of Things and the various IoT devices in the market, their inter-communication and how these devices can send telemetry to the Azure world to generate real time analytics and business insights

Register yourself for this free session at Register : Internet of Things – Devices and Azure Telemetry

Watch online at: https://attendee.gotowebinar.com/register/5288930578994944258

The event page is available on Azure Florida Association portal

Raspberry PI to Detect Network Bandwidth (using NodeJS)

March 21, 2016 IoT, NodeJS, Raspberry PI No comments , ,

Couple of weeks ago I did an experiment on my Raspberry PI 2 to detect the speed of my ISP using a lot of Shell scripts. The end result was quite satisfying as I could post a tweet like the one below to let my ISP know that the Internet speed at my home wasn’t good enough. I had few follow-ups with my ISP’s support team and now the Internet speed is quite good

I thought over it to automate this and I had two options – cron jobs or move this to more managed code like NodeJS. I tried multiple libraries and finally nailed on npm library speedtest-net.

var speedTest = require('speedtest-net');
var test = speedTest({ maxTime: 5000 });
test.on('testserver', function (server) {
        pingTime = server.bestPing;
});

test.on('data', function (data) {
         var downloadSpeed = data.speeds.download + ' Mbps';
         var uploadSpeed = data.speeds.upload + ' mbps';

         console.log("Download speed", downloadSpeed);
         console.log("Upload speed", uploadSpeed);
});

test.on('error', function (error) {
         console.error(error);
});

The next step was to send a tweet to Twitter. I had two options to this – use Twitter API or adopt IFTTT platform. I preferred IFTTT as it gives me options to trigger an event and associate any action for the event. So I could, today choose, to tweet the speed and could tomorrow also have it emailed or routed to another channel.

I created an API key on IFTTT Maker Channel and created a Recipe with Trigger Channel as Maker. Event Name (as shown in below screenshot) defines the event that your code will invoke

 

 

 

 

 

 

 

As part of “THAT” action, I selected my Twitter Channel to Tweet the event data. Maker Channel allows us to send 3 values “Value1”, “Value2” and “Value3”

With this, I was ready to wire code to send my Network Speed to Twitter. I changed my NodeJS code to use NPM library node-ifttt-maker as below,

var IFTTT = require('node-ifttt-maker'),
         ifttt = new IFTTT('my-ifttt-maker-api-key');
var minDownloadSpeed = 50; // 50% of promised speed 100 Mbps?

// Send Alert only when speed is less than min download speed
        if (data.speeds.download < minDownloadSpeed){     
            ifttt.request({
                event: 'speedtest',
                method: 'POST',
                params: {
                    'value1': data.server.location,
                    'value2': downloadSpeed,
                    'value3': uploadSpeed
                }
            }, function (err) {
                if (err) {
                    console.log(err);
                } else {
                    console.log('OK');
                }
            });
        }

When the speed test completes (i.e. “data” function) it sends a POST request to IFTTT Maker Channel with relevant information and the Maker Channel routes it to the preferred channel (in this case Twitter). With no code change, you can change the output to Email, Facebook, GitHub, Google Drive, OneDrive, etc.

Now you can run this NodeJS code to monitor your network.

With this, running at regular intervals (not too often though) you can monitor your network speed and decide when to stream Netflix. That’s how I get a seamless streaming experience.

Caution: Ethernet Ports have a bandwidth defined. Raspberry Pi (as of 20 March 2016) does not support Gigabit Ethernet so before tweeting in public check the max bandwidth your IoT device supports and do not try this over WiFi as WiFi speeds may be slower.

Telemetry for Internet of Things – Pre and Post Azure IoT Suite (Channel 9)

December 5, 2015 Azure, IoT, Videos , , , ,

In the last month, I recorded 3 sessions, 15 minutes each, that illustrate Telemetry for Internet of Things – Pre and Post Azure IoT Suite for Channel 9.

These short videos can help the audience understand general concept of Internet of Things, Event Hubs, Azure IoT Suite and Hub. The examples discussed in the video are in .NET and NodeJS

 

Video #1: Understanding IoT and Event Pipeline

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Internet-of-Things-1-Understanding-IoT-Event-Processing-Pipeline-and-Event-Hub

 

Video #2: Azure Event Hubs using Azure SDK and NodeJS

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Internet-of-Things-2-Azure-Event-Hubs-using-SDK-and-NodeJS

 

Video #3: Azure IoT Suite – Device Provisioning, Producer, Consumer and Registry

Direct Link: https://channel9.msdn.com/Events/APAC-Influencer-Hero-2015/Singapore-Influencer-Showcase/01-Punit-Ganshani-Internet-of-Things-3-Azure-Iot-Suite-Device-Provisioning-Producer-Consumer-and-Reg

 

1Gig-Tech (#14) – ReactJs, ASP.NET 5, IoT, ReSharper, Xaml

October 19, 2015 1Gig Tech , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 13 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • DNX Framework Choices and ASP.NET 5
    You can think of an ASP.NET 5 application as a DNX application, where DNX stands for .NET execution environment. And the projects we create with a project.json file? These are DNX projects. The DNX is not just a runtime environment, but also an SDK.
  • Global route prefixes with attribute routing in ASP.NET Web API
    As you may have learnt from some of the older posts, I am a big fan, and a big proponent of attribute routing in ASP.NET Web API. One of the things that is missing out of the box in Web API’s implementation of attribute routing, is the ability to define global prefixes (i.e.
  • Design downloads
    Windows 8.1 design guidance that covers design principles and guidelines for form factors, UI, touch, tiles, notifications, globalization, and more.
  • Windows IoT Core : Sensing Sound Levels (Carey Payette)
    The ability to sense the amount of sound in an environment can come in handy. From the hobbyist standpoint, you can create light elements with LED strips that light up based on the amount of sound, similar to an equalizer, to add to the ambiance of the playing music.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

1Gig-Tech (#13) – VS2015, AWS, Rosyln, Razor, D3, IoT

October 11, 2015 1Gig Tech , , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 50 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • Roslyn on GitHub (balajikris)
    The .NET Compiler Platform (“Roslyn”) provides open-source C# and Visual Basic compilers with rich code analysis APIs. It enables building code analysis tools with the same APIs that are used by Visual Studio. Just want to provide feedback on new language features and IDE features?
  • Visual Studio 2015 Update 1 CTP (Heath Stewart)
    Today we released Visual Studio 2015 Update 1 CTP. Included, you’ll find: For a complete description of the improvements, bug fixes, and known issues in this release, see Description of Visual Studio 2015 Update 1 CTP.
  • Authorization Policies and Middleware in ASP.NET 5
    Imagine you want to protect a folder full of static assets in the wwwroot directory of an ASP.NET 5 project. There are several different approaches you could take to solve the problem, but here is one flexible solution using authorization policies and middleware.
  • Razor Generator (David Ebbo)
    Free Generates source code from Razor files (.cshtml files), allowing them to be compiled into your assemblies. Supports MVC, Web Pages and standalone templates. REVIEWS (14) Review SUPPORTS Visual Studio 2013, 2012, 2010 DOWNLOADS Download (56,682) VERSION 1.6.
  • Debug Visualizers in Visual C++ 2015 (Heath Stewart)
    When debugging your native applications, it is often useful to view the values of the objects in memory in a specific way, whether that be with custom string formatting, or even performing an operation on the data to make it more meaningful and easy to interpret.
  • Real-time analytics on your IoT
    Today, Microsoft announced the Azure IoT Suite is available to purchase. Built on the trusted Azure cloud platform, the Azure IoT Suite brings together preconfigured offerings to enable companies to quickly and easily develop and deploy Internet of Things solutions.
  • Update on Node.js for Windows 10 IoT (Windows Apps Team)
    Post written by Arunesh Chandra, Sr. Program Manager and Gaurav Seth, Principal Program Manager Lead on Chakra Ever since we announced our preview of Node.js support for Windows 10 IoT Core a few months back, we have been working to enable new scenarios and improve its ease of use.
  • A Look at ASP.NET 5: Part 5 – The API
    The more I work with ASP.NET 5, the more it looks and feels like the old ASP.NET stack except for the hosting. That’s a good thing in most cases, but writing the API that changes.
  • Unit testing Node.js Applications using Mocha (Ravi Kiran)
    Unit testing has become an integral part of daily development process. It is an important phase of software development, as it is an attempt made towards keeping the code cleaner and making the product functionally better. Applications written in Node.js are no different.
  • Hello.js Social Media (Irvin Dominin)
    The web is fundamentally about people and the huge popularity of Social Media has echoed this notion. Social media is one of the must go-to places for everybody who surfs online. At times, we can’t decide what to surf on the internet unless we check one of the social media sites.
  • D3 Visualization Gallery (GitHub, file a request)
    x You can contribute to this gallery on the Google Spreadsheet or improving it on . Every entry in this gallery is copyrighted by its author. Feel free to for correcting errors. This gallery is developed by Christophe Viau @d3visualization with the help of the community and support from Datameer.
  • vis.js
    The Timeline is an interactive visualization chart to visualize data in time. The data items can take place on a single date, or have a start and end date (a range). You can freely move and zoom in the timeline by dragging and scrolling in the Timeline.
  • Node.js support for Azure Mobile Apps (Openness Team)
    This month Microsoft released a Node SDK for Azure Mobile Apps, enabling you to build and run mobile backends using Node.js on App Service, as well as add push notifications, mobile auth, backend APIs, and more to any Node.js app running on App Service.
  • CronMaker
    CronMaker is a utility which helps you to build cron expressions. CronMaker uses Quartz open source scheduler. Generated expressions are based on Quartz cron format.
  • Bundling, minification and client-side compilation
    For the past couple of years, Web Essentials have been including features for bundling and minifying JS and CSS files as well as compiling LESS, Sass and CoffeeScript. As of Web Essentials 2015 that is no longer the case.
  • GitHub Student Developer Pack – GitHub Education
    Be an intern. We’re looking for talented students to join our first ever internship program. Apply now There’s no substitute for hands-on experience, but for most students, real world tools can be cost prohibitive.
  • How to design for mobile UX (Marc Schenker)
    You probably know by now that mobile has taken off, and there’s no stopping it anytime soon. What you probably didn’t know is just how popular mobile really is. In fact, did you know that the number of mobile users has already overtaken the number of traditional, desktop users? It’s true!
  • Recruiting — Medium (Sara Chipps)
    I talk to founders, CTOs, CEOs and hiring managers of startups often. I host and go to quite a few social events monthly that they gather at, besides them being a large part of my friend group.
  • Live Webinar: Go Mobile with Xamarin and Azure (Steven Yi)
    We’d like to invite you to join us on September 23, 2015 for a joint webinar with Microsoft Azure. Kirill Gavrylyuk from Microsoft’s Azure App Services team and I will cover multiple demos on how to create a cloud-connected mobile app, with plenty of time at the end to answer audience questions.
  • NodeJS 4.0
    Node.js 4.0 has been officially released ? you may wonder what it delivers to you and if you should upgrade right away, or not. Learn more in this post.
  • ASP.NET MVC: Audit Logging (SANS Institute)
    Guest Editor: Today’s post is from Taras Kholopkin. Taras is a Solutions Architect at SoftServe, Inc. In this post, Taras will take a look at creating an audit logging action filter in the ASP.NET MVC framework. Audit logging is a critical step for adding security to your applications.
  • Top 10 Mistakes Node.js Developers Make
    Node.js has seen an important growth in the past years, with big companies such as Walmart or PayPal adopting it. More and more people are picking up Node and publishing modules to NPM at such a pace that exceeds other languages.
  • SonarLint for Visual Studio
    SonarLint for Visual Studio is based on and benefits from the .NET Compiler Platform (“Roslyn”) and its code analysis API to provide a fully-integrated user experience in Visual Studio 2015. SonarLint is free, open source, and available in Visual Studio Gallery.
  • Back to the Future – Decapsulation (Dmitriy Gakh)
    When programming modules are processing huge volumes of data stored in the RAM, data storage structure affects RAM consumption and performance. Using more primitive data types, structures instead classes, native data instead structures, can be used to economize computer’s resources.
  • GitHub Desktop
    GitHub Desktop is a seamless way to contribute to projects on GitHub and GitHub Enterprise. You’ll find all the projects you’re working on listed in the sidebar.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech

Thanks

Collab365 Session: Azure IoT – Telemetry and Reliable messaging

September 22, 2015 Azure, IoT, Sessions, Videos , ,

If you are keen to learn Azure, Office365 and SharePoint then Collab365 is the Global Online Conference you MUST attend. It has online sessions running 2 full days for CxOs, Architects, Developers, IT PRO, Developers, Project Managers, DBAs, Business Analysts, DBA, UI Designers, Social Managers, Project Managers and even Sales!

So surely there is something for everyone!

Over 120 Speakers from 6 continents. 62 MVP’s. 6 MCM’s. Microsoft Product Managers and experts. The level of submission to the event was staggering.

Registration is free is so don’t miss this opportunity!

 

My session on “Internet of Things – Telemetry and Reliable Messaging” is scheduled on 8th Oct 2015 1:00 AM UTC.

​This session on Internet of Things will focus on understanding how small devices, regardless of their operating system, can be provisioned in Azure to stream sensor collected data for the purpose of analytics and business optimizations. Aspects of communication like device to cloud telemetry (D2C) and cloud to device (C2D) feedbacks using AMQP protocol will be demonstrated for durable and reliable messaging.

  • Understand Azure IoT Suite offerings
  • How to reliably stream sensor data to Azure Event Hubs
  • How to reliably receive commands and notifications from applications or backend
  • Understand secured channel communication

The session will be Level 300 session and will be aimed at CxOs and Architects

Don’t forget to register yourself at: http://www.collab365.events/
Agenda can be viewed at: https://collab365.conferencehosts.com/sitepages/agenda.aspx

See you soon!

Collab365agenda

Follow on Feedly