We have a libelium smart city kit, with which we have configured ambient sensor module and are able to connect the sensors (Waspmote) to the gateway (Meshlium) Meshlium is able receive the data from the sensors.
We have followed the recipes for Libelium:
https://developer.ibm.com/recipes/tutorials/bluemix-configuration-guide-for-meshlium/
We set-up the API keys in bluemix and configured meshlium to connect bluemix, but blumix is not receiving the data yet.
We are also able to ping to Bluemix from meshlium.
Need some help on where we are going wrong and is there any additional set-up required both at Bluemix end and meshlium end.
Related
I am tring to create a vehicle tracking system based on GPS & GMS using Teltonika FMB920 tracking device. I am a bit confused on following things:
How to setup the server for communicating with the device.
How to save the data sent from the device on the server.
Can I use any cloud platform like Azure or AWS IoT features for this purpose.
Any guidance in this regard will be really helpful for me.
How to setup the server for communicating with the device.
Teltonika fmbxxx typically send data using websockets TCP or UDP protocol. To setup the server correctly, the port that will be listening for data needs to be opened in the server and the server address and port need to be configured on the device with the teltonika configurator tool
how to update server settings in configurator tool
How to save the data sent from the device on the server.
This depends on your use case but a good idea could be to use nosql database to save the data from device received by the server since its easier to scale when data size grows and easy to query and read the data
Can I use any cloud platform like Azure or AWS IoT features for this purpose.
AFAIK yes you can. essentially what is need is server instance with a websocket client application that can receive data from tcp/udp protocol
I'm a student and I have a small IOT project at my university. I tried to connect MQTT Dash to IBM BlueMix IOT Flatform but failed. I can't publish/subscribe data on IBM IOT Platform. What do iI need to do?
all you need to do is generate and APIKey/Token like in:
https://console.bluemix.net/docs/services/IoT/platform_authorization.html#connecting-applications
then, to receive the messages, you need to subscribe to a topic as in
iot-2/type/device_type/id/device_id/cmd/command_id/fmt/format_string
In your case:
iot-2/type/Android/id/samsung/cmd/temperature/fmt/json
Details on publishing and subscribing are here:
https://console.bluemix.net/docs/services/IoT/applications/mqtt.html#mqtt
I wonder if there is any service in Amazon Web Services that i can use to catch the GPS data that send from my GPS tracker to a specific host:port or domain:port ?
My device is not a MQTT client so i can't use AWS IOT
Is EC2 the only choice ?
I want to integrate those GPS information in my web app ,right now it's in heroku hosting but i plan to transfer it to AWS if i solve this issue.
I am not familiar with the interfaces that your GPS trackers use. However, provided that you open the IP / Port in your security group so that your GPS tracker can connect to your own software, it will work.
[EDIT after question]
There are many ways (and services) in Amazon to capture data. The real answer depends on how your GPS tracker is connecting to an endpoint, how it is sending data and what interface it expects.
If your tracker supports using a REST style interface, you could use API Gateway with Lambda to process your tracker data and store in DynamoDB, S3, etc. Kinesis Firehose might be another service that could work.
I know we can send heartbeat payload through device monitoring topic. But do we have any another way where any IP capable device can send heartbeat to IBM Watson Platform through any IBM services or database for device tracking?
I assume with "any IP capable device" you mean you don't want/can install a MQTT stack?
You can use HTTP(S) instead, as described here
fyi: You don't need the IBM API client, any MQTT library is sufficient then you can also use MQTT instead HTTP(S)
Are there plans to build a Bluemix service for BACnet devices, if so, when will it be available.
This would be a great service for industrial device automation, to gather information from devices into a corporate Oracle database for analysis.
Thanks
BACnet defines a multitude of transport protocols besides TCP/IP. So you will most likely (since it is a mature protocol) find the bulk of devices communicating via something else than TCP/IP.
The specification mentions a BACnet Broadcast Management Device, which would be most likely the communications endpoint talking to Bluemix.
Using the IoT Foundation Service in Bluemix, you can reach Bluemix trough: TCP, UDP, MQ, MQTT, HTTP - basically anything that sends IP.
Have a look at the Bluemix service NodeRED that gives you head start.
What I would do:
NodeRed runs on PC or Raspberry PI too - use Thingbox for the PI
The PI has been shown to run BACNet
You even can buy BacNET for PI
Now the tricky part (we could collaborate on that): build some Nodes for NodeRED to do the BacNET interaction
With this approach you decouple the local BacNET network from the cloud. I would then use MQ(TT) to talk to the cloud, so you don't loose data when there is a connection challenge (e.g. you use 3G).
Does that help?
Take a look at the BACnet to IBM Watson IoT Gateway at
http://go-iot.io/try-bacnetws/
There is a link there to the Watson recipe and also a quite interesting link to a live BlueMix demo programmed in Node-REED using the BACnet to Watson IoT Gateway.
Notice that this gateway can also be used to tunnel BACnet/WS requests via MQTT to Watson, that is quite interesting.
BACnet/WS is the new RES Web Service standard from BACnet.