Search found 18 matches

by kian79
Mon Jan 06, 2020 1:34 am
Forum: ESP32 Arduino
Topic: ESP32 SimpleTime example
Replies: 0
Views: 154

ESP32 SimpleTime example

Hi all, I need to keep track of the current date and time and I am looking at the SimpleTime example for the ESP32. The example connects to Wifi and retrieve the current date and time from the ntpServer then disconnects. Then inside the main loop the printLocalTime function is called to print out th...
by kian79
Tue Nov 19, 2019 7:49 am
Forum: ESP IoT Solution
Topic: How to provision ESP32 based device to IOT hub?
Replies: 1
Views: 778

How to provision ESP32 based device to IOT hub?

Hi all, I am a question about provisioning an ESP32 device to Microsoft Azure IOT hub (or any other IOT based cloud sevice). Basically, I am using MQTT to publish to a topic and subscribe a topic. I want to be able to upload sensor data to the cloud and also remotely control a device (through the cl...
by kian79
Tue Nov 19, 2019 6:55 am
Forum: General Discussion
Topic: ESP32 Camera Stream and Save to WebServer
Replies: 4
Views: 1246

Re: ESP32 Camera Stream and Save to WebServer

Thanks PeterR!
by kian79
Sat Oct 26, 2019 11:42 am
Forum: General Discussion
Topic: ESP32 Camera Stream and Save to WebServer
Replies: 4
Views: 1246

Re: ESP32 Camera Stream and Save to WebServer

Are there any examples/tutorials online that I can refer to? I don't know what is the correct google search keywords to use.
by kian79
Wed Oct 23, 2019 7:58 am
Forum: General Discussion
Topic: ESP32 Camera Stream and Save to WebServer
Replies: 4
Views: 1246

ESP32 Camera Stream and Save to WebServer

Hi all, I have a ESP-EYE and have tried the default Camer Web Server example on Arduino IDE. My question is, is it possible to save the video on the web server? My application is as follows: When a motion sensor is triggered, the ESP32 camera is activated and starts streaming to a webserver which re...
by kian79
Thu Jul 18, 2019 3:05 am
Forum: ESP32 Arduino
Topic: Using Timer Interrupt and Reload Timer
Replies: 1
Views: 1046

Using Timer Interrupt and Reload Timer

Hi all, I have setup a timer interrupt to trigger every 5 seconds. However if a button is pressed before 5 seconds is up, the timer should restart again. Is there a way to reload the timer without having to reinitalise the timer all over again? Currently only this works: Serial.println("Reload Timer...
by kian79
Thu Jul 18, 2019 2:35 am
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 842

Re: How to receive message from the cloud when using deep sleep

Hi WiFive, Thank you for the reply. Indeed that was the problem. The WebSocket UI on CloudMQTT does not allow publishing with QOS 1. I have used another program to connect to CloudMQTT and I can now publish with QOS 1 and the ESP32 setup can now receive messages when it wakes up from deep sleep and ...
by kian79
Thu Jul 11, 2019 11:10 am
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 842

Re: How to receive message from the cloud when using deep sleep

Hi all, I tried to allow persistent connections and also enable QOS level 1 but its not working. I am connected to the broker (on CloudMQTT) using this line: client.connect("ESP32Client", mqttUser, mqttPassword,"lastwill",1,0,"Disconnect",0 ) And I am subscribing to a topic with QOS 1: client.subscr...
by kian79
Wed Jul 10, 2019 11:44 pm
Forum: General Discussion
Topic: How to receive message from the cloud when using deep sleep
Replies: 5
Views: 842

Re: How to receive message from the cloud when using deep sleep

Thanks @WiFive !

I google and found more information. I will try it out soon.

https://github.com/knolleary/pubsubclient/issues/86
by kian79
Wed Jul 10, 2019 8:39 am
Forum: General Discussion
Topic: How to receive MQTT messages after deep sleep?
Replies: 3
Views: 1012

Re: How to receive MQTT messages after deep sleep?

Hi, Has the problem been solved? Because I am having the same issues. I am following the pseudocode suggested by @danwat, but it is still not working. I am using the WebSocket UI inside CloudMQTT to publish some data to a topic. If the message is published when the ESP32 is sleeping, after the ESP32...

Go to advanced search