CN109363479A - A kind of curtain Controller and method based on smart home - Google Patents

A kind of curtain Controller and method based on smart home Download PDF

Info

Publication number
CN109363479A
CN109363479A CN201811633198.1A CN201811633198A CN109363479A CN 109363479 A CN109363479 A CN 109363479A CN 201811633198 A CN201811633198 A CN 201811633198A CN 109363479 A CN109363479 A CN 109363479A
Authority
CN
China
Prior art keywords
time
default
real
curtain
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811633198.1A
Other languages
Chinese (zh)
Inventor
陈秉树
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Dingding Housekeeping Electronic Technology Co Ltd
Original Assignee
Fujian Dingding Housekeeping Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Dingding Housekeeping Electronic Technology Co Ltd filed Critical Fujian Dingding Housekeeping Electronic Technology Co Ltd
Priority to CN201811633198.1A priority Critical patent/CN109363479A/en
Publication of CN109363479A publication Critical patent/CN109363479A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47HFURNISHINGS FOR WINDOWS OR DOORS
    • A47H5/00Devices for drawing draperies, curtains, or the like
    • A47H5/02Devices for opening and closing curtains
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47HFURNISHINGS FOR WINDOWS OR DOORS
    • A47H5/00Devices for drawing draperies, curtains, or the like
    • A47H5/02Devices for opening and closing curtains
    • A47H2005/025Devices for opening and closing curtains controlled by electronic sensors

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)

Abstract

The present invention provides a kind of curtain Controller and method based on smart home, belongs to Smart Home technical field.The curtain Controller and method based on smart home include curtain, motor, storage unit, server, the first communication unit, timer, control unit and comparing unit.Comparing unit in the present invention real time date belong to default working day call real-time network time in the in storage unit first default get up time and timer and judge the real-time network time be equal to first it is default get up the time when send the first open command to control unit, the second open command is sent to control unit when real time date belongs to the real-time network time preset call day of having a holiday or vacation in the second preset time and timer in storage unit and judges that the real-time network time presets equal to second and gets up the time, control unit is according to the first open command or the second open command control motor to open curtain, efficiency is higher, structure is simple.

Description

