hcsraka.blogg.se

Sphero edu chrome extension
Sphero edu chrome extension









Then you can just create connection and test MQTT by subscribing and publishing. In my case, I used Raspberry Pi’s IP which is connected my Mac since Mosuqitto is on Raspberry Pi. Once you launch MQTTLens, you can add a new connection using + icon.įill any name you want in the connection name and MQTT broker’s IP in the hostname. I installed MQTTLens but if you have any favorite tools other than Chrome extension, you can also use them. The next thing is installing Chrome extension for subscribing and publishing topics. Then I load config using following command.

#SPHERO EDU CHROME EXTENSION INSTALL#

Sudo apt-get install mosquitto mosquitto-clients However, I didn’t install mosquitto client and there are slight differences in editing nf file and loading it as below.

sphero edu chrome extension sphero edu chrome extension

Please refer the “Installation Mosquitto with WebSocket Support” and “Enable WebSocket Support” sections in his blog. Since peter6960 (Peter van der Walt)’s blog explains the detailed steps in regard to the installation, I’ll not explain it here. The first thing you need to do is installing Mosquitto on Raspberry Pi with WebSocket support. SAP Korea team used Mosquitto as our MQTT broker and we installed it on Raspberry Pi since we don’t need a public MQTT broker.

  • MQTT Broker: Displaying real-time data without storing them in any databases.
  • HCP IoT Services: Gathering and processing all data using HANA.
  • So, technically, it is a separated data source for our dashboard and its purpose is different from HCP IoT Services in the architecture. MQTT broker does not directly communicate with HCP IoT Services here but it will play a role for supplementing HCP IoT Services from a displaying real-time data perspective. The remaining test is about MQTT broker which is for displaying real-time data in the dashboard. In the previous blog, I introduced 2 unit tests in regard to gathering and sending data. This blog explains the highlighted section in the overall architecture below.

    sphero edu chrome extension

  • Part 4: Unit Test (Gathering & Sending Data).
  • Part 2: Controlling Sphero using Raspberry Pi and Xbox 360 controller.
  • This is the fifth blog post based on the following table.









    Sphero edu chrome extension