-
Notifications
You must be signed in to change notification settings - Fork 14
Scripture Of the Day Display Error #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This project was done when JSON and HTTP support in ESPHome were pretty new and a lot has changed. This code has not been able to compile in a while. This project has not been as successful as planned (I am much better with the software side of things than I am with the hardware). The issue for me has been around powering it via battery. Standby power draw is higher than I hoped and the voltage regulator on the ESP has to high a drop out voltage so the device will only refresh once or twice before the voltage on the battery falls below the dropout voltage and it stops refreshing. Work around has been to keep them plugged in. I had intentions last fall to do a rebuild using a DS3231 timer to completely power off the device until it needed to refresh and to redesign how it was powered. I got the code to support the DS3231 completed but before I had a chance to do testing of the code and/or rebuild one of them I had a bunch of personal things happen (had to replace A/C, furnace, and hot water heater, got Covid for 3+ weeks, holidays, etc.) and have not had a chance to get back to this. I can probably work on getting this code to at least compile over the next week or 2. |
I know how all of that goes, glad you're doing better with getting Covid. I'm very new to ESP and have been playing around somewhat successfully but I lack knowledge in C++ and hardware lol but I'm learning from all the samples I have found from the HA community. As for the battery I went with using the diymore Double Li-ion V8 Battery Shield Micro USB 5V/3A 3V/1A Power Bank Battery Charging Module (https://www.amazon.com/dp/B07SZKNST4?ref_=cm_sw_r_cp_ud_dp_GVB1JYWBZG8DFHCNV922) it uses two 18650 rechargeable batteries, they are rated at 3.7V 3200mAh but haven't really had the chance to see what the run time is as I have gotten busy with work the last few weeks. I'm definitely willing to help with testing code or help any way I can, but like I said I lack C++ skills. |
First off, I'm using the ESP32-WROOM-32D board and the same display as you had in your sample.
I'm trying to use your code to create a Quote of the Day display and I keep having my device crash. I believe I have narrowed it down ScriptureOfTheDay::display_scripture(). If I take out the following code:
Here is the crash dump
It will not crash. I have zero experience with C++ and have been trying to troubleshoot the best I can.
Also in the follow code I'm have problems with the http_request_->send();
The error is below
I have managed to update the ArduinoJson to 6.18.5. I am running ESPHome V2022.3.2.
This is my first time creating an issue, sorry if it doesn't contain everything needed or if the formatting if off.
Any help or pointers would be much appreciated. Thank you!
The text was updated successfully, but these errors were encountered: