Electric switch and intelligent closestool

By designing an electrical switch that can rotate, press and pull motion, combined with the rotation monitoring component and the pull-press monitoring component, the problem of a single input method of existing electrical switch signals is solved, and more flexible control and functional integration of smart home appliances is achieved.

CN222927351UActive Publication Date: 2025-05-30TAKA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421903688.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2025-05-30
Estimated Expiration
2034-08-07

AI Technical Summary

Technical Problem

The signal input method of existing electrical switches is single, making it difficult to meet the control needs of smart home appliances with diverse functions.

Method used

An electrical switch is designed, including a rotation monitoring assembly and a pull-press monitoring assembly. The operating member can perform rotation, press and pull motions to generate a rotation signal, a press signal and a pull signal respectively.

Benefits of technology

By adding signal input methods, the electrical switch can control smart home appliances more flexibly, improving the integration and adaptability of functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222927351U_ABST
    Figure CN222927351U_ABST
Patent Text Reader

Abstract

The utility model belongs to the technical field of household appliances, and discloses an electric switch and an intelligent closestool, and the electric switch comprises a housing, a circuit board, an operation member, a rotation monitoring assembly, and a pull-press monitoring assembly. The circuit board is arranged in the accommodating space; the operating piece comprises an operating piece body and a connecting shaft, the operating piece is rotationally connected with the shell through the connecting shaft, and the operating piece can do pressing motion and drawing motion; the rotary monitoring assembly is used for monitoring the rotary motion of the operating part; the pulling and pressing monitoring assembly is used for monitoring pressing motion and pulling motion of the operating part and comprises a first Hall element and a first magnetic part, the first Hall element is a vertical Hall element arranged on the circuit board, and the first magnetic part is arranged on the operating part and can move along with the operating part; the first Hall element at least can respond to the first magnetic part to generate a drawing signal when the operating part does the drawing motion. The electric switch has multiple signal input modes and can adapt to intelligent closestools with various functions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of household appliances, in particular to an electric switch and a smart toilet. Background Art

[0002] An application circuit is usually controlled by an electric switch. By closing or opening the electric switch, the application circuit can be connected or disconnected. With the integration of functions of smart electrical appliances, more and more application circuits need to be controlled by the electric switch. However, common rotary switches or push buttons only have one signal input method, such as rotation or pressing, which is difficult to meet the control requirements of smart household appliances with diverse functions. Summary of the Utility Model

[0003] One object of the utility model is to provide an electric switch to solve the technical problem of few signal input methods of the electric switch; another object of the utility model is to provide a smart toilet, which can have multiple functions at the same time and has a high degree of integration.

[0004] To achieve the above object, the utility model adopts the following technical solutions:

[0005] The electric switch includes a housing, a circuit board, an operating member, a rotation monitoring component and a pull-press monitoring component; the circuit board is placed in the accommodation space; the operating member includes an operating member body and a connecting shaft, the operating member is rotationally connected to the housing through the connecting shaft, and the operating member can also perform a pressing movement and a pulling movement along the length direction of the connecting shaft; the rotation monitoring component is electrically connected to the circuit board, and the rotation monitoring component is used to monitor the rotational movement of the operating member; the pull-press monitoring component is electrically connected to the circuit board, and the pull-press monitoring component is used to monitor the pressing movement and the pulling movement of the operating member. The pull-press monitoring component includes a first Hall element and a first magnetic member. The first Hall element is arranged on the circuit board and is a vertical Hall element, and the first magnetic member is arranged on the operating member and can move together with the operating member. The first Hall element can at least generate a pulling signal in response to the first magnetic member when the operating member performs the pulling movement.

[0006] In one embodiment, the first Hall element can generate a pressing signal in response to the first magnetic member when the operating member performs the pressing movement.

[0007] In one embodiment, the pull-press monitoring component further includes a pressing induction member arranged on the circuit board. The pressing induction member is arranged on one side of the connecting shaft along the length direction of the connecting shaft, and the pressing induction member can be triggered by the connecting shaft when the operating member performs the pressing movement.

[0008] In one embodiment, the rotation monitoring component includes a second Hall element, which is disposed on the circuit board and is a vertical Hall element. The second Hall element can generate a rotation signal in response to the first magnetic member when the operating member makes the rotational movement.

[0009] In one embodiment, two of the second Hall elements and / or the first magnetic members are provided.

