Tumgik
paasmer-blog · 7 years
Text
How to Use the IonBloc SDK
Srinidhi Murthy
What is Block Chain?
A blockchain – originally block chain – is a distributed database that is used to maintain a continuously growing list of records, called blocks. Each block contains a timestamp and a link to a previous block. A blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for validating new blocks. By design, blockchains are inherently resistant to modification of the data. Once recorded, the data in any given block cannot be altered retroactively without the alteration of all subsequent blocks and a collusion of the network majority. Functionally, a blockchain can serve as "an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way. The ledger itself can also be programmed to trigger transactions automatically."
Blockchains are secure by design and are an example of a distributed computing system with high Byzantine fault tolerance. Decentralized consensus has therefore been achieved with a blockchain. This makes blockchains potentially suitable for the recording of events, medical records, and other records management activities, such as identity management, transaction processing, and documenting provenance.
IonBloc
IonBloc Data flow and usage
IonBloc is our version of Open source Ethereum Blockchain network that can be setup as a public production implementation or a private test implementation depending on client needs.
In an IoT network, the blockchain can keep an immutable record of the history of smart devices. This feature enables the autonomous functioning of smart devices without the need for centralized authority. Thus, blockchain opens the door to a series of IoT scenarios that were remarkably difficult, or even impossible to implement without it.
By leveraging blockchain, IoT solutions can enable secure, trust less messaging between devices in an IoT network. In this model, the blockchain will treat message exchanges between devices like financial transactions in a Bitcoin network. To enable message exchanges, devices will leverage smart contracts which then model the agreement between the two parties.
Using blockchain will enable true autonomous smart devices that can exchange data, or even execute financial transactions, without the need of a centralized broker. This type of autonomy is possible because the nodes in the blockchain network will verify the validity of the transaction without relying on a centralized authority.
Installation:
The IonBloc SDK allows for a seamless connection to our private Blockchain. Here’s how you can do it. You need to have a Raspberry PI 3 with a 16GB SD card and running the latest Raspbian OS. Also, you need to have a stable high speed Internet connection (500 kbps at a minimum)
Download the Zip file from Github or execute a git clone command on our repository.
Extract and Install the SDK using the Installation script.
Some of the necessary support libraries are installed and you are taken to a GETH console.
Once you are in the GETH console,
Create a new account. (Noted down the password)
Provide our Admin Enode address and Pair
That’s it you are connected to our private Block Chain.
Now the possibilities are endless, but to get you started we have given a sample code and procedure to create contracts to blink an LED connected to a GPIO pin on the R-PI.
You can create contracts which have more features, which can read sensors, turn on actuators, monitor sensors etc. IonBloc SDK is just the starting point … the tip of the iceberg. Some of the more advanced use cases can be found in
IonBloc SDK is just the starting point … the tip of the iceberg. Some of the more advanced use cases can be found in
Industrial and manufacturing for improving monitoring and efficient “Just in Time” (JIT) processes.
Connected and Driverless vehicles where every vehicle becomes a node and there can be an efficient vehicle to vehicle communication.
Public infrastructure and smart cities: Smart devices are already being used to track the health of bridges, roads, power grids etc. Blockchains can be used to interconnect these to share efficiencies and to conduct maintenance, forecast usage trends for power usage, pollution etc.
We have given a limited set of features to create a working POC that can be later developed into fully fledged modules. There are many more features that can be added as a part of customization for specific requirements. We can do a lot more with IonBloc (some of the features are present in the data flow diagram).
Please feel free to contact us at the mailto:[email protected] for any information or customization.
0 notes
paasmer-blog · 7 years
Text
Smart to Social – Evolve of Social IOT
Sridhar krishnan
Things, the smart objects turn to social objects to boost the pace of IoT emergency and to make it more universal. The relationships of co-location, co-ownership, co-work and parental among friend objects provide a platform to share services, information, computing, and other resources and output. This modern promising paradigm of technology extension is called Social Internet of Things (SIoT). An inevitable aspect of SIoT is the convergence of smart objects and social media that can introduce new social interactions by enabling the things to have their own social networks and interactions. The smart objects can establish their social relationship based on their activities, interest, and profile.
Here are the three main facets of an SIoT system:
The SIoT is navigable. We can start with one device and navigate through all the devices that are connected to it. It is easy to discover new devices and services using such a social network of IoT devices.
A need of trustworthiness (strength of the relationship) is present between devices (like friends on Facebook).
We can use models like studying human social networks to also study the social networks of IoT devices
Basic Components
In a typical social IoT setting, we treat the devices and services as bots where they can set up relationships between them and modify them over time. This will allow us to seamlessly let the devices cooperate among each other and achieve a complex task.
To make such a model work, we need to have many interoperating components. Let us look at some of the major components of such a system.
ID: we need a unique method of object identification. An ID can be assigned to an object based on traditional parameters such as the MAC ID, IPv6 ID, a universal product code, or some other custom method.
Meta information: along with an ID, we need some meta information about the device that describes its form and operation. This is required to establish appropriate relationships with the device and appropriately place it in the universe of IoT devices.
Security controls: this is like “friend list” settings on Facebook. An owner of a device might place restrictions on the kinds of devices that can connect to it. These are typically referred to as owner controls.
Service discovery: such kind of a system is like a service cloud, where we need to have dedicated directories that store details of devices providing certain kinds of services. It becomes very important to keep these directories up to date such that devices can learn about other devices.
Relationship management: this module manages relationships with other devices. It also stores the types of devices that a given device should try to connect with based on the type of services provided. For example, it makes sense for a light controller to make a relationship with a light sensor.
Service composition: this module takes the social IoT model to a new level. With SIoT, things can publish information and services, find information and services and get environment characteristics that can be used to achieve the following,
Communal sharing – Behavior of objects with collective relevance
Equality matching – Objects operate as equals and requests/provide information among them in the perspective of providing IOT services to users while maintaining their individuality
Authority ranking – Established between objects of different complexity and hierarchical levels
Market pricing – Working together with the view of achieving mutual benefit. Participation in this relationship only when it is worth the while to do so.
The goal of having such a system is to provide better-integrated services to users. For example, if a person has a power sensor with her air conditioner and this device establishes a relationship with an analytics engine, then it is possible for the ensemble to yield a lot of data about the usage patterns of the air conditioner. If the social model is more expensive, and there are many more devices, then it is possible to compare the data with the usage patterns of other users and come up with even more meaningful data. For example, users can be told that they are the largest energy consumers in their community or among their Facebook friends.
References https://www.hindawi.com/journals/jece/2017/9324035/ https://www.linkedin.com/pulse/social-internet-things-future-smart-objects-michael-kamleitner https://www.journals.elsevier.com/future-generation-computer-systems/call-for-papers/enabling-technologies-for-social-internet-of-things https://www.slideshare.net/LuigiAtzori/social-io-tsito-siot?ref=http://www.social-iot.org/
0 notes
paasmer-blog · 7 years
Text
How to use the ION-TOR SDK
Srinidhi Murthy
First Up, What is this TOR Network? TOR or The Onion Router funnels all the data traffic from the device to its end user or master update servers via a Tor-Kind connection, instead of using the public Internet.
The software is run to turn on a Tor configuration, which, in a simplified explanation, sets up a special Onion site on the device. Remote users who want to access the IoT device will need to know the Onion link to the software first, which will then relay the connection to the actual IoT device, working as a proxy. The advantages of using such a system are palpable, for both users and IoT vendors, who might be interested in embedding such technology into their devices by default.
First off, there’s no need to complicate software development with setting up complex SSL/TLS certificates for supporting HTTPS connections, since all Tor connections are encrypted by default, with several layers of encryption (Onion protocol).
Secondly, users don’t need to uselessly open firewall ports or use VPNs to access their IoT devices.
Here’s a simple illustration of how a traditional TOR network Works.Overview
The ION-TOR SDK provides the ability to connect your things or Devices to the Internet and the ability to control them across a TOR Network via a TOR Browser.
The ION-TOR SDK for Single Board Computers (SBC) like Raspberry-PI, Intel Edison, and Beagle Bone is a collection of source files that enables you to connect to the ION-TOR service. It includes the tor libraries to connect to TOR network. It is distributed in the application form and intended to be built into customer solution along with other libraries. The below Image represents how ION-TOR works.
Features
The ION-TOR-SDK simplifies access to the TOR network and automatically configures an .onion DNS name along with a hidden service for accessing a UI on a TOR browser. The SDK installs all necessary software and creates a simple web UI through which sensor data can be viewed and actuators controlled. The SDK has been tested to work on the Raspberry Pi 3 running Raspbian Jessie. Support for Other SBC's running any flavors of Linux would be available shortly.
Installation Installation of the ION-TOR SDK is a matter of a few simple steps and viola! You are ready to control and read sensor information from anywhere in the across a TOR network. The TOR SDK can be installed from the GitHub location. Following the steps in the installation guide (Readme file) will complete the installation.
Installation includes the following modules.
HostAPD: to provide an access point for Wireless sensors to connect.
LAMP Serve: Facilitate the being up of the UI on the SBC.
TOR Installation : Configures Hidden service and provides the “dot onion” DNS address.
Configuration files need to be edited to give proper names to Sensors and Actuators
Running the given script enables the data gathering from sensors after configures interval and is stored in the DB.
Tor Client Access Setup
The TOR Browser allows you to access your PAASMER-ION-TOR instance over Tor from your laptop or mobile device, using Tor Browser
A Hidden Service Authentication credentials must be added to the TOR browser to allow the access of the Hidden Service configured on the SBC. Once connected to the "dot onion" site, you are presented with a graphical representation of your sensor data and Actuator control. This Sensor data being displayed is live data and you can turn on and Off Actuators.
The ION-TOR SDK can be used to create Proof of Concept projects that can be later developed into fully fledged modules. There are many more features that can be added as a part of customization for specific requirements.
The ION-TOR SDK provides a completely anonymous way of accessing your devices, things, sensors and it protects the users and the devices from attacks like DOS, Bot-nets etc.
All connections will go through the Tor hidden network, and nobody will know to what you’re connecting. It could be your IoT baby cam at home or a drug marketplace. It’s anyone’s guess.
Scanning Tor-protected IoT devices are technically impossible. This means no more searching for vulnerable IoT devices via Shodan and blindly stumbling upon vulnerable equipment.
Please feel free to contact us at the [email protected] for any information or customization.
0 notes
paasmer-blog · 7 years
Text
Why Edge Analytics should be part of the IOT strategy of an Organization
Sridhar krishnan
The organizations in today’s ever changing competitive world should be capable of adopting to changes quickly and seamlessly. The organizations should carefully invest in right technologies to align with its strategy to attain maximum benefit. With growing and increasingly disbursed sources of information and the pace of organizational change accelerating rapidly, the ability to filter and analyze only the time-sensitive data both in real-time and historical in edge side and non-time sensitive data in the cloud is invaluable. It is cost effective approach to have central data analytics infrastructure only for non-time sensitive analysis and moving analytics to Edge gives an opportunity to monitor and running stream and batch analytics to get insights to take decisions quickly with speed and simplicity.
Three central value propositions of Edge Analytics:
Real-time response – There are many critical systems that can’t depend on a cloud connection for a decision. A few seconds of latency can make a significant difference for an operation with massive power consumption from multiple sources. And sometimes connections fail entirely, which is far more damaging than simple latency.
Cost of data transmission – Rule-based engines can filter out the noise and send only the interesting information back to the central repositories. Gateways can also batch information into packets with smaller footprints that are more optimal for a given means of transmission.
Information management – Edge processing can make a significant impact by cleaning and be harmonizing data before sending it off to central information management systems. this type of edge processing improves central data mining and analytics capabilities.
Edge Analytics is the game changer in all the industries including industrial IOT, retail, manufacturing, finance, energy and agriculture sectors.
Core benefits of edge analytics and industries where it makes more sense are,
Remote Monitoring in Oil & Gas Drilling, Oil & Gas Refineries, and Wind Turbines industries.
Preventive Maintenance in Factory Robots, Airplane Tires, and Energy Grid industries.
Personnel Safety in Refinery Gas Leaks and Contamination Containment.
Real-time Quality Assessment in Oil Drilling, Manufacturing Cell, Train Repair
Asset Health in Readiness Assessment.
Efficiency Through Digitization & Automation in Smart Meters, Utility Billing, etc.
Cost Reduction Through Better Facilities Management in Energy Management & Reduction.
Business use case examples
Manufacturing Manufacturing organizations must run data aggregation, data preparation and analytic workflows at the source, where the data is generated. When linked to sensors along the path of production, analytic models running on gateway devices at the network edge evaluate and score manufacturing output by parameters such as size, temperature, pressure, color, vibration, and weight. When variances are detected, the embedded sensor, smart device or gateway immediately sends alerts or even stops production to help limit waste. The manufacturing process benefits from the flexibility to monitor and update the model at the point where data is generated and from the network efficiency to send only valuable information like state changes back to the cloud for deeper analysis.
By using machine learning, data mining and advanced analytics at the source of the data to examine thousands of steps per process, manufacturers can catch small, bad batches before they become large, seriously bad batches. One pharmaceutical company discovered that minimizing scrap and wasted resources saved them several hundred thousand dollars. Their Edge analytics implementation combined with a program of statistical process control featuring audit trails and role-based security, allowed them to recover their investment in edge analytics in the first quarter after implementation.
semiconductor manufacturers automatically analyze and classify patterns of failures such as scratches or defects around the edges of silicon wafers. They identify possible root causes, and the specific processing steps and respective tools and machines that require inspection or maintenance.
Retail customer behavior analysis Near instant edge analytics on sales data, images, coupons used, traffics patterns, and videos are created – provides unprecedented insights into customer behavior. This intelligence can help retailers better target merchandise, sales, and promotions and help redesign store layouts and product placement to improve the customer experience. One way this is accomplished is through the use of edge devices such as beacons, which can collect information such as transaction history from a customer’s smartphone, then target promotions and sales items as customers walk through the store.
Banking Edge Analytics helps banks to understand their customers better by providing insights such as location-based suggestions and customer recommendations. Embedded in the bank’s customer channels – online banking or mobile banking, edge analytics delivers transactional behavior and location-based suggestions in real time.
Agriculture We believe Edge Analytics can come into play in sectors such as farming and agriculture largely wherein regardless of the network, analytics can point out equipment failure or irrigation leaks.
0 notes
paasmer-blog · 7 years
Text
Machine Learning and IoT
Srinidhi Murthy
Given all the hype and buzz around machine learning and IoT, it can be difficult to cut through the noise and understand where the actual value lies. In this Blog, we explain how machine learning can be valuable for IoT when it’s appropriate to use, and some machine learning applications and use cases currently out in the world today.
What is Machine Learning?
Machine Learning is not a novelty innovation. As early as 1959, Arthur Samuel defined the concept of machine learning as the ability of computers to learn to function in ways that they were not specifically programmed to do. Of course, the timeline from definition to implementation in everyday life can be a long one. Today, many factors have come together to make machine learning a reality, including large data sources that are great for learning, increased computational power for processing information in split seconds, and algorithms that have become more and more reliable.
What is Data Analytics? How is it different from Machine learning?
Data analytics can help quantify and track goals, enable smarter decision making, and then provide the means for measuring success over time.
Machine learning, on the other hand, is a process of continuous learning, to which the system can make immediate adjustments to improve processes, timelines, decision making etc.
Machine Learning Use Cases in IoT
The data models that are typical of traditional data analytics are often static and of limited use in addressing fast-changing and unstructured data.
When it comes to IoT, it’s often necessary to identify correlations between dozens of sensor inputs and external factors that are rapidly producing millions of data points.
In general, machine learning is valuable when you know what you want but you don’t know the important input variables to make that decision.
Some of the typical use cases of Machine Learning and IoT are given below.
Cost Savings in Industrial Applications
Predictive capabilities are extremely useful in an industrial setting. By drawing data from multiple sensors in or on machines, machine learning algorithms can “learn” what’s typical for the machine and then detect when something abnormal begins to occur.
A Large Equipment Manufacturer has installed Many IoT sensors on its equipment which continuously send data to be learned and any deviation above a threshold be highlighted and immediately triggered as a notification to the concerned person.
Shaping Experiences to Individuals
We’re actually all familiar with machine learning applications in our everyday lives. Both Amazon and Netflix use machine learning to learn our preferences and provide a better experience for the user. That could mean suggesting products that you might like or providing relevant recommendations for movies and TV shows.
Similarly, in IoT machine learning can be extremely valuable in shaping our environment to our personal preferences.
The Nest Thermostat is a great example, it uses machine learning to learn your preferences for heating and cooling, making sure that the house is the right temperature when you get home from work or when you wake up in the morning.
And More
The use cases described above are just a few of the virtually infinite possibilities, but they’re important because they’re useful applications of machine learning in IoT that are happening right now.
But overall …. We’re Just Scratching the Surface. The billions of sensors and devices that will continue to be connected to the internet in the coming years will generate exponentially more data. Not only will we be able to
predict when machines need maintenance, we’ll be able to predict when we need maintenance too. Machine learning will be applied to the data from our wearable devices to learn our baseline and determine when our
vitals have become abnormal, calling a doctor or ambulance automatically if necessary.
Beyond individuals, we’ll be able to use that health data at scale to see trends across entire populations, predicting outbreaks of disease and proactively addressing health problems.
0 notes
paasmer-blog · 7 years
Text
Save the environment – IOT is the way to go
Sridhar krishnan
Saving the environment from pollutants, waste dumps, carbon emissions, contaminated water and contaminated land is very important and must be done to protect the earth for a clean and healthy life. Technology should be used wisely to achieve the same. With advancements in sensor technologies, edge devices, communication protocols, and data analytics, IOT is the perfect solution to save the environment.
Waste collection, segregation, recycling and waste treatment is the standard and established the process in waste management. But the challenge is, executing this process as the amount of waste generated is keep increasing in a faster pace with growing world population. As this is a continuous process, this must be supported by the right government policies, strict measures, auditing, educating people and perfect implementation. A small deviation in the process may cause big damages to the environment. This must be handled with the right technology in all levels, IOT can offer end to end solution to achieve the smart waste management to save the environment.
For smart waste collection, IOT can make the Trace bins as smart Trace bins and connect them to the pickup vehicles and control center. The sensors in the trace bins will notify when the bins are full to the pickup vehicles and the nearest one can collect the waste. This will help to empty the bins as soon as they are full and efficiently allotting pickups to save time and cost. Waste segregation is an important process in waste management. Sensors can be used to automate the segregation process. IR proximity sensors are used in an automation system, Capacitive sensors can be used to segregate wet and solid waste. The segregation process can be connected to waste management IOT system to collect data on diverse types of waste collected from different centers, the data can be used for further analysis to derive useful and meaningful insights. Segregated waste based on the type, can be converted or recycled to other products. The final waste must be treated before dumped in landfills to make sure it will not contaminate land and water. IOT sensors and devices in each level can be efficiently used to collect data and manage the entire waste management process to reduce the damages to the environment.
IOT can also be used for Wastewater treatment. It offers a cost-effective, energy-efficient and environmentally friendly solution. The various sensors can be used to measure water temperature, conductivity, pH, turbidity and dissolved oxygen content, as well as atmospheric conditions such as pressure, humidity and solar radiation. After collecting the relevant data, the system can communicate with IOT Gateway to upload the sensor data to the cloud for viewing and analytics. For more details refer http://www.engineering.com/IOT/ArticleID/14925/Wastewater-Treatment-with-the-Internet-of-Things.aspx
Carbon emission is another major spoiler of the environment. IOT can be used to capture real-time emission data from the sensors and feed it to a cloud storage built for Big Data ingestion, Analyze the data in real time and put in place rules that automate actions when limits are exceeded. Apps can be developed to offer visualization of CO2 emissions so that both the culprits and the government can keep a tab on the emission levels, and appropriate remedial measures can be taken.
IOT based smart solutions can be used to save energy in the home, industries, agriculture, transport, city management to save the environment. So IOT can play a key role in the resolution of these global environmental issues. Cheaper bandwidth, greater availability of computing power and reduced storage costs are all driving the adoption of IOT technologies to combat pollution in more and more innovative ways. With information coming in from so many sensors everywhere, IOT can provide more insight into how we use our world’s resources and how we can conserve them in a way that makes sense.
0 notes
paasmer-blog · 7 years
Text
Smart Transportation and IoT
Srinidhi Murthy
Thanks to laptops and smartphones, human beings are able to stay connected to the Internet more often that ever before, but yet there are still some notable dead spots, particularly in cars, buses, and trains. Anyone with a daily commute can speak to lapses in coverage on the subway or when going through a tunnel.
But the Internet of Things is looking to change all that and keep people connected at every moment of every day. Connected cars, buses, trains, and even planes will allow people to have a stable Internet connection at almost all times.
And the transformation won't stop there, as the IoT will make transportation itself more efficient and help us get from place to place more quickly.
A new term called as "Internet of Transportation" has been coined and it will create the new era of connected transportation and change how we travel.
With Internet of Transportation assets we can:
Reduce congestion by monitoring and controlling traffic lights.
Send alerts to drivers and emergency responders on trip conditions, then offer alternative routes.
Reduce fuel consumption and vehicle emissions.
Provide smart parking solutions that identify and communicate available spaces.
Improve safety for motorists, pedestrians, and bicyclists.
Identify structural issues of bridges, roadways, and tunnels.
Provide smart lighting and security monitoring for city streets.
Let's look at some of the use cases of Smart Transportation and how they are implemented.
Fleet Management: Fleet telematics solutions help businesses, transportation carriers, and governments improve economics, safety, and compliance by intelligently monitoring and controlling their vehicles.
Specific or Generic Smart Applications gather and analyze data from on-board instrumentation and GPS sensors to track vehicle status and location, optimize routing, and monitor driver and equipment performance and productivity.
Connected Cars:
In the last few years, connected cars or smart cars have surged in popularity thanks to the IoT. Today, car companies are connecting their vehicles in two manners: embedded and tethered. Embedded cars employ a built-in antenna and chipset, while tethered connections make use of hardware to let drivers connect to their cars through their smartphones.
On top of this, app integration is becoming more and more standard in the car of today. Google Maps and other navigation systems have started to replace built-in GPS systems in dashboards.
Apps such as GasBuddy show the driver where he or she can locate the cheapest fuel in their area. And music apps such as Spotify have started to away the need for traditional and satellite radio.
Transport Logistics:
Intelligent transport logistics solutions help long-haul cargo operators and last-mile delivery providers efficiently manage the transportation and distribution of freight and merchandise.
Smart applications gather and analyze data from onboard sensors to track containers and packages, and to monitor environmental conditions, ensuring goods arrive on time, at the right place, intact.
Traffic and Parking Management:
Integrated Traffic and Parking Management Systems can reduce congestion and save fuel in Business Districts and City Centers. Sensors built into Parking Meters can indicate to a server when a parking slot becomes available. A car User with a Smart Phone App can request to find a parking space within a designated radius based on the GPS location and the server responds with the available parking spaces. This saves fuel and congestion caused by Simply using visual parking search methods.
Traffic Management systems can use sensors, cameras, to find out intersection that has become congested and Use smart algorithms to determine which direction the traffic needs to be moving too quickly clear congestion. It can also act as an Emergency response systems in case of accidents or emergencies.
PAASMER: Paasmer is an IoT Platform As A Service which can connect any of your IoT devices to the the Paasmer Platform allow for control, visualization and Analytics of Data that are received from the Sensors.
What can PAASMER do for Smart Transportation: PAASMER is a flexible, economical and easy way to connect your IoT devices and it works on a various range of Hardware devices that are available off the shelf. Using Paasmer Building POC for Smart Transportation would be most reliable, fast and economical. Please do visit us at paasmer.co for more details.
0 notes
paasmer-blog · 7 years
Text
IOT in Renewable Energy - Challenges and Solutions
Sridhar krishnan
Renewable energy business is continuing to grow all over the world as the entire world is looking for clean and alternative energy source to control the pollution.
IOT solutions are helping this business to improve operational excellence, efficiency, cut cost, fix issues proactively, increase productivity and profitability. The effective use of IOT is the differentiator among the competitors. Real-time analytics can make a significant difference to act quickly to identify and fix issues and improve operational excellence. The challenge in the system is the amount of data being collected from the power sources, it is huge. This challenge is common for both wind and solar energy systems where the wind turbines and solar panels are many in number and are spread across various places. As the amount of data being generated is huge from these sources, the cost of sending these data to the cloud and using big data infrastructure are increasing the overall cost of operations. And it impacts the network latency and performance.
Wind energy In a large Wind energy farm, the IOT system is collecting data from sensors that includes Acceleration, Temperature and Vibration data from turbines. These data need to be collected and analyzed in real-time or near real-time for quick analysis and actionable insights for performance optimization to increase productivity and predictive maintenance to avoid downtime.
The challenge with this IOT system is transferring huge data from various locations in real-time to a central location to run queries on the data and perform analytics. This makes the cost of data transfer much higher than the benefits it is giving.
Solar Energy In solar energy infrastructures, the essential data that can be collected from the sensors by IOT system includes Irradiance (Solar panel tilt angle), wind factors. Ambient temperature and location. This data can be used for performing analytics, compute predictive algorithm, calculate the energy that is being generated in all the connected solar energy system, analysis of energy generation pattern, Fault/ Problem detection and Real-time visualization of the solar systems. The data need to be collected and analyzed in real-time
Like IOT system for wind energy, the challenge of transferring huge data in real-time to cloud exists in this IOT system also as the size of the data from each Solar unit is huge.
Decentralization - Edge analytics
Decentralization of data storage, processing and analytics can solve the problem of sending huge data to the centralized cloud. Ability to run queries at any given time can be achieved by Edge analytics. The data generated from the solar panels or wind turbines can be filtered at the edge and send only the meaningful data to the cloud to run queries for analytics, this will help to reduce the data transfer cost. Real-time and post-mortem analytics can also be done completely in Edge gateway or with cloud analytics whichever is the best suitable and cost effective for the specific renewable energy use case.
So, the existing challenges in IOT systems of renewable energy can be handled by implementing a decentralized IOT solution with data filtering, processing, and analytics done in Edge side of the IOT solution.
0 notes
paasmer-blog · 7 years
Text
Build Your IoT Solution using PAASMER SDK
Srinidhi Murthy
An IOT device is a hardware that connects with various sensors in the enterprises or industries, collects data, preprocess, send them to cloud hosted IOT platform or an IOT application for further analysis and interpretation to present them for decision making or feed them for process efficiency and production improvement. The IOT devices should be developed with the support for IOT communication standards to communicate with different kinds of sensors in the industry and IOT devices should be communicating with each other.
An industry who wants to implement the IOT solution in their company may need to develop different kinds of IOT devices to collect data from various sensors from various locations. It is a time consuming for any IOT solution provider or IOT device developers to develop a new IOT device/solution quickly with support for various kinds of connectivity standards from the scratch.
Once the devices are developed and deployed, the IOT solution should provide a management console to view their devices, the sensors connected to devices and the data collected from them in an easily understandable format. The user who has the authority to manage the IOT devices to view the data and control the devices should be provided with easy to use user interfaces in web UI or smartphone Apps to control the devices. Developing such a management console from the scratch is time-consuming.
An IOT development platform with software development kits to provide APIs to develop IOT devices using commonly used open source IOT hardware can enable IOT solution developers, IOT device developers, and IOT consultants to quickly develop and implement IOT solutions with different kinds of IOT devices.
The IOT platform can also provide a management console to manage all the IOT devices, sensors and their data presented in a user editable formats with control options. The platform can be hosted in in-premises and(or) in the cloud and can connect with the various IOT applications analytical and management applications. This can enable developers to develop value-added IOT solutions quickly.
The software development kits provided in IOT development platform can also provide APIs to quickly develop security layer of IOT solution like TOR and Blockchain.
PAASMER SDK It enables you to do Design, Connect and Analyze your data using PAASMER’s IOT platform.
Design: PAASMER’s SDK allows you to connect any sensors to existing IOT boards in the market like Raspberry Pi, Node MCU, and many other IOT boards. The PAASMER platform is hardware agnostic. The trial build will provide support for connecting sensors to RPi and Node MCU and supports languages like C and Python.
Connect: PAASMER SDK enables easy connectivity of your IOT devices to PAASMER cloud. The SDK allows communication of all the IOT devices with the PAASMER cloud. It works with all the popular platforms and supports multiple communication protocols. The trial version will support the Wi-Fi method of communication using MQTT protocol and RESTFUL APIs. The SDK allows managing all the devices connected to the PAASMER platform.
Analyze: The PAASMER Developer Login enables the users to Analyze the data that is being sent from the devices and draw a meaningful conclusion out of it. There is also an option for Manual control of sensors based on inputs received.
Overview of PAASMER IOT platform
SDK: The PAASMER SDK for Embedded C, Python and ESP Open RTOS is a collection of source files that enables you to connect to the PAASMER IOT Platform. It includes the transport client for MQTT with TLS support. It is distributed in source form and intended to be built into customer firmware along with application code, other libraries, and RTOS.
Features: The SDK’s simplifies access to the Pub/Sub functionality of the PAASMER IOT broker via MQTT. The SDK has been tested to work on the Raspberry Pi 3 running Raspbian Jessie and NodeMCU / Adafruit Huzzah. Support for Other SBC's running any flavors of Linux would be available shortly. The SBC-SDK provides functionality to create and maintain a mutually authenticated TLS connection over which it runs MQTT. This connection is used for any further publish operations and allow for subscribing to MQTT topics which will call a configurable callback function when these topics are received. More information is available about the SDK’s at https://github.com/PAASMERIOT/
Developer Login: The PAASMER Developer Login provides the ability for the User to register, Login, View devices, sensor data and the ability to send control messages to the Edge hardware.
Features: The PAASMER developer Login is available at http://developers.paasmer.co. Here the user can register for the free trial and upon verification of the credentials is allowed to Login.
After login, the user is directed to the various available SDK’s that he can download and edit the same to enable his devices to be connected to the PAASMER IOT platform.
Once the SDK’s are downloaded onto the devices and his credentials entered and the program is running, the device is connected the PAASMER IOT platform and starts sending sensor information.
This sensor information is available on the PAASMER Developer Login for viewing and base on the sensor information the User can take actions using the control feeds to control actuators.
0 notes
paasmer-blog · 7 years
Text
IOT will be inherent force behind Wearables
Sridhar krishnan
The capabilities of IOT with the wearable devices like internet connectivity, a device to device communications, lightweight apps, data filtering, local and cloud analytics, etc.., are bringing many opportunities to develop more meaningful solutions for consumers. Here, I would like to talk about few of them.
The wearable devices with the technological innovation of IOT are widely successful in providing the fitness and healthcare related solutions. We have a lot of scope for environmental monitoring also, but the challenge is cost and power. A very few are successful in low cost and low power sensors in wearable devices used for environmental monitoring. These environmental devices can collect data on Air, Light, and Sound. With continuous innovations in sensors, we can expect that the manufacturing and operation cost of these devices will become more affordable and capable of sensing multiple environmental data. The wearable nature of the device gives constant mobility to the device. This opens up an opportunity to crowdsource the more accurate and real-time environmental data with location details. The data collected by the device can be from the sensors embedded in it and from other sensors in reachable distance based on the supported protocols and standards.
Having more accurate and crowdsourced real-time environmental data in the cloud combined with another cloud accessible real-time and forecasted environmental data from static stations set up by governments and institutes brings tremendous opportunities for IOT device manufacturers and solution providers to build innovative, value added, cost effective consumer devices and solutions.
In health care, the environmental data can be used for the clinical diagnosis and treatment of many human pathologies which are influenced or triggered by environmental stimuli. By analyzing the consumers’ health data like health history, medical records and any other health-related data with the environmental and location data, we can develop customized healthcare solutions to help consumers with health advisories and warnings. It can also be used to provide B2B solutions like connecting consumers with doctors for consultation, Pharmacy to order suggested list of things to order, etc.,
The consumer specific health data and location specific real-time and forecasted environmental data can also be used to provide travel advisories and b2b solutions with a list of things to carry based on the mode of transport and travel locations, and option to buy the recommended list of things online. So, with the capabilities of IOT, we still have lot of opportunities that can be explored with the wearable devices in healthcare, travel, city management, traffic management, waste management, disaster management, etc.,
References - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4295929/
0 notes
paasmer-blog · 7 years
Text
Transforming Hydroponics and Aquaponics farming Using Internet of Things
Kavitha Gopalan
With the growth in urban population, the need for more space seems perpetual. Traditional farming techniques are known for the need of large lands and the enormous amount of water. So the need for revolutionary farming techniques which occupies lesser space, consume lesser water and can give larger produce have led to the popularity of farming methods like hydroponics and aquaponics.
Hydroponic farming is a system of growing plants without soil using nutrient-laden solution to deliver nourishment directly to the roots of the plants. In hydroponic farming, the idea is to create a controlled environment for the plants with the right level of temperature, moisture, CO2, pH, water level and nutrients and supplying this solution directly to the plant's roots. This method of creating an optimal environment for plants helps to increase the productivity by 3 folds. It also has other benefits like the re-use of the nutrient solution, reduces the amount of water used for farming by recycling, reduced fertilizer usage and requires lesser space.
Aquaponics is a system which uses aquaculture with hydroponics. In an aquaponics system, water from an aquaculture system is fed to a hydroponics system where the by-products are broken down by nitrifying bacteria initially into nitrites and subsequently into nitrates, which are utilized by the plants as nutrients, and the water is then recirculated back to the aquaculture system.
While these new techniques promise great results, it has certain inherent challenges which inhibit its widespread adoption.
The biggest hurdle for its adoption is the maintenance of the system. It could be time-consuming and be challenging to understand and constantly monitor the hydroponic or aquaponic systems.
Setting up these systems could be a mammoth task, the number of sensors to be installed, the triggers and the parameter configuring could be time-consuming.
It also requires constant monitoring of the sensors and the system. A hydroponic farm must be regularly attended to by a farmer, to know if there is any blockage in the drainage system, to understand if any system failure/power failure if the pump is on/off. If they must set-up multiple farms then scalability becomes an issue.
IOT will be a key problem solver for hydroponics and aquaponics systems with its ability to connect various sensors in the field to cloud and allowing it to be monitored and controlled from anywhere.
The Union of Internet of Things and hydroponic farming will be the future of demystifying the hydroponic farming and making it easier for adoption.
The internet of things will bring in features like automation, remote monitoring and control and build intelligence into the hydroponic farming system. This helps to prevent the need for the human presence in the farm every time and allows efficient monitoring and control of the farm from a remote location.
Sensors mounted in the farm could be used for monitoring CO2, air current, lighting, fertilizer flow, and the pH of the soil. The readings from these sensors are then analyzed in cloud systems. These readings are monitored continuously and tuned if there is any change in environment. Immediate alerts of the status and action will result in increased yield.
2 notes · View notes
paasmer-blog · 7 years
Text
Basic concepts in a Blockchain transaction
Chandramouli Srinivasan
In this blog, Demir talks about the basic terms used in Blockchain like Hashing, Decentralization, Digital Signature, Share Crypto currency, Minors (Agents), Blockchain (The Ledger). Using Blockchain technology means
All transaction is made over the Internet using P2P communication, thus removing the need for a central authority.
Users can perform anonymous transactions by utilizing asynchronous cryptography and they are identified only by their private key/public key combination.
You have implemented a validated global ledger of all transactions that has been safely copied to every peer in the network.
These decentralized technology fundamentals can be leveraged by any centralized technology currently being used like IoT, Financial systems, insurance systems etc. The increase in computing power requirement for Blockchain is a potential issue for Blockchain implementations. However, there are many types of researchers underway that could change the way a commercial and viable implementation of Blockchain occurs.
More on this blog from Demir here: https://www.toptal.com/bitcoin/cryptocurrency-for-dummies-bitcoin-and-beyond
0 notes
paasmer-blog · 7 years
Text
Hybrid IOT: The path forward for Industrial IOT
Sridhar krishnan
IIOT for manufacturing efficiency
The Industrial Internet of Things can helpthe manufacturing industries to transformto a smart industry. It enables them to collect data on machines, manufacturing process, the products produced and the quality of the products from the systems like mechatronics, embedded systems and sensor hardware network. IIOT offers analytical applications to extract information from the raw data collected from various systems. The information helps the industries to improve the efficiency of the manufacturing process that will result in improve their productivity with optimized cost and improved quality, implement automation and predictive maintenance to avoid breakdowns.
Challenges with mix of legacy and modern systems
The challenges and complexities of industries in implementing IIOT applications are with various kinds of machines in the industry both legacy and modern. Most of the legacy machines have older sensors, controllers and proprietary systems, where as the modern manufacturing equipment offers a wide selection of connectivity options, a whole range of data feeds and integrates data into modern data analytics software. The industry is working on to build and implement standard protocols, compatible interfaces and architectures to achieve full interoperability. But bringing old machines into IIOT is continue to be challenging as they require retrofitting of sensors, connectivity and simple compute endpoints to generate any kind of meaningful data at all.
Edge devices can solve the problem
The Edge or Gateway IIOT device which can actas a bridge between the data generating end points and IIOT cloud applications can solve the problem of connecting older sensors, controllers and proprietary system by custom implementations.The different kinds of capabilities can be added in the Edge devices to access different kinds of machines and sensors both legacy and modern. These devices can be deployed and IIOT applications can be provisioned to implement machine to machine communications and to connect with IIOT management platform.
Hybrid IIOT development platform for Edge device development and management
We have a challenge in developing different kinds of edge devices to connect both older and modern machines with IIOT management platform to build a complete IIOT implementation for a manufacturing industry.
A hybrid IIOT platform can solve this challenge by offering the different kinds of Edge device development kits both in-premises private cloud with industry specific support to develop and manage the edge devices for older machines and in public cloud with open standard support to develop and manage the edge devices for modern machines. So, A Hybrid IIOT development and management platform can solve the challenges in implementing a complete IIOT solutions for industries.
0 notes
paasmer-blog · 7 years
Text
Home Automation and HVAC Control
Srinidhi Murthy
The Internet of Things is set to disrupt the way we live and work, but for now let's focus on the "live" portion of that statement. Smart homes filled with connected products are loaded with possibilities to make our lives easier, more convenient, and more comfortable.
Imagine that you're driving home on a hot summer day. But rather than turn the air conditioner on when you get home and wait for your house to cool, you simply use your smart phone when you leave your office to tell your smart thermostat to lower the temperature.
Or imagine that you're cooking dinner, and you ask the voice assistant to read you today's biggest news stories so that you can focus on making your kid's favourite lasagne. There is no shortage of possibilities for smart home IoT devices, and home automation seems to be the wave of the future.
Experts estimate that the number of smart home devices shipped will grow from 83 million in 2015 to 193 million in 2020. This includes all smart appliances (washers, dryers, refrigerators, etc.), smart home safety and security systems (sensors, monitors, cameras, and alarm systems), and smart home energy equipment, like smart thermostats and smart lighting.
There are many benefits of home / building Automation which are listed below.
Security: Motion sensors
Efficiency: Automatic switch off when not in use.
Convenience: Control everything from your fingertips.
Savings: You save money with an efficient Home automation system.
The first and most obvious benefit to smart homes is convenience, as more connected devices can handle more operations (lighting, temperature, etc.) and frees up the resident to perform other tasks.
As with all shifts in technology, changes will happen in the ways we live and do business. With the actions being taken for more energy efficiency in construction and managing of buildings there is a big potential through Internet of Things. HVAC systems that can make their own intelligent decisions based on presence, weather and lots of other indicators have a great potential to cut energy use and cost.
We are also certain that new business models will emerge. HVAC systems using IoT will be able to predict situations from collected data and have automated alarms for service and maintenance that can facilitate new services.
Paasmer:
Mobodexter’s PAASMER provided the complete set of components to build this solution from End to End satisfying all the needs of the client in the shortest possible time frame.
Here we explain how PAASMER has been used to connect a traditional HVAC system using a custom built IR blaster to the Paasmer IoT platform and how to control the same remotely.
The solution has 4 modules, the Hardware, the Misty OS, the Paasmer IoT Platform and the App. We shall look at each of them below.
Gateway Hardware: The Gateway Hardware consists of a Network MCU boards with an IR Receiver and an IR transmitter connected to it. The Firmware that runs on the Network MCU is responsible for connecting to the Paasmer IoT Platform and ability to send and receive data from the Paasmer IoT platform.
It is also responsible for decoding the correct pattern to be sent via the IR transmitter and recording the correct pattern from the IR receiver.
Misty OS:
Misty OS is designed to be flexible, modular and gateway platform agnostic. The core functionality of the OS, Connectivity, H/W interface and middleware component are built into Misty OS. The gateway has interfaces for IR Transmitter and an IR receiver
It operates in two modes, Learning and Transmit.
In Learning mode, the Hardware learns all the new IR codes that are needed for a particular device and stores the data on the Paasmer IoT Platform specific to the user. The learning mode can be enabled from the App and has options to choose the device type and device sub type. Once all the buttons of the remote have been learnt it is ready to work.
In Transmit mode, messages are received from the App via the Paasmer IoT platform inform the Hardware to blast out the appropriate IR signature for the button pressed in the App. This IR signal is blasted across and very wide range using duplicate IR transmitters to cover an almost 360 degree range to control the HVAC system.
Paasmer IoT Platform:
Paasmer is a one stop shop for connecting all your devices to internet and read data from them as well as control them. The Paasmer IoT Platform hosts the message broker, the necessary business logic, data store and all the necessary interconnections between them. It provides a platform on to which all Gateway HW devices, mobile phones, websites can be inter connected.
App:
The App connects to the Paasmer IoT Platform and based on the user login details and displays the data of the devices that are available for control. The user can select the appropriate device and control the device using the buttons on his screen. These button clicks are translated to the respective messages which are published to the Paasmer IoT Platform.
In the current scenario a user wants to switch off the HVAC, so he selects the HVAC and then switches it off. These switches off messages are published to the broker on a particular topic. The Gateway Hardware is subscribed to this particular topic and hence receives the message.
The Gateway Hardware then decodes the message and immediately blasts the respective IR signature to turn off the AC.
0 notes
paasmer-blog · 7 years
Text
Demystifying the Blockchain Technology
Chandramouli Srinivasan
Blockchain promises to produce a shift in the current computing paradigm because it has the potential to become the infrastructure catalyst for the creation of decentralized applications. Blockchain is being seen as the next-step evolution from distributed computing architectural constructs, to a global database of data and interfaces, integrating all kinds of machines and sources of data.
Four underlying concepts in Blockchain are:
Blockchain.
Decentralized databases applications consensus.
Smart contracts.
Proof of Stake(PoS).
1.Blockchain
As we all know blockchain technology started with the bitcoin. Bitcoin is a a peer-to-peer electronic payments system, also known as a cryptocurrency, that allows people to make instant, anonymous transactions online.
The unique characteristic of bitcoin is that it records every single transaction made on its network in a public record. This is known as the “blockchain”. A new blockchain is created every ten minutes. That blockchain is afterwards shared throughout the network. The chain is constantly growing, because each completed “blocks” is added to the public ledger. There are an infinite number of blocks on the blockchain, because as soon as one block gets completed, another is automatically generated.
2. Decentralized Databases Applications Consensus
Blockchain’s potential for the development of decentralized database applications consensus is based on the unique characteristics of the technology, as outlined previously.
A decentralized scheme, on which the bitcoin protocol is based, transfers authority and trust to a decentralized virtual network and enables its nodes to continuously and sequentially record transactions on a public “block” creating a unique “chain”: this is the inception and keywords genesis for blockchain.
3. Smart contracts
A scaled blockchain is something that starts proving a new global (some how still science fiction) ecosystem. For this the smart contracts are the building blocks for decentralized applications.
Smart contracts are contracts whose terms are recorded in a computer language instead of legal language. Smart contracts can be automatically executed by a computing system, such as a suitable distributed ledger system.
4. Proof of stake
Proof of stake (PoS) is a method by which a cryptocurrency blockchain network aims to achieve distributed consensus. While the proof of work (PoS) method asks users to repeatedly run hashing algorithms or other client puzzles to validate electronic transactions, proof-of-stake asks users to prove ownership of a certain amount of currency (their “stake” in the currency). Peercoin was the first cryptocurrency to launch using proof-of-Stake. With Proof of stake, the probability of mining a block depends on the work done by the miner (e.g. CPU/GPU cycles spent checking hashes).
In this Toptal blog by Nermin as few more basic concepts around the Bitcoin – Crypto currency is covered https://www.toptal.com/bitcoin/blockchain-technology-powering-bitcoin
0 notes
paasmer-blog · 7 years
Text
Naturalizing IOT through standardization
Kavitha Gopalan
Internet of Things is one of fast growing technology in the recent years. Its expected that the growth of connected things will be around 50 billion by 2020. Every industry vertical has signed itself into embracing IOT either to create cutting edge products or for optimizing the resource and improve efficiency. As IOT growth explodes there are few challenges that are becoming key road blocks for a wider adoption of IOT. The two of the challenges that stands out are the security and Standardization.
Like any new growing technology standardization is important for IOT. Standardization will allows devices to interoperable in IOT and allow seamless integration between various verticals. Several attempts has been made to standardize IOT, new alliances and consortiums have been formed but there is yet no single winner though many have shown promises for becoming one.
Why is standardizing IOT difficult?
The main reason for the complexity of IOT standardization is the fragmented nature of its adoption base. IOT is a global phenomena and it has expanded its roots to all sectors of life- Factories, Healthcare, transportation, utilities, home. The standards and protocol used for one vertical may not scale well for the other . For example a smart home device may be managed with wireless protocol such as Zigbee or WiFi. But when IOT is used for an M2M application Zigbee or WiFi may not be the right approach we need to look at cellular communication protocols.
Similarly each layer of the IOT architecture could vary depending on which industry its used for. The way an industrial application handles data may be different from the way home device handles it. So arriving at common standard which is aggreable to all has been difficult.
Differences in IOT spring from each layer of the architecture. Each vendor/manufacturer use the approach which easily adaptable to their industry segment.
Where are we now?
Z-wave and Zigbee were the top standards used by several smart home manufacturers in the beginning. But they could not establish themself as the defacto standard for IOT. Then we had many more communication protocols that emerged as the one that could serve the needs of IOT, there re around 12+ protocols now available for IOT, Bluetooth, Zigbee, Zwave, EnOcean, NFC, WiFI, LPWAN, NB-IOT, weightless, LoRA, LTE, Cellular being some of them.
The differences are just not in the communication layer.Different standards are available for data transport in IOT - MQTT, CoAP, REST, SOAP, Websocket.
Many consortium and alliance have been formed to standardize IOT. Some of the as listed below
The Open Interconnect Consortium has come out with their IOTvity standards
AllSeen Alliance has their ALLJoyn standard.
THread group has the thread standard.
ZigBee Alliance has their Zigbee standard.
Z Wave alliance.
Industrial Internet Consortium.
The goal of these consortiums is to find a common ground /standard that every vendor manufacturer can follow while implementing IOT. But unfortunately they haven't been able to agree on the terms But currently no one has emerged as the leader in setting the standards. Disagreement in standards , licensing has been the reason for no clear winner. Which standard will emerge as a leader will be based on which is easily adoptable by manufacturers.
Right now every vendor puts together the pieces that works best for their application without much thought on the standards. But if IOT has to mature a common standard must emerge which would allow Interoperability of various devices and can scale to different industry verticals seamlessly. Whether this is possible or not depends on how much collaboration happens between these different consortium.
0 notes
paasmer-blog · 7 years
Text
How to Connect Raspberry Pi 3 to the PAASMER IoT Platform
Srinidhi Murthy
In this blog series we look at how to connect a Raspberry PI 3 to the PAASMER IoT Platform.
The PAASMER IoT Platform makes it simple for Internet of Things companies to build and launch IoT enabled hardware. PAASMER currently provides a SDK which can be installed on the hardware.
Modifying a few lines of code to provide the correct credentials and sensor information, it is ready to be connected to the PAASMER IoT Platform. The sensor data is then available on the PAASMER Developer Login, which can be utilized and actions taken by using the control fields to control various other sensors connected to the Hardware.
A pre-requisite for using the SBC-SDK is the available of the Raspberry Pi 3 hardware running Raspbian Jessie OS. More hardware and software support would be added shortly.
An account created in http://developers.paasmer.co allows for a 30 day trial period to explore the PAASMER IoT platform. After creating and activating the account, the SDK for the appropriate hardware can be downloaded.
Given below are the detailed steps to be followed after downloading the SBC-SDK.
PAASMER IoT SDK for Single Board Computers Running Linux
Overview
The PAASMER SDK for Single Board Computers (SBC) like Raspberry-PI, Intel Edison, Beagle Bone is a collection of source files that enables you to connect to the PAASMER IoT Platform. It includes the trasnport client for MQTT with TLS support. It is distributed in source form and intended to be built into customer firmware along with application code, other libraries and RTOS.
Featuers
The SBC-SDK simplifies access to the Pub/Sub functionality of the PAASMER IoT broker via MQTT. The SDK has been tested to work on the Raspberrp Pi 3 running Raspbian Jessie. Support for Other SBC's running any flavors of Linux would be available shortly.
MQTT Connection
The SBC-SDK provides functionality to create and maintain a mutually authenticated TLS connection over which it runs MQTT. This connection is used for any further publish operations and allow for subscribing to MQTT topics which will call a configurable callback function when these topics are received.
Pre Requisites
Registration on the portal http://developers.paasmer.co, is necessary to connect the devices to the PAASMER IoT Platform .The SDK has been tested on the Raspberry PI 3 with Raspbian Jessie (https://downloads.raspberrypi.org/raspbian_latest)
Installation
Download the SDK or clone it using the command below.
$ git clone github.com/PaasmerIoT/SBC-SDK.git
$ cd SBC-SDK
To connect the device to Paasmer IoT Platfrom, the following steps need to be performed.
$ cd external_libs/mbedTLS/
$ make
$ cd ../../
$ sudo ./install.sh
Upon successful completion of the above command, the following commands need to be executed.
$ sudo su
$ source ~/.bashrc
$ PAASMER
$ sed -i 's/alias PAASMER/#alias PAASMER/g' ~/.bashrc
$ exit
Go to the diectory below.
$ cd samples/linux/subscribe_publish_sample/
Edit the config.h file to include the user name(Email), device name, feed names and GPIO pin details.
#define UserName "Email Address" //your user name used in developer.paasmer.co for registration #define DeviceName "" //your device name #define feedname1 "feed1" //feed name used for display in the developer.paasmer.co #define sensorpin1 gpio-pin-no-for-sensor-1 //modify with the pin number which you connected the sensor, eg 6 or 7 or 22 #define feedname2 "feed2" //feed name used for display in the developer.paasmer.co #define sensorpin2 gpio-pin-no-for-sensor-2 //modify with the pin number which you connected the sensor, eg 6 or 7 or 22 #define feedname3 "feed3" //feed name used for display in the developer.paasmer.co #define sensorpin3 gpio-pin-no-for-sensor-3 //modify with the pin number which you connected the sensor, eg 6 or 7 or 22 #define feedname4 "feed4" //feed name used for display in the developer.paasmer.co #define sensorpin4 gpio-pin-no-for-sensor-4 //modify with the pin number which you connected the sensor, eg 6 or 7 or 22 #define controlfeedname1 "controlfeed1" //feed name used for display in the developer.paasmer.co #define controlpin1 3 //modify with the pin number which you connected the control device (eg.: motor) #define controlfeedname2 "controlfeed2" //feed name used for display in the developer.paasmer.co #define controlpin2 4 //modify with the pin number which you connected the control device (eg.: fan) #define timePeriod 15000 //change the time delay as you required for sending sensor values to paasmer cloud
Compile the code and generate output file.
$ sudo make
Run the code using the command below.
$ sudo ./subscribe_publish_sample
The device would now be connected to the Paasmer IoT Platfrom and publishing sensor values are specified intervals.
Support
The support forum is hosted on the GitHub, issues can be identified by users and the Team from Paasmer would be taking up requstes and resolving them. You could also send a mail to [email protected] with the issue details for quick resolution.
0 notes