A kind of curtain Controller and method based on smart home
Technical field
The invention belongs to Smart Home technical fields, are related to a kind of curtain Controller and method based on smart home.
Background technique
People on weekdays when need get up in the time of setting, curtain is pulled open, solar irradiation can be made to inject interior, Indoor temperature and brightness are improved, people can be reminded to get up, gets up when having a holiday or vacation day it is desirable to late, is then not intended to the sun Light is irradiated too early into interior, it is desirable to which curtain is late to be pulled open.
Summary of the invention
The present invention addresses the above problems in the prior art, provides a kind of curtain Controller based on smart home And method, the technical problems to be solved by the present invention are: how to provide one kind can be real respectively with day of having a holiday or vacation on weekdays respectively Now control the system and method for the opening and closing of curtain.
Object of the invention can be realized by the following technical scheme:
A kind of curtain Controller based on smart home, motor, use including curtain, to control curtain opening or closing To store default working day, default day of having a holiday or vacation, preset the second pre- of the workaday first default get up time and default day of having a holiday or vacation If the storage unit for time of getting up, server, the first communication unit, real-time to be obtained by the first communication unit from server The timer of date and real-time network time, to control motor be turned on or off curtain control unit and to respectively Call the default working day in real time date and storage unit in timer, it is default have a holiday or vacation day and by real time date respectively and in advance If working day and it is default have a holiday or vacation be compared day, real time date belong to default working day call it is first in storage unit default Get up the real-time network time in time and timer and judge the real-time network time be equal to first it is default get up the time when transmission First open command to control unit, real time date belong to call default day of having a holiday or vacation the second preset time in storage unit and Real-time network time in timer and judge the real-time network time be equal to second it is default get up the time when send second and open and refer to It enables to the comparing unit of control unit.
It preferably, further include to send the third open command that control unit control motor opens curtain to control unit Or to control unit send control motor close curtain the first out code mobile terminal and in mobile terminal and The second communication unit communicated between control unit.
It preferably, further include intensity of illumination sensor to detect real-time Intensity of the sunlight, described control unit exists Control motor closes curtain when real-time Intensity of the sunlight is less than default intensity of illumination.
It preferably, further include being reported to issue the first of the first warning message when control unit control motor opens curtain Alert device.
Preferably, further include to the first alarm issue the first warning message when carry out timing timer, it is described Control unit controls the first alarm stop alarm when being greater than the first preset time in timer.
A kind of curtain control method based on smart home, includes the following steps:
S1: storage unit, which stores default working day, default day of having a holiday or vacation, presets the workaday first default get up the time and default puts The second of holiday is default to get up the time, when timer obtains real time date and real-time network from server by the first communication unit Between;
S2: comparing unit calls default working day in real time date and storage unit in timer respectively, default has a holiday or vacation day And judge that real time date belongs to default working day or default has a holiday or vacation day;
S3: comparing unit calls first in storage unit to preset and gets up the time if real time date is to belong to default working day With the real-time network time in timer, the real-time network time be equal to first it is default get up the time when comparing unit send first Open command controls motor and opens curtain to control unit, control unit;
S4: comparing unit calls the second preset time in storage unit and fixed if real time date is to belong to default day of having a holiday or vacation When device in the real-time network time, the real-time network time be equal to second it is default get up the time when comparing unit send second and open It instructs to control unit, control unit controls motor and opens curtain.
It preferably, further include that mobile terminal is controlled by the second communication unit to control unit transmission in step S3 or S4 Unit controls motor and opens the third open command of curtain or close to the first of control unit transmission control motor closing curtain Close instruction.
Preferably, in step S3 or S4 further include real-time solar irradiation that control unit is detected in intensity of illumination sensor Control motor closes curtain when intensity is less than default intensity of illumination.
It preferably, further include the sending when control unit control motor opens curtain of the first alarm in step S3 or S4 First warning message.
It preferably, further include control when control unit is greater than the first preset time in timer in step S3 or S4 First alarm stop alarm.
Timer in the present invention obtains real time date and real-time network time from server by the first communication unit, than It calls the default working day in real time date and storage unit in timer respectively compared with unit, preset and have a holiday or vacation day, it then will be real When the date be compared day with default working day and default have a holiday or vacation respectively, belong to default working day in real time date and call storage single First in member presets the real-time network time in get up time and timer and judges that the real-time network time is equal to first and presets Get up the time when send the first open command to control unit, belong in real time date and call in storage unit default day of having a holiday or vacation Real-time network time in second preset time and timer and judge the real-time network time be equal to second it is default get up the time when The second open command is sent to control unit, control unit according to the first open command or the second open command control motor with Curtain is opened, realizes and realizes control curtain with day of having a holiday or vacation on weekdays respectively, convenient and efficient, efficiency is higher, and structure is simple.
Detailed description of the invention
Fig. 1 is the structural schematic diagram in the present invention;
Fig. 2 is the flow diagram in the present invention.
In figure: 1- curtain, 11- motor, 2- control unit, the first alarm of 21-, 22- intensity of illumination sensor, 23- meter When device, 3- server, the first communication unit of 31-, 4- timer, 5- storage unit, 6- comparing unit, 7- mobile terminal, 71- Two communication units.
Specific embodiment
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described, However, the present invention is not limited to these examples.
Please refer to Fig. 1 and Fig. 2,1 control system of curtain based on smart home in the present embodiment, including curtain 1, to Motor 11 that control curtain 1 is turned on or off, to store default working day, default day of having a holiday or vacation, preset workaday first The storage unit 5 of the second default time of getting up of default get up time and default day of having a holiday or vacation, server 3, the first communication unit 31, To obtain real time date and the timer of real-time network time 4, to control electricity from server 3 by the first communication unit 31 Machine 11 is to be turned on or off the control unit 2 of curtain 1 and to call real time date and storage unit in timer 4 respectively Default working day in 5, it is default have a holiday or vacation day and by real time date respectively with default working day and it is default have a holiday or vacation be compared day, Real time date belongs to the real-time network in the first default get up time and timer 4 in default working day calling storage unit 5 Time and judge the real-time network time be equal to first it is default get up the time when send the first open command to control unit 2, in reality When the date belong to and call real-time network time in the second preset time and timer 4 in storage unit 5 default day of having a holiday or vacation simultaneously Judge that the real-time network time is equal to second and presets the comparing unit 6 for sending the second open command to control unit 2 when getting up the time.
Herein, timer 4 obtains real time date and real-time network time from server 3 by the first communication unit 31, than It calls the default working day in real time date and storage unit 5 in timer 4 respectively compared with unit 6, preset and have a holiday or vacation day, then will Real time date is compared with default working day and default have a holiday or vacation respectively, belongs to default working day in real time date and call and store day First in unit 5 presets the real-time network time in get up time and timer 4 and judges that the real-time network time is equal to first It is default get up the time when send the first open command to control unit 2, belong in real time date and default day of having a holiday or vacation call storage single Real-time network time in the second preset time and timer 4 in member 5 simultaneously judges that the real-time network time is equal to and second presets The second open command is sent to control unit 2 when the bed time, and control unit 2 is according to the first open command or the second open command Control motor 11 is realized to open curtain 1 and on weekdays and realizes control curtain 1 day of having a holiday or vacation respectively, convenient and efficient, efficiency compared with Height, structure are simple.
Control unit 2 can be STM32 single-chip microcontroller.First communication unit 31 can communicate for WIFI communication unit or 4G Unit.Comparing unit 6 can be comparator.Motor 11 can be stepper motor 11.
It can also include to be sent out to control unit 2 as the curtain Controller based on smart home in the present embodiment It send control unit 2 to control motor 11 to open the third open command of curtain 1 or close to the transmission control motor 11 of control unit 2 The mobile terminal 7 of first out code of curtain 1 and second to be communicated between mobile terminal 7 and control unit 2 Communication unit 71, mobile terminal 7 can be mobile phone or tablet computer, the second communication unit 71 can for bluetooth-communication unit, 4G communication unit or WIFI communication unit can remotely can control 11 openable windows of motor by mobile terminal 7 with user in this way Curtain 1 closes curtain 1, and it is convenient to facilitate, and efficiency is higher.
It can also include to detect the real-time sun as the curtain Controller based on smart home in the present embodiment The intensity of illumination sensor 22 of intensity of illumination, control unit 2 are controlled when real-time Intensity of the sunlight is less than default intensity of illumination Motor 11 closes curtain 1, and when in this way can be at night, after the sun sets, Intensity of the sunlight be less than default intensity of illumination When, 2 motor 11 of control unit is to close curtain 1, and user does not have to rise from one's bed to close curtain 1, and efficiency is higher.
It can also include to be controlled in control unit 2 as the curtain Controller based on smart home in the present embodiment Motor 11 processed issues the first alarm 21 of the first warning message when opening curtain 1, the first alarm 21 can be audio alert Device, after motor 11 opens curtain 1, phonetic alarm can issue first warning message of " to point, please get up ", remind and use Family is got up, and efficiency is higher.
It can also include in the first alarm as the curtain Controller based on smart home in the present embodiment 21 carry out the timer 23 of timing when issuing the first warning message, control unit 2 is when 23 timing of timer is default greater than first Between when control 21 stop alarm of the first alarm, the first alarm 21 can be made to continuously send out in the first preset time in this way First warning message, preferably prompting user are got up, and efficiency is higher.
Referring to Fig. 2, a kind of curtain control method based on smart home, includes the following steps:
S1: storage unit 5 stores default working day, default day of having a holiday or vacation, preset for the workaday first default time and default of getting up Have a holiday or vacation day second it is default get up the time, timer 4 obtains real time date and in real time from server 3 by the first communication unit 31 Network time;
S2: comparing unit 6 calls default working day in real time date and storage unit 5 in timer 4 respectively, default has a holiday or vacation Day and judge that real time date belongs to default working day or presets and have a holiday or vacation day;
S3: comparing unit 6 calls first in storage unit 5 default when getting up if real time date is to belong to default working day Between and timer 4 in the real-time network time, the real-time network time be equal to first it is default get up the time when comparing unit 6 send First open command controls motor 11 and opens curtain 1 to control unit 2, control unit 2;
S4: if real time date is to belong to default day of having a holiday or vacation comparing unit 6 call the second preset time in storage unit 5 and The real-time network time in timer 4, the real-time network time be equal to second it is default get up the time when comparing unit 6 send second Open command controls motor 11 and opens curtain 1 to control unit 2, control unit 2.It can realize respectively so respectively on weekdays Control curtain 1 is realized with day of having a holiday or vacation, and convenient and efficient, efficiency is higher, and structure is simple
It can also be changed in step S3 or S4 and control is sent to control unit 2 by the second communication unit 71 including mobile terminal 7 Unit 2 controls motor 11 and opens the third open command of curtain 1 or close curtain 1 to the transmission control motor 11 of control unit 2 The first out code, in this way can with user can pass through mobile terminal 7 remotely control motor 11 open curtain 1 or close window Curtain 1, it is convenient to facilitate, and efficiency is higher.
It can also include the real-time solar irradiation that control unit 2 is detected in intensity of illumination sensor 22 in step S3 or S4 Control motor 11 closes curtain 1 when intensity is less than default intensity of illumination, when in this way can be at night, after the sun sets, too When positive intensity of illumination is less than default intensity of illumination, for 2 motor 11 of control unit to close curtain 1, user does not have to the pass that rises from one's bed Curtain 1, efficiency is higher.
It can also include the first alarm 21 in step S3 or S4 when control unit 2 controls motor 11 and opens curtain 1 The first warning message is issued, after motor 11 opens curtain 1, phonetic alarm can issue the first of " to point, please get up " Warning message reminds user to get up, and efficiency is higher.
It can also include that control unit 2 is controlled when 23 timing of timer is greater than the first preset time in step S3 or S4 First alarm, 21 stop alarm can make the first alarm 21 continuously send out the first alarm in the first preset time in this way Information, preferably prompting user are got up, and efficiency is higher.
Specific embodiment described herein is only an example for the spirit of the invention.The neck of technology belonging to the present invention The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.

