what's more confusing is the first version is called both v0.9 and V1, while the second version is known as v1.0 and V2. but because i have the black circuit board, i have a 2nd generation v1.0. i copied the flashing LED test code then tried to upload the compiled script when it gave me an error. apparently my arduino IDE wasn't seeing the nodeMCU. i fixed that by installing a USB to serial driver from silicon labs (v5). once i did that, i saw a new /dev/cu.SLAB_USBtoUART port option when i reconnected the nodeMCU. i tried uploading again and after a brief wait, it finished compiling and successfully uploaded the script. i could it tell was working because the red led attached directly to the nodeMCU header was flashing.
when i went to compile the water sensor sketch, it gave me an error, said PubSubClient.h was missing. i checked the UbidotsESPMQTT.h and saw sure enough it was making reference to a missing PubSubClient.h. i browsed through the arduino IDE library manager and found a PubSubClient library for messaging MQTT. i installed it and this time the sketch compiled without any problems. i then uploaded the sketch into the nodeMCU. as soon as it finished, it was flashing it's onboard blue LED, meaning the upload was successful.
i attached the water sensor (which glowed red) and ran the nodeMCU from a portable battery charger. unfortunately that doesn't work because once it senses there's no battery, it cuts off the power. so i had to run the nodeMCU from a USB plug. fortunately there's an onboard 3.3V regulator, so the 5V USB power wasn't a problem. i checked out the data on the ubidots dashboard. the water sensor seems pretty sensitive. i set it up so it'd send me a text whenever it detected water. ubidots is a paid service, but gives you 5000 free credits to start with. each device costs 500 credits/month, while each dashboard is 100 credits/month. SMS text costs 20 credits, while triggers (emails/webhooks) cost just 1 credit. i may look into setting up my own MQTT broker/server using a raspberry pi so i don't have to pay ubidots once my credits run out ($5/1000 credits).

my last visit to the garden was 10 days ago. as i said last time, i've basically given up on my garden, as all my tomato plants are diseased, and the rest of my vegetable plants have been overgrown by perennials. 



i had another bowl of rice noodles for dinner while watching the falcons-eagles game, which was delayed due to thunderstorms. besides a late start, the game was also boring, with not a single touchdown in the entire first half. naturally i was rooting for atlanta, and they looked like they might win it, but in the final minutes philadelphia managed to score to win the game.
i ended up ordering the national cycle heavy duty low boy replacement windshield screen ($114.95). i also got a few more items from ebay: 3x ESP8266 boards ($3 each), 50 pieces of 5mm RGB common cathode LED ($1.83), and a BME280 temperature/humidity/pressure sensor module ($3.69). it'll take these electronic components a few weeks to arrive from china.