Brewpi raised temp to 46.5°C


#1

So I just discovered that my brewpi set itself to 46.5°C at 02:03:26 yesterday morning. What in the world would cause it to change from my programmed fermentation schedule to this? This is a Spark v2

Here’s a screenshot: https://imgur.com/a/A538GjY

Here’s the log that I have:

ted for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:39:01 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:39:01 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:39:26 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:39:26 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:41:26 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:41:26 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:42:23 JSON decode error: Expecting value: line 1 column 29 (char 28)
Jul 17 2018 22:42:23 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:nulT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 22:44:03 Cannot process line from controller: “Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 22:45:32 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:45:32 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:45:39 Cannot process line from controller: :null,“State”:3}
Jul 17 2018 22:48:09 JSON decode error: Expecting ‘:’ delimiter: line 1 column 28 (char 27)
Jul 17 2018 22:48:09 Line received was: T:{“BeerTemp”:46.75,"BeerSet"T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 22:48:59 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:48:59 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:49:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:49:17 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:50:53 JSON decode error: Expecting ‘:’ delimiter: line 1 column 74 (char 73)
Jul 17 2018 22:50:53 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,"FT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.56,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 22:51:27 JSON decode error: Expecting ‘:’ delimiter: line 1 column 76 (char 75)
Jul 17 2018 22:51:27 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.56,"FriS:{“mode”:“f”,“beerSet”:null,“fridgeSet”:46.50}
Jul 17 2018 22:51:45 JSON decode error: Expecting ‘:’ delimiter: line 1 column 95 (char 94)
Jul 17 2018 22:51:45 Line received was: T:{“BeerTemp”:46.81,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,"FridT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.56,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 22:54:08 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 22:54:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 22:57:29 JSON decode error: Expecting ‘:’ delimiter: line 1 column 39 (char 38)
Jul 17 2018 22:57:29 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:03:34 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:03:34 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:05:50 Cannot process line from controller: eTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:06:02 JSON decode error: Expecting value: line 1 column 29 (char 28)
Jul 17 2018 23:06:02 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:nT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:08:30 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:08:30 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:08:53 JSON decode error: Expecting value: line 1 column 13 (char 12)
Jul 17 2018 23:08:53 Line received was: T:{“BeerTemp”:T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:09:55 JSON decode error: Expecting ‘:’ delimiter: line 1 column 93 (char 92)
Jul 17 2018 23:09:55 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,"FrT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:11:37 JSON decode error: Expecting value: line 1 column 146 (char 145)
Jul 17 2018 23:11:37 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:nulT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:S:{“mode”:“f”,“beerSet”:null,“fridgeSet”:46.50}
Jul 17 2018 23:12:52 JSON decode error: Expecting ‘:’ delimiter: line 1 column 147 (char 146)
Jul 17 2018 23:12:52 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3TemS:{“mode”:“f”,“beerSet”:null,“fridgeSet”:46.50}
Jul 17 2018 23:14:31 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:14:31 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:16:53 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:16:54 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:17:06 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:17:06 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:19:01 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:19:01 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:19:47 Cannot process line from controller: BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:20:32 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:20:32 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:20:47 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:20:47 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:21:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:21:17 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:22:12 JSON decode error: Extra data: line 1 column 46 - line 1 column 209 (char 45 - 208)
Jul 17 2018 23:22:12 Line received was: S:{“mode”:“f”,“beerSet”:null,“fridgeSet”:46.50}T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.44,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:22:22 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:22:22 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:22:37 JSON decode error: Expecting ‘:’ delimiter: line 1 column 24 (char 23)
Jul 17 2018 23:22:37 Line received was: T:{“BeerTemp”:46.75,“T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:22:57 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:22:57 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:23:43 Cannot process line from controller: g3Temp”:null,“State”:3}
Jul 17 2018 23:25:33 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:25:33 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:27:28 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:27:28 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:27:43 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:27:43 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:28:08 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:28:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:31:01 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:31:01 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:31:18 JSON decode error: Expecting ‘:’ delimiter: line 1 column 13 (char 12)
Jul 17 2018 23:31:18 Line received was: T:{“BeerTeT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:33:07 JSON decode error: Expecting property name enclosed in double quotes: line 1 column 19 (char 18)
Jul 17 2018 23:33:07 Line received was: T:{“BeerTemp”:46.75,Ann”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:34:54 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:34:54 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:37:19 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:37:20 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:37:55 JSON decode error: Expecting ‘:’ delimiter: line 1 column 9 (char 8)
Jul 17 2018 23:37:55 Line received was: T:{"BeT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:39:58 JSON decode error: Expecting ‘:’ delimiter: line 1 column 61 (char 60)
Jul 17 2018 23:39:58 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTT:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:41:45 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 67 (char 66)
Jul 17 2018 23:41:45 Line received was: T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50T:{“BeerTemp”:46.75,“BeerSet”:null,“BeerAnn”:null,“FridgeTemp”:46.50,“FridgeSet”:46.50,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 17 2018 23:43:10 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:43:10 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:46:05 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:46:05 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:46:40 JSON decode error: Expecting ‘:’ delimiter: line 1 column 23 (char 22)
Jul 17 2018 23:46:40 Line received was: T:{“BeerTemp”:46.75,“l,“State”:3}
Jul 17 2018 23:47:43 Notification: Fridge temperature set to 18.0 degrees in web interface
Jul 17 2018 23:48:34 Notification: Beer temperature set to 17.9 degrees in web interface
Jul 17 2018 23:48:34 Controller debug message: INFO MESSAGE 12: Received new setting: beerSet = 17.9
Jul 17 2018 23:51:02 Notification: Beer temperature set to 18.0 degrees in web interface
Jul 17 2018 23:51:03 Controller debug message: INFO MESSAGE 12: Received new setting: mode = b
Jul 17 2018 23:51:03 Controller debug message: INFO MESSAGE 12: Received new setting: beerSet = 18.0
Jul 17 2018 23:53:02 JSON decode error: Expecting value: line 1 column 159 (char 158)
Jul 17 2018 23:53:02 Line received was: T:{“BeerTemp”:46.69,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:30.94,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:T:{“BeerTemp”:46.63,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:30.88,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 17 2018 23:53:43 JSON decode error: Expecting ‘:’ delimiter: line 1 column 55 (char 54)
Jul 17 2018 23:53:43 Line received was: T:{“BeerTemp”:46.63,“BeerSet”:18.00,“BeerAnn”:null,“T:{“BeerTemp”:46.63,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:30.63,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 17 2018 23:54:55 Cannot process line from controller: mp”:null,“Log3Temp”:null,“State”:0}
Jul 17 2018 23:55:32 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 17 2018 23:55:32 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 17 2018 23:56:02 Cannot process line from controller: l,“FridgeTemp”:30.00,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 17 2018 23:56:52 Cannot process line from controller: 0}
Jul 17 2018 23:59:48 JSON decode error: Expecting value: line 1 column 130 (char 129)
Jul 17 2018 23:59:48 Line received was: T:{“BeerTemp”:46.38,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:29.44,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:T:{“BeerTemp”:46.38,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:29.38,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 18 2018 00:00:00 Notification: New day, creating new JSON file.
Jul 18 2018 00:04:03 Cannot process line from controller: nn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 18 2018 00:05:01 Cannot process line from controller: n”:null,“FridgeTemp”:28.63,“FridgeSet”:8.00,“FridgeAnn”:null,"Log1Te


#2

And it raised it ack to 38°C while I slept!!!

07:07:42 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:08:44 Cannot process line from controller: 3}
Jul 18 2018 07:09:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:09:17 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:09:53 Cannot process line from controller: ":3}
Jul 18 2018 07:11:32 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:11:32 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:19:39 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:19:39 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:23:19 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:23:19 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:26:55 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:26:55 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:28:20 JSON decode error: Expecting ‘:’ delimiter: line 1 column 60 (char 59)
Jul 18 2018 07:28:20 Line received was: T:{“BeerTemp”:21.63,“BeerSet”:38.00,“BeerAnn”:null,“FridgT:{“BeerTemp”:21.63,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:34.13,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:29:07 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:29:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:30:50 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:30:50 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:34:11 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:34:11 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:34:46 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:34:46 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:37:16 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:37:16 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:37:31 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:37:31 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:38:14 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:38:14 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:39:53 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:39:53 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:41:13 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:41:13 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:41:42 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:41:42 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:42:52 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:42:52 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:43:40 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:43:40 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:44:37 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:44:37 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:45:00 JSON decode error: Expecting value: line 1 column 160 (char 159)
Jul 18 2018 07:45:00 Line received was: T:{“BeerTemp”:21.94,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.31,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:T:{“BeerTemp”:21.94,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.31,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:48:52 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:48:52 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:49:33 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 82 (char 81)
Jul 18 2018 07:49:33 Line received was: T:{“BeerTemp”:22.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.81,“FridgeSet”:4T:{“BeerTemp”:22.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.75,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:50:03 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 15 (char 14)
Jul 18 2018 07:50:03 Line received was: T:{“BeerTemp”:22.T:{“BeerTemp”:22.06,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.88,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:52:26 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:52:26 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:52:36 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:52:36 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:54:53 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:54:54 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:54:57 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:54:57 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:56:39 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:56:39 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:59:42 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:59:42 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:06:50 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:06:50 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:08:35 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:08:35 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:10:20 JSON decode error: Expecting ‘:’ delimiter: line 1 column 146 (char 145)
Jul 18 2018 08:10:20 Line received was: T:{“BeerTemp”:22.56,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:38.81,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp"T:{“BeerTemp”:22.63,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:38.81,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:11:19 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:11:19 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:12:21 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:12:21 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:14:20 JSON decode error: Expecting value: line 1 column 115 (char 114)
Jul 18 2018 08:14:20 Line received was: T:{“BeerTemp”:22.75,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:39.19,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:nulT:{“BeerTemp”:22.69,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:39.19,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:14:40 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 31 (char 30)
Jul 18 2018 08:14:40 Line received was: T:{“BeerTemp”:22.69,“BeerSet”:38T:{“BeerTemp”:22.75,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:39.19,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:16:00 JSON decode error: Expecting property name enclosed in double quotes: line 1 column 50 (char 49)
Jul 18 2018 08:16:00 Line received was: T:{“BeerTemp”:22.75,“BeerSet”:38.00,“BeerAnn”:null,mp”:null,“StaS:{“mode”:“b”,“beerSet”:38.00,“fridgeSet”:38.00}
Jul 18 2018 08:17:07 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:17:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:17:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:17:17 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:20:16 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:20:16 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:23:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:23:18 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:25:42 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:25:42 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:27:01 JSON decode error: Expecting value: line 1 column 99 (char 98)
Jul 18 2018 08:27:01 Line received was: T:{“BeerTemp”:23.13,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:40.06,“FridgeSet”:48.00,“FridgeAnn”:nulS:{“mode”:“b”,“beerSet”:38.00,“fridgeSet”:38.00}
Jul 18 2018 08:27:13 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:27:13 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:28:32 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:28:32 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:29:08 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:29:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:34:24 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:34:24 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:34:59 Cannot process line from controller: ridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:37:49 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 15 (char 14)
Jul 18 2018 08:37:49 Line received was: T:{“BeerTemp”:23p”:null,“State”:3}
Jul 18 2018 08:42:25 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:42:25 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:44:23 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:44:23 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:44:31 Cannot process line from controller: {“BeerTemp”:23.75,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.06,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:48:26 JSON decode error: Expecting value: line 1 column 1 (char 0)
Jul 18 2018 08:48:26 Line received was: ST:{“BeerTemp”:23.88,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.31,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:49:11 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:49:11 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:50:36 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:50:36 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:50:41 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 64 (char 63)
Jul 18 2018 08:50:41 Line received was: T:{“BeerTemp”:24.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:4T:{“BeerTemp”:24.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.50,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:51:01 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:51:01 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:51:26 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:51:26 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:51:57 JSON decode error: Expecting value: line 1 column 99 (char 98)
Jul 18 2018 08:51:57 Line received was: T:{“BeerTemp”:24.00,“BeerSet”:3841.50,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:nuT:{“BeerTemp”:24.06,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.50,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:53:01 Notification: Beer temperature set to 18.0 degrees in web interface
Jul 18 2018 08:53:02 Controller debug message: INFO MESSAGE 12: Received new setting: beerSet = 18.0
Jul 18 2018 08:53:02 JSON decode error: Expecting ‘:’ delimiter: line 1 column 149 (char 148)
Jul 18 2018 08:53:02 Line received was: C:{“tempFormat”:“C”,“heater1_kp”:10.00,“heater1_ti”:600,“heater1_td”:60,“heater1_infilt”:1,“heater1_dfilt”:4,“heater2_kp”:10.00,“heater2_ti”:600,"T:{“BeerTemp”:24.06,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:41.56,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}


#3

Here’s a detail shot of the beer temperature setting graph. It completely blanked out when it went up to 46, but not when it went up to 38 overnight.


#4

I’m very sorry to hear this!
In the log file, I see many communication errors (truncated messages) and that the communication is lost and comes back. How this resulted in the fridge setting being set to this high value, I’m not sure.

Please check that the USB cable is inserted properly and see if you get no errors with a different cable.
Can you also report which version you are running?

I recommend upgrading the firmware to the latest version:

Hopefully the beer is still drinkable. Luckily it was at the end of fermentation.


#5

Hi Elco, thanks for the response! I’m running 0.5.2 and will update once I bottle this beer, which I’ll do in the next few days. I just reseated the USB and those errors seem to have stopped, although the log indicates that it hasn’t had that error since 09:00 yesterday.

:null,“FridgeTemp”:36.31,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:48:52 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:48:52 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:49:33 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 82 (char 81)
Jul 18 2018 07:49:33 Line received was: T:{“BeerTemp”:22.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.81,“FridgeSet”:4T:{“BeerTemp”:22.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.75,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:50:03 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 15 (char 14)
Jul 18 2018 07:50:03 Line received was: T:{“BeerTemp”:22.T:{“BeerTemp”:22.06,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:36.88,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 07:52:26 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:52:26 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:52:36 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:52:36 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:54:53 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:54:54 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:54:57 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:54:57 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:56:39 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:56:39 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 07:59:42 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 07:59:42 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:06:50 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:06:50 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:08:35 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:08:35 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:10:20 JSON decode error: Expecting ‘:’ delimiter: line 1 column 146 (char 145)
Jul 18 2018 08:10:20 Line received was: T:{“BeerTemp”:22.56,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:38.81,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp"T:{“BeerTemp”:22.63,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:38.81,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:11:19 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:11:19 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:12:21 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:12:21 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:14:20 JSON decode error: Expecting value: line 1 column 115 (char 114)
Jul 18 2018 08:14:20 Line received was: T:{“BeerTemp”:22.75,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:39.19,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:nulT:{“BeerTemp”:22.69,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:39.19,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:14:40 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 31 (char 30)
Jul 18 2018 08:14:40 Line received was: T:{“BeerTemp”:22.69,“BeerSet”:38T:{“BeerTemp”:22.75,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:39.19,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:16:00 JSON decode error: Expecting property name enclosed in double quotes: line 1 column 50 (char 49)
Jul 18 2018 08:16:00 Line received was: T:{“BeerTemp”:22.75,“BeerSet”:38.00,“BeerAnn”:null,mp”:null,“StaS:{“mode”:“b”,“beerSet”:38.00,“fridgeSet”:38.00}
Jul 18 2018 08:17:07 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:17:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:17:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:17:17 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:20:16 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:20:16 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:23:17 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:23:18 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:25:42 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:25:42 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:27:01 JSON decode error: Expecting value: line 1 column 99 (char 98)
Jul 18 2018 08:27:01 Line received was: T:{“BeerTemp”:23.13,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:40.06,“FridgeSet”:48.00,“FridgeAnn”:nulS:{“mode”:“b”,“beerSet”:38.00,“fridgeSet”:38.00}
Jul 18 2018 08:27:13 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:27:13 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:28:32 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:28:32 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:29:08 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:29:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:34:24 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:34:24 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:34:59 Cannot process line from controller: ridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:37:49 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 15 (char 14)
Jul 18 2018 08:37:49 Line received was: T:{“BeerTemp”:23p":null,“State”:3}
Jul 18 2018 08:42:25 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:42:25 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:44:23 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:44:23 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:44:31 Cannot process line from controller: {“BeerTemp”:23.75,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.06,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:48:26 JSON decode error: Expecting value: line 1 column 1 (char 0)
Jul 18 2018 08:48:26 Line received was: ST:{“BeerTemp”:23.88,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.31,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:49:11 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:49:11 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:50:36 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:50:36 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:50:41 JSON decode error: Expecting ‘,’ delimiter or ‘}’: line 1 column 64 (char 63)
Jul 18 2018 08:50:41 Line received was: T:{“BeerTemp”:24.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:4T:{“BeerTemp”:24.00,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.50,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:51:01 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:51:01 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:51:26 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:51:26 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:51:57 JSON decode error: Expecting value: line 1 column 99 (char 98)
Jul 18 2018 08:51:57 Line received was: T:{“BeerTemp”:24.00,“BeerSet”:3841.50,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:nuT:{“BeerTemp”:24.06,“BeerSet”:38.00,“BeerAnn”:null,“FridgeTemp”:41.50,“FridgeSet”:48.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:53:01 Notification: Beer temperature set to 18.0 degrees in web interface
Jul 18 2018 08:53:02 Controller debug message: INFO MESSAGE 12: Received new setting: beerSet = 18.0
Jul 18 2018 08:53:02 JSON decode error: Expecting ‘:’ delimiter: line 1 column 149 (char 148)
Jul 18 2018 08:53:02 Line received was: C:{“tempFormat”:“C”,“heater1_kp”:10.00,“heater1_ti”:600,“heater1_td”:60,“heater1_infilt”:1,“heater1_dfilt”:4,“heater2_kp”:10.00,“heater2_ti”:600,“T:{“BeerTemp”:24.06,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:41.56,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:3}
Jul 18 2018 08:53:22 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:53:22 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:55:19 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:55:19 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:55:56 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:55:56 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:48:11 Notification: Script started for beer ‘42: Hefeweizen’
Jul 18 2018 08:48:11 Connecting to controller…
Jul 18 2018 08:48:11 Background thread for serial started
Jul 18 2018 08:48:11 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 08:48:13 Found BrewPi v0.5.2 build 0.5.2-0-g72e633171, running on a Particle Photon with a V2 shield
Jul 18 2018 08:59:53 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 08:59:53 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:00:38 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 09:00:38 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:01:08 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 09:01:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:02:53 Cannot process line from controller: mp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 18 2018 09:04:13 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 09:04:13 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:06:44 Cannot process line from controller: FridgeAnn":null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 18 2018 09:07:39 JSON decode error: Expecting ‘:’ delimiter: line 1 column 143 (char 142)
Jul 18 2018 09:07:39 Line received was: T:{“BeerTemp”:24.38,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:24.44,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,"LogT:{“BeerTemp”:24.38,“BeerSet”:18.00,“BeerAnn”:null,“FridgeTemp”:24.44,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 18 2018 09:09:14 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 09:09:14 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:10:54 Cannot process line from controller: 4.19,“FridgeSet”:8.00,“FridgeAnn”:null,“Log1Temp”:null,“Log2Temp”:null,“Log3Temp”:null,“State”:0}
Jul 18 2018 09:11:54 Serial Error: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Jul 18 2018 09:11:54 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:15:36 Notification: Script started for beer ‘42: Hefeweizen’
Jul 18 2018 09:15:36 Connecting to controller…
Jul 18 2018 09:15:36 Background thread for serial started
Jul 18 2018 09:15:36 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 18 2018 09:15:38 Found BrewPi v0.5.2 build 0.5.2-0-g72e633171, running on a Particle Photon with a V2 shield
Jul 18 2018 16:01:29 Notification: Beer temperature set to 20.0 degrees in web interface
Jul 18 2018 16:01:30 Controller debug message: INFO MESSAGE 12: Received new setting: mode = b
Jul 18 2018 16:01:30 Controller debug message: INFO MESSAGE 12: Received new setting: beerSet = 20.0
Jul 19 2018 00:00:00 Notification: New day, creating new JSON file.
Jul 19 2018 09:25:37 Notification: Script started for beer ‘42: Hefeweizen’
Jul 19 2018 09:25:37 Connecting to controller…
Jul 19 2018 09:25:37 Background thread for serial started
Jul 19 2018 09:25:37 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 19 2018 09:25:39 Found BrewPi v0.5.2 build 0.5.2-0-g72e633171, running on a Particle Photon with a V2 shield
Jul 19 2018 09:29:53 Notification: Script started for beer ‘42: Hefeweizen’
Jul 19 2018 09:29:53 Connecting to controller…
Jul 19 2018 09:29:53 Background thread for serial started
Jul 19 2018 09:29:53 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 19 2018 09:29:55 Found BrewPi v0.5.2 build 0.5.2-0-g72e633171, running on a Particle Photon with a V2 shield


#6

I’ve had a few similar problems, often resulting in wild temperature swings. I’ve noticed some Serial comminication errors on my log as well. Most recently I’ve had errors that result in freezing an active fermentation. Latest batch of Porter got chilled to -5C on the third day of fermentation.

In my case a simple reboot of the pi resolves the issue and communication resumes as normal.

Is there a way to imbed an automatic reboot script if serial communications fail or a defined number of failures occur in succession? Or at the very least, the sending of an email or text message alert. If one is not continuously monitoring the web interface you’d never know these errors occur until a failed communication prompts a wild swing in temp and thus a ruined fermentation.

At this point without some type of failsafe, I’m afraid I’m going to put my brewpi to rest as its proving to be more tempermental than reliable.


#7

@tsimpson which version were you running?

I’ll try to find where this is coming from, but any information you can give me will help me do that.

Which version of Raspbian? How long ago did you install it?

uname -a

Are you running BrewPi in docker? Which version did you have on the controller?

Up until recently, the USB communication was always reliable, unless a bad cable was used.

I fixed the WiFi instabilities in the latest release. Try switching to WiFi and version 0.5.6.


#8

@elco This is what is returned from that command:

Linux raspberrypi 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux

I’m using an albeit old version:
BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield on port /dev/ttyACM0

I’m not sure what docker is nor how to answer your question about the controller.


#9

Ah, you are running a very old version of the firmware and Raspbian! That version doesn’t even have WiFi.

Something similar to your bug has been fixed in 0.4.4 already:

That’s almost 2 years ago.

Docker runs applications in isolated containers. We built such a container for BrewPi and this makes it easier to deploy it. Instead of having to install a lot of different packages, you can just get the container.

The method for installing with docker is described here:
https://wiki.brewpi.com/getting-started/raspberry-pi-docker-install

Updating will also be easier, because you can just load a newer version of the container.

I’m not going to pursue this bug further now, because it looks like it might not occur with the latest version.

Please start with a fresh install on the pi and deploy using docker, then update to firmware 0.5.6.
If the problem still exists, I’ll give it my full attention.


#10

@Elco
I updated using the instructions here:

I elected to update the firmware in that process and did a reboot and here is the log. clearly I did something wrong as the web interface does the script is not running. It looks like I need to update to version 5 before going to the latest firmware? Not sure how to do that.

e’
Jul 25 2018 08:42:07 Connecting to controller…
Jul 25 2018 08:42:07 Background thread for serial started
Jul 25 2018 08:42:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:42:09 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:42:09 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:42:09 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:44:37 Notification: Script started for beer ‘None’
Jul 25 2018 08:44:37 Connecting to controller…
Jul 25 2018 08:44:37 Background thread for serial started
Jul 25 2018 08:44:37 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:44:39 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:44:39 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:44:39 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:45:08 Notification: Script started for beer ‘None’
Jul 25 2018 08:45:08 Connecting to controller…
Jul 25 2018 08:45:08 Background thread for serial started
Jul 25 2018 08:45:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:45:10 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:45:10 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:45:10 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:46:09 Notification: Script started for beer ‘None’
Jul 25 2018 08:46:09 Connecting to controller…
Jul 25 2018 08:46:09 Background thread for serial started
Jul 25 2018 08:46:09 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:46:11 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:46:11 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:46:11 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:47:08 Notification: Script started for beer ‘None’
Jul 25 2018 08:47:08 Connecting to controller…
Jul 25 2018 08:47:08 Background thread for serial started
Jul 25 2018 08:47:08 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:47:10 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:47:10 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:47:10 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:48:07 Notification: Script started for beer ‘None’
Jul 25 2018 08:48:07 Connecting to controller…
Jul 25 2018 08:48:07 Background thread for serial started
Jul 25 2018 08:48:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:48:09 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:48:09 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:48:09 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:49:07 Notification: Script started for beer ‘None’
Jul 25 2018 08:49:07 Connecting to controller…
Jul 25 2018 08:49:07 Background thread for serial started
Jul 25 2018 08:49:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:49:09 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:49:09 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:49:09 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:50:07 Notification: Script started for beer ‘None’
Jul 25 2018 08:50:07 Connecting to controller…
Jul 25 2018 08:50:07 Background thread for serial started
Jul 25 2018 08:50:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:50:09 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:50:09 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:50:09 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:51:07 Notification: Script started for beer ‘None’
Jul 25 2018 08:51:07 Connecting to controller…
Jul 25 2018 08:51:07 Background thread for serial started
Jul 25 2018 08:51:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:51:09 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:51:09 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:51:09 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
Jul 25 2018 08:52:07 Notification: Script started for beer ‘None’
Jul 25 2018 08:52:07 Connecting to controller…
Jul 25 2018 08:52:07 Background thread for serial started
Jul 25 2018 08:52:07 Serial (re)connected for Photon with WiFi [00000000050C] at port: ttyACM0
Jul 25 2018 08:52:09 Found BrewPi v0.4.3b build 0.4.3b2-0-g3de44b0, running on a Particle Photon with a V2 shield
Jul 25 2018 08:52:09 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.3b
Jul 25 2018 08:52:09 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 3, local copy version = 4
Traceback (most recent call last):
File “/home/brewpi/brewpi.py”, line 400, in
startBeer(config[‘beerName’])
File “/home/brewpi/brewpi.py”, line 290, in startBeer
changeWwwSetting(‘beerName’, beerName)
File “/home/brewpi/brewpi.py”, line 230, in changeWwwSetting
wwwSettingsFile = open(wwwSettingsFileName, ‘w+b’) # create new file
IOError: [Errno 2] No such file or directory: ‘/var/www/html/userSettings.json’
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 552, in __bootstrap_inner
File “/usr/lib/python2.7/threading.py”, line 505, in run
File “/home/brewpi/backgroundserial.py”, line 119, in __listen_thread
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 464, in in_waiting
: ‘NoneType’ object has no attribute ‘ioctl’
stdout:


#11

Your version is so old that it’s better to update over USB with DFU instead of the serial protocol.
First of all, update the Raspberry Pi. A fresh reinstall is recommended. Follow this guide:
https://wiki.brewpi.com/getting-started/raspberry-pi-docker-install

Then use these commands to update the firmware:

To update over USB with docker, first trigger DFU mode:

docker run -it --name brewpi-update --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-raspbian python utils/flashDfu.py --trigger

Then run the update command:

docker run -it --name brewpi-update --privileged -v ~/brewpi-data:/data --rm brewpi/brewpi-raspbian python utils/flashDfu.py --noreset

Just to be sure, click the factory defaults button afterwards.

The LED will blink blue waiting for WiFi credentials. Once you have set those with the Particle phone app, it will download a new bootloader from the cloud. The LED will turn purple during the bootloader update and then the display will come back and you’re up and running again.


#12

At the moment, i don’t have a way to hook up the pi via usb, so I have to use SSH. Shouldn’t I be able to do everything you are describing with that?

I went through an update of raspian and it seemed to go fine, up until I get to docker. When putting in this code:

curl -sSL https://get.docker.com | sh

I get this error message:

"Either your platform is not easily detectable or is not supported by this
installer script.
Please visit the following URL for more detailed installation instructions:

https://docs.docker.com/engine/installation/"


#13

Alternatively, I am trying to update the firmware via web interface.

I downloaded version 4.4 but the instructions don’t indicated where to find this hex file nor what it is called amongst the opaque files and folders of the zip.


#14

You are confusing some things.
You should reflash the SD card of your Raspberry Pi with the latest version of raspbian. Yes you can then use ssh to log into the Raspberry Pi afterwards. To enable ssh you can put an empty file named ‘ssh’ onto the SD card.

Please see our wiki.

To update the spark, you should connect it to the pi with USB. You can connect Spark and Pi over WiFi after updating the firmware.


#15

Ok, so I purchased a usb to micro SD reader, reflashed the SD card with Raspian lite. Created using text edit a ssh file and a wpa_supplicant.conf file substituting my wifi network name and password.

inserted the card into the pi and launched. Wasn’t able to connect via SSH. after giving it an hr or more to boot up, I shut it down, put the SD card back on the laptop to see if I made a mistake in the conf file with the wifi. However, there is no /etc/wpa_supplicant/wpa_supplicant.conf on the sd card and the ssh file has disappeared.

I’ve spent hours at this and can’t get past the first step in the wiki.


#16

I suggest that you connect a screen, keyboard and network cable to your pi insert the SD card and reboot. Fix the files on the pi.