Claims (10)

1. a kind of curtain Controller based on smart home, it is characterised in that: opened including curtain (1), to control curtain (1) The motor (11) that opens or close, to store default working day, default day of having a holiday or vacation, preset workaday first it is default get up when Between and the storage unit (5) of the second default time of getting up of default day of having a holiday or vacation, server (3), the first communication unit (31), to Real time date and the timer of real-time network time (4) are obtained, to control from server (3) by the first communication unit (31) Motor (11) is to be turned on or off the control unit (2) of curtain (1) and to call the real time date in timer (4) respectively With in storage unit (5) default working day, it is default have a holiday or vacation day and by real time date respectively with default working day and default have a holiday or vacation It day is compared, belongs to default working day in real time date and call the in storage unit (5) first default get up time and timing Real-time network time in device (4) and judge the real-time network time be equal to first it is default get up the time when send the first open command To control unit (2), belong to the second preset time and timer called default day of having a holiday or vacation in storage unit (5) in real time date (4) real-time network time in and judge the real-time network time be equal to second it is default get up the time when send the second open command to The comparing unit (6) of control unit (2).
2. a kind of 1 control system of curtain based on smart home as described in claim 1, it is characterised in that: further include to The third open command of curtain (1) is opened to control unit (2) transmission control unit (2) control motor (11) or gives control list First (2) send the mobile terminal (7) of the first out code of control motor (11) closing curtain (1) and in mobile terminals (7) the second communication unit (71) communicated between control unit (2).
3. a kind of curtain Controller based on smart home as claimed in claim 1 or 2, it is characterised in that: further include using To detect the intensity of illumination sensor (22) of real-time Intensity of the sunlight, described control unit (2) is in real-time Intensity of the sunlight Motor (11) are controlled when less than default intensity of illumination closes curtain (1).
4. a kind of curtain Controller based on smart home as claimed in claim 1 or 2, it is characterised in that: further include using To issue the first alarm (21) of the first warning message when curtain (1) is opened in control unit (2) control motor (11).
5. a kind of curtain Controller based on smart home as claimed in claim 4, it is characterised in that: further include to First alarm (21) carries out the timer (23) of timing when issuing the first warning message, described control unit (2) is in timer (23) the first alarm (21) stop alarm is controlled when timing is greater than the first preset time.
6. a kind of curtain control method based on smart home, which comprises the steps of:
S1: storage unit (5) stores default working day, default day of having a holiday or vacation, preset for the workaday first default time and pre- of getting up It gets up the time if the second of day of having a holiday or vacation is default, timer (4) obtains real-time day from server (3) by the first communication unit (31) Phase and real-time network time;
S2: comparing unit (6) calls the real time date in timer (4) and the default working day in storage unit (5), pre- respectively If judging that real time date belongs to default working day or default has a holiday or vacation day the day and carrying out of having a holiday or vacation;
S3: comparing unit (6) calls first in storage unit (5) to preset if real time date is to belong to default working day The real-time network time in bed time and timer (4), the real-time network time be equal to first it is default get up the time when it is more single First (6) send the first open command and give control unit (2), and control unit (2) controls motor (11) and opens curtain (1);
S4: if real time date is to belong to default day of having a holiday or vacation comparing unit (6) call second in storage unit (5) it is default when Between and timer (4) in the real-time network time, the real-time network time be equal to second it is default get up the time when comparing unit (6) It sends the second open command to give control unit (2), control unit (2) controls motor (11) and opens curtain (1).
7. a kind of curtain control method based on smart home as claimed in claim 6, it is characterised in that: step S3 or S4 In to further include mobile terminal (7) send control unit (2) to control unit (2) by the second communication unit (71) controls motor (11) it opens the third open command of curtain (1) or sends that curtain (1) is closed in control motor (11) to control unit (2) One out code.
8. a kind of curtain control method based on smart home as claimed in claims 6 or 7, it is characterised in that: step S3 or Further including control unit (2) in person S4 is less than default illumination in the real-time Intensity of the sunlight that intensity of illumination sensor (22) detects Motor (11) are controlled when intensity closes curtain (1).
9. a kind of curtain control method based on smart home as claimed in claims 6 or 7, it is characterised in that: step S3 or It further include that the first alarm (21) issues the first alarm when curtain (1) is opened in control unit (2) control motor (11) in person S4 Information.
10. a kind of curtain control method based on smart home as claimed in claim 9, it is characterised in that: step S3 or It further include that control unit (2) controls the first alarm (21) stopping when timer (23) timing is greater than the first preset time in S4 Alarm.
CN201811633198.1A 2018-12-29 2018-12-29 A kind of curtain Controller and method based on smart home Pending CN109363479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811633198.1A CN109363479A (en) 2018-12-29 2018-12-29 A kind of curtain Controller and method based on smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811633198.1A CN109363479A (en) 2018-12-29 2018-12-29 A kind of curtain Controller and method based on smart home

