# Red Sensor to Cloud

**URL:** <https://mangoh.discourse.group/t/red-sensor-to-cloud/5144>\
**Category:** mangOH Red\
**Created:** [September 3, 2020, 2:22am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144 "2020-09-03T02:22:09Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaipattanasaisa-ard](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chaipattanasaisa-ard](https://mangoh.discourse.group/u/chaipattanasaisa-ard)\
**Post date:** [September 3, 2020, 2:22am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/1 "2020-09-03T02:22:09Z")

</div>

I follow to the given get started document. My red mangoH with WP8548 can connect to cloud via “app start redCloud” it can only Gyro info. Other sensors (Light, Pressure, Temperator) cannot be sent to iCloud. Why? what’s wrong?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 3, 2020, 8:50am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/2 "2020-09-03T08:50:36Z")

</div>

I can see other value like temperature and pressure.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/5/54005be99d351bcdf86b8750dfc10efa0f14dc24.png)

You can use my mangoh source:

> **[mangOH\_2-7-2019\_WP75\_R16\_OK.tar.gz](https://drive.google.com/file/d/1zjR14597dKWhDEb2JDqf1fXQU5CHBwDY/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![chaipattanasaisa-ard](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chaipattanasaisa-ard](https://mangoh.discourse.group/u/chaipattanasaisa-ard)\
**Post date:** [September 3, 2020, 9:14am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/3 "2020-09-03T09:14:14Z")

</div>

At noon, I tried again temperature and gyro were sent to cloud. This time, I connected 2 USB cables for CF3 and Console. How long typically that we have to wait for entire sensors’ data?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 3, 2020, 9:15am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/4 "2020-09-03T09:15:43Z")

</div>

you can check the timestamp in logread and compare with the timing in AVMS timeline

---

<div class="post-metadata">

**Author:** ![chaipattanasaisa-ard](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chaipattanasaisa-ard](https://mangoh.discourse.group/u/chaipattanasaisa-ard)\
**Post date:** [September 3, 2020, 11:20am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/5 "2020-09-03T11:20:22Z")

</div>

Look at my communication log

 ![2020-09-03_18-16](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/c/c87867ab1c412995c4375492e8232a29011017f7.png)

There are two type of data were sent in different time.  
Light, Pressure sensors are not working yet. The temperature is not updated.

Should I go to reinstall firmware?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 3, 2020, 11:57am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/6 "2020-09-03T11:57:30Z")

</div>

The application will post data in different time, you cam have a try on my application

---

<div class="post-metadata">

**Author:** ![chaipattanasaisa-ard](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chaipattanasaisa-ard](https://mangoh.discourse.group/u/chaipattanasaisa-ard)\
**Post date:** [September 3, 2020, 12:00pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/7 "2020-09-03T12:00:06Z")

</div>

I work on WP8548, is it compatible?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 3, 2020, 12:23pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/8 "2020-09-03T12:23:40Z")

</div>

Not sure, normally you need to recompile

---

<div class="post-metadata">

