Attaching a web cam on PC and connect it to KAA - camera

I am new to KAA IOT platform. For testing purpose, I have attached a web cam to PC and want to connect this web cam to KAA server. Please tell how to achieve this task. Thanks

Hello #Waleed I achieved it following way:-
In order to connect to camera follow these steps:
UI Command->REST
Middle-ware-> KAA IoT->Notification->Camera Gateway-> Camera receive
the command

Related

Using react-native-ble-plx to send data to a raspberry pi RFCOMM server

My goal is to setup my Raspberry Pi 4 to be able to run scripts when a button is clicked in an app I am making with React Native. I need to be able to do it so that they can connect without wifi, which is why I have decided to use Bluetooth.
So far I have an RFCOMM server set up on the Pi, and have installed the react-native-ble-plx module to be able to handle bluetooth communications, but I'm not sure how to get React Native to connect to this server.
I'd really appreciate it if anyone can tell me how to connect them and send data to the Pi to get it to run terminal commands, and return the result.
There are two types of Bluetooth that are not compatible with each other. RFCOMM and BLE will not work together.
On the Raspberry Pi you need to create a GATT server. RPi uses the BlueZ stack and they have an example in their source tree:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/example-gatt-server
You will also need to have an advertisement so that your phone can find the gatt server. There is also an example of that: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/example-advertisement
Another suggestion is not to try and develop both ends of the Bluetooth link at the same time as that is tricky. Use a generic BLE tool to check you have the server working correctly before you develop the react app.

Connect a Teltonika device to Thingsboard

Currently we are evaluating Thingsboard CE. We have a requirement to connect a Teltonika device (GPS enabled devices) to connect to Thingsboard IoT platform and push the data to it.
Any ideas would be of great help.
We have installed Thingsboard CE on a server. We have created or added few devices and assigned them to few sample customers.
Basically we receive data from 'GPS' devices connected to waste collection vehicles like dumper/ tipper, with the help of a Java service which runs as a 'jar' file in the background.
Now we are stuck at a phase on how to use 'HTTP API' to push this data to Thingsboard platform.
Please Suggest us on how to proceed.
Thank you.

Using Java to communicate to a USB device from browser

We have a java web application and now we have a new request: the client wants to communicate with their USB device using our application. They plug the device into their PCs, open a page of our web application and the page will communicate with the device to get some input. Communication here means reading some input from the device. This should be support on every script supported browser. Can someone give me a guide or a link that tells me how to do it? Thank you for reading.
You can use the WebUSB API to communicate with USB devices in the Web app. However, WebUSB is only implemented in Chromium.

Simple Red5 - WebRTC connector

I am using red5 server -open source not pro-. And it is currently gives RTSP end-point (like rtsp://x.x.x.x:pppp/live/abc). It doesn't support webRTC. Is it possible to create an adapter for open source red5 media server to connect webRTC ? If yes what steps can I follow ? Thanks
Of course its possible; at a high level that's what we did with Red5 Pro, we created a WebRTC plugin in the same style as the RTSP plugin.

tutorial of create a website to connect to another machine via SSH?

Is there any tutorial or instruction about how to implement SSH connection when creating a webpage?
Which means I could connect to other machines via SSH in this webpage.
Has no clue on this.
Thanks.
Read this : http://en.wikipedia.org/wiki/Web-based_SSH
And an HTML5 web-based terminal emulator and SSH client, GateOne, to do what you want : https://github.com/liftoff/GateOne