read Temp from older WC

Efried

Active Member
Hello,
 
I wonder if the WEBSET command may be used together with WSREPLY reading the temperature from an old webcontrol?
 
    WEBSET URL6 1   (/api/gett1.cgi?) why 1, does not care!
    (why WSRPLY is zero?)
    SET VAR8 WSRPLY  
 
thanks for your help
 
best regards
 
 
As second attempt I tried to read a VAR from the server WC, setting the VAR to T1 beforehand on the client WC
But unfortunateley there is only a SETVAR command, but no GETVAR...
so sad...
 
 
Efried said:
Hello,
 
I wonder if the WEBSET command may be used together with WSREPLY reading the temperature from an old webcontrol?
 
It does not work that way, the new board can setvar to older board, but older board does not have anyway to set return value.  The return value can only be set on web server. for the purpose to sending instruction from a server on the internet to a board behind firewall.
 
so sorry, hope in near future you will have an firmware update station in Europe...
CAI_Support said:
The return value can only be set on web server. for the purpose to sending instruction from a server on the internet to a board behind firewall.
exactly this is what I like, communicating through firewalls
 
RossW had implements a few things using WEBSET to retrieve commands from servers.  Once you program the WEBSET in certain interval to talk to server, it can received new commands from server during each WEBSET.  Because WEBSET can start from within firewall and talk to servers on the Internet, it allows remotely control WC function, if the server on the Internet coordinates the commands properly with WC board PLC code, which mean you have to program both sides to accomplish this.
 
Back
Top