I need to setup a timer. I push a button connected to an arduino and that causes a countdown timer to start. What is the property of I assume the CloudTimer object?
Hi @sonofcy. I see there is a tutorial here:
CloudTime
is also mentioned in the "Arduino IoT Cloud Cheat Sheet":
https://docs.arduino.cc/cloud/iot-cloud/tutorials/technical-reference#specialized-types
I have seen one of those documents but not the other and neither help me. I want to programaticaly set a time on a schedule widget (time only, I assume date defaults to today) so it alarms me in order to perform a task in the future. I tried a couple other ways but it seems the cloud interferes with the underlying mechanism that drives them. I don't know where the properties and methods are documented for the various objects. It looks like this is a very new product, so maybe there will be more objects released soon?
I'm sorry to hear it was not helpful. Unfortunately I don't have a lot of experience with Arduino IoT Cloud. The last time I did a "Thing" project, there was no documentation at all about the libraries other than the example sketches.
I was able to get the information I needed by studying the source code of the libraries. I realize that is not so friendly to some of the prospective Arduino IoT Cloud users, but it is worth a look at least. If you want help finding the code on your computer, we can provide instructions. You can also see it online. Most of it is here in the ArduinoIoTCloud library:
If you are browsing there, make sure you are looking at the same version of the library as you have on your computer. I linked you to the code as it was at the latest release currently, which is 1.6.0, but you do need to take care not to jump to the "master" beta testing version of the code which might have some changes due to the active development on the project. Safest is to look at the code on your computer, but the files on GitHub are a convenient reference when it comes time to discuss the code here on the forum.
I was glad to see some additional documentation (such as the pages I linked) show up on the website since the time I was working on my project, but haven't had time to take a close look at it.
Thank you so much. I didn't realize that my local library dir had the IoT cloud headers. I have found the items I was interested in and can read them albeit slowly (I am 80 and have never used CPP and haven't used C in 20 years). I will mark this issue closed if I can.
You are welcome. I hope you will find what you are looking for in the library source code.
If you end up with specific questions, I'm sure some of the forum members can answer them. Especially when it comes to looking at C++ code directly (rather than the code as only one aspect of the Arduino IoT Cloud system as a whole), there are a lot of very knowledgeable people here who like to hang out in the "Programming Questions" category of the forum.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.