Problem solved? I power cycled it twice with no change. I pressed Run a number of times while experimenting with the code, commenting out lines. Put the code back the way it was. Removed it from the refrigerator. It had been in there for days. Now it works perfectly! Imps don’t like the cold?
I noticed, when something is going wrong with Hannah and you have to power cycle, give it a couple of minutes. Hannah keeps remembering register values very long
@sbright33 the index not existing error most likely means that the i2c transaction didn’t complete - you aren’t checking the transaction succeeded before trying to look at the result.
As has been noted in other threads, the issue with not reconnecting is related to release 25’s new offline modes (sometimes it determines it’s happy with not being connected). Peter’s watchdog code addresses this, as will the release which we’re currently testing with several developers.