168place
WatchMaker Feature Requests All the ideas and discussions
7 votes Vote

Store values between watch restarts

I was trying to use the LUA file commands. They do not appear to be supported.

I was wondering if it would be possible to implement a way to store values that survive a restart and watch face changing? The LUA file operations would be fine. Another idea would be to have WatchMaker store any variables that start with mem_ or sto_.

It would be useful it have a way to see if the stored value exists. Maybe something like

If(sto_cnt == null) then

else

end

For example,

var_cnt = 0

function click_cnt()
var_cnt = var_cnt + 1
sto_cnt = var_cnt
end

Thank you for your consideration

Richard

Richard Hendricks , 12.05.2015, 21:51
Idea status: under consideration

Comments

Leave a comment