# Sending sensor data through Electron to Azure

**URL:** <https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755>\
**Category:** General\
**Created:** [June 28, 2018, 5:04am UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755 "2018-06-28T05:04:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin76](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Martin76](https://community.particle.io/u/Martin76)\
**Post date:** [June 28, 2018, 5:04am UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/1 "2018-06-28T05:04:16Z")

</div>

Hi, I work with mining firm and we have a lot of machines to monitor vibration, temp and humidity, so far we have been using PLC with analog sensors but now wants to move to more IoT friendly solution, we have been in contact with [ncd.io](http://ncd.io) and they have suggested that we should use electron cellular module with their wireless sensors [https://store.ncd.io/product/iot-long-range-wireless-vibration-and-temperature-sensor/](https://store.ncd.io/product/iot-long-range-wireless-vibration-and-temperature-sensor/). we want to send the sensor data to our Azure IoT hub. I believe we can use webhooks to connect these sensors, electron and Azure. Is there a way we can directly send sensor data from Electron to Azure.

---

<div class="post-metadata">

**Author:** ![Viscacha](https://avatars.discourse-cdn.com/v4/letter/v/919ad9/32.png) [@Viscacha](https://community.particle.io/u/Viscacha)\
**Post date:** [June 28, 2018, 10:04am UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/2 "2018-06-28T10:04:47Z")

</div>

There is a dedicated Integration for Azure [https://docs.particle.io/tutorials/integrations/azure-iot-hub/](https://docs.particle.io/tutorials/integrations/azure-iot-hub/)

I’m not sure how up to date the details are, I have no doubt Azure IoT evolves quite quickly. I gave it a go and so did a few others (@RWB ?) but I’m not sure how many have stuck with it. Azure is pretty daunting if its not your area of expertise, there’s just too many ways to do things.

Worth noting is that Losant has a mining monitoring system based on electrons as one of its example partnerships that it developed with a client. Many would consider the Losant workflow simpler to implement although it can of course integrate with Azure & 3rd party platforms too

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [June 28, 2018, 11:16am UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/3 "2018-06-28T11:16:49Z")

</div>

> [@Martin76](#):
>
> is there a way we can directly send sensor data from Electron to Azure.

Nope, not directly (read _avoiding Particle Cloud_) since there is no easy way to directly connect to an HTTPS endpoint with the TCPClient object.  
So Particle Webhooks/Integrations will be the way to go with Azure.

---

<div class="post-metadata">

**Author:** ![Martin76](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Martin76](https://community.particle.io/u/Martin76)\
**Post date:** [June 28, 2018, 1:07pm UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/4 "2018-06-28T13:07:15Z")

</div>

thanks for the reply… it looks like there has been some work done in azure partical lib.  
The issue is that we have a lot of restriction in terms of data routing and can use only few vendors/cloud service providers . is there any other cellular module we can use to send data to a Azure.

---

<div class="post-metadata">

**Author:** ![RWB](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rwb/32/22599_2.png) [@RWB](https://community.particle.io/u/RWB)\
**Post date:** [June 28, 2018, 1:34pm UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/5 "2018-06-28T13:34:32Z")

</div>

Yea, I did not like the Azure integration because for me personally, it was overly complicated to work with compared to Losant.

You can easily push data to Losant and do anything you want with it and create nice dashboards like the example pictured below:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/a/d/ad3ffaaf8403c218307691d31ef808859160e56a.png)

---

<div class="post-metadata">

**Author:** ![Viscacha](https://avatars.discourse-cdn.com/v4/letter/v/919ad9/32.png) [@Viscacha](https://community.particle.io/u/Viscacha)\
**Post date:** [June 28, 2018, 1:35pm UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/6 "2018-06-28T13:35:09Z")

</div>

Other modules - several will show up with a quick Google but I think the Electron is probably the only one with a community like this and an accessible arduino like platform. The Particle platform has many desirable features for maintaining an uptodate IoT product. If you can, negotiating suitable routing is probably worth it.

Otherwise… maybe a a gpy? Quite a few of the others by default also use their own cloud platform and several are alos 2G- so destined for uselessness.

---

<div class="post-metadata">

**Author:** ![macyankee86](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/macyankee86/32/15412_2.png) [@macyankee86](https://community.particle.io/u/macyankee86)\
**Post date:** [July 5, 2018, 7:32pm UTC](https://community.particle.io/t/sending-sensor-data-through-electron-to-azure/42755/7 "2018-07-05T19:32:21Z")

</div>

Hi @Martin76 -

Sounds like an interesting use case. I sent some IOT data to Azure SQL Server earlier this year and wrote up my process here: [https://www.gordonstrodel.com/btbc/2018/2/16/azure-saving-iot-data-into-sql-server](https://www.gordonstrodel.com/btbc/2018/2/16/azure-saving-iot-data-into-sql-server)

Hopefully that helps? Feel free to ask away if you need more details.  
Best,  
Gordon
