Skip to content
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

Battery calculator and config does weird things #11

Open
AMTQ opened this issue May 25, 2021 · 1 comment
Open

Battery calculator and config does weird things #11

AMTQ opened this issue May 25, 2021 · 1 comment

Comments

@AMTQ
Copy link

AMTQ commented May 25, 2021

Hi again.
I'm using the battery calculator with default settings and this is my set of commands for the shell:

config -readint 60 -pubint 1200
sensor -interval 1.0 360
sensor -interval 2.5 360
sensor -interval 10.0 360

However, when I send the first line I get this:
23:58:12.422 -> config -readint 60 -pubint 1200
23:58:12.422 -> For now we can only store safely 3 set of readings on RAM memory, sorry.
23:58:12.422 -> Saved configuration on eeprom!!
23:58:12.422 -> -- New config --
23:58:12.422 -> Mode: network
23:58:12.422 -> Publish interval: 180
23:58:12.422 -> Reading interval: 60

It seems the publish interval is not touched at all? This worked before the firmware-update, now there seems to be an issue, either in the generator of the code or the firmware? Also, what means "we can only store safely 3 set of readings on RAM memory"? With intermittent wifi only the last 3 readings are kept in RAM and uploaded if wifi is again available?

For reference build version and stuff:
23:58:34.331 -> SCK > version
23:58:38.027 -> Hardware Version: 2.1
23:58:38.027 -> SAM Hardware ID: 6A5D85D250573738352E3120FF152342
23:58:38.027 -> SAM version: 0.9.7-1b30422
23:58:38.027 -> SAM build date: 2020-06-23T16:08:01Z
23:58:38.027 -> ESP MAC address: 3E:61:05:DF:C2:1E
23:58:38.027 -> ESP version: 0.9.2-a91f850
23:58:38.027 -> ESP build date: 2019-08-20T13:17:16Z

@oscgonfer
Copy link
Contributor

Totally, we have recently changed the power config and the battery calculator has to be updated...

Thank you for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants