fablabbcn / smartcitizen-docs

Smart Citizen Documentation
https://docs.smartcitizen.me
Other
25 stars 14 forks source link

Battery calculator and config does weird things #11

Open AMTQ opened 3 years ago

AMTQ commented 3 years ago

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 commented 3 years ago

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

Thank you for reporting!