Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

How do you connect IoT and an app?

310001RFBX gravatar image
Question by amaya024  (1) | Apr 19, 2016 at 09:02 AM iotibmcloudbigdata

I have to make an app that collects data from Sensortag 2.0 (Texas Instruments) in the vineyards using Bluemix and display it in the application using graphs and alerts depending on different conditions of the data collected and the weather. The thing is I'm a bit lost in what applications and things from the catalog of IBM I could use to make this happen.

Also, my biggest problem is that I don't know how to develop my Java application collecting the data from Bluemix. Specifically, I need some technical support/user guides to succeed in my project as I don't know how to process all this information and put it in an app.

I am looking forward to receiving your response.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

2 answers

  • Sort: 
27000182R2 gravatar image

Answer by ValerieLampkin (2820) | Apr 19, 2016 at 12:32 PM

This is not a comprehensive artchitectural design, but some ideas to get you started.

You can use the sensor tag recipe to connect your devices to the Watson IoT Platform on Bluemix.

Bluemix also offers an Insights for Weather service that may be useful in your design.

The github repository for iot messaging contains many sample apps to help you get started. If you are specifically looking for java, try this repository.

The visualization recipe contains information about how to display your data via graphical visualization.

For real time alerting, try the IOT Real Time Insights service to set rules and alerts on the data that you are publishing to Watson IoT Platform in Bluemix.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
310001RFBX gravatar image

Answer by amaya024 (1) | May 04, 2016 at 03:59 AM

Thank you for your answer, Valerie. ¿Do you know if it is possible to connect Node-RED directly with a web made by me so that it shows data of sensors in real-time without storing it into cloudant for example? ¿How could I make this happen?

Comment

People who like this

  0   Show 2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
27000182R2 gravatar image ValerieLampkin (2820) ♦   May 04, 2016 at 11:12 AM 0
Share

I believe that is possible, let me check with some colleagues to see if they have examples.

27000182R2 gravatar image ValerieLampkin (2820) ♦   May 05, 2016 at 09:59 AM 0
Share

We don't currently have a recipe tutorial for what you are asking.

I think you just need a client side JavaScript and then use it to get the events from the sensor tag and then use the events to visualize it. https://github.com/ibm-messaging/iot-visualization/blob/master/public/js/realtime/realtime.js is the JavaScript code written in visualization app to get the events and visualize it. You can use this as base and then build on this.

You could also try using the http in node to host the server in node-red and that can give the response with the events from the sensor tag.

Follow this question

64 people are following this question.

Answers

Answers & comments

Related questions

IoT Foundation with Arduino Mega: Reading sensor data JSON string length? 0 Answers

cc3200 stopped connecting to bluemix 2 Answers

Unable to get data from a registered Arduino device Using Node Red on Bluemix 2 Answers

Connect Paho MQTT javascript client to IOTF response code 200 1 Answer

Unable to receive events via MQTT for Internet of Things 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges