Interconnection control method and device of garbage can and air conditioner
By interconnecting and controlling the trash can with the air conditioner, the air conditioner detects the temperature and controls the trash can's reminder and sealing functions, solving the problem of odor escape from smart trash cans under high temperatures and achieving timely odor prevention and reminders.
Patent Information
- Application Number
- CN202310553575.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-05-16
AI Technical Summary
Existing smart trash cans cannot prevent odors from escaping in time when the temperature is high, and the prompts are not timely enough.
By connecting the trash can to the air conditioner, the system can detect the indoor temperature, determine whether to output a prompt message, and, if necessary, control the trash can lid to close to prevent odors from escaping.
It effectively prevents odors from escaping from the trash can into the room under high temperatures, and provides timely reminders to improve the user experience.
Smart Images

Figure CN118998892B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent control, in particular to a garbage can and air conditioner interconnection control method and device. BACKGROUND
[0002] With the continuous development of technology, more and more intelligent devices begin to appear in people's life. Among them, there are also intelligent garbage cans. The intelligent garbage can can remind the user to dump garbage in time when the garbage is full.
[0003] However, when the temperature is high, even if the garbage in the garbage can is less, the garbage is very easy to produce odor. The existing intelligent garbage can only reminds the user to dump when the garbage is full, so when the temperature is high, the garbage is very easy to produce odor. SUMMARY
[0004] An object of the present application is to provide a garbage can and air conditioner interconnection control method and device that can solve any of the above problems.
[0005] A further object of the present application is to effectively avoid the odor in the garbage can from escaping into the room.
[0006] Another further object of the present application is to output the prompt information more timely.
[0007] In particular, the present application provides a garbage can and air conditioner interconnection control method, comprising:
[0008] obtaining an indoor temperature value detected by the air conditioner, denoted as a first temperature value;
[0009] determining whether the first temperature value is greater than or equal to a first preset temperature threshold;
[0010] If greater than or equal to the first preset temperature threshold, detecting whether there is garbage in the garbage can;
[0011] If there is garbage in the garbage can, detecting whether the storage time of the garbage in the garbage can is greater than or equal to a first preset time threshold;
[0012] If greater than or equal to the first preset time threshold, outputting a prompt information.
[0013] Optionally, the step of outputting the prompt information comprises:
[0014] detecting whether the garbage in the garbage can is cleaned;
[0015] If not cleaned, obtaining the retention time of the garbage in the garbage can after the prompt information is outputted;
[0016] detecting whether the residence time is greater than or equal to a second preset time threshold value;
[0017] if greater than or equal to the second preset time threshold value, controlling the lid of the garbage can to be closed.
[0018] Optionally, the garbage can is provided with a pressure sensor.
[0019] The step of detecting whether there is garbage in the garbage can includes: detecting whether the value of the pressure sensor is greater than a null value, the null value being the value of the pressure sensor when the garbage can is empty.
[0020] The step of detecting whether the garbage in the garbage can is cleaned includes: detecting whether the value of the pressure sensor returns to the null value.
[0021] Optionally, the step of detecting whether the residence time of the garbage in the garbage can is greater than or equal to a first preset time threshold value includes:
[0022] if not, obtaining an indoor temperature value detected by the air conditioner, denoted as a second temperature value;
[0023] updating the first preset time threshold value according to the second temperature value, and performing the step of detecting whether the residence time of the garbage in the garbage can is greater than or equal to the first preset time threshold value.
[0024] Optionally, the step of updating the first preset time threshold value according to the second temperature value includes:
[0025] updating the first preset time threshold value according to the formula t=t1-k(T2-T1); wherein,
[0026] t is the updated first preset time threshold value, t1 is the current first preset time threshold value, k is a self-defined parameter, T2 is the second temperature value, and T1 is the indoor temperature value corresponding to the current first preset time threshold value.
[0027] Optionally, the step of updating the first preset time threshold value according to the second temperature value includes:
[0028] detecting whether the second temperature value is greater than or equal to a second preset temperature threshold value, if yes, performing the step of outputting the prompt information, and if not, performing the step of updating the first preset time threshold value according to the second temperature value, wherein the second preset temperature threshold value is greater than the first preset temperature threshold value.
[0029] Optionally, the air conditioner has a fresh air function, and the step of outputting the prompt information includes:
[0030] controlling the air conditioner to start the fresh air function.
[0031] Optionally, the step of controlling the lid of the garbage can to be closed and outputting the prompt information includes:
[0032] Detecting the preset opening instruction, controlling the garbage can to open the lid.
[0033] Optionally, the step of receiving the preset opening instruction comprises:
[0034] Detecting the distance between the garbage can and the air conditioner;
[0035] If the distance between the garbage can and the air conditioner exceeds the preset distance, it is determined that the opening instruction is detected.
[0036] In another aspect of the present application, a garbage can and air conditioner interconnection control device is also provided, comprising a memory and a processor, wherein the memory stores a machine executable program, and the machine executable program is executed by the processor to implement the garbage can and air conditioner interconnection control method of any one of the above.
[0037] The garbage can and air conditioner interconnection control method of the present application connects the garbage can and the air conditioner, obtains the indoor temperature value detected by the air conditioner, which is recorded as the first temperature value. If the first temperature value is greater than or equal to the first preset temperature threshold, it is detected whether there is garbage in the garbage can. If there is garbage in the garbage can, it is detected whether the storage time of the garbage is greater than or equal to the first preset time threshold. If it is greater than or equal to the first preset time threshold, a prompt information is output. That is, when the indoor temperature is high, by detecting the storage time of the garbage in the garbage can, when the storage time is long, a prompt information is output to prompt the user to clean the garbage can in time. Therefore, it helps to avoid the garbage in the garbage can being stored for too long at a high temperature, thereby effectively avoiding the problem of the garbage being difficult to clean and the odor caused by the garbage rotting too fast at a high temperature. Moreover, since the air conditioner originally has the function of detecting the indoor temperature, by connecting the garbage can and the air conditioner, not only can the temperature detection function of the air conditioner be directly utilized, but also it helps to make the air conditioner execute the corresponding mode according to the garbage in the garbage can, thereby improving the interconnection property between the household tools.
[0038] Further, the garbage can and air conditioner interconnection control method of the present application detects whether the garbage in the garbage can is cleaned after the prompt information is output. If it is not cleaned, the residence time of the garbage in the garbage can after the prompt information is output is obtained. If the residence time is greater than or equal to the second preset time threshold, the lid of the garbage can is controlled to be closed, that is, the garbage can is closed. Because the garbage in the garbage can has been stored for more than the first preset time threshold, the storage time is long, and the odor has been generated. Therefore, after the prompt information is output, if the garbage in the garbage can is not cleaned for a long time, the garbage can is automatically closed, thereby effectively preventing the odor in the garbage can from escaping into the room, and improving the user's experience.
[0039] Further, the garbage can and air conditioner interconnection control method of the present application updates the first preset time threshold according to the indoor temperature value detected by the air conditioner, denoted as a second temperature value. That is, in the process of detecting whether the storage time is greater than or equal to the first preset time threshold, the first preset time threshold is constantly updated according to the change of the indoor temperature value, so that the first preset time threshold can be reduced when the indoor temperature value rises. Because the higher the temperature, the more easily the garbage produces odor, reducing the first preset time threshold when the indoor temperature value rises is beneficial to outputting the prompt information more timely.
[0040] The above and other objects, advantages and features of the present application will become more apparent from the following detailed description of some embodiments thereof, when taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0041] Some embodiments of the present application will be described in detail with reference to the drawings, wherein the same or like components have the same or similar reference numbers. It should be understood that the drawings are not necessarily drawn to scale. In the drawings:
[0042] Figure 1 is a schematic block diagram of an interconnection control device according to an embodiment of the present application;
[0043] Figure 2 is a schematic flowchart of a garbage can and air conditioner interconnection control method according to an embodiment of the present application;
[0044] Figure 3 is a schematic flowchart of a garbage can and air conditioner interconnection control method according to another embodiment of the present application;
[0045] Figure 4 is a schematic flowchart of a garbage can and air conditioner interconnection control method according to still another embodiment of the present application;
[0046] Figure 5 is a schematic flowchart of a garbage can and air conditioner interconnection control method according to still another embodiment of the present application. DETAILED DESCRIPTION
[0047] It should be understood by those skilled in the art that the embodiments described below are only a part of the embodiments of the present application, but not all the embodiments of the present application, and the part of the embodiments are intended to explain the technical principles of the present application, but not to limit the protection scope of the present application. Based on the embodiments provided by the present application, all other embodiments obtained by those skilled in the art without creative labor should fall within the protection scope of the present application.
[0048] It is to be appreciated that the logic and / or steps represented in the flow diagrams and / or described herein, for example, can be considered as a sequence of executable instructions executed by a logic processor, such as a processing system, including a processor, or other logic processor-based system, or in connection with which the instructions are executed. It is to be further appreciated that the logic and / or steps represented in the flow diagrams and / or described herein, for example, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, execution unit, or other units coupled to the instruction execution system and execute the instructions.
[0049] As shown in the Figure 1 In one embodiment, the garbage can and air conditioner interconnection control device 10 includes a memory 110 and a processor 120, wherein the memory 110 stores a machine executable program 111. The machine executable program 111 is executed by the processor 120 to implement the garbage can and air conditioner interconnection control method of any of the following embodiments. The garbage can is a smart garbage can, and the interconnection control device 10 can be disposed on one of the garbage can and the air conditioner and wirelessly connected to the other. It can also be a separate device wirelessly connected to both the garbage can and the air conditioner.
[0050] As shown in the Figure 2 In one embodiment, the garbage can and air conditioner interconnection control method generally includes:
[0051] Step S101, obtaining the indoor temperature value detected by the air conditioner, denoted as the first temperature value. Specifically, the control device obtains the indoor temperature value detected by the air conditioner in real time.
[0052] Step S102, determining whether the first temperature value is greater than or equal to a first preset temperature threshold. If yes, executing step S103, if no, executing step S101, that is, continuing to obtain the temperature detected by the air conditioner to continuously update the first temperature value. Specifically, the first preset temperature threshold can be a fixed value preset at the factory, or a value set by the user. For example, the first preset temperature threshold can be 20 degrees Celsius, 25 degrees Celsius, etc.
[0053] Step S103, detecting whether there is garbage in the garbage can. If yes, executing step S104, if no, executing step S101, that is, continuing to obtain the temperature detected by the air conditioner. Specifically, the garbage can is provided with a pressure sensor. The step of detecting whether there is garbage in the garbage can includes: detecting whether the value of the pressure sensor is greater than the null value, the null value being the value of the pressure sensor when the garbage can is empty. If it is greater than the null value, it means that there is garbage in the garbage can.
[0054] It should be noted that an infrared detector can also be provided at a certain height in the garbage can. When a signal is detected that the infrared detector is blocked, it means that there is garbage in the garbage can.
[0055] Step S104: Detect whether the storage time of trash in the trash can is greater than or equal to a first preset time threshold. If yes, proceed to step S105; otherwise, proceed to step S103. Specifically, this means checking whether the time trash has been in the trash can greater than or equal to the first preset time threshold since the detection that the first temperature value is greater than the first preset temperature threshold. The first preset time threshold can be a system default value or a user-defined value. Furthermore, if the first preset time threshold is a system default value, a corresponding default value can be set according to the room type. For example, a study can be set to 48 hours, a living room to 24 hours, and a kitchen to 12 hours, etc.
[0056] Step S105: Output a prompt message. When the time the trash has been stored in the trash can is greater than or equal to a first preset time threshold, a prompt message is output. Specifically, the prompt message is used to remind the user that the trash has been stored for a long time and should be emptied promptly. The prompt message can be output by sending a message to the user's mobile device, or by installing a sound or light prompt device on the trash can, using sound to output the prompt message, or using a light prompt device to display a specific light to output the prompt message.
[0057] In this embodiment, the trash can and air conditioner are interconnected, and the indoor temperature value detected by the air conditioner is recorded as a first temperature value. If the first temperature value is greater than or equal to a first preset temperature threshold, the presence of trash in the trash can is detected. If trash is present, the storage time of the trash is detected to be greater than or equal to a first preset time threshold. If it is greater than or equal to the first preset time threshold, a prompt message is output. In other words, when the indoor temperature is high, by detecting the storage time of trash in the trash can, a prompt message is output when the storage time is long to remind the user to empty the trash can in a timely manner. Therefore, this helps to prevent trash from being stored in the trash can for too long at high temperatures, thereby effectively preventing the trash from rotting too quickly at high temperatures, which would make it difficult to clean and cause odor problems.
[0058] Furthermore, since air conditioners inherently have the function of detecting indoor temperature, connecting the trash can and the air conditioner not only allows direct use of the air conditioner's temperature detection function, but also helps the air conditioner to execute corresponding modes based on the amount of trash in the trash can, thus enhancing the interconnectivity between home appliances.
[0059] like Figure 3 As shown, in one embodiment, the method for interconnecting a trash can and an air conditioner generally includes:
[0060] Step S201: Obtain the indoor temperature value detected by the air conditioner and record it as the first temperature value.
[0061] Step S202, determine whether the first temperature value is greater than or equal to the first preset temperature threshold, if yes, execute step S203, if no, execute step S201, that is, continue to obtain the temperature detected by the air conditioner, and continuously update the first temperature value.
[0062] Step S203, detect whether there is garbage in the garbage can, if yes, execute step S204, if no, execute step S201, that is, continue to obtain the temperature detected by the air conditioner. Specifically, the garbage can is provided with a pressure sensor. The step of detecting whether there is garbage in the garbage can includes: detecting whether the value of the pressure sensor is greater than the null value, the null value being the value of the pressure sensor when the garbage can is in an empty state. If it is greater than the null value, it means that there is garbage in the garbage can.
[0063] Step S204, detect whether the storage time of the garbage in the garbage can is greater than or equal to the first preset time threshold, if yes, execute step S205, if no, execute step S203.
[0064] Step S205, output prompt information.
[0065] Step S206, detect whether the garbage in the garbage can is cleaned, if yes, execute step S201, if no, execute step S207. Specifically, that is, after outputting the information, continuously monitor whether the garbage in the garbage can is cleaned. In the case that the garbage can is provided with a pressure sensor. The step of detecting whether the garbage in the garbage can is cleaned includes: detecting whether the value of the pressure sensor returns to the null value.
[0066] It should be noted that an infrared detector can also be provided at a certain height in the garbage can. When a signal is detected that the infrared detector is blocked, it means that there is garbage in the garbage can. When it is detected that the signal of the infrared detector is not blocked, it means that the garbage in the garbage can is cleaned.
[0067] Step S207, obtain the residence time of the garbage in the garbage can after the output of the prompt information. Specifically, when the prompt information is output, the time starts from zero. If the garbage is not cleaned, the length of time monitored is continuously monitored, that is, the residence time.
[0068] Step S208, detect whether the residence time is greater than or equal to the second preset time threshold, if yes, execute step S209, if no, execute step S207. The second preset time threshold can be a system default value or can be set by the user. Exemplarily, the second preset time threshold can be 6 hours, 8 hours, 12 hours, etc.
[0069] Step S209, control the lid of the garbage can to be closed. Specifically, that is, the garbage can is closed. At the same time, a reminder information can also be output.
[0070] In the scheme of the embodiment, by detecting whether the garbage in the garbage can is cleaned after the prompt information is output, if not, the residence time of the garbage in the garbage can after the prompt information is output is obtained. If the residence time is greater than or equal to the second preset time threshold, the lid of the garbage can is controlled to be closed, that is, the garbage can is closed. Because the garbage in the garbage can has been stored for more than the first preset time threshold, the storage time is longer, and the odor has been generated. Therefore, after the prompt information is output, if the garbage in the garbage can is still not cleaned for a long time, the garbage can is automatically closed, thereby effectively avoiding the odor in the garbage can from escaping into the room, and the use experience of the user is improved.
[0071] In addition, after the step of controlling the lid of the garbage can to be closed and outputting the prompt information, the following steps are included:
[0072] A preset opening instruction is detected, and the lid of the garbage can is controlled to be opened. The preset opening instruction can be an opening instruction sent by the user to the control device by using the mobile terminal.
[0073] Alternatively, the distance between the garbage can and the air conditioner is detected; if the distance between the garbage can and the air conditioner exceeds a preset distance, it is determined that the opening instruction is received. That is, when the distance between the garbage can and the air conditioner exceeds the preset distance, the garbage can is automatically opened, which simplifies the opening process.
[0074] As shown in FIG. 1, in one embodiment, the interconnection control method of the garbage can and the air conditioner generally includes: Figure 4
[0075] In step S301, a temperature value detected by the air conditioner is obtained, and is recorded as a first temperature value.
[0076] In step S302, it is determined whether the first temperature value is greater than or equal to a first preset temperature threshold. If yes, step S303 is executed; if no, step S301 is executed, that is, the temperature detected by the air conditioner is continuously obtained, and the first temperature value is continuously updated.
[0077] In step S303, it is detected whether there is garbage in the garbage can. If yes, step S304 is executed; if no, step S301 is executed, that is, the temperature detected by the air conditioner is continuously obtained.
[0078] In step S304, it is detected whether the storage time of the garbage in the garbage can is greater than or equal to a first preset time threshold. If yes, step S307 is executed; if no, step S305 is executed.
[0079] At step S305, the indoor temperature value detected by the air conditioner is obtained, and is recorded as a second temperature value. Specifically, the change of the indoor temperature value is detected simultaneously in the process of detecting whether the storage time is greater than or equal to the first preset time threshold. If the storage time is not greater than or equal to the first preset time threshold, the indoor temperature value is obtained, and is recorded as the second temperature value.
[0080] At step S306, the first preset time threshold is updated according to the second temperature value. When the indoor temperature value changes, that is, the second temperature value changes relative to the first temperature value, the first preset time threshold is updated according to the changed second temperature value. Then, the detection of whether the storage time is greater than or equal to the first preset time threshold, that is, the time recorded previously is not cleared, is continued.
[0081] In an embodiment, the step includes updating the first preset time threshold according to the formula t=t1-k(T2-T1); wherein t is the updated first preset time threshold, t1 is the current first preset time threshold, k is a self-defined parameter, T2 is the second temperature value, and T1 is the indoor temperature value corresponding to the current first preset time threshold.
[0082] For example, the first preset temperature threshold is 20 degrees Celsius, the initial first preset time threshold is 28 hours, and k is set to 2. In the process of detecting whether the storage time is greater than or equal to the first preset time threshold, when the storage time has passed for 8 hours, if the indoor temperature value rises to 21 degrees Celsius. Because the first preset time threshold of 28 hours has not been reached, the first preset time threshold is updated to 28-2x(21-20)=26 hours. When the storage time has passed for another 10 hours, the total storage time is 18 hours, which is less than 26 hours, and the temperature rises to 22 degrees Celsius, so the first preset time threshold is updated to 26-2x(22-21)=24 hours.
[0083] Because the higher the temperature, the more easily the garbage produces odor, as the indoor temperature value rises, the first preset time threshold is appropriately reduced to output the prompt information more timely.
[0084] It should be noted that the formula t=t1-k(T2-T1) can use different k values in different temperature ranges. For example, the first preset temperature threshold is 20 degrees Celsius, k is 2 when the second temperature value is less than or equal to 24 degrees Celsius, and k is 3 when the second temperature value is greater than 24 degrees Celsius. It can also be that k is adjusted once for each degree Celsius rise.
[0085] In addition, it should be noted that when the second temperature value decreases relative to the first preset temperature threshold, the first preset time threshold can also be appropriately increased using t=t1-k(T2-T1).
[0086] At step S307, the prompt information is output.
[0087] In the scheme of the embodiment, a value of the indoor temperature detected by the air conditioner is obtained, denoted as a second temperature value, and the first preset time threshold is updated according to the second temperature value. That is, in the process of detecting whether the storage time is greater than or equal to the first preset time threshold, the first preset time threshold is constantly updated according to the change of the indoor temperature value, so that the first preset time threshold can be reduced when the indoor temperature value rises. Because the higher the temperature, the more easily the garbage produces odor, reducing the first preset time threshold when the indoor temperature value rises is beneficial to outputting the prompt information more timely.
[0088] As shown in FIG. 1, in one embodiment, the interconnection control method of the garbage can and the air conditioner generally comprises: Figure 5
[0089] Step S401, obtaining a value of the indoor temperature detected by the air conditioner, denoted as a first temperature value.
[0090] Step S402, judging whether the first temperature value is greater than or equal to a first preset temperature threshold, if yes, executing step S403, if no, executing step S401, that is, continuing to obtain the temperature detected by the air conditioner to constantly update the first temperature value.
[0091] Step S403, detecting whether there is garbage in the garbage can, if yes, executing step S404, if no, executing step S401, that is, continuing to obtain the temperature detected by the air conditioner.
[0092] Step S404, detecting whether the storage time of the garbage in the garbage can is greater than or equal to the first preset time threshold, if yes, executing step S408, if no, executing step S405.
[0093] Step S405, obtaining a value of the indoor temperature detected by the air conditioner, denoted as a second temperature value.
[0094] Step S406, detecting whether the second temperature value is greater than or equal to a second preset temperature threshold, if yes, executing step S408, if no, executing step S407. The second preset temperature threshold is greater than the first preset temperature threshold. Exemplarily, the first preset temperature threshold is 20 degrees Celsius, and the second preset temperature threshold is 28 degrees Celsius.
[0095] Step S407, updating the first preset time threshold according to the second temperature value. If the second temperature value is less than the second preset temperature threshold, the first preset time threshold is updated according to the second temperature value, and the specific updating manner is referred to the above embodiment, which will not be described here.
[0096] Step S408, outputting a prompt information. If the second temperature value is greater than or equal to the second preset temperature threshold, the prompt information is outputted.
[0097] In the scheme of the embodiment, by detecting whether the second temperature value is greater than or equal to the second preset temperature threshold, if greater than or equal to the second preset temperature threshold, the step of outputting the prompt information is executed, so that the prompt information can be directly output when the indoor temperature is too high, and the generation of odor caused by the storage of garbage at a too high temperature is avoided.
[0098] In addition, in an embodiment, the air conditioner has a fresh air function, and after the step of outputting the prompt information, the air conditioner is controlled to start the fresh air function. The fresh air function can exchange indoor air and outdoor air, so that even if the garbage generates odor, the odor in the room can be effectively reduced.
[0099] At this point, those skilled in the art should recognize that although the present application has been fully shown and described herein with reference to a number of exemplary embodiments, many other variations or modifications can be determined or deduced directly from the disclosure of the present application in accordance with the principles of the present application without departing from the spirit and scope of the present application. Therefore, the scope of the present application should be understood and recognized as covering all these other variations or modifications.
Claims
1. A method for interconnection control of a garbage can and an air conditioner, comprising: obtaining an indoor temperature value detected by the air conditioner, denoted as a first temperature value; determining whether the first temperature value is greater than or equal to a first preset temperature threshold value; if the first temperature value is greater than or equal to the first preset temperature threshold value, detecting whether there is garbage in the garbage can; if there is garbage in the garbage can, detecting whether a storage time of the garbage in the garbage can is greater than or equal to a first preset time threshold value; if the storage time of the garbage in the garbage can is greater than or equal to the first preset time threshold value, outputting a prompt information; the step of detecting whether the storage time of the garbage in the garbage can is greater than or equal to the first preset time threshold value comprises: if not, obtaining an indoor temperature value detected by the air conditioner, denoted as a second temperature value; updating the first preset time threshold value according to the second temperature value, and performing the step of detecting whether the storage time of the garbage in the garbage can is greater than or equal to the first preset time threshold value; the step of updating the first preset time threshold value according to the second temperature value comprises: updating the first preset time threshold value according to a formula t = t1-k(T2-T1); wherein, t is an updated first preset time threshold value, t1 is a current first preset time threshold value, k is a self-defined parameter, T2 is the second temperature value, and T1 is an indoor temperature value corresponding to the current first preset time threshold value. the step of outputting the prompt information comprises:
2. The interconnection control method of a trash can and an air conditioner according to claim 1, wherein, detecting whether the garbage in the garbage can is cleaned; if the garbage in the garbage can is not cleaned, obtaining a retention time of the garbage in the garbage can after the prompt information is outputted; detecting whether the retention time is greater than or equal to a second preset time threshold value; if the retention time is greater than or equal to the second preset time threshold value, controlling a lid of the garbage can to be closed. the garbage can is provided with a pressure sensor; 3. The method of claim 2, wherein, the step of detecting whether there is garbage in the garbage can comprises: detecting whether a value of the pressure sensor is greater than a null value, the null value being a value of the pressure sensor when the garbage can is in an empty state; the step of detecting whether the garbage in the garbage can is cleaned comprises: detecting whether the value of the pressure sensor returns to the null value. the step of updating the first preset time threshold value according to the second temperature value comprises:
4. The method of claim 1, wherein, detecting whether the second temperature value is greater than or equal to a second preset temperature threshold value, if yes, performing the step of outputting the prompt information, and if not, performing the step of updating the first preset time threshold value according to the second temperature value, wherein the second preset temperature threshold value is greater than the first preset temperature threshold value. the air conditioner has a fresh air function, and the step of outputting the prompt information comprises:
5. The method of claim 1, wherein, controlling the air conditioner to start the fresh air function. the step of controlling the lid of the garbage can to be closed and outputting the prompt information comprises:
6. The method of claim 2, wherein, detecting a preset opening instruction, and controlling the garbage can to open the lid. the step of detecting the preset opening instruction comprises:
7. The method of claim 1, wherein, detecting a distance between the garbage can and the air conditioner; if the distance between the garbage can and the air conditioner exceeds a preset distance, it is determined that the opening instruction is detected.
8. An interconnection control device for a garbage can and an air conditioner, comprising: A memory and a processor, wherein the memory stores a machine executable program, and the machine executable program, when executed by the processor, implements the method for interconnection control of a garbage can and an air conditioner according to any one of claims 1 to 7.
Citation Information
Patent Citations
Garbage can management method and system, garbage can, server and storage medium
CN112964293A
Method and device for controlling air conditioner and air conditioner
CN115507510A