[0010] In one embodiment, the electric switch further includes a reset member, which keeps the operating member in a tendency to return to the initial position.

[0011] In one embodiment, the reset member includes a second magnetic member. Two of the first magnetic members and two of the second magnetic members are provided. The two first magnetic members are oppositely disposed on one side of the operating member facing the housing, and the two second magnetic members are oppositely disposed on one side of the housing facing the operating member. One of the first magnetic members and one of the second magnetic members attract each other with NS magnetism, and the other first magnetic member and the other second magnetic member attract each other with NS magnetism.

[0012] In one embodiment, the operating member further includes a limiting member disposed on the connecting shaft and located in the accommodating space. The limiting member can abut against the housing when the operating member makes the pulling movement.

[0013] In one embodiment, the housing includes a flexible waterproof sleeve, which is located in the accommodating space and forms a waterproof space. The circuit board and the first Hall element are both located in the waterproof space.

[0014] In one embodiment, the connecting shaft abuts against the flexible waterproof sleeve.

[0015] In an embodiment of the present invention, an intelligent toilet is further provided, which includes a toilet body and the electric switch in any of the above embodiments. The electric switch is electrically connected to the toilet body.

[0016] Advantages of the present invention:

[0017] In the electric switch provided in the embodiment of the present invention, the operating member can make rotational movement and pulling and pressing movements relative to the housing. When the operating member makes rotational movement, the rotation monitoring component can monitor the rotational movement and generate a rotation signal; when the operating member makes pulling and pressing movements, the pulling and pressing monitoring component can monitor the pulling movement and the pressing movement and generate a pulling signal and a pressing signal. Compared with a rotary switch and a push-button switch, the signal input mode is increased, which can adapt to an intelligent toilet with various functions and is beneficial to the integration of functions of the intelligent toilet. Description of the Drawings

[0018] Figure 1 It is a schematic explosion structure diagram of an electric switch in an embodiment of the present utility model;

[0019] Figure 2 It is a cross-sectional view of an electric switch in an embodiment of the present utility model;

[0020] Figure 3 It is a schematic internal structure diagram of an electric switch in an embodiment of the present utility model;

[0021] Figure 4 It is a schematic structure diagram of the upper shell of the present utility model at one angle;

[0022] Figure 5 It is a schematic structure diagram of the upper shell of the present utility model at another angle.

[0023] In the figure:

[0024] 1. Outer shell; 11. Upper shell; 111. First accommodation groove; 112. Third accommodation groove; 12. Lower shell; 13. Flexible waterproof sleeve; 131. Fourth accommodation groove; 132. Fifth accommodation groove; 2. Operating member; 21. Connecting shaft; 22. Operating member body; 221. Second accommodation groove; 23. Limiting member; 3. Rotation monitoring assembly; 31. Second Hall element; 4. Pulling and pressing monitoring assembly; 41. First Hall element; 42. First magnetic member; 5. Circuit board; 6. Reset member; 7. Decorative cover. Detailed implementation manners

[0025] The following further describes the present utility model in detail with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present utility model, rather than limiting the present utility model. In addition, it should be noted that for the sake of description, only parts related to the present utility model are shown in the drawings, rather than all structures.

[0026] In the description of the present utility model, unless otherwise clearly defined and limited, the terms "connected", "connected", and "fixed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two components or the interaction relationship between two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present utility model can be understood according to specific situations.

[0027] In the present utility model, unless otherwise clearly specified and defined, the first feature being "above" or "below" the second feature may include direct contact between the first and second features, or may include the situation where the first and second features are not in direct contact but in contact through additional features therebetween. Moreover, the first feature being "above", "over" and "on top of" the second feature includes the first feature being directly above and obliquely above the second feature, or merely indicating that the horizontal height of the first feature is higher than that of the second feature. The first feature being "below", "beneath" and "underneath" the second feature includes the first feature being directly below and obliquely below the second feature, or merely indicating that the horizontal height of the first feature is less than that of the second feature.

[0028] In the description of this embodiment, the orientation or positional relationships such as "above", "below", "right", etc. are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of description and simplifying the operation, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be construed as a limitation to the present utility model. In addition, the terms "first" and "second" are only used for distinction in description and have no special meaning.

