-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DE-cr: I don't have the means to test SD card logging and displaying, could you please test the newest release and check if the NTP-acquired date and time also reflect correctly in your logging code? Or were you using UTC and this doesn't affect your code?
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll look into it.
Btw, I was just about to try and figure out why /R doesn't work as it used to: the parameter name isn't displayed with the reset value anymore.
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't line #7593 read
#if defined(ESP32) && defined(USE_NTP)
instead of#if defined(ESP32)
?(Btw, I don't see a reason why I should use NTP on my system, so I'll disable it after testing.)
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, maybe not necessarily. However, I don't get why ESP32 gets a special routine there then.
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just try and compile it under Arduino then. Even though I'm not actively adding functionality for the Arduino anymore (at least not if it requires complex code), I still want it to compile without errors.
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/R works as expected, returning the reset value. Don't know what else you mean, last code changes on that part were three years ago. If you see a bug, please report it via the proper channels.
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did that, and the testing (flashed the new firmware, and checked if my running log is continued as expected): seems to be okay.
As I don't want to use
#define USE_NTP
on my system, could you please change line 7593 as suggested by me above? Otherwise I don't feel confident syncing my fork with the bsb-lan master repository.With the parameter(s) I've tried today, /R doesn't work correctly for me, e.g.:
(This is running the current bsb-lan master code.)
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P.s. ...or is this indeed the expected behaviour? I kind of remembered seeing the parameter name to the left of the reset value in /R output. (P.p.s. ...which I would consider very helpful.)
P.p.p.s. It is included in the debug log:
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't hijack this conversation with other matters. If you can show that pieces of code have been dropped, then I can check for that, but as I said, GitLens tells me that the last changes were three years ago already. And that's it here for that matter.
And where exactly do you want me to change the USE_NTP condition? You can make comments right in the code here on GitHub. But apart from that, the NTP-related code is already enclosed in SetDateTime(), so it won't be executed if you don't have USE_NTP enabled. All other instances are just using the tm struct, so they are independent of NTP as it is still possible to retrieve the time from the heater. Why someone wouldn't want to use NTP (if only to periodically set the correct time in the heater) beats me, since we have more or less already given up on the requirement that no outside connection is required (for example with your graph extension). But as I said, if you don't want to use it, you don't have to.
0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/DG can run without outside connection, as I use it on my system. This is the relevant excerpt from
BSB_LAN_config.h
:0f636be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I only said that the requirement that no outside connection can be required has been dropped.
But since you are again not replying to the matter at question, just forget about it,I don't have time for this.