Does anyone have any advice on how to get started sending commands from FPC to 
use these ethernet relays:

https://www.amazon.com/gp/product/B076CNJNFH


Default IP :192.168.1.4       prot:30000        http://192.168.1.4/30000 

HTTP Comment: 
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/14 : Relay-8 OFF 
http://192.168.1.4/30000/15 : Relay-8 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

I don't really know what I even need to do to send commands like that over the 
network.  Of course I can get it to work just typing the commands from a 
browser but that's not what I want, I want my FPC console program to send the 
appropriate commands whenever I want one of the relays to come on or go off.

Any suggestions on how this might be accomplished?

James

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

Reply via email to