Search found 8 matches

by cloudmiracle
Sat Sep 09, 2023 4:13 am
Forum: ESP RainMaker
Topic: Rainmaker configure Telegram API credentials externally without hard coding
Replies: 6
Views: 60435

Re: Rainmaker configure Telegram API credentials externally without hard coding

Yes I managed to get the "string" issue corrected. Great. The issue of storing chat_id and token in to the retentive memory (power cycle) still remains, it seems SPIFFS do not allow storing data while under Rainmaker partition scheme, the code stops working completely, or may be I am not doing it co...
by cloudmiracle
Sun Sep 03, 2023 4:33 am
Forum: ESP RainMaker
Topic: Automation trigger endless notifications (Android)
Replies: 5
Views: 7774

Re: Automation trigger endless notifications (Android)

Perhaps this can help, example code that triggers notification only once when physical input1 is enabled:- In order to set your code to send notification only once when the event occurs and not continuously, add the following code to the sketch so that the event occurs ----sends notification-----res...
by cloudmiracle
Sun Sep 03, 2023 4:22 am
Forum: ESP RainMaker
Topic: Google home dht22 temperature
Replies: 1
Views: 6033

Re: Google home dht22 temperature

Watch this youtube video https://www.youtube.com/watch?v=651EoGQHWck which gives you code underneath of how to create a Temperature widget in the ESP32-Rainmaker App. You can tweak it to read DHT22 sensor.
by cloudmiracle
Sat Sep 02, 2023 10:31 pm
Forum: ESP RainMaker
Topic: Rainmaker configure Telegram API credentials externally without hard coding
Replies: 6
Views: 60435

Re: Rainmaker configure Telegram API credentials externally without hard coding

Tried and managed to get the widget on the Android App but still have some issues: 1) Chat_ID normally is a nine digit number, is delivered to ESP32 successfully on the serial monitor but how do I save it as a variable to be able to use it for sending notification. 2) Token normally is a long string...
by cloudmiracle
Sat Sep 02, 2023 6:02 am
Forum: ESP RainMaker
Topic: Rainmaker configure Telegram API credentials externally without hard coding
Replies: 6
Views: 60435

Re: Rainmaker configure Telegram API credentials externally without hard coding

@ESP_Piyush - Appreciate your reply and the hint. Was trying to understand the linked Custom Parameter Arduino example code, line 83 to 92 as against Rainmaker Standard Parameter Types link here: https://rainmaker.espressif.com/docs/standard-types.html . Not too familiar with Arduino coding but tryi...
by cloudmiracle
Thu Aug 31, 2023 7:28 pm
Forum: General Discussion
Topic: ESP32 - telegram disable/enable notifications
Replies: 1
Views: 2737

Re: ESP32 - telegram disable/enable notifications

In order to set your code to send Telegram notification only once when the event occurs and not continuously, add the following code to the sketch so that the event occurs ----sends notification-----resets event. bool current_state1 = LOW; bool previous_state1 = LOW; void loop(); current_state1 = di...
by cloudmiracle
Thu Aug 31, 2023 7:16 pm
Forum: ESP RainMaker
Topic: Rainmaker configure Telegram API credentials externally without hard coding
Replies: 6
Views: 60435

Rainmaker configure Telegram API credentials externally without hard coding

Have successfully configured Rainmaker on my ESP32 (Arduino), Android App and Telegram notifications by hard coding Telegram credentials in the code. I want to know if there is any way to enter the TelegramAPI credentials (chat_id and Token) without hardcoding it into the Arduino sketch? This is to ...
by cloudmiracle
Sat Aug 26, 2023 6:49 am
Forum: ESP RainMaker
Topic: ESP32 and app status gets out of sync
Replies: 2
Views: 6923

Re: ESP32 and app status gets out of sync

@Transmetro. Can you please share the code. I am trying to operate relay momentary on esp32 Arduino Rainmaker code many options but not successful