Neopixel Flora RGB Led with Mongoose OS

Hi!

I have a Neopixel Flora RGB led that I want to control from an app using a Firebase cloud feature. I already turn on and off the status led of the ESP8266 board but I can’t find information to connect this RGB led with javascript as language in Mongoose OS and this tutorial isn’t working for me…:

Any idea?

Thanks!

Regards, Arturo.

This application is veeeery outdated.

I’m not familiar with AWS, but to make it build and run (with a deprecation notice) there are some modifications to be done:

  • in mos.yml
config_schema:
  - ["debug.level", 2]

# add in the libs section
  - origin: https://github.com/mongoose-os-libs/wifi
  - origin: https://github.com/mongoose-os-libs/mjs
  - origin: https://github.com/mongoose-os-libs/aws
  - origin: https://github.com/mongoose-os-libs/neopixel

# replace skeleton_version with
manifest_version: 2017-05-18
  • in main.c
#include "mgos.h"
  • in init.js comment out or delete line 17
  //effect: EFFECT.NONE,

After that, the application will build and run with this notice

mgos_aws_shadow is deprecated and will be removed soon, use the shadow lib with AWS backend instead (https://github.com/mongoose-os-libs/shadow).

Now you can configure wifi and provision the device to AWS

Hi nliviu!

This isn’t working for me… :frowning:

Thanks!

Try examples from https://mongoose-os.com/docs/mongoose-os/api/drivers/neopixel.md

Ok, thanks cps :slight_smile: