Watson IOT Platform dashboard - metadata

I am working on IBM Watson IoT platform. I wish to understand how I can view my meta data attributes related to ALL devices registered in the platform, on the platform dashboard (not per device or device type)

you can do that : go to you watson iot dashboard ,
1_ go to Boards.
2_ choose one board or create new one ( I recommand the device centric analytics
3_ click on add new card and choose linechart
4_then u ll have to select your devices types that u want to visualise ( select them all in your case ) and then enter data properties name u wish u visualize. u ll see them all in one line chart.
if you want to see them in seperate linecharts on the same board. add different linechart.
If this help u please confirm it by cliking the "green tick"

I am afraid that this is not possible at this point in time.
The metadata that is defined at the Device Type level is used a template when creating a Device of that type. However, the user has the ability to completely override this metadata at Device creation time. As a result, the metadata on every single device registered with the platform could be unique. For a single Org, this is a potentially huge number of devices spread across multiple device types.
Providing support for this functionality would be possible, but it is a new requirement. Please could you raise an enhancement request for this functionality?

Related

How to jump to a node using conditions after entities are captured using slots in another node using watson conversation?

I am trying to make a Watson conversation that will recommend the right product URL of a retail website.
So when I catch two entities ( item & brand ) in the dialogue node ( using slots ) which recognizes the #shop intent, I want to jump to different nodes depending on the values of those two intents. For example
If the item is a mobile phone and brand is samsung, then I want to jump to a node that will further collect details like color & memory ( using slots ) and provide the user with a custom URL for each combination. i.e url1 for white color and 64 GB phone, url2 for black color & 128 GB phone and so on.
But suppose if the item is a laptop and brand is samsung, then I want to jump to another node that will further collect details like amount of RAM, Hard disk space, processor type etc and provide the user with a custom URL for each combination.
Is this possible?
Also is it possible to skip the user input and move on to processing child nodes without using the "JUMP" option? after collecting values using slots? How is it done?
Your question is pretty broad and the answer is that it can be done.
Each dialog node can react to one or more conditions. Try to design your dialog in a real tree, so that you can branch out to laptops or mobile phone processing, etc. You can use the skip user input feature to directly go to a child node. That would allows going to a child node directly. Also see the "Configuring the Jump to action" at the same link on how to set up the branching.

IBM Watson IoT Platform - How to create application interface?

I've created devices and managed them with Node-RED. And receiving real-time data in my IoT platform board. So i wanted to access those data by REST API which i found this: https://docs.internetofthings.ibmcloud.com/apis/swagger/v0002-beta/info-mgmt-beta.html
Specially wanted to use this
/device/types/{typeId}/devices/{deviceId}/state/{applicationInterfaceId}
And i created schema by following this: https://developer.ibm.com/courses/labs/create-device-schema-internet-things-platform-service-ibm-bluemix-dwc013/
Then i requested to /api/v0002/applicationinterfaces, /api/v0002/schemas.
But both result was:
{"results": [], "meta": {"total_rows": 0}}
How can i create schema and application interface?
The /api/v0002/applicationinterfaces, /api/v0002/schemas will return 0 results because you need to use the POST methods described in https://docs.internetofthings.ibmcloud.com/apis/swagger/v0002-beta/info-mgmt-beta.html to create the schema and application interface.
However, from your question I think you simply want to access the device data. In which case view the documentation for developing applications https://console.bluemix.net/docs/services/IoT/applications/api.html#api, in particular you can access the last event for a particular device using the last event cache e.g. /api/v0002/device/types/{deviceType}/devices/{deviceId}/events
Finally I found the correct REST here which returns event data i.e. sensor data.
On this link refer Last Event Cache. The REST will return the "payload" field with encrypted value. Just decrypt that value and you will see the sensor data.
Thanks,
Rahul

Import graphics between differents Watson IoT dashboards

I have a board on my Watson IoT dashboard, which I use to monitor temperature real-time with a line graphic.
I have a second dashboard with a different organisation, and I want to import the graphic which is in the board in the first dashboard, without making again the same graphic.
I've already tried that solution and, even if possibile, it wouldn't be efficent. I mean, I already have the data on IoT why sending from IoT to Iot?
So, can i display on, let's call it... dashboard2, the board with the temperature (or any other property) which is in dashboard1 without sending or duplicate data on dashboard2?
If so, how can i do that? It's almost a week that I'm searching, and I start to doubt that something like this actually exists...

is there a service or software for metering data downloads

We have a range of web applications here that allow users to download selected data from a number of databases and online services. Mainly Environmental information. We can track users visiting web pages using tools like Piwik or Google Analytics. We also want to track the amount of resource or data that they use, possibly also applying limits to record downloads.
If this was a single DB system we could track rows delivered within the db. However here we have a SOA with a range of sources and sinks. What I envisage is a service that can be messaged by other systems to register or track the amount of a resource used.
e.g User Andrew was sent 125MB of water quality data.
The central data metering service tracks usage messages from a variety of sources, produces reports and where appropriate applies caps or billing limits.
This service might be expanded to include processing as well as data download.
I would consider this to be a not unusual requirement but I can't find much in the way of existing software for it - perhaps because I am not using the correct terminology.
SO my questions:
What would you call this service - what keywords will lead me to existing systems?
What solutions already exist in this area - in particular FOSS or cloud based systems?
Could something like Google Analytics be persuaded to operate in this fashion?
It would be possible to do with the measurement protocol from Google Universal Analytics in conjunction with the user id feature in Analytics and one or more custom dimensions.
The measurement protocol is a language agnostic vaguely REST-like (inasfar as you send a bunch of parameters to an endpoint) protocol to send tracking data to the Google servers.
User id is a feature to recognize authenticated users across devices and multiple visits.
If the various parts of your setup send http calls build to the measurement protocol and include the user id to recognize the user and a value for a custom dimension for the file size (or rather a custom metric if you want to have sums and averages) and maybe a custom dimension for the file name you can send this to you Analytics account and build a custom report for downloads.
Note that the user id is an internal id that is used to link together visits by the same user from multiple devices - it is not something that shows up in the reports that would allow you to report on individual users in the Analytics interface (if you want that you need to include another id as custom dimension, and you have to check with the Google TOS what kind of id is allowed). Plus you'd need a dedicated data view in GA for sessions with a user id which will not show unauthenicated users.

Manage country wise databases on different servers in iPhone App

I have current a developed app which I am going to submit in just few days .
Currently The Application shows data by calling a web service and fetches data from a server .
Now client requirement is to build two different databases.
So the question is should I make two different builds for two different countries or should I make alternative call to the web services based on the format region selected in the iPhone .
e.g, if ( country == uk ) then
call uk_Service;
else if( country == us ) then
call us_Service;
Please tell me which approach is better. And also if should I make two different builds then can I submit both of them at a time in the AppStore .
Thanks
I don't think it is a good idea to have two different builds for the App Store. This would mean that you have to do all the organisatorial overhead in iTunes Connect twice. For example an update with all the screen shots and textual descriptions have to be submitted twice. Also you do not have a chance to ensure the release of both submissions will be synchronous.
Why don't you provide a setting to the user where he can choose the country he wants to use your app for?
I would go with the if/else option purely because maintaining 2 apps instead of one will be more work - eg when you want to fix a bug you'll have to do it twice over. Another advantage of using the localised version is that a user can change their localisation and start using the correct database - eg they buy the app in the US and then move to the UK, change their settings and can start using the UK database without a problem