**Author:** ![shahahsanuzzamanmdta](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@shahahsanuzzamanmdta](https://mangoh.discourse.group/u/shahahsanuzzamanmdta)\
**Post date:** [September 3, 2020, 9:59pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/9 "2020-09-03T21:59:33Z")

</div>

Hi,

Thanks for your help.

I would like to install the apps redSensor and redCloud into mangOH from

![](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/b/bad3e5f9ad67c1ddf145107ce7032ac1d7b22563.svg) [GitHub](https://github.com/mangOH/RedSensorToCloud)

![](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/44dd46cef0cf811daf1300e8b240fdf87742302f.png)

### [mangOH/RedSensorToCloud](https://github.com/mangOH/RedSensorToCloud)

A Legato app that publishes sensor data from the mangOH Red to AirVantage using LWM2M - mangOH/RedSensorToCloud

to read the sensor data reading into the Airvantage dashboard.

Could you please help me to know how to install thease two apps into developer studio 5.3.1 and legato is WP76 R12 18.10.3? Thanks.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 3, 2020, 10:20pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/10 "2020-09-03T22:20:22Z")

</div>

I used command line to compile mangoh source, never used developer studio for such purpose

---

<div class="post-metadata">

**Author:** ![shahahsanuzzamanmdta](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@shahahsanuzzamanmdta](https://mangoh.discourse.group/u/shahahsanuzzamanmdta)\
**Post date:** [September 3, 2020, 10:45pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/11 "2020-09-03T22:45:00Z")

</div>

thanks, how can i do it via CLI? thanks in advance.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 3, 2020, 11:03pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/12 "2020-09-03T23:03:42Z")

</div>

You can refer to here on how to build the legato image for mangoH Red board:

> **[MangOH RED SENSORS](https://forum.legato.io/t/mangoh-red-sensors/3439/2)**
>
> You can refer to here on how to build the legato image for mangoH Red board: Please note that SW401 switch 3 needs to be “ON” on the mangOH\_Red board in order to power up the Gyroscope/ Accelerometer.

---

<div class="post-metadata">

**Author:** ![chaipattanasaisa-ard](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chaipattanasaisa-ard](https://mangoh.discourse.group/u/chaipattanasaisa-ard)\
**Post date:** [September 9, 2020, 2:13pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/13 "2020-09-09T14:13:43Z")

</div>

I tried to ''make red\_wp85" in your folder in terminal. I got an error message as followed

> bonsai@bonsai-desktop:~/WaffleMaker/mangOH\_2-7-2019$ make red\_wp85  
> make -C /home/bonsai/WaffleMaker/RedMangoH\_workspace/WP8548IOT/LegatoSource/legato framework\_wp85  
> make[1]: Entering directory ‘/home/bonsai/WaffleMaker/RedMangoH\_workspace/WP8548IOT/LegatoSource/legato’  
> Building Legato for target ‘wp85’  
> Module: WiFi  
> Module: Dualsys  
> KSET /home/bonsai/WaffleMaker/RedMangoH\_workspace/WP8548IOT/LegatoSource/legato/.config.wp85 - TARGET\_WP85  
> python3: can’t open file ‘/home/bonsai/WaffleMaker/RedMangoH\_workspace/WP8548IOT/LegatoSource/legato/3rdParty/Kconfiglib/setconfig.py’: [Errno 2] No such file or directory  
> Makefile:127: build/wp85/.config.mk: No such file or directory  
> make[1]: \*\*\* [Makefile:384: /home/bonsai/WaffleMaker/RedMangoH\_workspace/WP8548IOT/LegatoSource/legato/.config.wp85] Error 2  
> make[1]: Leaving directory ‘/home/bonsai/WaffleMaker/RedMangoH\_workspace/WP8548IOT/LegatoSource/legato’  
> make: \*\*\* [Makefile:64: legato\_wp85] Error 2

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 9, 2020, 2:23pm UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/14 "2020-09-09T14:23:41Z")

</div>

you might need to do a “make clean” first

Please note that I am using the legato package in WP85/WP75 R16.

---

<div class="post-metadata">

**Author:** ![chaipattanasaisa-ard](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chaipattanasaisa-ard](https://mangoh.discourse.group/u/chaipattanasaisa-ard)\
**Post date:** [September 11, 2020, 1:25am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/15 "2020-09-11T01:25:31Z")

</div>

I did but it still doesn’t work. I reinstalled many times. I found a problem when compiling. My OS is Ubuntu 20.04 which has not ‘python-git’ package, does it matter ? Do I need to change previous version of Ubuntu ?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 11, 2020, 1:43am UTC](https://mangoh.discourse.group/t/red-sensor-to-cloud/5144/16 "2020-09-11T01:43:28Z")

</div>

No idea about Ubntu20.04, never used it before.  
I am using Ubuntu14 to compile.
