04.01.2017, 20:21
(04.01.2017, 07:24)admin Wrote: First url should be:
http://10.0.x.xx/scada-main/objects/update
Second one should be:
http://10.0.x.xx/scada-main/objects/main
This does not work. I get a Cross origin error in the web console for http://10.0.x.x/scada-main/objects/updat....cgi?upd=0. Reason "CORS-Header 'Access-Control-Allow-Origin' missing". Ideas?
(04.01.2017, 09:01)admin Wrote: As for sending values from client you can use these functions (keep in mind that only group addresses can be used here, not object names):
Code:localbus.write('1/1/1', true); // same as grp.write('1/1/1', true)
localbus.update('1/1/2', 42); // same as grp.update('1/1/2', 42)
Great, looking forward to that firmware!