[0029] Referring Figures 1-5 As shown, in an embodiment of the present utility model, an electric switch is provided, which includes a housing 1, an operating member 2, a circuit board 5, a rotation monitoring assembly 3 and a pull-press monitoring assembly 4. The housing 1 includes an upper housing 11 and a lower housing 12. The upper housing 11 and the lower housing 12 are connected and enclosed to form an accommodation space by means including but not limited to bolt connection and snap connection. The circuit board 5 is disposed in the accommodation space and fixed to the lower housing 12. The operating member 2 includes an operating member body 22 and a connecting shaft 21. The operating member body 22 is located outside the housing 1 and is rotatably connected to the housing 1 through the connecting shaft 21. The connecting shaft 21 is inserted into the accommodation space from the upper housing 11. It can be understood that the operating member body 22 and the connecting shaft 21 can be either fixedly connected or rotatably connected, that is, the connecting shaft 21 can be circumferentially limited in the housing 1 or can rotate relative to the housing 1 about its own axis. At the same time, the operating member 2 can also perform a pressing movement relative to the housing 1 (hereinafter referred to as the pressing movement) or a pulling movement relative to the housing 1 (hereinafter referred to as the pulling movement) along the length direction of the connecting shaft 21. Both the rotation monitoring assembly 3 and the pull-press monitoring assembly 4 are electrically connected to the circuit board 5. The rotation monitoring assembly 3 is used to monitor the rotational movement of the operating member 2. The rotation monitoring assembly 3 can generate a rotation signal when the operating member 2 makes a rotational movement. The pull-press monitoring assembly 4 includes a first Hall element 41 and a first magnetic member 42. The first Hall element 41 is fixedly disposed on the circuit board 5 and is a vertical Hall element. The first magnetic member 42 is fixed relative to the operating member 2. When the operating member 2 moves relative to the housing 1, the first magnetic member 42 can move together with the operating member 2. The first Hall element 41 can at least generate a pulling signal in response to the first magnetic member 42 when the operating member 2 makes a pulling movement.

[0030] In the above-mentioned electric switch, the operating member 2 can rotate relative to the housing 1, and can also perform a pulling or pressing movement relative to the housing 1. Moreover, the rotation monitoring component 3 can generate a rotation signal when the operating member body 22 rotates, and the pulling and pressing monitoring component 4 can generate a pressing signal and a pulling signal respectively when the operating member 2 performs a pressing movement and a pulling movement. That is, the above-mentioned electric switch has at least three different input methods, which can meet the control requirements of the diversified functions of smart appliances and are beneficial to the integration of smart appliances. Moreover, the mutually cooperating first Hall element 41 and the first magnetic member 42 are used as the monitoring structure for generating the pulling signal, and the structure is simple.

[0031] In one embodiment, the first Hall element 41 can generate a pulling signal in response to the first magnetic member 42 when the operating member 2 performs a pulling movement, and can also generate a pressing signal in response to the first magnetic member 42 when the operating member 2 performs a pressing movement. That is, the first Hall element 41 plays the role of monitoring both the pressing movement and the pulling movement in cooperation with the first magnetic member 42. It should be emphasized that the stroke of the operating member 2 during the pressing movement and the pulling movement is different, and the first Hall element 41 should be as close as possible to the first magnetic member 42 to form distinct pressing and pulling signals.

[0032] Specifically, referring to Figure 4 and Figure 5 As shown, the upper housing 11 is provided in a T shape, and a first accommodation groove 111 is formed on the upper housing 11. The first accommodation groove 111 has an opening facing the circuit board 5, that is, the first accommodation groove 111 communicates with the accommodation space, and the first Hall element 41 is placed in the first accommodation groove 111. It should be noted that a through hole for the connecting shaft 21 to pass through is also formed on the upper housing 11, and the connecting shaft 21 is inserted into the accommodation space through the through hole.

[0033] Referring to Figure 1 and Figure 2 As shown, the operating member body 22 is provided in a groove-like structure with an opening on one side facing the housing 1 to cover the protruding part of the upper housing 11, thereby improving the aesthetics of the electric switch. Moreover, a second accommodation groove 221 is formed on one side of the operating member body 22 facing the housing 1, and the first magnetic member 42 is placed in the second accommodation groove 221. Specifically, a protruding portion is provided on one side of the operating member body 22 facing the housing 1, and the second accommodation groove 221 is formed on the protruding portion.

