Safe shutdown of an electrical device
The smart socket device addresses fire risks and data loss by using thermal and current sensors to initiate a controlled shutdown sequence before disconnecting electrical devices, ensuring safety and reducing damage.
Patent Information
- Application Number
- GB2025006047
- Authority / Receiving Office
- GB · GB
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2026-11-18
AI Technical Summary
Current smart socket devices abruptly disconnect electrical devices during thermal overloads, leading to data loss and damage, negating the benefits of remote switching and failing to address fire risks from electrical surges or ambient changes.
A smart socket device with thermal and current sensors, a processor, and a communications unit that identifies fault conditions, initiates a shutdown sequence, and isolates the device only after completion to prevent hazards and data loss.
Prevents fire escalation and data loss by safely disconnecting devices from power after a controlled shutdown, ensuring user safety and device integrity.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
The present invention relates to a smart socket device, a method of remotely isolating an electrical device connected to a smart socket device, and a system of connected devices. BACKGROUND Fire risks due to faulty household devices have become an increasing concern in recent years. It has been reported that 70% of accidental house fires are caused by electrical devices and supply. Many of these fires are due to small electrical surges or changes in ambient conditions which, if detected and addressed at an earlier stage, could be mitigated. As such, in the modem age where an increasing proportion of household devices require constant electrical connectivity, measures must be taken to ensure the safety of users and residents of households utilising such devices. In current technologies, while some smart socket devices can isolate a problematic device in the lead up to or in the event of a thermal overload, certain electrical devices can lose data or even become permanently damaged if power is abruptly removed, for example by actuating a relay inside a smart socket. More generally, any abrupt isolation of power to an electrical device which requires a shutdown sequence can cause data loss and damage. Accordingly, this limitation negates many of the remote switching advantages that are provided by current smart sockets as initiating a shutdown sequence typically requires access to the electrical device or a separate means to remotely shutdown the device. There is therefore a need for a means to both protect electrical devices from thermal overload and prevent data loss or damage due associated with the interruption of power to the electrical device. SUMMARY OF INVENTION In a first aspect of the invention, there is provided a smart socket device, comprising: a socket arranged to receive an electrical plug of an electrical device to connect the electrical device to a mains power supply; a thermal sensor; a current sensor configured to measure a current draw of an electrical device connected to the socket of the smart socket device in use; a communications unit configured to communicate with the electrical device; and a processor in communication with the thermal sensor, current sensor and the communications unit, wherein the smart socket device is configured to: identify, by the processor, a temperature behaviour which is indicative of a fault condition; send, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device; identify, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; and isolate, by the processor, the electrical device from the mains power supply of the socket. By issuing an instruction to the electrical device to initiate a shutdown sequence, detecting, via a current sensor, when the electrical device has completed a shutdown sequence, and only isolating the electrical device from a mains power supply after a shutdown sequence has been completed, an electrical device experiencing a fault can be disconnected from the power to prevent a hazard from escalating further, but simultaneously reduce a risk of damage, corruption and / or data loss on the electrical device through improper shutdown. An “electrical device” according to the present disclosure may be an electrical device that is sensitive to the removal of a power supply (i.e. at risk of damage, data corruption, or data loss) without executing a shutdown procedure. Examples of electrical devices that fall into this category may include, but are not limited to, computers, servers, gaming consoles, smart televisions, networking hardware, printers, surveillance systems, medical equipment and the like. The smart socket device is preferably configured to receive a plug of the electrical device comprising a live pin and a neutral pin. The smart socket device may comprise a live conductor arranged to conduct current between a live mains wire and the live pin; and a neutral conductor arranged to conduct current between a mains neutral wire and the neutral pin; wherein the thermal sensor is arranged to measure the temperature of the live conductor and / or the neutral conductor. In particular, the smart socket device may comprise a first thermal sensor arranged to measure the temperature of the live conductor, and a second thermal sensor arranged to measure the temperature of the neutral conductor. A “fault condition” according to the present disclosure may be an electrical fault of the electrical device, or a detected state of the electrical device which is a precursor to a predicted future electrical fault. The “communications unit” may be understood as a module of the smart socket device which is configured to communicate with an electrical device connected to a socket of the smart socket device in use. The communications unit may communicate with an electrical device connected to the smart socket device in a wireless or wired manner. The communications unit may permit the smart socket device to communicate with an electrical device powered by the smart socket device through a Wi-Fi network, a narrow band radio frequency network, Bluetooth, mobile telecommunication operators’ networks, or a mesh network, for example communicating according to the OpenThread networking protocol. Alternatively, or in addition to wireless communications, communication may also be performed with the use of optical or other wired communication networks, preferably ethernet or power line communication (PLC). Employing more than one potential communications network provides contingency in the case of failure of one of the networks. The communication between the electrical device powered by the smart socket device and smart socket device enables the smart socket device to send instructions to control one or more functions of the electrical device, and may further permit the electrical device to feedback information to the smart socket device. Specifically, the communications unit permits the smart socket device to issue a shutdown command to an electrical device connected to a socket of the smart socket device. For example, where the electrical device powered by the smart socket device is a computer, the smart socket device may communicate with the computer via the communications unit using a communications protocol which supports a shutdown command. This may be, for example secure shell protocol (SSH) or a server message block protocol (SMB). Alternatively, or additionally, the computer may execute an application which enables the computer to receive data such as a shutdown command from the smart socket device, and subsequently execute its own internal commands based on the received data. By providing a communications unit that can instruct an electrical device to shut down, the electrical device can be safely shut down before it is isolated from a mains power supply in the event of a suspected fault condition. The communications unit of the smart socket device may also be configured to communicate with one or more remote devices. In particular, the smart socket device may communicate wirelessly, via the communications unit, with a smart user device such as a smartphone in order to alert a user of the presence of a potential electrical fault, provide a notification that a shutdown of an electrical device powered by the smart socket device has been instructed, and / or provide a notification that an electrical device powered by the smart socket device has been isolated. Communication with a remote device may be implemented with the same or different communication means or protocols to those described above in relation to communication between an electrical device powered by the smart socket device and the smart socket device. A “temperature behaviour” according to the present disclosure may include one or more of a present temperature, a previous temperature, a change in temperature over time, a temperature gradient, a change in a temperature gradient or the like. Preferably, the identifying a temperature behaviour which is indicative of a fault condition comprises determining that a measured temperature exceeds a preset threshold. The exact threshold temperature used is not limited in this application but may be at or around 65 degrees Celsius. The temperature at which the processor detects a fault condition may be provisioned or edited by a user, for example by setting a threshold temperature in an application on a smart user device which is in communication with the smart socket device. The threshold temperature may initially be set at a default value, and a user may be able to adjust the default value by a given percentage, typically by 5% or 10% each way, for example via input to an application on a smart user device in communication with the smart socket device. In this way, measured temperatures within the smart socket device that are likely to cause a hazard can be identified, and the electrical device safely shutdown in response, preventing the hazard from escalating into a fire. In some embodiments, the identifying a temperature behaviour which is indicative of a fault condition comprises comparing a current temperature behaviour to a previous temperature behaviour. This may involve, for example, calculating a difference between a present temperature measurement and a previous temperature measurement, or a temperature gradient over a plurality of previous temperature measurements. By using a historical temperature behaviour in order to identify a fault condition, different electrical devices which have electrical plugs that operate, under normal conditions, at different temperatures can be accounted for, reducing the likelihood of false positive identifications of a fault condition. Furthermore, if a measured temperature remains substantially constant whilst the electrical device is being used for a period time, but then exhibits a significant increase, this may be a reliable indicator of a fault condition of the electrical device. In these embodiments, the smart socket device may store, in a local or remote memory, temperature data received from the thermal sensor, and may continuously compare incoming temperature data with the stored temperature data in order to identify a fault condition. In some embodiments, the identifying a temperature behaviour which is indicative of a fault condition comprises inputting a measured temperature into a machine learning model trained to identify a temperature behaviour indicative of a fault condition. Typically, this involves inputting a continuous stream of temperature data into the machine learning model. The trained machine learning model may be executed directly on the smart socket device or on a remote server in communication with the smart socket device. The machine learning model may output a prediction as to whether a temperature behaviour is indicative of a fault condition. By utilising a machine learning model, complex patterns in measured temperature data can be analysed in order to accurately identify a fault condition. A “current-draw behaviour” according to the present disclosure may include one or more of a present current-draw, a previous current-draw, a change in current-draw over time, a current-draw gradient, a change in a current-draw gradient or the like. The identifying a current draw behaviour which indicates that the shutdown sequence is complete may comprise determining that a measured current draw is below a preset threshold. When in a shutdown state, an electrical device will typically draw less current than when in an on state, allowing the smart socket device to identify when the electrical device has entered a shutdown state. The exact threshold current used is not limited in this application, but it may be based on a current draw (typically an average current draw) of the electrical device when it is in an on state. The current draw threshold at which the processor detects a shutdown sequence is complete may be provisioned or edited by a user, for example by setting a threshold current in an application on a smart user device which is in communication with the smart socket device. Alternatively, or additionally, the threshold current draw may be set based on a user providing an input to a smart user device in communication with the smart socket device to instruct the smart socket device to measure a current draw of the electrical device when it is in a shutdown state. For example, if an electrical device is measured to draw 10 mA of current in a shutdown state, the current draw threshold may be set at a current draw higher than the current draw in a shutdown state (for example 15 mA), but lower than a current draw when the device is in an on state. Preferably, the identifying a current draw behaviour which indicates that the shutdown sequence is complete comprises determining that a measured current draw is below a preset threshold for a duration exceeding a preset time. By waiting some time after detecting a current draw is below a threshold, it can be more confidently confirmed by the smart socket device that the electrical device has entered a shutdown state, therefore further reducing the risk of isolating the electrical device from a power supply outside of a shutdown state. In some embodiments, the preset threshold is preset as a percentage of a current draw of the electrical device measured by the current sensor while the electrical device is in an on state. The threshold current draw may be set to a percentage of an average current draw of the electrical device measured by the current sensor while the electrical device is in an on state. This may allow the smart socket device to implement a safe shutdown procedure across a wide range of electrical devices with different current draw requirements in both an on state and a shutdown state. In some embodiments, the identifying a current draw behaviour which indicates that the shutdown sequence is complete comprises inputting a measured current draw into a machine learning model trained to identify a current draw behaviour indicative that a shutdown sequence is complete. The trained machine learning model may be executed directly on the smart socket device or on a remote server in communication with the smart socket device. The machine learning model may be trained to receive, as input, current draw data of the electrical device measured by the current sensor continuously over time, and may output a prediction as to whether the electrical device exhibits a current draw behaviour indicative of a fault condition. By utilising a machine learning model, complex patterns in measured current draw data can be analysed in order to accurately identify a fault condition. In some embodiments, the thermal sensor is a contactless thermal sensor, preferably wherein the thermal sensor is an infrared thermal sensor. An infrared sensor may be, for example, a photon detector, a pyroelectric detector or a thermopile detector. Examples of such sensors are pyrometers and infrared thermal imaging sensors. In particular, preferably the thermal sensor is an infrared camera comprising an array of thermopile detector pixels. In this way a highly accurate reading of surface temperature can be determined so as to identify the hazard reliably. The use of thermal imaging allows for the distribution and change in temperature to be measured, allowing for more information to be gathered to provide a more reliable identification of an electrical hazard at an earlier stage. Preferably the thermal sensor comprises a lens providing a wide field of view, for example between 30 and 90 degrees, preferably around 60 degrees. In other examples, the thermal sensor of the smart socket device may be configured to provide a contact temperature measurement. Examples of such a thermal sensor include negative and temperature coefficient (NTC) thermistors, positive temperature coefficient (PTC) thermistors, resistance temperature detectors (RTDs), thermocouples and semiconductor-based sensors. In these examples, the temperature sensor may be configured to contact a surface of a conductor in the smart socket device to measure a surface temperature, or may be otherwise thermally coupled to a surface of the smart socket device. In some embodiments, the thermal sensor is configured to measure a temperature of a conductor, the conductor arranged such that current flows through the conductor between the mains power supply of the socket and the electrical device in use. Preferably the thermal sensor of the smart socket device is configured to provide a contactless measurement of a temperature of a conductor of the smart socket device during use. This provides a more accurate means of identifying the temperature and avoids the need for a sensor to be accurately positioned to come into contact with a conductor, which can result in an unsuccessful measurement should the sensor shift slightly over the lifetime of the device. Preferably the conductor of the smart socket device comprises a conductive track running across a face of a PCB inside the smart socket device, wherein the thermal sensor is arranged so as to be facing the conductive track. In particular, the smart socket device may comprise a first PCB, wherein the conductive track is positioned on a face of the first PCB; and a second PCB comprising the thermal sensor, wherein the first and second PCBs are arranged such that the thermal sensor of the second PCB faces the conductive track on the first PCB. More particularly, the first PCB may be arranged between the socket and the second PCB, the first PCB comprising a first face that faces the socket and a second, opposing, face that faces the second PCB, where the conductive track is positioned on the second face. This provides a compact arrangement to implement the temperature detection without substantially increasing the dimensions of the smart socket device. In some examples, a conductor utilized for contactless temperature measurement is preferably a planar conductor, or comprises a planar portion, positioned on a face of a PCB. Alternatively, or additionally, the conductor of the smart socket which is utilised for contactless temperature measurement by the thermal sensor comprises a connector arranged to contact a pin of the electrical plug when received in the socket. The conductor arrangements above provide a fixed region of current carrying material in the interior of the smart socket device such that the thermal sensor can reliably detect the surface temperature of the conductor without being influenced by the external environment. Preferably, the smart socket device further comprises a relay, wherein the isolating the electrical device from a mains power supply of the socket comprises disconnecting the electrical device from the mains power supply of the socket using the relay. Additionally, the processor may be configured to control the relay in response to one or more of: receiving, via the communications unit, an instruction from a remote device; a measured temperature exceeding a predetermined threshold; and data from a programmable timer within the smart socket device. In some embodiments, the communications unit is configured to communicate with the electrical device directly. Direct communication may be understood as point-to-point communication, i.e. not via an intermediate device. Alternatively, or additionally, the communications unit may be configured to communicate with the electrical device indirectly, for example via a server. Preferably, the communications unit is configured to communicate with the electrical device via one or more of Bluetooth, a local network and the internet. In some examples, the communications unit is configured to send an alert to a remote device when it is identified that a temperature behaviour is indicative of a fault condition. In this way, a user of the remote device may be alerted when a fault condition is present with the electrical device, allowing them to take remedial action accordingly. Preferably, the communications unit is configured to send an indication to a remote device that the electrical device has been isolated after the electrical device has been isolated from the mains power supply of the socket. I n this way, a user of the remote device may be informed when an electrical device powered by the smart socket device has been isolated. Preferably, the smart socket device is configured to: identify, by the processor, a current draw behaviour which is indicative that the electrical device is in a standby mode; send, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device; identify, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; and isolate, by the processor, the electrical device from the mains power supply of the socket. In this way, an electrical device which is identified to be in a standby state can be safely shutdown in order to save energy. Preferably the smart socket device further comprises a housing, wherein the socket is provided on a surface of the housing, and the thermal sensor is positioned within the housing. This allows for the thermal sensor to be housed fully within the housing of the smart socket safety device such that it is protected. Preferably, the smart socket device comprises one or more additional sensors, the one or more sensors comprising one or more of: a smoke and / or gas sensor; a carbon monoxide sensor; and a moisture and / or water sensor, thus allowing the device to sense the presence of a greater range of hazards and identify hazards more reliably. The processor may be configured to determine the presence of an electrical fault based on a combination of data received from multiple sensors. This allows the smart socket device to identify hazards more quickly. A combination of sensors allows for substantially all household hazards relating to electrical equipment to be identified reliably. Preferably, the processor is configured to identify the presence of a hazard based on the output of a combination of sensors. In particular the processor uses a combination approach in which the output of a plurality of sensors is used to more reliably identify a risk. For example, the processor may employ a machine learning algorithm which uses the output of a plurality of sensors to identify a risk. In this way, a hazard can be identified more reliably than when based on the output of a single sensor. For example, a combination of the output of the current sensor and thermal sensor can be used to more reliably identify the presence of an electrical fault. In particularly preferable examples, the output of the current sensor, thermal sensor and ambient temperature sensor are used to identify the presence of an electrical fault. The smart socket device may have one, two or more sockets, each of which may have its own thermal sensor, current sensor and relay switch. The smart socket device may be configured such that each sensed parameter has a corresponding threshold or behaviour indicative of the presence of a hazard. The device may include a memory which stores data comprising such threshold values and behaviour change patterns such that the processor can compare the sensed parameters against the corresponding data to identify the presence of a potential risk. Similarly, the processor can compare the behaviour of a combination of sensed parameters against response data stored in the memory to more reliably identify the presence of a hazard than when based on the output of a single sensor. The smart socket device may additionally include a water sensor; wherein the smart socket device comprises a main body housing the socket, the thermal sensor and the processor; and the water sensor is arranged to be positioned on a surface below the main body of the smart socket device wherein the water sensor is connectable to the main body by a cabled or wireless connection. This allows for leaking water to also be identified which can be particularly hazardous when in combination with an electrical fault. The processor may be configured to analyse the response of the water sensor in combination with one or more other sensors to more reliably determine the presence of a hazard. In some embodiments, the smart socket device is a plug-in adaptor unit further comprising: a plug part arranged to be received in a mains electrical socket, the plug part positioned relative to the socket such that an electrical mains plug of an electrical appliance can be received in the socket of the smart socket device when the plug part is received in a mains socket. This allows for the smart socket device to be used with existing mains sockets in a building by simply plugging the plug part of the adaptor unit into the mains socket and plugging an appliance to be monitored into the socket of the adaptor unit. The plug in adapter may comprise a single socket or a plurality of sockets thus forming an extension lead. In another example the smart socket device is a mains socket faceplate. Preferably the main socket faceplate is configured to be mounted on a surface such as a wall to interface with the mains electrical wiring. In particular the smart socket device is a main socket fascia unit which may be installed in a building in the place of conventional mains socket units for example by screwing the device to the wall at the electrical access points. This allows for the smart socket device to be installed throughout a building to monitor all electrical appliances. The smart socket device preferably further comprises means to provide an alert to a user. Preferably, the alerting means comprises an audible and / or visual alarm which may be activated to notify a user when a hazard is detected. The smart socket device preferably is also configured to send an alert to a user device such as a smart phone to notify a user of the location and type of hazard identified. The device may also be configured to notify a voice assistant (such as Apple™ Siri, Google™ Assistant, Microsoft™ Cortana, Amazon™ Alexa) to notify a user and provide information on the hazard and directions such as a route to exit the building. In a second aspect of the invention, there is provided method of remotely isolating an electrical device powered by a smart socket device, the smart socket device comprising: a socket arranged to receive an electrical plug of the electrical device to connect the electrical device to a mains power supply; a thermal sensor; a current sensor configured to measure a current draw of an electrical device connected to the smart socket device in use; a communications unit configured to communicate with the electrical device; and a processor in communication with the thermal sensor, current sensor and the communications unit, the method comprising: identifying, by the processor, a temperature behaviour which is indicative of a fault condition; sending, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device; identifying, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; and isolating, by the processor, the electrical device from a mains power supply of the socket. For advantages associated with the method according to the second aspect, refer to the advantages above described in relation to the first aspect. In a third aspect of the invention, there is provided a system of connected devices comprising: at least one smart socket device according to the first aspect or any implementation of the first aspect, and an electrical device powered by the smart socket device, wherein the smart socket device and electrical device are connected such that the smart socket device and electrical device can exchange data. In some embodiments, the system of connected devices further comprises a remote device, wherein the remote device is connected to the smart socket device such that the smart socket device and remote device can exchange data. A remote device typically includes any device communicatively connected to the smart socket device which is not a smart socket device according to the first aspect, and may be, for example, a smartphone, smart television, voice assistant device or other smart user device; a remotely controlled valve; a router or hub; a docking station for a mobile phone; a fire alarm; a smoke alarm; a sprinkler system, a dynamic illuminating sign or the like. Where the identifying a temperature behaviour which is indicative of a fault condition comprises determining that a measured temperature exceeds a preset threshold, the remote device may adapted to receive a user input to adjust the preset threshold. This provides flexibility for the user in setting a threshold to detect a fault condition of the electrical device. In some examples, the remote device is configured to provide at least one of a visual, audible and haptic alert when at least one of: a temperature behaviour indicative of a fault condition is identified; and after the electrical device has been isolated from a mains power supply of the socket. The sending of an alert, to a remote device, may include triggering an alerting means on the remote device which comprises an audible, visual and / or haptic alarm. The smart socket device is preferably also configured to send an alert to a user device such as a smart phone to notify a user of the location and type of hazard identified. The device may also be configured to notify a voice assistant (such as Apple™ Siri, Google™ Assistant, Microsoft™ Cortana, Amazon™ Alexa) to notify a user and provide further information about the detection of liquid. The sending of an alert to a remote device results in the user being made aware of a potential fault in a timely manner, allowing the user to perform remedial action. The sending of an alert may alternatively or additionally comprise triggering a remote device to perform a specific action. In some examples, the electrical device is a computer configured to execute an application for receiving data from the smart socket device. Preferably, the communications unit is configured to provide connectivity with the system through a wireless communications link, wherein the wireless communications link is preferably provided by one or more of: a narrow band radio frequency network, Wi-Fi (RTM), Bluetooth (RTM) and a mesh network, the mesh network preferably communicating according to the Thread or OpenThread networking protocol. Implementing more than one network provides contingency in the case of failure of one of the networks. Preferably, the system of connected devices further comprises one or more smart socket devices and one or more remote devices, wherein the smart socket devices and remote devices form a mesh network in which the sending devices and remote devices can communicate. In this way, each device can communicate with the other devices such that coordinated actions and alerts can be provided. In particular, the smart socket devices and remote devices may be configured to communicate according to the Thread or OpenThread networking protocol. This allows the network to operate without a single point of failure, providing redundancy to the mesh network. In a fourth aspect of the invention, there is provided a smart socket device, comprising: a socket arranged to receive an electrical plug of an electrical device to connect the electrical device to a mains power supply; a current sensor configured to measure a current draw of an electrical device connected to the socket of the smart socket device in use; a communications unit configured to communicate with the electrical device; and a processor in communication with the current sensor and the communications unit, wherein the smart socket device is configured to: identify, by the processor, a current draw behaviour which is indicative of a state of the electrical device; send, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device; identify, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; and isolate, by the processor, the electrical device from the mains power supply of the socket. By issuing, in response to identifying a state of an electrical device based on a current draw behaviour, an instruction to the electrical device to initiate a shutdown sequence, detecting, via a current sensor, when the electrical device has completed a shutdown sequence, and only isolating the electrical device from a mains power supply after a shutdown sequence has been completed, an electrical device which is detected to be in a particular state can be disconnected from the power to prevent the hazard from escalating further and / or save energy with a reduced risk damage, corruption and / or data loss on the electrical device. In some embodiments, the state of the electrical device identified based on a current draw behaviour may be a fault state of the electrical device, where a fault state of the electrical device may be a state of the electrical device when it is experiencing a fault condition. Alternatively, or additionally, the state of the electrical device may be a standby state of the electrical device. In a fifth aspect of the invention, there is provided a smart socket device, comprising: a socket arranged to receive an electrical plug of an electrical device to connect the electrical device to a mains power supply; a current sensor configured to measure a current draw of an electrical device connected to the socket of the smart socket device in use; a communications unit configured to communicate with the electrical device; and a processor in communication with the current sensor and the communications unit, wherein the smart socket device is configured to: send, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device; identify, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; and isolate, by the processor, the electrical device from the mains power supply of the socket. By issuing an instruction to the electrical device to initiate a shutdown sequence, detecting, via a current sensor, when the electrical device has completed a shutdown sequence, and only isolating the electrical device from a mains power supply after a shutdown sequence has been completed, an electrical device which is detected to be in a particular state can be disconnected from the power to prevent the hazard from escalating further and / or save energy with a reduced risk damage, corruption and / or data loss on the electrical device. In some embodiments, the smart socket device is further configured to receive, by the communications unit from a remote device, an instruction to shut down the electrical device and / or an instruction to isolate, from the mains power supply, the socket to which the electrical device is connected in use. In these embodiments, the sending, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device is typically triggered by receipt of an instruction to shut down the electrical device from the remote device and / or an instruction to isolate, from the mains power supply, the socket to which the electrical device is connected in use. For example, the remote device may be a smart user device, and a user may initiate the shutdown sequence of the electrical device through interacting with the smart user device, such as through a mobile application facilitating communication with the smart socket device. In some embodiments, the sending, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device is triggered according to a schedule. That is, the smart socket device is configured to initiate a shutdown sequence of the electrical device in response to a schedule. The schedule may be stored on the smart socket device, for example in an internal memory in communication with the processor. Alternatively, or additionally, the schedule may be accessible to the smart socket device from a remote device via the communications unit. The schedule may be set and edited by a user through interaction with the socket via a remote device. For example, the remote device may be a smart user device, and a user may set and edit the shutdown schedule through interacting with the smart user device, such as through a mobile application facilitating communication with the smart socket device. In the embodiments above, a socket of the smart socket device can be remotely isolated on demand by a user or according to a schedule whilst ensuring that a connected electrical device is properly shut down before the power is isolated. This allows energy saving and a reduced risk damage, corruption and / or data loss on the electrical device. In a sixth aspect of the invention, there is provided a smart socket device, comprising: a socket arranged to receive an electrical plug of an electrical device to connect the electrical device to a mains power supply; a communications unit configured to communicate with the electrical device; and a processor in communication with the communications unit, wherein the smart socket device is configured to: connect, by the processor, the electrical device to the mains power supply of the socket; and send, by the communications unit, an instruction to the electrical device to initiate a boot sequence of the electrical device. In this way, electrical devices such as computers which do not power on directly in response to being connected to a mains power supply can be remotely booted as part of a same sequence as connecting the electrical device to a mains power supply, thereby providing a convenient mechanism to remotely boot an electrical device and increased energy efficiency by preventing an electrical device from being left in a state where mains power is connected but the electrical device is not active. In some embodiments, the smart socket device further comprises a current sensor in communication with the processor configured to measure a current draw of an electrical device connected to the socket of the smart socket device in use. In these embodiments, the smart socket device may be further configured to identify, by the processor, a current draw behaviour which indicates that the boot sequence is complete. Such an indication that the boot sequence is complete may be notified to the user, for example via sending a notification to a remote device via the communication unit, so as to allow the user to identify that the electrical device is ready to use. In some embodiments, the smart socket device is further configured to receive, by the communications unit from a remote device, an instruction to boot up the electrical device and / or an instruction to connect socket to which the electrical device is connected in use to the mains power supply. In these embodiments, the sending, by the communications unit, an instruction to the electrical device to initiate a boot sequence of the electrical device is typically triggered by receipt of an instruction to boot up the electrical device from the remote device and / or an instruction to connect socket to which the electrical device is connected in use to the mains power supply. For example, the remote device may be a smart user device, and a user may initiate the boot sequence of the electrical device through interacting with the smart user device, such as through a mobile application facilitating communication with the smart socket device. In some embodiments, the sending, by the communications unit, an instruction to the electrical device to initiate a startup / boot sequence of the electrical device is triggered according to a schedule. The schedule may be stored on the smart socket device, for example in an internal memory in communication with the processor. Alternatively, or additionally, the schedule may be accessible to the smart socket device from a remote device via the communications unit. The schedule may be set and edited by a user through interaction with the socket via a remote device. For example, the remote device may be a smart user device, and a user may set and edit the startup schedule through interacting with the smart user device, such as through a mobile application facilitating communication with the smart socket device. In the embodiments above, a socket of the smart socket device can be remotely connected and a connected electrical device booted on demand by a user or according to a schedule. This allows convenient remote power management of an electrical device and improved energy saving by preventing an electrical device from having power applied to it but being left in a non-active state. The features or implementations of the smart socket device according to any of the first aspect of the invention, the fourth aspect of the invention, the fifth aspect of the invention, and sixth aspect of the invention may be combined with any of the features or implementations of the smart socket according to any other of the first aspect of the invention, the fourth aspect of the invention, the fifth aspect of the invention, and the sixth aspect of the invention. The system according to the third aspect of the invention may comprise one or more smart socket devices according to the first aspect of the invention, one or more smart socket devices according to the fourth aspect of the invention, one or more smart socket devices according to the fifth aspect of the invention, and one or more smart socket devices according to the sixth aspect of the invention, or one or more smart socket devices comprising a combination of any of the features described herein. BRIEF DESCRIPTION OF DRAWINGS Embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which: Figure 1 schematically illustrates a smart socket device according to the present invention; Figure 2 schematically illustrates a PCB of a smart socket device according to the present invention; Figure 3 schematically illustrates a further PCB of a smart socket device according to the present invention; Figure 4 illustrates an exemplary process executed by a smart socket device according to the present invention in order to perform a safe shutdown of an electrical device; Figure 5 illustrates an exemplary process executed by a smart socket device according to the present invention in order to startup / boot an electrical device; and Figures 6A and 6B illustrate example systems of connected devices according to the present invention. DETAILED DESCRIPTION The present invention generally provides a smart socket device adapted to perform a safe shutdown of an electrical device, for example in the event that a certain behaviour associated with the electrical device is detected by the smart socket device. More specifically, the smart socket device may monitor one or more of: a temperature behaviour of an electrical device through a thermal sensor, and a current draw behaviour of the electrical device through a current sensor to identify a state of the electrical device or fault condition, and safely shut down the electrical device accordingly. Alternatively, or additionally, the smart socket device may safely shut down an electrical device according to an instruction received from a remote device or a schedule. The smart socket device may additionally or alternatively be adapted to remotely start up or boot an electrical device that would otherwise have not started up through connecting it to a mains power supply. Various aspects of the invention are now described with reference to the accompanying drawings. The description and specific examples included herein are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure. In some examples, the smart socket device of the present invention may share one or more components and / or functionalities of a smart socket device described in patent application PCT / GB2023 / 050741, which is herein incorporated by reference in its entirety. Figure 1 illustrates a smart socket device 100 according to the present invention in the form of a double socket (i.e. providing two plugs to receive plugs of electrical devices). The smart socket device 100 includes a socket 120 positioned behind a socket faceplate 140 and arranged to receive an electrical plug of an electrical device, a rear housing 190 and back box 191. Between the back box 191 and the faceplate 140, the smart socket device comprises a first PCB 130, a second PCB 110 which is shown in further detail in Figure 2, and a third PCB 150 which is shown in further detail in Figure 3. In the illustrated embodiment, the first PCB 130 of the smart socket device 100 implements a number of features of a conventional ‘smart’ socket. Specifically, the first PCB 130 includes live and neutral conductors 131 arranged such that current can flow through to the conductors 131 from a mains current connector (not shown) to connect a mains power supply cable and an electrical plug of an electrical device during use. In the example illustrated in Figure 1, the conductors 131 are spring connectors arranged to maintain contact with a pin of the electrical plug when received in the socket via the restoring force of said spring connector. Similarly, other electrical connectors such as spade connectors, ring connectors, bullet connectors and screw terminals may be provided as conductors 131 of the PCB 130. The conductors 131 may be composed of metals with a high electrical conductivity such as alloys of silver, copper, gold, platinum, and palladium. Further provided on PCB 130 are relays 180 configured to connect and disconnect conductors 131 (and thus electrical plugs of devices received in the smart socket device) from a mains power supply. Although Figure 1 illustrates a pair of conductors 131, one for each of the live and neutral current paths, a single conductor 131 of either the live or neutral current path may be exposed on a face of PCB 130, or a trio of conductors 131, one for each of the live, neutral and earth current paths may be exposed on a face of PCB 130. Each provided conductor is arranged to make electrical contact with the corresponding live, neutral or earth prongs of an electrical plug when plugged into the socket 120. Referring to Figure 2, the second PCB 110 comprises thermal sensors 111, mounted on the second PCB 110, the thermal sensors 111 being arranged to measure a temperature inside the smart socket device 100. Athermal sensor 111 may detect a temperature associated with the one or more conductors 131 connected to a socket 120. Alternatively multiple thermal sensors 111 per socket 120 may be provided, each configured to detect the surface temperature associated with an individual conductor 131 where multiple conductors are exposed on a face of PCB 130. The thermal sensor 111 is provided by an infrared sensor configured to detect absolute temperature by measuring the emitted infrared radiation. The calculated temperature is then based on a known or assumed emissivity of the target surface. The thermal sensor 111 may be, for example, a pyrometer configured to detect the absolute temperature of a point on the surface of the conductor 131 of the PCB 130 or alternatively, the thermal sensor 111 may be an infrared camera comprising an array of infrared detector pixels. The infrared array sensor may comprise an 8x8 grid array of thermopile elements that detect absolute temperature by measuring the emitted infrared radiation. This infrared array sensor is able to provide thermal images by measuring actual temperature and temperature gradients, allowing highly precise measurements of surface temperature and identification of changes in temperature. The infrared array sensor preferably also includes a lens to provide an increased viewing angle such that a large area of the conductor can be imaged even when the thermal sensor 111 is positioned a short distance away. The lens may comprise an integral silicon lens which provides a viewing angle of around 60 degrees. The thermal sensor 111 is preferably configured to detect temperature changes over a range of -20°C to 100°C, allowing fortracking of the surface temperature of the conductor 131 of the PCB 130 as it begins to heat up in the case of an electrical fault. The thermal sensor 111 may be for example a Panasonic grid-EYE ® sensor, generally used for movement detection, occupancy detection, people counting and lighting control. The thermal sensor 111 is arranged to provide a contactless temperature measurement of the conductor 131 of the PCB 130 when an electrical device is connected to the socket 120. The use of contactless thermal imaging allows for imaging of the conductor 131 as a whole, allowing for temperature changes to be detected across the conductor rather than from a single point as necessitated by a contact measurement. Furthermore, a contact measurement requires that a contact thermal sensor is provided so as to remain in contact with the conductor 131. If the contact thermal sensor is dislodged out of place such that it is no longer in contact with the conductor, it will no longer provide an accurate temperature measurement such that there is a risk that a hazardous fault in the electrical device will not be detected. An infrared array sensor also provides for the possibility of more complex processing carried out on the thermal image received by the sensor. For example, more advanced machine learning based algorithms can be used to detect temperature change patterns which are indicative of a high-risk fault in the device. The thermal sensor 111 may be positioned in a number of different ways to achieve the reading of a temperature of the conductor 131 of the PCB 130. In Figure 1, the thermal sensor 111 is located on a second PCB 110 positioned behind the PCB 130 when the smart socket device 100 is viewed from the socket faceplate 140. The first PCB 130 is arranged such that a first face of the PCB 130 is adjacent to the underside of the socket faceplate 140, and a second face of the PCB 130, opposite to the first face, faces away from the faceplate 140. The thermal sensor 111 is positioned in a location on the PCB 110 such that the conductor 131 of the PCB 130 is within the field of view of the thermal sensor 111 and such that the thermal sensor 111 images the surface of the conductor 131 of the PCB 130. The conductors 131 typically comprise a planar portion of electrically conductive material on the second face of the PCB 130, providing a region at which the thermal sensors 111 may be directed. In this way, a compact and effective arrangement can be achieved by providing the second PCB 110 substantially parallel with the first PCB 130 with the thermal sensors 111 arranged so as to face the planar portion of the conductors 131 on the second face of the first PCB 130. The thermal sensor 111 may equally be placed in a number of alternative locations so as to provide a contactless temperature measurement of the conductor 131 of the PCB 130 of the smart socket device 100. In other non-illustrated examples, the thermal sensor 111 may alternatively be configured to provide a contact measurement of the temperature of the conductor 131 of the PCB 130 during use. Examples of such a thermal sensor include negative and temperature coefficient (NTC) thermistors, positive temperature coefficient (PTC) thermistors, resistance temperature detectors (RTDs), thermocouples and semiconductor-based sensors. In these examples, the thermal sensor 111 may be configured to contact the surface of the conductor 131 of the PCB 130 to measure the surface temperature, or may be otherwise thermally coupled to the surface of the conductor 131 of the PCB 130. The arrangement of the thermal sensor / s 111 and conductor 131 ensures that the material and geometry of the temperature measurement surface remains constant independent of the plugged-in electrical device. This may improve the accuracy and consistency of surface temperature detection. For example, if the material of the conductors 131 is known, pertinent physical properties of the conductive material such as its emissivity may be used by the processor to calibrate the thermal sensor 111 to provide a more accurate temperature detection. The PCB 110 also includes a current sensor 113 for monitoring the current drawn by an electrical device plugged into the smart socket device 100. The current sensor 113 may measure a current drawn by a device plugged into a single socket 120 of the smart socket device 100, or through both sockets independently 120 in a double socket arrangement as shown in Figure 1. Multiple current sensors 113 may also be provisioned on the PCB 110, each current sensor arranged to measure a current drawn through one of multiple sockets 120 of the smart socket device. The PCB 110 further includes a processor 170 which is in communication with each thermal sensor 111 and current sensor 113 such that the processor 170 may receive output data from the thermal sensor 111 and current sensor 113 indicative of temperature and current draw respectively. In addition to the thermal sensor 111 and current sensor 113, the smart socket device 100 may comprise a number of additional sensors to detect the presence of a hazard. In particular, the smart socket device 100 may further comprise: one or more of a smoke and / or gas sensor configured to detect smoke from any electrical device connected to the smart socket device 100 or smoke and / or gas, preferably methane, in the vicinity of the device 100, for example from gas fires, boilers or cookers; and a carbon monoxide sensor configured to detect carbon monoxide in the vicinity of the smart socket device 100, for example from gas fires orboilers. Figure 3 illustrates PCB 150 comprising a number of additional sensors in more detail, Specifically, PCB 150 includes a temperature and / or humidity sensor 112, a carbon monoxide and / or methane gas sensor 114 and a smoke sensor 115. The sensors located on PCB 150 may be communicatively coupled to the PCB 110 via one or more cables such that the sensors located on PCB 150 can communicate with the processor 170 provided on PCB 110. In other examples, other combinations of additional sensors may be provided on the PCB 150 or otherwise. Each of the sensors of the smart socket device 100, where provided, are electrically connected to the processor 170 within the smart socket device 100 such that the processor 170 can calculate whether any of the sensed parameters are indicative of a potential hazard. The processor 170 may be configured to determine the presence of a potential hazard by identifying when the value of a sensed parameter exceeds a predetermined threshold value. However more complex processing may be used to identify the presence of a hazard, for example by identifying a rate of change of a sensed parameter or where a sensed parameter change displays a particular behaviour or pattern associated with an increased risk of a hazard. The processor 170 can also be configured to determine the presence of a hazard based on a combination of sensor outputs in order to identify a risk more reliably. For example the processor 170 can use more complex algorithms, such as machine learning based algorithms which take the output from multiple sensors in order to determine an elevate risk. For example in a situation where the current sensor and thermal sensor readings are lower than corresponding individual thresholds, the behaviour of the sensor readings in combination may signify a developing hazard and therefore this can be detected at an earlier stage than with a single sensor. Similarly, an unusual rate of chance of one or more parameters may indicate the presence of a hazard. The device 100 may include an internal memory holding such sensor parameter data with the processor 170 configured to compare the received data with data indicative of a hazard held in the memory in order to identify the presence of a hazard. The processor 170 may use more complex algorithms such as machine learning algorithms which can be trained to identify changes in the parameters associated with increased risks of a potential hazard. For example, the machine learning algorithm may include a neural network (or support vector machine) which functions to receive he data from the sensors as inputs and, once trained on a set of simulated hazards, may be able to identify a real-life hazard from a combination of inputs from the sensors using weights and thresholds that may not be set of predetermined by the operator. In another example, a linear regression model may be used to identify changes of parameters over time to predict or estimate a level of risk. The processor 170 is also in communication with a communications unit of the smart socket device 100, where the communications unit may be understood as a module of the smart socket device 100 which is configured to communicate with an electrical device connected to a socket 120 of the smart socket device 100 in use. The communications unit may communicate with an electrical device connected to the smart socket device 100 in a wireless or wired manner. The communications unit may permit the smart socket device 100 to communicate with an electrical device powered by the smart socket device 100 through a Wi-Fi network, a narrow band radio frequency network, Bluetooth, mobile telecommunication operators’ networks, or a mesh network, for example communicating according to the OpenThread networking protocol. Alternatively, or in addition to wireless communications, communication may also be performed with the use of optical or other wired communication networks, preferably ethernet or power line communication (PLC). Employing more than one potential communications network provides contingency in the case of failure of one of the networks. The communication between the electrical device powered by the smart socket device 100 and smart socket device 100 enables the smart socket device 100 to send instructions to control one or more functions of the electrical device, and may further permit the electrical device to feed back information to the smart socket device 100. Specifically, the communications unit permits the smart socket device 100 to issue a shutdown command to an electrical device connected to a socket 120 of the smart socket device 100. For example, where the electrical device powered by the smart socket device 100 is a computer, the smart socket device 100 may communicate with the computer via the communications unit using a communications protocol which supports a shutdown command. This may be, for example secure shell protocol (SSH) or a server message block protocol (SMB). Alternatively, or additionally, the computer may execute an application which enables the computer to receive data such as a shutdown command from the smart socket device 100, and subsequently execute its own internal commands based on the received data. By providing a communications unit that can instruct an electrical device to shut down, the electrical device can be safely shut down before it is isolated from a mains power supply in the event of a suspected fault condition. The communications unit of the smart socket device 100 may also configured to communicate with one or more remote devices. In particular, the smart socket device 100 may communicate wirelessly, via the communications unit, with a smart user device such as a smartphone in order to alert a user of the presence of a potential electrical fault, provide a notification that a shutdown of an electrical device powered by the smart socket device 100 has been instructed, and / or provide a notification that an electrical device powered by the smart socket device 100 has been isolated. Communication with a remote device may be implemented with the same or different communication means or protocols to those described above in relation to communication between an electrical device powered by the smart socket device 100 and the smart socket device 100. The communication between the communications unit of the smart socket device 100, an electrical device connected to a socket of the smart socket device 100, and a remote device may be indirect (i.e. via at least one intermediary device such as a server) or direct (i.e. in a point-to-point manner). Figures 6Aand 6B illustrate two exemplary systems of connected devices in which a smart socket device 600, remote device represented by a smart user device 602, and an electrical device represented by computer 604, communicate. The smart socket device 600 may be considered as equivalent to the smart socket device 100 described herein. In Figure 6A, the smart socket device 600 communicates with computer 604 via an intermediary device 606. The intermediary device 606 may be a local or cloud provisioned server which is configured to transmit and receive to and from the smart socket device 600, and also transmit and receive data to and from the computer 604. This communication may be, for example, implemented over a local network (wired or wireless), or over the internet where the intermediary device 606 is located in the cloud. The intermediary device 606 may also be in communication with a remote device, which in the illustration of Figure 6A is a smart user device 602 such as a smartphone, enabling two-way communication between the intermediary device 606 and smart user device 602. The smart user device may execute an application which allows a user to receive alerts from the smart socket device 600 passed on by the intermediary device 606, and send commands to the smart socket device 600 and / or computer 604. The computer 604 may also execute an application which enables communication with the smart socket device 600 and smart user device 602. The communications links between each of the smart socket device 600, smart user device 602 and computer 604 and the intermediary device 606 may be provided by one or more different communications protocols and / or connection means. It is to be noted that the communications between the smart socket device 600, computer 604 and smart user device 602 may be implemented by using a path including more than one intermediary device 606. Figure 6B illustrates an alternative system of connected devices in which the smart socket device 600 communicates with a computer 604 directly. A direct communication between the smart socket device and computer may be a wired connection such as ethernet or the like, or may be a wireless connection such as through a Bluetooth connection or as part of a mesh network. In Figure 6B, the smart socket device 600 is connected to the smart user device 602 also in a direct manner, for example by using Bluetooth or as part of a mesh network. However, in other non-illustrated examples, the smart user device 602 may connect to the smart socket device 600 indirectly such as illustrated in Figure 6A, while the smart socket device 600 connects to the computer 604 directly. Figure 4 illustrates an exemplary process which may be executed by the smart socket device 100 in order to perform a safe shutdown of an electrical device powered by the smart socket device 100. The process illustrated in Figure 4 may be triggered by a number of different mechanisms as are further described below. In typical examples, the smart socket device 100 will trigger the process illustrated in Figure 4 in the event that electrical device exhibits a temperature behaviour indicative of a fault condition, this behaviour being identified by the processor 170 of the smart socket device 100. In some examples, as an alternative or in addition to a identifying a temperature behaviour which is indicative of a fault condition, the smart socket device 100 may utilise other behaviours associated with electronic devices powered by the smart socket device 100 as a trigger for sending a shutdown instruction to the electrical device. For example, the smart socket device 100 may monitor a current draw behaviour of an electrical device powered by the smart socket device 100 to identify, by the processor 170, when a current draw behaviour is indicative of a particular situation. For example, the current draw behaviour may be monitored in a similar manner to the temperature behaviour in order to identify a fault condition. As such, the mechanisms for identifying a temperature behaviour indicative of a fault condition described herein may equally apply to identifying a current draw behaviour indicative of a fault condition, where the temperature data from the thermal sensor 111 is replaced with current data from the current sensor 113. Furthermore, the safe shutdown process illustrated in Figure 4 may also be triggered in response to the processor 170 identifying a particular power state of the electrical device. In these examples, the current draw behaviour may also be monitored by the smart socket device 100 to identify when it is indicative of a particular power state of the electrical device powered by the smart socket device 100. Specifically, the processor 170 may be configured to identify a current draw behaviour indicative that the electrical device is in a standby / sleep mode. In some examples, the processor 170 of the smart socket device 100 may trigger the process illustrated in Figure 4 in response to receiving an instruction from a remote device to shut down the electrical device, or an instruction from a remote device to isolate the socket to which the electrical device is connected. This is typically by virtue of a user interacting with a smart user device connected to the smart socket device, for example via an application on the smart user device. In additional examples, the processor 170 of the smart socket device 100 may implement a schedule / timer-based shutdown of an electrical device powered by the smart socket device 100. Specifically, at a time which is preferably set by a user, for example via a smart user device in communication with the smart socket 100, the smart socket device may trigger the process illustrated in Figure 4. Any one or more of the trigger mechanisms for the shutdown process disclosed herein may be implemented on the smart socket device 100 alone or in combination. In examples where temperature behaviour triggers the process of Figure 4, the processor identifies, based on measured temperature data which is received from the thermal sensor 111, a temperature behaviour which is indicative of a fault condition. The fault condition may be an electrical fault in the electrical device, or a condition of the electrical device which is a precursor to an electrical fault. To identify a temperature behaviour which is indicative of a fault condition, the processor 170 may compare a measured temperature by the thermal sensor 111 to a threshold temperature and determine that a fault condition is present when the measured temperature exceeds a preset threshold. The exact threshold temperature used is not limited in this application but may be at or around 65 degrees Celsius. The temperature at which the processor 170 detects a fault condition may be provisioned or edited by a user, for example by setting a threshold temperature in an application on a smart user device which is in communication with the smart socket device 100. The threshold temperature may initially be set at a default value, and a user may be able to adjust the default value by a given percentage, typically by 5% or 10% each way, for example via input to an application on a smart user device in communication with the smart socket device 100. As an alternative or in addition to utilizing a temperature threshold to identify a fault condition, the processor 170 may also compare a current temperature behaviour associated with the electrical device with a previous temperature behaviour associated with the electrical device. For example, if the measured temperature remains substantially constant whilst the electrical device is being used for a period time, but then exhibits a significant increase, such an increase in view of a previously consistent measured temperature may be indicative of a fault condition of the electrical device. In these examples, the smart socket device 100 may store, in a local or remote memory, temperature data received from the thermal sensor 111, and may continuously compare incoming temperature data with the stored temperature data in order to identify a fault condition. In some examples, the processor 170 may utilize a trained machine learning model in order to identify a temperature behaviour which is indicative of a fault condition. The trained machine learning model may be executed directly on the smart socket device 100 or on a remote server in communication with the smart socket device. The machine learning model may be trained to receive, as input, temperature data measured by the thermal sensor 111 continuously over time, and may output a prediction as to whether a temperature behaviour is indicative of a fault condition. In examples where a current draw behaviour triggers the process of Figure 4, the processor identifies, based on measured current data which is received from the current sensor 113, a current draw behaviour which is indicative of a fault condition and / or a power state of the electrical device. The fault condition may be an electrical fault in the electrical device, or a condition of the electrical device which is a precursor to an electrical fault. The power state of the electrical device may be a standby state of the electrical device, a sleep state of the electrical device or the like. To identify a current draw behaviour which is indicative of a fault condition or a power state of the electrical device, the processor 170 may compare a measured current by the current sensor 113 to a threshold current and determine that a fault condition / power state is present when the measured current exceeds / does not exceed a preset threshold. For example, a current draw that exceeds a threshold may indicate a fault condition, and a current draw that does not exceed a threshold may indicate a standby / sleep state of the electrical device. Multiple thresholds may be applied to identify different states of the electrical device. As an alternative or in addition to utilizing a current threshold to identify a fault condition or power state of the electrical device, the processor 170 may also compare a present current draw behaviour associated with the electrical device with a previous current draw behaviour associated with the electrical device. For example, if the measured current remains substantially constant whilst the electrical device is being used for a period time, but then exhibits a significant increase, such an increase in view of a previously consistent measured current may be indicative of a fault condition of the electrical device. If the measured current remains substantially constant whilst the electrical device is being used for a period time, but then exhibits a significant decrease, such a decrease in view of a previously consistent measured current may be indicative that the electrical device has entered a standby / sleep state. In these examples, the smart socket device 100 may store, in a local or remote memory, current data received from the current sensor 113, and may continuously compare incoming current data with the stored current data in order to identify a fault condition or power state of the electrical device. In some examples, the processor 170 may utilize a trained machine learning model in order to identify a current draw behaviour which is indicative of a fault condition and / or power state. The trained machine learning model may be executed directly on the smart socket device 100 or on a remote server in communication with the smart socket device. The machine learning model may be trained to receive, as input, current draw data measured by the current sensor 113 continuously over time, and may output a prediction as to whether a current draw behaviour is indicative of a fault condition or power state of the electrical device. After identifying one of the trigger events described above, the process according to Figure 4 is then executed. At step S401, the smart socket device 100 sends, via the communications unit, an instruction to the electrical device to initiate a shutdown sequence. In examples where the electrical device is a computer, the computer may run an application configured to receive a shutdown instruction from the smart socket device 100, and may execute its own internal command to perform a shutdown sequence in response to receiving the command from the smart socket device 100. After a shutdown instruction has been issued to the electrical device by the smart socket device 100, the smart socket device monitors a current draw behaviour of the electrical device via the current sensor 113 so as to identify, at step S402, current draw behaviour which indicates that the shutdown sequence is complete. The current draw threshold at which the processor 170 detects a shutdown sequence is complete may be provisioned or edited by a user, for example by setting a threshold current in an application on a smart user device which is in communication with the smart socket device 100. The threshold current draw may be set to a percentage of a current draw of the electrical device measured by the current sensor while the electrical device is in an on state. Alternatively, or additionally, the threshold current draw may be set based on a user providing an input to a smart user device in communication with the smart socket device 100 to instruct the smart socket device 100 to measure a current draw of the electrical device when it is in a shutdown state. In some examples, the processor 170 may identify a current draw behaviour which indicates that the shutdown sequence is complete by determining that a measured current draw is below a preset threshold for a duration exceeding a preset time, ensuring that the electrical device is in a fully shutdown state before proceeding to a next step in the process. In some examples, the processor 170 may utilize a trained machine learning model in order to identify a current draw behaviour which indicates that the shutdown sequence is complete. The trained machine learning model may be executed directly on the smart socket device 100 or on a remote server in communication with the smart socket device. The machine learning model may be trained to receive, as input, current draw data of the electrical device measured by the current sensor 113 continuously overtime, and may output a prediction as to whether the electrical device exhibits a current draw behaviour indicative of a fault condition. When it is identified that the electrical device has been successfully shut down, the smart socket device 100 may isolate, at step S403 by the processor 170, the electrical device from a mains power supply of the socket of the smart socket device 100 that the electrical device is connected to. Isolating the electrical device may comprise the smart socket device 100 actuating a relay 180 so as to disconnect the electrical device from the mains power supply of the socket. Throughout the stages of the process of Figure 4, the smart socket device may communicate, directly or indirectly, with a remote device such as a smart user device in order to provide alerts or notifications. Specifically, when a temperature behaviour indicative of a fault condition is identified by the processor 170, the communications unit may send an alert or notification to the remote device indicating that such a temperature behaviour has been observed. Furthermore, the communications unit may send an alert or notification to the remote device indicating that the electrical device has been isolated after the electrical device has been isolated from the mains power supply of the socket. In each case, the remote device may, in response to receiving the alert or notification, may provide its own visual, audible and / or haptic alert to bring these states of the electrical device to the attention of a user. Additionally, the smart socket device 100 may include its own internal alarm or visual indicator (such as LEDs) which are activated to indicate that a temperature behaviour indicative of a fault condition has been observed, and / or once the electrical device has been isolated from the mains power supply of the socket. By performing the process illustrated in Figure 4 in response to one or more of the trigger events disclosed above, an electrical device powered by a smart socket device 100 is only isolated from a power supply when it has been identified that the electrical device has completed a shutdown procedure. This may prevent the electrical device from becoming damaged or incurring data loss due to not completing a proper shutdown procedure of the electrical device before isolating it from a power supply. The smart socket device 100 of the present invention may, alternatively or additionally to the safe shutdown procedure described above, implement a remote boot procedure for an electrical device connected to the socket. Such an example procedure is illustrated in Figure 5. As with the safe shutdown procedure illustrated in Figure 4, the remote boot procedure may also be triggered by a number of different mechanisms. In some examples, the processor 170 of the smart socket device 100 may trigger the process illustrated in Figure 5 in response to receiving an instruction from a remote device to start up the electrical device, or an instruction from a remote device to connect, to mains power, the socket to which the electrical device is connected. This is typically by virtue of a user interacting with a smart user device connected to the smart socket device, for example via an application on the smart user device. In additional examples, the processor 170 of the smart socket device 100 may implement a schedule / timer-based startup of an electrical device powered by the smart socket device 100. Specifically, at a time which is preferably set by a user, for example via a smart user device in communication with the smart socket 100, the smart socket device may trigger the process according to Figure 5. At step S501, the electrical device is connected to the mains power supply of the socket. This may comprise the smart socket device 100 actuating a relay 180 so as to connect the electrical device to the mains power supply of the socket. At step S502, an instruction is sent by the communications unit to the electrical device to initiate a boot sequence of the electrical device. In some examples, this may be according to the Wake-on-LAN or other similar remote booting protocol. At optional step S503, the processor may identify a current draw behaviour which indicates that the boot sequence is complete. This may be used to indicate or notify to the user, for example via a notification sent to a smart user device, that the electrical device has been booted and is ready to use. By executing the startup process illustrated in Figure 5 in response to any of the trigger events discussed above, the electrical device can be remotely booted simultaneously with connecting it to mains power, thereby providing a convenient mechanism to remotely boot an electrical device and preventing energy from being wasted when an electrical device has mains power applied but is not in an active state. The smart socket device 100 of the present invention may provide a range of additional functionality associated with commercially available smart sockets. For example, the first PCB 130 may include a relay to allow for remote control of the smart socket, allowing the current supply to a device plugged into the socket to be turned off and on remotely by a user operating a connected user device - or via a programmable timer. The first PCB 130 may additionally comprise a sensor for measuring the power supplied to a device plugged into the smart socket device 100. The smart socket device 100 may further comprise a range of functionality to provide various responses when the processor determines that sensed parameters from sensors provided in the device exceed a predetermined threshold. In particular, the device 100 may further include an internal alarm sounder to provide an alert when the surface temperature of the conductor of the PCB exceeds the predetermined threshold, therefore indicating a risk of fire. The device 100 may include one or more relay switches for stopping current flow to an device through the smart socket device 100. The present invention therefore provides multiple different mechanisms to perform 5 a safe shutdown of an electrical device in the event that a certain behaviour associated with the electrical device is detected by the smart socket device or a safe remote shutdown is requested / scheduled by a user. In this way, damage and data loss on the electrical device can be prevented if the electrical device needs to be powered off, and energy efficiency improved.
Claims
1. A smart socket device, comprising:a socket arranged to receive an electrical plug of an electrical device to connect the electrical device to a mains power supply;a thermal sensor;a current sensor configured to measure a current draw of an electrical device connected to the socket of the smart socket device in use;a communications unit configured to communicate with the electrical device; anda processor in communication with the thermal sensor, current sensor and the communications unit, wherein the smart socket device is configured to:identify, by the processor, a temperature behaviour which is indicative of a fault condition;send, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device;identify, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; andisolate, by the processor, the electrical device from the mains power supply of the socket.
2. The smart socket device according to claim 1, wherein the identifying a temperature behaviour which is indicative of a fault condition comprises determining that a measured temperature exceeds a preset threshold.
3. The smart socket device according to claim 1 or 2, wherein the identifying a temperature behaviour which is indicative of a fault condition comprises comparing a current temperature behaviour to a previous temperature behaviour.
4. The smart socket device according to any preceding claim, wherein the identifying a temperature behaviour which is indicative of a fault condition comprises inputting a measured temperature into a machine learning model trained to identify a temperature behaviour indicative of a fault condition.
5. The smart socket device according to any preceding claim, wherein the identifying a current draw behaviour which indicates that the shutdown sequence is complete comprises determining that a measured current draw is below a preset threshold.
6. The smart socket device according to any preceding claim, wherein the identifying a current draw behaviour which indicates that the shutdown sequence is complete comprises determining that a measured current draw is below a preset threshold for a duration exceeding a preset time.
7. The smart socket device according to claim 5 or claim 6, wherein the preset threshold is preset as a percentage of a current draw of the electrical device measured by the current sensor while the electrical device is in an on state.
8. The smart socket device according to any preceding claim, wherein the identifying a current draw behaviour which indicates that the shutdown sequence is complete comprises inputting a measured current draw into a machine learning model trained to identify a current draw behaviour indicative that a shutdown sequence is complete.
9. The smart socket device according to any preceding claim, wherein the thermal sensor is configured to measure a temperature of a conductor, the conductor arranged such that current flows through the conductor between the mains power supply of the socket and the electrical device in use.
10. The smart socket device according to any preceding claim, wherein the thermal sensor is a contactless thermal sensor, preferably wherein the thermal sensor is an infrared thermal sensor.
11. The smart socket device according to any preceding claim, further comprising a relay, wherein the isolating the electrical device from a mains power supply of the socket comprises disconnecting the electrical device from the mains power supply of the socket using the relay.
12. The smart socket device according to any preceding claim, wherein the electrical device is a computer.
13. The smart socket device according to any preceding claim, wherein the communications unit is configured to communicate with the electrical device directly.
14. The smart socket device according to claim any preceding claim, whereinthe communications unit is configured to communicate with the electrical device via Bluetooth.
15. The smart socket device according to any preceding claim, wherein the communications unit is configured to communicate with the electrical device indirectly.
16. The smart socket device according to any preceding, wherein the communications unit is configured to communicate with the electrical device via at least one of a local network and the internet.
17. The smart socket device according to any preceding claim, wherein the communications unit is configured to send an alert to a remote device when it is identified that a temperature behaviour is indicative of a fault condition.
18. The smart socket device according to any preceding claim, wherein the communications unit is configured to send an indication to a remote device that the electrical device has been isolated after the electrical device has been isolated from the mains power supply of the socket.
19. The smart socket device according to any preceding claim, wherein the smart socket device is configured to:identify, by the processor, a current draw behaviour which is indicative that the electrical device is in a standby mode;send, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device;identify, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; andisolate, by the processor, the electrical device from the mains power supply of the socket.
20. A method of remotely isolating an electrical device powered by a smart socket device, the smart socket device comprising:a socket arranged to receive an electrical plug of the electrical device to connect the electrical device to a mains power supply;a thermal sensor;a current sensor configured to measure a current draw of an electrical device connected to the smart socket device in use;a communications unit configured to communicate with the electrical device; anda processor in communication with the thermal sensor, current sensor and the communications unit, the method comprising:identifying, by the processor, a temperature behaviour which is indicative of a fault condition;sending, by the communications unit, an instruction to the electrical device to initiate a shutdown sequence of the electrical device;identifying, by the processor, a current draw behaviour which indicates that the shutdown sequence is complete; andisolating, by the processor, the electrical device from a mains power supply of the socket.
21. A system of connected devices comprising:at least one smart socket device according to any one of claims 1 to 19; andan electrical device powered by the smart socket device, wherein the smart socket device and electrical device are connected such that the smart socket device and electrical device can exchange data.
22. The system according to claim 21, further comprising a remote device, wherein the remote device is connected to the smart socket device such that the smart socket device and remote device can exchange data.
23. The system according to claim 22, wherein the identifying a temperature behaviour which is indicative of a fault condition comprises determining that ameasured temperature exceeds a preset threshold, and wherein the remote device is adapted to receive a user input to adjust the preset threshold.
24. The system according to any one of claims 21 to 23, wherein the remote device is configured to provide at least one of a visual, audible and haptic alert 5 when at least one of:a temperature behaviour indicative of a fault condition is identified; and after the electrical device has been isolated from a mains power supply of the socket.
25. The system according to any one of claims 21 to 24, wherein the electrical 10 device is a computer configured to execute an application for receiving data from the smart socket device.
Citation Information
Patent Citations
ViewUS2021124327A1onEspacenetopensinnewtab
ViewCN110336163AonEspacenetopensinnewtab
ViewWO2023180751A1onEspacenetopensinnewtab