Publications (1)

Publication Number Publication Date
CN109363479A true CN109363479A (en) 2019-02-22

Family

ID=65372190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811633198.1A Pending CN109363479A (en) 2018-12-29 2018-12-29 A kind of curtain Controller and method based on smart home

Country Status (1)

Country Link
CN (1) CN109363479A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105030029A (en) * 2015-06-29 2015-11-11 韦义乐 Infrared remote control intelligent curtain
CN105607510A (en) * 2015-10-30 2016-05-25 东莞酷派软件技术有限公司 Curtain opening/closing state control method and device and terminal
CN106361123A (en) * 2016-11-29 2017-02-01 深圳市欧瑞博电子有限公司 Intelligent curtain control method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105030029A (en) * 2015-06-29 2015-11-11 韦义乐 Infrared remote control intelligent curtain
CN105607510A (en) * 2015-10-30 2016-05-25 东莞酷派软件技术有限公司 Curtain opening/closing state control method and device and terminal
CN106361123A (en) * 2016-11-29 2017-02-01 深圳市欧瑞博电子有限公司 Intelligent curtain control method and system thereof

Similar Documents

Publication Publication Date Title
CN203500077U (en) Pyroelectric human body infrared-based fan intelligent temperature control system
CN105652822A (en) Intelligent household control alarm system
CN203970044U (en) Intelligent curtain controller device
CN209146677U (en) A kind of display with camera that image pickup scope is wide
CN106805714A (en) A kind of intelligent curtain control system and control method
CN207004409U (en) A kind of electrically driven curtain control device
CN201256871Y (en) Door curtain control device
CN109480592A (en) A kind of intelligent curtain control system and method using wind energy
CN204002270U (en) Smart window control system based on wind light mutual complementing power supply
CN105204358A (en) Smart home electric energy online management device based on remote communication of CDMA network
CN103763816B (en) A kind of central power supply system for outdoor illuminating system
CN205540013U (en) Smart home system
CN111897236A (en) Intelligent home system controlled through perception
CN201464890U (en) Intelligent automation control device for household and security protection
CN109976184A (en) A kind of smart home system based on wireless sensor network
CN112165751B (en) WeChat applet-based light control system
CN109363479A (en) A kind of curtain Controller and method based on smart home
CN209460608U (en) Multi-sensor intelligent window remote monitoring system based on Internet of Things
CN109862662A (en) A kind of automatic sensing lighting device and method
CN208936424U (en) A kind of Intelligent air conditioner controller based on sensor and WiFi technology
CN106873386A (en) A kind of intelligent domestic system
CN108717272A (en) A kind of smart home interacted system based on QNX onboard operations systems
CN205172279U (en) Window intelligent regulation device
CN210861570U (en) Energy-saving air conditioner control device
CN209356872U (en) Intelligent home control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222