[0034] More specifically, limiting protrusions are further provided on the inner wall of the second accommodation groove 221. A plurality of limiting protrusions are arranged at intervals along the circumferential direction of the second accommodation groove 221. After the first magnetic member 42 is placed in the second accommodation groove 221, it is in interference fit with the operating member body 22 under the action of the limiting protrusions, improving the connection stability between the first magnetic member 42 and the operating member 2.

[0035] In other embodiments, the pulling and pressing monitoring component 4 includes a pressing sensor disposed on the circuit board 5 and electrically connected to the circuit board 5. The pressing sensor is disposed on one side of the connecting shaft 21 inserted into the housing 1. When the operating member 2 makes a pressing movement, the pressing sensor can be triggered by the connecting shaft 21 to form a pressing signal. Specifically, the pressing sensor can be, but is not limited to, a microswitch, a distance sensor, etc.

[0036] Reference Figure 2 As shown, in order to limit the movement of the operating member 2 along the length direction of the connecting shaft 21, the operating member 2 further includes a limiting member 23 disposed on the connecting shaft 21 and located within the accommodating space. The limiting member 23 can abut against the upper housing 11 when the operating member 2 makes a pulling movement, thereby preventing the operating member 2 from detaching from the housing 1.

[0037] In one embodiment, the limiting member 23 is a limiting ring sleeved on the connecting shaft 21, and the outer diameter of the limiting ring is greater than the inner diameter of the through hole through which the connecting shaft 21 passes. Moreover, when the operating member 2 is in the initial position, the distance between the limiting ring and the inner surface of the upper housing 11 facing the limiting ring is not equal to the distance between the connecting shaft 21 and the circuit board 5, so as to ensure that the stroke of the operating member 2 during pressing and pulling movements is different. For example, when the operating member 2 is in the initial position, the distance between the limiting ring and the inner surface of the upper housing 11 facing the limiting member 23 is less than the distance between the connecting shaft 21 and the circuit board 5.

[0038] Specifically, an annular limiting groove is provided at one end of the connecting shaft 21 inserted into the accommodating space, and the limiting ring is snap-fitted with the connecting shaft 21 through the limiting groove. In order to reduce the assembly difficulty between the limiting ring and the connecting shaft 21, the limiting ring is an open ring and has elasticity.

[0039] In one embodiment, the rotation monitoring component 3 includes a second Hall element 31 fixedly disposed on the circuit board 5. The second Hall element 31 is also a vertical Hall element. The second Hall element 31 can generate a rotation signal in response to the first magnetic member 42 when the operating member 2 rotates. In order to be able to distinguish between the clockwise and counterclockwise rotations of the operating member 2 to further increase the input mode of the electric switch, at least two of the second Hall element 31 and / or the first magnetic member 42 are provided.

[0040] For example, two second Hall elements 31 are provided, and one first magnetic member 42 is provided. The two second Hall elements 31 are arranged at intervals in the circumferential direction on the circuit board 5. When the first magnetic member 42 rotates clockwise with the operating member 2, one second Hall element 31 can generate a clockwise rotation signal. When the first magnetic member 42 rotates counterclockwise with the operating member 2, the other second Hall element 31 can generate a counterclockwise rotation signal; or one second Hall element 31 is provided, and two first magnetic members 42 are provided. When the first magnetic member 42 rotates clockwise with the operating member 2, the second Hall element 31 generates a clockwise rotation signal. When the first magnetic member 42 rotates counterclockwise with the operating member 2, the second Hall element 31 generates a counterclockwise rotation signal; or, two second Hall elements 31 and two first magnetic members 42 are provided. The two first magnetic members 42 rotate with the operating member 2 and approach the two second Hall elements 31 respectively, so as to form a clockwise rotation signal or a counterclockwise rotation signal in the two second Hall elements 31 respectively.

[0041] In order to enable the second Hall element 31 to form an obvious rotation signal, the second Hall element 31 is also arranged in the first accommodation groove 111 to reduce the distance between the second Hall element 31 and the first magnetic member 42. Specifically, two first accommodation grooves 111 are provided, and the first Hall element 41 and the second Hall element 31 are respectively located in the two first accommodation grooves 111.

[0042] In other embodiments, the rotation monitoring assembly 3 includes an encoder. The structure and principle of the encoder belong to the prior art and will not be elaborated here.

