A gateway adapted to receive a range of wireless and wired sensory input, which are processed and packaged and then delivered to a remote data storage facility by use of a cellular network and an on board cellular device, wherein the gateway comprises a signal formatting circuitry and programmable signal processing device where the signal formatting circuitry is adapted to receive an electrical raw input signal and comprise means to reshape the raw input signal to a formatted electrical input signal according to input requirements of the programmable signal processing device, characterized in that the programmable signal processing device is programmed to deliver control signals according to a received parameter, in accordance with an expected raw input signal format, and that further;
- the programmable signal processing device is adapted to deliver output control signals at switching devices provided in a signal line arranged between a potential of the electrical raw input signal and ground potential wherein,
- the switching devices are adapted to connect the electrical raw input signal to the ground potential through a respective resister of predetermined size, whereby a terminal of the resistor is connected to the electrical raw input signal and another terminal is connected to ground potential to create a formatted input signal at the terminal of the resistor connected to the electrical raw input signal,
- the formatted electrical input signal is transmitted to the remote data storage facility via the on board cellular device, wherein a transmission schedule depends on whether at least one of external power supply is available, only battery power is available or no external power supply is available and battery is low.