LBussy, Don't forget, the D1/WIFI was tested with an Arduino sketch which exercised all that stuff (presumably). It seemed like it was a firmware/flashing issue to me, so I tried a different flashing tool (NodeMCU flasher), and.. it works now -- that fixed the problem and it runs fine. Not sure...