[0043] In one embodiment, the above four signal input methods can also be combined with each other to form more control signals, further increasing the controllable circuits. Moreover, the pulling signal and the pressing signal can also be subdivided into various different signals according to the operation time or the number of operations. For example, the pulling signal can be divided into a single-pull signal and a double-pull signal according to the specific number of pulling operations. According to the length of the pulling operation time, the first Hall element 41 can also form a long-pull signal. Similarly, the pressing signal can be divided into a single-press signal, a double-press signal, a long-press signal, etc.

[0044] In order to enable the operating member 2 to return to the initial position after rotation or pulling and pressing, and improve the repeatability of operation, the electric switch further includes a reset member 6, and the reset member 6 makes the operating member 2 maintain a tendency to return to the initial position.

[0045] In one embodiment, based on the arrangement of two first magnetic members 42, the reset member 6 includes two second magnetic members. The two second magnetic members are disposed on the side of the housing 1 facing the operating member 2. One of the first magnetic members 42 is magnetically attracted to one of the second magnetic members NS, and the other first magnetic member 42 is magnetically attracted to the other second magnetic member NS. That is, the two first magnetic members 42 and the two second magnetic members form a magnetic levitation structure, which can keep the operating member 2 tending to the initial position.

[0046] Refer to Figure 4 As shown, in order to mount the second magnetic member on the housing 1, a third receiving groove 112 is further provided on the upper housing 11. The third receiving groove 112 has an opening facing the operating member 2, and the second magnetic member is placed in the third receiving groove 112. Since the relative positions of the first receiving groove 111 and the third receiving groove 112 in the initial position are determined, after the first Hall element 41 and the second Hall element 31 are placed in the first receiving groove 111 and the second magnetic member is placed in the third receiving groove 112, the initial positions between the first magnetic member 42 in the second receiving groove 221 and the Hall elements are determined, reducing the assembly difficulty and improving the accuracy of signal input.

[0047] Similar to the second receiving groove 221, the third receiving groove 112 is also provided with circumferentially spaced limiting protrusions, and the second magnetic member is in interference fit with the upper housing 11 through the limiting protrusions.

[0048] In another embodiment, the reset member 6 includes a scroll spring. The scroll spring belongs to the prior art and will not be elaborated here.

[0049] Refer to Figures 1-3 As shown, in one embodiment, the housing 1 further includes a flexible waterproof sleeve 13. The flexible waterproof sleeve 13 is made of flexible materials including but not limited to silicone. The flexible waterproof sleeve 13 is clamped between the upper housing 11 and the lower housing 12 and cooperates with the lower housing 12 to form a waterproof space. The circuit board 5, the first Hall element 41, and the second Hall element 31 are all located in the waterproof space. Specifically, sealing rings are provided on the contact surface between the flexible waterproof sleeve 13 and the upper housing 11 and on the contact surface between the flexible waterproof sleeve 13 and the lower housing 12 to improve the sealing performance of the waterproof space, thereby improving the waterproof level of the electric switch.

[0050] Based on the arrangement that the first Hall element 41 and the second Hall element 31 are placed in the first accommodation groove 111, a fourth accommodation groove 131 that is recessed toward the upper housing 11 is correspondingly provided on the flexible waterproof sleeve 13, and the fourth accommodation groove 131 is inserted into the first accommodation groove 111. In addition to providing a clearance space for the first Hall element 41 and the second Hall element 31, the fourth accommodation groove 131 can also limit the positions of the flexible waterproof sleeve 13 and the upper housing 11 through cooperation with the first accommodation groove 111, reducing the assembly difficulty between the flexible waterproof sleeve 13 and the upper housing 11.

[0051] In one embodiment, in order to enable the operating member 2 to have the same feel when moving along the length direction of the connecting shaft 21, thereby improving the use comfort, the connecting shaft 21 abuts against the flexible waterproof sleeve 13. Specifically, a fifth accommodation groove 132 is provided on one side of the flexible waterproof sleeve 13 facing the connecting shaft 21, and one end of the connecting shaft 21 is inserted into the fifth accommodation groove 132 to prevent the connecting shaft 21 from detaching from the third protrusion due to the deformation of the flexible waterproof sleeve 13.

[0052] The electric switch further includes a decorative cover 7, which is fixedly arranged on the side of the operating member 2 facing away from the housing 1 and has an operation mark on its surface to improve the aesthetics of the electric switch.

