How's your plant doing? Let's share updates!

Would love to see updates of your plant and self-watering system here!

It would really help to grow the community if you post your update on social media and reshare the link here - thanks!

I’ll go first!

Do you have any idea why the system failed?

I’m not sure - I can’t upload my code anymore :-/

I have tried plant_tech_ams/README.md at master · OfferZen-Make/plant_tech_ams · GitHub about 100 times and searched everywhere for different instructions.

I just keep getting this error

Executable segment sizes:
IROM   : 232968          - code in flash         (default or ICACHE_FLASH_ATTR) 
IRAM   : 27260   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...) 
DATA   : 1248  )         - initialized variables (global, static) in RAM/HEAP 
RODATA : 716   ) / 81920 - constants             (global, static) in RAM/HEAP 
BSS    : 24952 )         - zeroed variables      (global, static) in RAM/HEAP 
Sketch uses 262192 bytes (25%) of program storage space. Maximum is 1044464 bytes.
Global variables use 26916 bytes (32%) of dynamic memory, leaving 55004 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port /dev/cu.usbserial-0001
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 40:f5:20:17:45:bd
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Traceback (most recent call last):
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2933, in main
    detect_flash_size(esp, args)
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2241, in detect_flash_size
    flash_id = esp.flash_id()
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 607, in flash_id
    return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 853, in run_spiflash_command
    old_spi_usr = self.read_reg(SPI_USR_REG)
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 490, in read_reg
    val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 347, in command
    p = self.read()
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 292, in read
    return next(self._slip_reader)
  File "/Users/benblaine/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2045, in slip_reader
    raise FatalError("Timed out waiting for packet %s" % waiting_for)
esptool.FatalError: Timed out waiting for packet header
esptool.FatalError: Timed out waiting for packet header

Ben,

are you still having that issue? I noticed that the ESP I received was very sensitive to this, so I started to configure OTA updates. One thing that might help is to press the flash button before power up, and keep that pressed and start flashing… then you can release it when it’s working.
Alternative of that is press both reset and flash…