Connecting multiple hardware to single STEM account

Hi all,

Just wandering if it is possible to connect more than one hardware / controller to a single STEM account. I tried to connect two hardware to same STEM account. Once the connection of 2nd hardware is established, the connection of fist hardware dropped.

Thanks
JZ

Good day @robocreek,

You can connect up to 3 devices with 10 variables for free. Can you please let us know the following:

  1. Which hardware was the one you connect first that stopped transmitting data?
  2. Which protocol are the devices using to connect to your STEM account?
  3. How often do they send data?
  4. Are you using one of our libraries? If so, which one?
  5. Are you using the same token in both of these devices?

Also, please refer to the following article to learn more about the included features in STEM.

All the best,
-Isabel

Hi Isalogi,

Thanks for the reply.

  1. Which hardware was the one you connect first that stopped transmitting data?
    We’re using two identical hardware setup to send data to Ubitdots:
    DHT11 (humidity/temperature sensor) >> microbit v2 >> ESP8266 AT command >> wifi/Ubidots

If the second hardware is turned on and sending data to Ubidtos, the connection to the first hardware will lost.

  1. Which protocol are the devices using to connect to your STEM account?
    We are using MQTT protocol.

  2. How often do they send data?
    Every two minutes.

  3. Are you using one of our libraries? If so, which one?
    No, we’re not using your existing libraries. We wrote the microbit library to send data via the ESP8266 AT command.
    If only one hardware is turned on, it can run for few hours continuously without any issue.

  4. Are you using the same token in both of these devices?
    Yes, we use same token in both hardwares. However, we set it to different device and variable name

Thanks
JZ

Thank you @robocreek for all the information. The only thing you need to have in mind is the daily quota of dots in which is 1 request per second per token across all devices, and up to 4,000 dots per day. You can use a token per device instead of one to avoid hit the request per second limit.

Please let me know if you need additional assistance.

All the best,
-Isabel

If you are using MQTT, make sure that both devices uses a different MQTT clientID as the broker allows just one connection per clientID.

All the best