[0053] In an embodiment of the present invention, an intelligent toilet is also proposed. The intelligent toilet includes a toilet body and the electric switch in any of the above embodiments. The electric switch is installed on the toilet body, and function components including but not limited to a flushing component, a heating component, a display component, etc. are arranged in the toilet body. The circuit board 5 in the electric switch is connected to the above function components through a cable passing through the lower housing 12, so as to realize the control of the above function components.

[0054] Obviously, the above embodiments of the present invention are only examples for clearly explaining the present invention, rather than limiting the implementation manners of the present invention. For those of ordinary skill in the art, various obvious changes, re-adjustments and substitutions can be made without departing from the protection scope of the present invention. It is not necessary and impossible to list all the implementation manners here. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.

Claims

1. An electric switch, characterized in that include: A housing (1), wherein a housing space is provided inside the housing (1); A circuit board (5), wherein the circuit board (5) is placed in the accommodating space; An operating member (2), the operating member (2) comprising an operating member body (22) and a connecting shaft (21), the operating member (2) being rotatably connected to the housing (1) via the connecting shaft (21), and the operating member (2) being capable of performing a pressing movement and a pulling movement along the length direction of the connecting shaft (21); A rotation monitoring component (3) electrically connected to the circuit board (5), the rotation monitoring component (3) being used to monitor the rotational movement of the operating member (2); A pull-press monitoring component (4) is electrically connected to the circuit board (5), and is used to monitor the pressing movement and pulling movement of the operating member (2). The pull-press monitoring component (4) comprises a first Hall element (41) and a first magnetic member (42). The first Hall element (41) is arranged on the circuit board (5) and is a vertical Hall element. The first magnetic member (42) is arranged on the operating member (2) and can move with the operating member (2). The first Hall element (41) can at least generate a pulling signal in response to the first magnetic member (42) when the operating member (2) performs the pulling movement.

2. The electric switch according to claim 1, characterized in that The first Hall element (41) can generate a pressing signal in response to the first magnetic element (42) when the operating element (2) performs the pressing movement.

3. The electric switch according to claim 1, characterized in that The pull-and-press monitoring assembly (4) further comprises a pressure sensing component arranged on the circuit board (5), wherein the pressure sensing component is arranged on one side of the connecting shaft (21) along the length direction of the connecting shaft (21), and the pressure sensing component can be triggered by the connecting shaft (21) when the operating member (2) performs the pressing movement.

4. The electric switch according to claim 1, characterized in that The rotation monitoring component (3) comprises a second Hall element (31), the second Hall element (31) being arranged on the circuit board (5) and being a vertical Hall element, the second Hall element (31) being capable of generating a rotation signal in response to the first magnetic element (42) when the operating element (2) performs the rotational motion.

5. The electric switch according to claim 4, characterized in that Two of the second Hall elements (31) and / or the first magnetic elements (42) are provided.

6. The electric switch according to claim 1, characterized in that The electric switch also includes a reset member (6), which enables the operating member (2) to maintain a tendency to return to an initial position.

7. The electric switch according to claim 6, characterized in that The reset member (6) comprises a second magnetic member, wherein two of the first magnetic member (42) and two of the second magnetic member are provided, and the two first magnetic members (42) are arranged oppositely on a side of the operating member (2) facing the housing (1), and the two second magnetic members are arranged oppositely on a side of the housing (1) facing the operating member (2), wherein one of the first magnetic members (42) is magnetically attracted to one of the second magnetic members NS, and the other of the first magnetic members (42) is magnetically attracted to another of the second magnetic members NS.

8. The electric switch according to any one of claims 1 to 7, characterized in that: The operating member (2) further comprises a limiting member (23) arranged on the connecting shaft (21) and located in the accommodating space, wherein the limiting member (23) can abut against the housing (1) when the operating member (2) performs the pulling movement.

9. The electric switch according to any one of claims 1 to 7, characterized in that: The housing (1) comprises a flexible waterproof sleeve (13), the flexible waterproof sleeve (13) is located in the accommodating space and forms a waterproof space, and the circuit board (5) and the first Hall element (41) are both located in the waterproof space.

10. Smart toilet, characterized in that, It comprises a toilet body and the electric switch according to any one of claims 1 to 9, wherein the electric switch is mounted on the toilet body and electrically connected to the toilet body.