# Connection status

**URL:** <https://forums.losant.com/t/connection-status/1180>\
**Category:** Help\
**Created:** [October 10, 2018, 6:38pm UTC](https://forums.losant.com/t/connection-status/1180 "2018-10-10T18:38:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [October 10, 2018, 6:38pm UTC](https://forums.losant.com/t/connection-status/1180/1 "2018-10-10T18:38:28Z")

</div>

If I generate random sensor state data from a workflow as “simulation”, the device connection status shows a “red contact”. Is that correct when values are coming in?

It was confusing first, but if that’s how it should be, I’m ok with that too.

---

<div class="post-metadata">

**Author:** ![Erin\_Thompson](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/erin_thompson/32/501_2.png) [@Erin\_Thompson](https://forums.losant.com/u/Erin_Thompson)\
**Post date:** [October 10, 2018, 6:58pm UTC](https://forums.losant.com/t/connection-status/1180/2 "2018-10-10T18:58:24Z")

</div>

Hi Lars,

It sounds like you are sending device state data, and the device connection status is still “disconnected”. Instead of using a workflow, you can use the [device simulator](https://docs.losant.com/devices/simulator/), which will handle the device connection status for you, and can even send random data. However if you need to use the workflow to simulate the data, I would add a [Losant API Node](https://docs.losant.com/workflows/data/losant-api/), and call the [Set Connection Status](https://docs.losant.com/rest-api/device/#set-connection-status) Device endpoint for the device, before sending random state.

Hope this helps,  
Erin
