Downloading from GitHub is simple... just go to the ST_Anything GitHub repository, and download the whole thing using the zip file option.
The ReadMe pretty much explains the remaining steps, regarding simply copying the contents of the libraries and sketches folders in the zip file to your corresponding folders.
Thanks. I must not have had something in the correct directory before. Now I got as far as test compiling one of your sample sketches which is further than I got before. I'll start attempting the next steps when I have more mental energy.
After a few struggles, I got Hubduino working to the point that I can control an LED on the Arduino from a Hubitat dashboard. I can also send info the other way with a physical button on the Arduino working as a contact sensor in Hubitat. Then, it got late and I needed sleep so I could function today in the job that I actually get paid to do. I am looking forward to building the Arduino circuit you provided and testing that. It feels like I am close to accomplishing my original goal. (I've felt that way before and found more barriers.)
I showed my wife how I could light the LED from a Hubitat dashboard. She was not nearly as impressed as I thought she should be.
I completely understand what you're saying... I get the same reaction from my family. If they only knew how much work it took to get a little LED light to turn on...
I have a couple follow-up questions:
Which driver should I be using? I'm thinking contact sensor, but would like to confirm.
How much AC current is needed? Your post above says:
Your picture shows 24.2 kOhms with 24VAC. Wouldn't that yield 1 ma instead of 10 ma?
I haven't made this work yet, but I don't know whether or not my issue is with this part of the circuit. My push button, which was previously working as a contact sensor, is no longer working either. I changed the power supply to the NodeMCU from a USB cable to a 9V battery via the power supply circuit that came with an Arduino kit. That appears to work, but it is a suspect since it is something that changed between the time it worked and the time that it doesn't. Is Hubduino pretty good about re-connecting to Hubitat after the Arduino has been unpowered for a few days?
Yes. I believe I was just trying to keep the current seen by the H11AA1 to under 10ma, which is what it is rated for. The 1 ma seems to work fine to trigger the H11AA1.
Yes, it should connect and just start working immediately.
Is there a reason to power the NodeMCU board with a 9v battery?
The 9V battery lets me carry it from the table where I work on it to the furnace room to test it. In the location I intend to use the circuit once it is working, it is not convenient to power it with a USB. My preference would be to power it with the 24VAC that is right there.
Any ideas why my Hubduino circuit doesn't recover after power is turned off for a few minutes and then turned back on?
Is the whole home losing power? Or just unplugging the HubDuino Microcontroller?
I have an Arduino MEGA 2560 + W5500 Ethernet shield that have been running for years through many power blips. I also have a NodeMCU ESP8266 board that also always recovers itself after a power blip.
I just unplugged in for about a minute. The cord was dangling, so I needed to re-arrange it so the plug wasn't supporting weight. It was working properly before I unplugged it, but didn't resume working when I plugged it back in. I tried pressing the reset button, but that didn't solve it.
These might be on/off with PWM - although I'm not sure as I don't have an underfloor system. It will become quickly apparent though...