You Just need to set it as D3 in the plugin and that is it set up. There is no device for it but the pin will now be High or Low depending on if the board is connected to HS. Connect an LED and connect and disconnect the board to see.
Greig.
Announcement
Collapse
No announcement yet.
Arduino irrigation controller
Collapse
X
-
Greig thanks for the quick reply
i currently have a 12 volt valve connected to a relay that is connected to a nodmcu (output 1 pin:d2 )
the alive pin is D3 which is not showing in homeseer.
everything is working good at the moment but
would like to use the alive pin for safety.
just trying to understand how to use the alive pin
Paul.
Leave a comment:
-
Originally posted by sirbooker View Postcould someone please explain how the above is done
i have 3 12 volt valves I would like to use for my sprinkler system this season.
paul
Have you looked at this
You would need a relay for each valve and one for the cut off connected to the alive pin connected to the board. I suggest a mega with ethernet shield if you don't have one.
Greig.
Leave a comment:
-
could someone please explain how the above is done
i have 3 12 volt valves I would like to use for my sprinkler system this season.
paul
Leave a comment:
-
trying to understand how to use the alive pin
how would one do this....
>> I would also wire the 24-volt valve control through a relay controlled by the "alive" pin on the Arduino. That way a loss of the power supply to the Arduino or it no longer communicating with HomeSeer would shut down the irrigation valves.
Paul.
Leave a comment:
-
Originally posted by rprade View PostThat does sound like what was happening with one of mine when I was using a Chinese mega with a Chinese Ethernet shield. I will still test it with my current boards. It may not be a completely valid test since mine are POE, meaning that disconnecting the Ethernet also removes power.
Pete
Leave a comment:
-
Originally posted by petez69 View PostHmm, appears I found another post that asked the same question. It appears its something to do with the clone boards...
Think I might code up a "nano" to keep its eye on the "alive pin" and have it "reset" the W5100 board after a set time if it doesnt see HS....not elegant but it will do the trick :-)
Pete
Leave a comment:
-
Originally posted by rprade View PostI'll check mine tomorrow. They have always reconnected immediately, but I haven't tested it since well before 1.0.0.85. I'll post back here.
I sure wouldnt call the "etherten" a clone or cheap board, cost me an arm and a leg :-) Its a freetronics unit.
Thanks for having a look yourself, be interested to see what you find...as I posted above, if I have to I'll simulate a reset button press on the network card if needed....
Pete
Leave a comment:
-
Originally posted by petez69 View PostThe "alive pin" is a very valuable resource !
Randy, while you might be reading this, have question regarding failsafe. I've got a mega and etherten connected to HS. I've enabled the auto-connect feature, if I reboot HS or power down and re-power the arduinos everything is happy however if I pull the ethernet connection on the arduino(s) and re-connect it doesnt come back "on-line" as far as the arduino status goes.
Not sure "why is it so"...?
Pete
Leave a comment:
-
Hmm, appears I found another post that asked the same question. It appears its something to do with the clone boards...
Think I might code up a "nano" to keep its eye on the "alive pin" and have it "reset" the W5100 board after a set time if it doesnt see HS....not elegant but it will do the trick :-)
Pete
Leave a comment:
-
The "alive pin" is a very valuable resource !
Randy, while you might be reading this, have question regarding failsafe. I've got a mega and etherten connected to HS. I've enabled the auto-connect feature, if I reboot HS or power down and re-power the arduinos everything is happy however if I pull the ethernet connection on the arduino(s) and re-connect it doesnt come back "on-line" as far as the arduino status goes.
Not sure "why is it so"...?
Pete
Leave a comment:
-
Originally posted by denisl View PostI'm curious if anyone has built an irrigation controller on arduino using this plugin. I run HS3 on Linux as a VM which eliminates my ability to use irrigation controllers that use an RS232 connection (I'm sure others can pass RS232 over USB to a VM but I'd rather not go down that path).
I've never used or owned an arduino but am thinking this could be the project to get started.
I'm thinking of an Arduino mega, ethernet shield and either a relay shield or separate relay board to manage my 8 sprinkler zones.
Anything I'm missing as to why this wouldn't work?
That said, there is no reason you couldn't use an Arduino as the controller and if I was doing it from scratch I would consider it. HomeSeer has become so reliable as is the Arduino plug-in, I wouldn't hesitate to trust it to control the valves. I would use optically coupled relays like the post Greig linked above, making sure they are configured to be "active high" on the Arduino pins. I would also wire the 24-volt valve control through a relay controlled by the "alive" pin on the Arduino. That way a loss of the power supply to the Arduino or it no longer communicating with HomeSeer would shut down the irrigation valves.
With HomeSeer an the Arduinos, you have a very reliable system as long as your hardware is good - both the server running HomeSeer and the Arduino components.
But just as the Russian proverb President Reagan was fond of repeating "doveryai no proveryai" (trust but verify), I build a lot of redundancy into my Arduino configurations, just in case the hardware or software fails me.
Leave a comment:
-
I have multiple Rain8 serial irrigation controllers, and connect to them using virtualized HS, via a Moxa serial server. It works great with mcsSprinklers. You can pick up a surplus serial server on eBay for dirt cheap.
Leave a comment:
-
Smart irrigation hardware is typically designed so that the processor doing the scheduling control is independent of the processor/timer that is able to actually control the relay/valve. This provides a monitoring capability to assure a valve does not remained in the controlled ON state too long. In your situation this model would be achieved with the arduino providing the monitoring and HS providing commands to control the scheduling. While you do not need this architecture, it does provide a degree of protection. If you use the arduino only as a conduit to overcome RS232 constraints then you have no irrigation valve-on protection. There are other irrigation controllers based upon Ethernet rather than RS232 interface such as Etherrain and OpenSprinkler and in this case there exists out-of-the box solutions that work with HS.
Leave a comment:
Leave a comment: