I put my project to control these ethernet relays on Git Hub at 
https://github.com/Zaaphod/Ethernet-HTTP-Relays/  

I thought I would post it here so if someone comes across this while searching 
for information about them they will find it.

This is a library to control Ethernet Relays that use web browser commands 
similar to:

* http://192.168.1.4/30000/00 : Relay-01 OFF 
* http://192.168.1.4/30000/01 : Relay-01 ON 
* http://192.168.1.4/30000/02 : Relay-02 OFF 
* http://192.168.1.4/30000/03 : Relay-02 ON 
* http://192.168.1.4/30000/04 : Relay-03 OFF 
* Http://192.168.1.4/30000/05 : Relay-03 ON 
* ... 
* http://192.168.1.4/30000/30 : Relay-16 OFF 
* http://192.168.1.4/30000/31 : Relay-16 ON 
* http://192.168.1.4/30000/41 : Enter 
* http://192.168.1.4/30000/40 : Exit 
* http://192.168.1.4/30000/42 : Next Page 
* http://192.168.1.4/30000/43 : Next Page 


These Relays are inexpensive and come either with a relay board or made to 
attach to common relay boards

It was tested with these boards:
--------------------------------
* 16 Relay:  https://www.amazon.com/gp/product/B00NDS9LBK (Controller) With 
https://www.amazon.com/gp/product/B07Y2X4F77 (Relay Board)
*  8 Relay:  https://www.amazon.com/gp/product/B076CNJNFH (comes with both the 
controller and the relay board)
 

It allows you to turn any relay on or off programmatically without using a web 
browser
It also deciphers the pages provided by the board's web server to all you to 
programmatically get the status of each relay
It can control multiple relay boards at the same time, they are referenced by 
their IP Address


James

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to