IBM Watson Subscribe - mqtt

I am looking for a way for my ESP8266 Arduino device to subscribe to the IBM Watson IoT platform to receive device management messages (reboot, update etc.). I have located examples that use the PubSubClient library (https://developer.ibm.com/recipes/tutorials/run-an-esp8266arduino-as-a-iot-foundation-managed-device/) to do this, however, I have not yet found a working example of PubSubClient using TLS1.2 (a requirement for this project). As such I am currently using the Adafruit_MQTT_Client which can connect and publish to Watson using TLS1.2, but I have not had success subscribing to the platform. If anyone could suggest a way to connect, publish and subscribe to IBM Watson IoT platform using TLS1.2, it would be much appreciated!

The Arduino ESP8266 2.3.0 core provided TLS v1.2 support. Simply upgrade to this core using the boards manager in the Arduino IDE.

Related

How to connect to multiple wifi networks using Python?

In my project I want to implement an acces control system using Python. I have a Spycam which is connected to a Raspberry Pi 4 using wifi protocol. I want to insert in my system an arduino which also communicates with the Raspberry on wifi protocol.
I am using this code to connect to the camera(Simplest way to connect WiFi python), but how can I manage that my Raspberry could connect to both at the same time?
You can use the Arduino IDE. There is sample code that you can use to run an arduino in client mode.
PLease give more infos about the arduino and its function.
Configure the Raspbi as host and connect the cam and arduino as clients.

External MQTT server subscription

I am using IBM IoT service. Registered a device. Now i want to receive messages (this device) from external mqtt server (CloudMQTT). Please, provide detail info about the way can i subscribe to this external server.
Regards,
Mindaugas
Depends on how you are planning to subscribe: Using an app that the device came with? An app that you are going to write, if so which programming language? Node-RED?
Based on the vagueness of your question I am going to suggest that you haven't actually thought about this, in which case your best be is to use Node-RED, for which there already is a range of prebuilt IOT nodes that you can use.

How to implement IoT in serial communication devices

I want to enable IoT in the devices (inverters) which currently supports only serial communication. Through serial port I'm able to view statistics of the device, configure device and do firmware updates. I want to do all these remotely by enabling IoT. I have just gone through Azure IoT hub, iBOT etc.
How will I enable communication between my serial port with IoT hub?
Is there any supporting device for that?
You can use another device as a gateway, this device is networkable and has serial port. Azure IoT Edge lets you build IoT solutions tailored to your exact scenario. You can refer to the document and get start.
In addition, here is a tutorial to implement a device firmware update process. This tutorial shows how you can start and monitor the firmware update process remotely through a back-end application connected to your hub.

IBM IoT Foundation Device Management

I would like to use IBM IoT Foundation Device Management for an important customer. It wants the solution on premises and not on the cloud. Can I use IBM IOT Foundation on premises?
Yes, There is a Local version of Watson IoT Platform available.
With IBM's Local offering, you can have IoT Platform deployed your own data center or one of your choosing – flexibility to deploy whenever you choose.
With Local, you own the hardware, running in your own datacenter. Find more information in this [announcement][1].
[1]: https://developer.ibm.com/iotfoundation/blog/2016/03/30/announcing-watson-iot-platform-local/ - link not working

Arduino & twitter can I connect?

Anybody here can explain how to connect Arduino and Twitter? Or better how to automate Arduino from IFTTT? It was one of the reasons I started with Arduino.
Now I understand Twitter API is changed, I saw some proxies which allows connecting using HTTP, but I need solution for searching Twitter posts in order to automate via IFTTT
I had a project earlier in the year where we used the Twitter API from a PC to get the data. Then we manipulated the data and pumped the resultant data to the arduino via the serial port.
In this scenario the arduino is basically a display driver and the program on the PC does the heavy lifting.

Resources