I am on the AWS educate account and closely following this tutorial
https://github.com/mongoose-os-apps/aws-iot-button
This is an Internet Button reference project: when a button on the device is pressed, a cloud backend gets a notification and…
I want to control aws iot devices through flutter mobile app. I registered device in aws iot things, Now how can I control that device through my mobile app.
I'm using Nodemcu with mongoose os.
I am trying to connect my ESP32 device to Google Cloud Platform (GCP) with Mongoose OS. I am new to Mongoose OS, but have got as far as to build and flash code as well as connection to wifi. But I get problems when I add info to the mos.yml file to…
I am trying to use Timer as a delay function. as I tried to delete the previous set time with Timer.de() but still somehow it triggered something and I got the error below the code.
how to achieve the delay functionality in while loop.
I tried the…
Just want to build Google IOT core with mongoose OS running for sensing temperature data on google PUBSUB.
I have a problem starting from beginning while not able to the connect via an approved google Core IOT Device - "TI CC3200". Its not able to…
I'm dynamically repeatedly creating a char[] of fixed length 32 and pass it to function that stores the pointer in a struct and passes it later on to a callback function.
Unforntunately I don't know the correct way to allocate the memory for this…
I am super new to C, I usually use javascript, but I am working on a hardware project and there is no library for js that I could find. I am using a MD_MAX7219 led matrix with a esp8266 node mcu and am using mongoose os basic c github repo mos clone…
I have the following code that prints to my serial console in mongoose os. I can see the device in amazon aws, and in mdash as online. I get back a 0 from the pub and it never sends a message to aws mqtt I have subscribed to the topic in the test…
RPC calls over MQTT
Hi,
I want to publish a telemetry event by issuing a PUBLISH message(RPC call) to an MQTT topic (${device.id}/rpc)
references:
[RPC over MQTT][(ttps://mongoose-os.com/docs/mongoose-os/api/rpc/rpc-mqtt.md)
Publishing telemetry…
I am using Mangoose os + Google IOT core to create my last year automation project. i have used this tutorial to develop a basic structure to create my project. now problem is when i try to connect my esp32 through my Mobile Hotspot, it works…
I am using ESP32. I am working with inbuilt led on GPIO 2. I want to read the level of pin.
let led = 2;
GPIO.set_mode(led, GPIO.MODE_OUTPUT);
GPIO.write(led, 0);
Timer.set(1000, true, function(){
print(GPIO.read(led)==0);
if…
I’ve been trying for hours to find a way to receive messages on my esp running Mongoose OS from the Azure IoT Hub, my goals is to trigger some code(or function) from the Azure IoT Hub(using Functions apps, but I’ll figure this out later).
How can I…
For an ESP32, under Mongoose OS, I’m trying to write some code to detect that a button was pushed (GPIO pin pulled to GND). I wrote the code below, but it constantly prints that the button is pushed, so it thinks the button is always pushed, except…
I am familiar with using mgos_msleep(value) or mgos_usleep(value). However, using sleep is not good for the device.
Can someone suggest a better approach?