Regarding the battery button of puck.js

Posted on
  • Hi,

    I am using puck.js beacons to do my proximity interaction experiment with kids. When I do the ENABLE_BUTTON = true; in the code, I was able to collect the interaction of the kids. But kids are so enthusiastic and are playing with these battery buttons. Because of that some of the puck.js turned off during the experiment and I lost some data. I have tried the experiment with ENABLE_BUTTON = false. However, I am not able to collect the proximity interaction of kids when I did this. Anyone has any suggestion to overcome this problem. How can I disable the button and collect the interaction data

    Thanks in advance

  • Hi,

    ENABLE_BUTTON isn't actually something that's built into Espruino - I think based on your last posts you're using reelyActive? So it might be worth asking them if they have ideas.

    Is the issue that the kids are actually pulling the battery out? I guess if so, the software might need tweaking to allow it to save the data to flash storage so it wasn't lost even if the battery was removed.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Regarding the battery button of puck.js

Posted by Avatar for user128679 @user128679