ArtCC
March 23, 2020, 9:47am
1
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.
nliviu
March 24, 2020, 7:14am
2
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:
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
#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
ArtCC
March 24, 2020, 4:03pm
3
Hi nliviu!
This isn’t working for me…
Thanks!
cpq
March 24, 2020, 4:51pm
4