So I have an Arduino with a temperature sensor in an oil bath on an 11,000V transformer switch. If that temperature goes above 240 degrees C, I need to send a maintenance engineer to check. I can currently manually monitor the temp sensor reading in the serial window.
The engineers are managed by a service desk that manages Service Requests. I want the trigger event from an Arduino to automatically create a Service Request in the ERP system. There is a simple mechanism in the ERP system for importing and posting a service request received as an XML file in a monitored directory or received via a Web Service endpoint.
The file should have the following structure:
!<?xml version='1.0' encoding='UTF-8'?>
"Transformer2"
"Oil Temp Exceeded"
244
DegC
"
The Arduino sketch will read the temperature regularly, and once the message is sent. will not send another message unless the temp goes below 240C again when an "Oil Temp Normal" message will be sent.
I have read a number of posts on the subject of sending files to a PC. Many of them are old now, and I am asking advice on this in case new techniques or libraries or equipment is available to make this easier now. I am happy to include an Ethernet or Bluetooth or other communication shield with the Arduino to facilitate this. This project is at a "proof of concept" stage currently.
Is anyone able to offer me any guidance on this?