# Max30100 Conflict

**URL:** <https://forums.losant.com/t/max30100-conflict/4429>\
**Category:** Bug Report\
**Tags:** mqtt, device\
**Created:** [March 28, 2022, 8:42am UTC](https://forums.losant.com/t/max30100-conflict/4429 "2022-03-28T08:42:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunday\_Ajiroghene](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sunday_ajiroghene/32/4915_2.png) [@Sunday\_Ajiroghene](https://forums.losant.com/u/Sunday_Ajiroghene)\
**Post date:** [March 28, 2022, 8:42am UTC](https://forums.losant.com/t/max30100-conflict/4429/1 "2022-03-28T08:42:44Z")

</div>

Hello,

I need help!

I have successfully connected my Esp32 to losant using the unsecured connection method as secured protocol is taking forever to connect.

I can easily send data from my Esp32 to losant. But then I can’t send max30100 sensor data.

The sensor uses i2c communication protocol.

Having spent a huge time tracing where the error is coming from, I realised its coming from the device.connect(wifiClient, LOSANT\_ACCESS\_KEY, LOSANT\_ACCESS\_SECRET) method.

Once I comment out this line, the sensor function as expected, but once I add it, it stops working.

Could some one help me fix this issue.

Regards

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [March 28, 2022, 1:26pm UTC](https://forums.losant.com/t/max30100-conflict/4429/2 "2022-03-28T13:26:31Z")

</div>

Hi @Sunday_Ajiroghene,

I replied here: [Max30100 sensor not reporting to losant - #2 by Heath](https://forums.losant.com/t/max30100-sensor-not-reporting-to-losant/4426/2)

Let’s continue this discussion in that thread.

Heathhttps://forums.losant.com/t/max30100-sensor-not-reporting-to-losant/4426/2?u=heath
