TW201817246A - Device control system, device control method, and program - Google Patents

Device control system, device control method, and program Download PDF

Info

Publication number
TW201817246A
TW201817246A TW106132905A TW106132905A TW201817246A TW 201817246 A TW201817246 A TW 201817246A TW 106132905 A TW106132905 A TW 106132905A TW 106132905 A TW106132905 A TW 106132905A TW 201817246 A TW201817246 A TW 201817246A
Authority
TW
Taiwan
Prior art keywords
information
facility
terminal device
control
target
Prior art date
Application number
TW106132905A
Other languages
Chinese (zh)
Inventor
潔斯米 朱萊依
古門健
古田晋也
Original Assignee
日商松下知識產權經營股份有限公司
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 日商松下知識產權經營股份有限公司 filed Critical 日商松下知識產權經營股份有限公司
Publication of TW201817246A publication Critical patent/TW201817246A/en

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/12Circuit arrangements for ac mains or ac distribution networks for adjusting voltage in ac networks by changing a characteristic of the network load
    • H02J3/14Circuit arrangements for ac mains or ac distribution networks for adjusting voltage in ac networks by changing a characteristic of the network load by switching loads on to, or off from, network, e.g. progressively balanced loading
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2310/00The network for supplying or distributing electric power characterised by its spatial reach or by the load
    • H02J2310/50The network for supplying or distributing electric power characterised by its spatial reach or by the load for selectively controlling the operation of the loads
    • H02J2310/56The network for supplying or distributing electric power characterised by its spatial reach or by the load for selectively controlling the operation of the loads characterised by the condition upon which the selective controlling is based
    • H02J2310/58The condition being electrical
    • H02J2310/60Limiting power consumption in the network or in one section of the network, e.g. load shedding or peak shaving

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

Provided is a device control system that makes it possible to change, according to the status of a facility, a type and a control content of a target device that can be controlled from the outside of the facility. Also provided is a communication device used in the device control system. The device control system (1) is provided with a first communication unit (5) and a first control unit (2). The first communication unit (5) specifies at least one target device (8) installed in a facility (H1) and receives first information (D1) used for specifying an operation content of the target device (8). The first control unit (2) generates second information (D2) on controlling the target device (8). The first control unit (2) generates the second information (D2) based on the first information (D1) in accordance with whether a terminal device (11) that has transmitted the first information (D1) is present outside the facility (H1) or inside the facility (H1) and whether a person is present in the facility (H1) or not.

Description

機器控制系統、機器控制方法、及程式Machine control system, machine control method, and program

本發明係關於機器控制系統、機器控制方法、及程式。更詳細而言,本發明係關於控制機器中成為控制對象之對象機器之機器控制系統、機器控制系統之控制方法、及程式。The present invention relates to a machine control system, a machine control method, and a program. More specifically, the present invention relates to a machine control system, a method, and a program for controlling a machine control system that controls a target machine among control machines.

先前,已知一種能源管理系統,其具備控制設置於如獨戶住宅般之設施之機器(對象機器)的控制器(例如參照文獻1:JP2014-230480A)。文獻1所記載之控制器係參照房間-使用者對應建立表,判別對應於與與日程建立對應之使用者之房間,參照機器-房間對應建立表,判別對應於經判別之房間之機器。控制器控制經判別之機器。 控制器及機器連接於屋內網路。屋外網路連接於屋內網路。使用者可藉由使用位於屋外網路之終端裝置之遠端操作,而操作在屋內網路內之機器。 於文獻1中,提案一種能源管理系統,其可通過屋外網路(外部網路)對獨戶住宅之機器存取。一般而言,對於利用自屋外網路向屋內網路之機器之遠端操作進行限制,但對機器之操作內容並未特別限制。但可通過屋外網路遠端操作之機器基於防災或防盜之觀點而言,係限制於無需由人監視之機器。 若文獻1所記載之能源管理系統為不限制遠端操作之機器,則任何機器皆可通過屋外網路遠端操作。換言之,可通過外部網路控制之對象機器之種類及控制內容不管如住宅般之設施之狀況如何皆係固定地規定。Conventionally, an energy management system is known that includes a controller that controls a device (target device) installed in a facility such as a single-family house (for example, refer to Document 1: JP2014-230480A). The controller described in Document 1 refers to the room-user correspondence establishment table, determines the room corresponding to the user corresponding to the schedule, and refers to the machine-room correspondence establishment table to determine the machine corresponding to the identified room. The controller controls the identified machine. The controller and machine are connected to the indoor network. The outdoor network is connected to the indoor network. The user can operate the machine in the indoor network by using the remote operation of the terminal device located in the outdoor network. In Document 1, an energy management system is proposed, which can access the machines of a single-family house through an outdoor network (external network). Generally speaking, the remote operation of the machine using the network from the outside to the house is restricted, but the operation content of the machine is not particularly limited. However, from the standpoint of disaster prevention or theft prevention, machines that can be operated remotely through the outdoor network are limited to machines that do not need to be monitored by humans. If the energy management system described in Document 1 is a machine that does not restrict remote operation, any machine can be operated remotely through the outdoor network. In other words, the types and control contents of the target equipment that can be controlled through the external network are fixedly defined regardless of the status of the facilities such as a house.

本發明係鑑於上述問題而完成,其目的係提供一種機器控制系統、機器控制方法及程式,其可根據設施之狀況變更可自設施外控制之對象機器之種類及控制內容。 本發明之一態樣之機器控制系統具備通信部與控制部。上述通信部接收用以指定設置於設施之至少1個對象機器,且指定上述對象機器之動作內容之第1資訊。上述控制部產生與上述對象機器之控制相關之第2資訊。上述控制部根據發送上述第1資訊之終端裝置係存在於上述設施外及上述設施內之哪一者,及上述設施內是否有人存在,而產生基於上述第1資訊之上述第2資訊。 本發明之一態樣之機器控制方法具有如下步驟:接收指定設置於設施之至少1個對象機器之動作內容,且指定上述對象機器之第1資訊。又,上述機器控制方法具有如下步驟:根據發送上述第1資訊之終端裝置係存在於上述設施外及上述設施內之哪一者,及上述設施內是否有人存在,而產生與上述對象機器之控制相關之第2資訊。 本發明之一態樣之程式係使電腦執行如下步驟:接收指定設置於設施之至少1個對象機器之動作內容,且指定上述對象機器之第1資訊。又,上述程式執行如下步驟:根據發送上述第1資訊之終端裝置係存在於上述設施外及上述設施內之哪一者,及上述設施內是否有人存在,而產生與上述對象機器之控制相關之第2資訊。The present invention has been made in view of the above problems, and an object thereof is to provide a machine control system, a machine control method, and a program that can change the type and control content of a target machine that can be controlled from outside the facility according to the condition of the facility. An aspect of the invention is a machine control system including a communication unit and a control unit. The communication unit receives first information for designating at least one target device installed in the facility and designating the operation content of the target device. The control unit generates second information related to the control of the target device. The control unit generates the second information based on the first information based on whether the terminal device transmitting the first information exists outside the facility or in the facility, and whether there is any person in the facility. According to one aspect of the present invention, a machine control method has the following steps: receiving operation content of at least one target machine designated to be installed in a facility, and designating the first information of the target machine. In addition, the above-mentioned machine control method has the steps of generating control with the target machine based on whether the terminal device transmitting the first information exists outside the facility or inside the facility, and whether or not someone exists in the facility. Related second information. According to one aspect of the present invention, the computer executes the following steps: receiving the operation content of at least one target device designated to be installed in the facility, and designating the first information of the target device. In addition, the program executes the following steps: According to which terminal device transmitting the first information is located outside the facility or inside the facility, and whether there is any person in the facility, a problem related to the control of the target device is generated. Article 2.

以下,參照圖1~圖3對本實施形態之機器控制系統1進行說明。 如圖1所示,機器控制系統1係例如控制設置於如獨戶之住宅般之設施H1之對象機器8之動作。對象機器8係設施H1中使用之機器中,機器控制系統1可控制之機器。對象機器8例如係空調、照明器具、電磁調理器及電動式百葉窗等。對象機器8之動作控制除動作狀態自運轉狀態變更為停止狀態,及動作狀態自停止狀態變更為運轉狀態以外,亦有包含輸出調整之情形。輸出調整係調整空調之設定溫度、照明器具之光輸出等。另,應用機器控制系統1之設施H1不限於獨戶住宅,亦可為集合住宅之住戶。 首先,對機器控制系統1之概要進行說明。機器控制系統1具備設置於設施H1內之控制器12及第2通信部6、通信裝置10。通信裝置10構成為可通過構築於設施H1外之外部網路NW1與構築於設施H1內之內部網路NW2之至少一者與其他裝置通信。外部網路NW1例如為如移動體通信網般之廣域通信網。內部網路NW2例如為LAN(Local Area Network:局部區域網路)、獨自構築之通信網等。 通信裝置10例如包含網路上之伺服器裝置。通信裝置10構成為通信裝置10具有之電腦之處理器執行保持於第1記憶部21(參照圖2)之程式。通信裝置10藉由以處理器執行程式,而實現第1判定部3(判定部)、第2判定部4(控制部)、第1控制部2(控制部、區域內判定部)、及第1通信部5(通信部)之功能。通信裝置10根據終端裝置11是否存在於設施H1外,及是否有人存在於設施H1內,而產生控制對象機器8動作之控制資訊。 第2通信部6例如為路由器。第2通信部6連接於外部網路NW1及內部網路NW2,亦作為網關(gateway)發揮功能。本實施形態中,通信裝置10通過外部網路NW1與第2通信部6連接。於內部網路NW2連接有複數個對象機器8之各者。第2通信部6於內部網路NW2中,以無線通信方式與有線通信方式之至少一者與對象機器8進行通信。第2通信部6之內部網路NW2之無線通信方式例如為Wi-Fi(註冊商標)、Bluetooth(註冊商標)等。圖1中,以實線表示利用有線通信之通信路徑,以虛線表示利用無線通信之通信路徑。另,圖1中,省略內部網路NW2中房間P3、P4之通信路徑之圖示。 控制器12通過內部網路NW2與第2通信部6連接。控制器12係所謂HEMS(Home Energy Management Systems:家庭能源管理系統)控制器。控制器12經由內部網路NW2與對象機器8通信,藉此控制對象機器8。即,控制器12藉由直接與對象機器8通信或經由第2通信部6與對象機器8通信,而控制對象機器8之動作。內部網路NW2亦可包含協定及通信方式不同之複數種網路。控制器12例如可以基於特定小電力無線通信之無線通信方式與對象機器8直接通信。 終端裝置11例如為如智慧型手機或平板終端等之使用者使用之移動體終端。另,終端裝置11亦可為例如可攜帶之個人電腦。 終端裝置11構成為可於設施H1內與第2通信部6通信,經由內部網路NW2及外部網路NW1與通信裝置10通信。又,終端裝置11於設施H1外,例如以使用3G線路、或LTE(Long Term Evolution:長期演進)線路等之無線通信方式與外部網路NW1連接,並與通信裝置10通信。 針對機器控制系統1之設施H1內之構成進行說明。於設施H1內,配置有第2通信部6與控制器12。又,於設施H1內,進而配置有配電盤70、複數個對象機器8、中繼轉接器50、及通信轉接器91~93。 對象機器8於本實施形態中為複數個空調、複數個照明器具、電磁調理器及電動式百葉窗等。以下,區別對象機器8之複數個空調各者之情形時,稱為空調82、84、86。區別對象機器8之複數個照明器具各者之情形時,稱為照明器具81、83、85。對象機器8可經由控制器12接收第2資訊D2。 此處,於設施H1有4個區域,4個區域各者對應於房間P1~P4。於房間P1~P4各者配置有至少1個對象機器8。房間P1~P4分別作為起居室、兒童房、寢室、車庫使用。於房間P1設有照明器具81、空調82及電磁調理器801。於房間P2設有照明器具83及空調84。於房間P3設有照明器具85及空調86。於房間P4設有百葉窗802。 對象機器8中,空調82、84、86與電磁調理器801具有經由內部網路NW2進行通信之通信功能,經由第2通信部6與控制器12之間進行通信。另一方面,照明器具81、83、85不具備通信功能,但通信轉接器91~93具備與中繼轉接器50進行無線通信之功能。照明器具81、83、85構成為自通信轉接器91~93接收調光位準之指示。通信轉接器91~93分別構成為可根據通信內容切換照明器具81、83、85之亮燈狀態與熄燈狀態。通信轉接器91~93進而構成為可指示照明器具81、83、85之調光位準。因此,控制器12不僅可控制照明器具81、83、85各者之亮燈狀態與熄燈狀態,亦可控制調光狀態。 於配電盤70收納有例如主幹斷路器、分支斷路器、及連繫斷路器等。配電盤70之主幹斷路器之一次側連接於如商用交流電源般之交流電源700。主幹斷路器之二次側連接於複數個分支斷路器。於由分支斷路器分支之分支電路上電性連接有上述對象機器8,自配電盤70對電性連接於分支電路之上述對象機器8供給電力。於連繫斷路器上電性連接有分散電源701。分散電源701選擇例如太陽光發電系統、燃料電池系統等。自分散電源701輸出之電力被使用於設施H1內之對象機器8中。另,有自分散電源701輸出之電力可能對電力系統產生逆潮流之情形。 配電盤70具有測定供給至對象機器8之電力之測定部71(參照圖2)。測定部71例如設置於配電盤70內,測定設置於房間P1~P4各者之對象機器8之消耗電力。測定部71例如可測定與房間P1~P4各自對應之複數個分支斷路器各者之消耗電力,並將與房間P1~P4各者之消耗電力相關之資訊(例如電力值或電量)輸出至控制器12。 此處,參照圖2針對終端裝置11之構成進行說明。如圖2所示,本實施形態所使用之終端裝置11具備第2控制部111、操作部112、第3通信部113、位置檢測部114及第2記憶部115。 操作部112例如係組合有附背光之液晶顯示器、或如EL(Electro Luminescence:電致發光)顯示器般之顯示裝置、及如觸控板般之輸入裝置之裝置。藉由第2控制部111控制操作部112之顯示內容。又,使用操作部112將輸入之操作內容輸出至第2控制部111。 位置檢測部114例如具有GPS(Global Positioning System:全球定位系統)接收機,接收GPS衛星所發送之信號,取得終端裝置11之地理上之位置資訊。 第2控制部111具備處理器。第2控制部111例如係藉由該處理器執行保持於第2記憶部115等之程式而實現。該程式係通過外部網路NW1被下載,並存儲於第2記憶部115之應用程式(所謂APP)。第2控制部111控制第3通信部113之動作、位置檢測部114之動作及操作部112之顯示內容。 第2控制部111產生第1資訊D1。第1資訊D1係指定對象機器8且指定對象機器8之動作內容之資訊。第1資訊D1中包含終端裝置11之位置資訊、至少1個對象機器8之識別資訊、及指定對應於該識別資訊之對象機器8之動作內容之動作指定資訊。若使用者進行以操作部112指定對象機器8之動作內容之操作,則第2控制部111產生第1資訊D1,並自第3通信部113向外部網路NW1送出。 第3通信部113與外部網路NW1或內部網路NW2連接,將第1資訊D1發送至通信裝置10。 第2記憶部115例如包含如EEPROM(Electrically Erasable Programmable Read-Only Memory:電性可抹除可程式化唯讀記憶體)般可覆寫之非揮發性記憶體。第2記憶部115保持複數個動作指定資訊。複數個動作指定資訊各者於對應於識別資訊之每個對象機器8不同。以下,針對每個對象機器8之動作指定資訊進行說明。 對應於空調82、84、86之動作指定資訊例如為接通與斷開狀態之切換、接通狀態之風量之變更、溫度設定之變更、伴隨動作變更之報知動作之指示等。所謂報知動作之指示,例如係使空調82、84、86具有之顯示燈(例如LED(Light Emitting Diode:發光二極體)等)發光之動作之指示、使空調82、84、86具有之蜂鳴器等蜂鳴之動作之指示任一者或兩者。 對應於照明器具81、83、85之動作指定資訊例如為亮燈狀態與熄燈狀態之切換、調光位準之指示、及伴隨動作變更之報知動作之指示等。所謂報知動作之指示,例如係使亮度週期性(例如每隔0.5秒)數次變化,使亮燈狀態與熄燈狀態週期性數次變化之動作指示。 對應於電磁調理器801之動作指定資訊例如為接通狀態與斷開狀態之切換、調理溫度之切換、及伴隨動作變更之報知動作之指示等。所謂報知動作之指示,例如係使電磁調理器801具有之顯示燈發光之動作指示、使電磁調理器801具有之蜂鳴器等蜂鳴之動作指示之任一者或兩者。 對應於百葉窗802之動作指定資訊例如為開閉百葉窗802之可動部之動作狀態與停止狀態之切換、及伴隨動作變更之報知動作指示等。所謂報知動作之指示,例如係使百葉窗802具有之顯示燈發光之動作指示、使百葉窗802具有之蜂鳴器等蜂鳴之動作指示之任一者或兩者。 接著,針對通信裝置10之細節進行說明。通信裝置10具備第1控制部2、第1記憶部21、第1判定部3、第2判定部4及第1通信部5。通信裝置10具有接收終端裝置11發送之第1資訊D1之第1功能,及產生第2資訊D2並發送至設置於設施H1內之控制器12之第2功能。第2資訊D2係與對象機器8之控制相關之資訊。第2資訊D2包含用以控制對象機器8之動作之控制資訊。通信裝置10將終端裝置11是否存在於設施H1外及設施H1內是否有人存在作為條件,產生基於第1資訊D1之第2資訊D2。對應於上述條件,有第2資訊D2與第1資訊D1內容大致相同之情形,及第2資訊D2與第1資訊D1內容不同之情形。即,第2資訊D2為基於第1資訊D1之資訊,通信裝置10基於第1資訊D1,對第1資訊D1實施任意加工,藉此產生第2資訊D2。但,根據上述條件不同,第2資訊D2亦會與第1資訊D1內容大致相同,該情形時,通信裝置10對第1資訊D1無加工地產生第2資訊D2。針對通信裝置10產生第2資訊D2之動作的細節將於後述。 第1記憶部21包含例如如EEPROM般之可覆寫之非揮發性記憶體。第1記憶部21保持與房間P1~P4之各者對應之房間資訊。房間資訊為分配於每個房間P1~P4之資訊(例如房間號等)。第1記憶部21保持將房間資訊與設置於房間P1~P4各者之對象機器8之識別資訊建立對應之第1資訊表。又,第1記憶部21保持設施H1之位置資訊。所謂設施H1之位置資訊,例如係相當於俯視圖之設施H1之中央位置之地理上之位置資訊。又,第1記憶部21較佳為保持設施H1內之房間P1~P4各者之位置資訊(例如相當於俯視圖之各房間之中央位置之地理上之位置資訊等)。 第1控制部2根據發送第1資訊D1之終端裝置11係存在於設施H1外及設施H1內之哪一者,及設施H1內是否有人存在,而產生基於第1資訊D1之第2資訊D2。若第1通信部5接收第1資訊D1,則第1控制部2自第1通信部5取得第1資訊D1。第1控制部2自第1資訊D1取得終端裝置11之位置資訊、對象機器8之識別資訊、及對應於該識別資訊之動作指定資訊。第1控制部2將終端裝置11之位置資訊向第1判定部3輸出,將對象機器8之識別資訊向第2判定部輸出。 第1判定部3判定終端裝置11是否在設施H1外,對第1控制部2輸出判定結果。又,第1判定部3自第1記憶部21取得設施H1之位置資訊,基於第1控制部2輸出之終端裝置11之位置資訊與設施H1之位置資訊,判定終端裝置11是否存在於設施H1外。終端裝置11之位置與設施H1之位置間之距離超出第1基準距離(例如20 m)之情形時,第1判定部3判定終端裝置11在設施H1外。另一方面,終端裝置11之位置與設施H1之位置間之距離為第1基準距離以下之情形時,第1判定部3判定終端裝置11在設施H1內。 第1判定部3進而具有如下功能:於終端裝置11在設施H1內之情形時,判定終端裝置11存在於設施H1內之房間P1~P4之何處,對第1控制部2輸出判定結果。第1判定部3基於終端裝置11之位置資訊與房間P1~P4各者之位置資訊,判定終端裝置11存在於房間P1~P4之何處。第1判定部3例如在終端裝置11之位置與房間P1之位置間之距離為第2基準距離(例如2 m)以內之情形時,第1判定部3判定終端裝置11位於房間P1。 第1控制部2較佳為具有如下功能:基於終端裝置11之位置資訊及第1資訊D1所含之對象機器8之識別資訊,判定由第1資訊D1指定動作內容之對象機器8與終端裝置11是否存在於相同房間內。即,第1控制部2較佳為具有作為區域內判定部之功能,上述區域內判定部判定由第1資訊D1指定之對象機器8與終端裝置11是否存在於設定於設施H1內之複數個區域(房間P1~P4)中之相同區域內。第1控制部2於自第1通信部5取得第1資訊D1後,判定設有由第1資訊D1指定之對象機器8之房間與設施H1內之有人存在之房間是否為相同房間。藉此,第1控制部2可產生對應於終端裝置11、及由第1資訊D1指定之對象機器8於設施H1內是否存在於相同房間內之判定結果的第2資訊D2。 第1控制部2於自第1通信部5取得第1資訊D1後,參照第1記憶部21之第1資訊表,特定出對應於第1資訊D1所含之識別資訊之房間資訊。第1控制部2產生對控制部12要求對應於該房間資訊之與房間的消耗電力相關資訊之要求信號。第1通信部5經由外部網路NW1將要求信號發送至控制器12。 若控制器12一接收到要求信號,則產生由要求信號所指定之與房間P1~P4之消耗電力相關資訊作為電力資訊D3,經由第2通信部6發送至第1通信部5。第1控制部2自第1通信部5接收之電力資訊D3取得對應於該房間資訊之與房間的消耗電力相關之資訊,將該房間資訊與對應於該房間資訊之與房間的消耗電力相關之資訊輸出至第2判定部4。 第2控制部4基於第1控制部2輸出之房間資訊,及對應於該房間資訊之房間之消耗電力,判定對應於該房間資訊之房間內是否有人存在,對第1控制部2輸出判定結果。第2判定部4將對應於該房間資訊之房間的消耗電力與基準電力之大小進行比較。基準電力例如係以成為比配置於房間P1~P4各者之對象機器8之待機電力大的電力之方式,預先對每個房間P1~P4設定。例如對應於該房間資訊之房間為房間P1之情形時,若房間P1之消耗電力超出房間P1用基準電力,則第2判定部4判定房間P1內有人存在。另一方面,若房間P1之消耗電力在該基準電力以下,則第2判定部4判定房間P1內無人存在。 機器控制系統1中,用以控制對象機器8之各個動作之控制資訊對應4個控制情景而不同。所謂4個控制情景,如表1所示,包含由終端裝置11是否存在於設施H1外、及設施H1內是否有人存在之組合而規定之第1情景~第4情景。第1情景~第4情景各者之控制資訊例如保持於第1記憶部21。 第1控制部2對應於第1情景~第4情景選擇控制由第1資訊D1指定之對象機器8之控制資訊。第1控制部2進而產生包含以下說明之控制資訊及第1資訊D1所含之識別資訊之第2資訊D2。 [表1] 第1情景之控制資訊係終端裝置11存在於設施H1外,且設施H1內有人存在之情形之對象機器8之控制資訊。第1情景之對象機器8之控制資訊係例如成為對於設施H1內之人不打算之對象機器8之動作變更,以不易產生違和感之方式變更對象機器8之動作之控制資訊,或不變更對象機器8之動作之控制資訊。 第1情景之控制資訊例如包含以下4個控制資訊中之至少1者。第1情景之控制資訊包含對第1資訊D1所含之動作指定資訊之內容加入特定限制之第1控制資訊,及對應於動作指定資訊成預先規定之特定動作之方式變更動作指定資訊之第2控制資訊。即,第1控制資訊為對由第1資訊D1指定之對象機器8之動作內容加入特定限制之資訊,與第1資訊D1所含之識別資訊一起構成第2資訊D2。第2控制資訊為將由第1資訊D1指定之對象機器8之動作內容對應於第1資訊D1設成預先規定之特定內容之資訊,與第1資訊D1所含之識別資訊一起構成第2資訊D2。又,第1情景之控制資訊包含對於由第1資訊D1指定之對象機器8之動作不論動作指定資訊如何皆維持動作狀態之第3控制資訊。又,第1情景之控制資訊包含不控制由第1資訊D1指定之對象機器8之動作之第4控制資訊。另,第4控制資訊為用以方便說明不控制由第1資訊D1指定之對象機器8之動作之資訊,第4控制資訊中亦可不包含控制資訊。 第2情景之控制資訊係終端裝置11存在於設施H1內,且設施H1內有人存在之情形之對象機器8之控制資訊。第2情景之控制資訊包含第5控制資訊與第6控制資訊中至少一者之控制資訊。所謂第5控制資訊,例如係使用者存在於設施H1內之特定房間(此處為房間P1),且用以由特定之房間(房間P1)內之終端裝置11控制設置於特定房間(房間P1)之對象機器8之資訊。所謂第6控制資訊,例如係使用者用以由房間P1內之終端裝置11控制設置於房間P2~P4之對象機器8之資訊。換言之,所謂第6控制資訊,係終端裝置11所控制之對象機器8與終端裝置11不存在於相同房間內之情形之控制資訊。 第5控制資訊係與第1資訊D1所含之動作指定資訊相同之控制資訊。因此,使用者可將終端裝置11作為設置於房間P1之對象機器8用遠端控制器發揮功能。此處所謂之「作為遠端控制器之功能」,意指與在設有對象機器8之房間內用以控制對象機器8之對象機器8專用遠端控制器相同之功能。另一方面,第6控制資訊係與第1情景之控制資訊相同之控制資訊,控制內容對應於由第1資訊D1指定之對象機器8之識別資訊及動作指定資訊而不同。 第3情景之控制資訊係終端裝置11存在於設施H1外,且設施H1內無人存在之情形之對象機器8之控制資訊。第3情景之控制資訊包含第7控制資訊與第8控制資訊中至少一者之控制資訊。第7控制資訊係由第1資訊D1指定之對象機器8自接收第2資訊D2之時點起經過特定期間後,以成為由動作指定資訊指定之動作內容之方式控制對象機器8之控制資訊。即,第7控制資訊係由第1資訊D1指定之對象機器8自接收第2資訊D2之時點起經過特定期間後,成為如由第1資訊D1指定之動作內容之資訊,與第1資訊D1所含之識別資訊一起構成第2資訊D2。所謂特定期間,包含於例如第1資訊D1之指示內容中。另,所謂特定期間,不限於對象機器8自接收第2資訊D2之時點起之經過時間所指定之期間,例如亦可為藉由以較接收第2資訊D2之時刻後之「特定時刻」指定而規定之期間。以下,亦將利用第7控制資訊之控制稱為「定時器控制」。另,定時器控制中,亦可將特定期間設定為大致為零。又,定時器控制之特定時刻亦可為複數個時刻。使用者可藉由定時器控制,對對象機器8進行所謂日程管理。 第8控制資訊係對第1資訊D1中所含之動作指定資訊之內容加入特定限制之控制資訊。 第4情景之控制資訊係終端裝置11存在於設施H1內,且設施H1內無人存在之情形之對象機器8之控制資訊。例如,有若終端裝置11之使用者位於設施H1之玄關等,則第2判定部4判定設施H1內無人存在之情形,而第1判定部3判定終端裝置11存在於設施H1內。第4情景之控制資訊包含第9控制資訊與第10控制資訊中至少一者之控制資訊。所謂第9控制資訊,係終端裝置11所控制之對象機器8與終端裝置11不存在於相同房間(例如房間P1)內之情形之控制資訊。第9控制資訊係與第1資訊D1所含之動作指定資訊相同之控制資訊,控制內容對應於由第1資訊D1指定之對象機器8之識別資訊及動作指定資訊而不同。即,第9控制資訊係如由第1資訊D1指定之對象機器8之動作內容,用以控制對象機器8之資訊,與第1資訊D1所含之識別資訊一起構成第2資訊D2。使用者可基於第9控制資訊之控制內容,將終端裝置11作為設置於房間P1之對象機器8用遠端控制器發揮功能。另,第9控制資訊亦可以包含定時器控制之方式設定控制內容。 第10控制資訊係對第1資訊D1中所含之動作指定資訊之內容加入特定限制之控制資訊。 表2係歸納第1~第4情景與第1~第10控制資訊之關係、及第1~第10控制資訊各者之控制內容之表。 [表2] 但第1記憶部21保持第2資訊表。第2資訊表中,4個控制情景、第1~第10控制資訊、第1資訊D1所含之識別資訊、及第1資訊D1所含之動作指定資訊係互相產生關聯。所謂第2資訊表,係基於4個控制情景、第1資訊D1所含之識別資訊、及第1資訊D1所含之動作指定資訊,而規定為第1~第10控制資訊中之1個控制資訊之資訊表。第1控制部2選擇4個控制情景中之1個控制情景,基於第1資訊D1之識別資訊及動作指定資訊、及第2資訊表,選擇第1~第10控制資訊中之1個控制資訊。第1控制部2產生包含自第1~第10控制資訊選擇之控制資訊之第2資訊D2。 此處,參照圖3對通信裝置10之動作細節進行說明。圖3係使用者操作終端裝置11,對外部網路NW1(或內部網路NW2)送出第1資訊D1後之表示通信裝置10之動作之流程圖。 第1控制部2自第1通信部5取得第1資訊D1。換言之,藉由電腦執行程式,而實現接收指定設置於設施H1之至少1個對象機器8之動作內容之第1資訊D1之步驟。第1控制部2取得第1資訊D1所含之終端裝置11之位置資訊(S1),將該位置資訊輸出至第1判定部3。第1判定部3基於終端裝置11之位置資訊與設施H1之位置資訊,求出終端裝置11與設施H1之距離(L1)。若終端裝置11與設施H1之距離L1大於第1基準距離(S2:是(Yes)),則第1判定部3判定終端裝置11存在於設施H1外(S3)。若距離L1為基準距離以下(S2:否(No)),則第1判定部3判定終端裝置11存在於設施H1內(S4)。第1判定部3對第1控制部2輸出判定結果。 第1控制部2產生要求電力資訊D3之要求信號,自第1通信部5對外部網路NW1送出該要求信號。第1通信部5接收控制器12發送之電力資訊D3。第1控制部2自第1通信部5取得電力資訊D3(S5),並輸出至第2判定部4。第2判定部4於電力資訊D3所含之房間之消耗電力超出基準電力之情形時(S6:是),判定設施H1內有人存在,於消耗電力為基準電力以下之情形時(S6:否),判定設施H1內無人存在。第2判定部4對第1控制部2輸出判定結果。 第1控制部2於設施H1內有人存在之情形時,基於第1判定部3之判定結果,判定終端裝置11是否存在於設施H1外(S7)。第1控制部2於設施H1內有人存在,且終端裝置11存在於設施H1外之情形時(S7:是),選擇對應於第1資訊D1所含之識別資訊之控制資訊中之第1情景(S8)。第1控制部2於設施H1內有人存在,且終端裝置11存在於設施H1內之情形時(S7:否),選擇對應於第1資訊D1所含之識別資訊之控制資訊中之第2情景(S9)。 第1控制部2於設施H1內無人存在之情形時,基於第1判定部3之判定結果,判定終端裝置11是否存在於設施H1外(S10)。第1控制部2於設施H1內無人存在,且終端裝置11存在於設施H1外之情形時(S10:是),選擇第3情景(S11)。第1控制部2於設施H1內無人存在,且終端裝置11存在於設施H1內之情形時(S10:否),選擇第4情景(S12)。 第1控制部2基於第1資訊D1、選擇之第1~第4情景、及第1記憶部21之第2資訊表,選擇第1~第10控制資訊之任一者,產生第2資訊D2(S13)。換言之,藉由電腦執行程式,實現產生用以控制對象機器8之第2資訊D2之步驟。又,藉由電腦執行程式,實現如下步驟:根據發送第1資訊D1之終端裝置11存在於設施H1外及設施H1內之哪一者,及設施H1內是否有人存在,產生第2資訊D2。 此處,針對第1~第4情景各者之對象機器8之控制資訊進行說明。另,以下之控制資訊之說明為一例,第1~第10控制資訊對於對象機器8各者之動作內容之設定可適當變更。 針對空調82、84、86之控制資訊進行說明。以下,對空調82之控制資訊進行說明。另,由於關於空調84、86亦為與空調82相同之控制資訊,故省略對空調84、86之控制資訊之說明。 第1情景之空調82之第1控制資訊為將溫度設定限制在特定範圍之控制。所謂將溫度設定限制在特定範圍之控制,例如係於暖氣之情形時將設定溫度之上限限制在23度,於冷氣之情形時將設定溫度之下限限制在25度之控制。例如,對於空調82之動作指定資訊中,即使暖氣之設定溫度為23度以上,於第1情景中,對於空調82之控制資訊亦將暖氣之設定溫度限制在23度。同樣地,對於空調82之動作指定資訊中,即使冷氣之設定溫度為25度以下,於第1情景中,對於空調82之控制資訊亦將冷氣之設定溫度限制在25度。藉此,抑制空調82之設定溫度超出特定範圍(例如舒適溫度之範圍)。 第1情景中,空調82之第2控制資訊係接通狀態後使風量每經過特定時間(例如10秒)階段性減少,最終成為斷開之控制。藉此,對於空調82之動作指定資訊即使係將空調82自接通狀態設為斷開狀態之控制,亦可避免空調82突然變為斷開狀態。 第1情景中,空調82之第3控制資訊係於設施H1內有人存在之情形時,不變更動作中之空調82之風量設定而予以維持之控制。例如,人在房間P1內之情形時,即使第1控制部2取得包含變更房間P1內之空調82之風量的指示動作資訊之第1資訊D1,於第1控制部2選擇第3控制資訊之情形時,亦不變更空調82之風量設定而予維持。 第1情景中,空調82之第4控制資訊係設施H1內有人存在之情形時,用以不控制空調82之資訊。換言之,第4控制資訊係設施H1內有人存在之情形時,用以無法以終端裝置11自設施H1外控制空調82之資訊。第4控制資訊例如與除設施H1外之終端裝置11之使用者用以將設施H1內之溫度設為舒適溫度之控制以外的控制相關地設定。藉此,自設施H1外之終端裝置11控制空調82時,避免除將設施H1內設為舒適溫度之動作以外的其他操作。 第2情景中,空調82之第5控制資訊例如係如可以存在於房間P1內之終端裝置11操作存在於房間P1內之空調82之所有功能之控制。換言之,第5控制資訊係使終端裝置11作為空調82之遠端控制器發揮功能之控制。第5控制資訊中,對於使用者以存在於房間P2、P3內之終端裝置11操作存在於房間P2、P3內之空調84、86之情形亦相同。 第2情景中,空調82之第6控制資訊係以終端裝置11控制之空調82與終端裝置11不在相同房間內之情形之控制。第6控制資訊係與第1~第4控制資訊之任一者相同之控制。 第3情景中,空調82之第7控制資訊與第1資訊D1之指示內容相同,但空調82變更動作之時序經定時器控制。第7控制資訊例如係使用者自設施H1外操作終端裝置11,使用者到達設施H1之預定時刻之1小時前,使空調82動作之定時器控制。藉此,可定時器控制空調82,並於使用者到達設施H1之時刻使房間P1之溫度接近舒適溫度。 第4情景之空調82之第9控制資訊例如係設置有由第1資訊D1指定之空調82之房間P1與有終端裝置11之房間為不同之情形之控制。空調82之第9控制資訊例如係如可藉存在於房間P1內之終端裝置11操作空調84、86之所有功能之控制。換言之,第9控制資訊係使終端裝置11作為空調82以外之空調84、86之遠端控制器發揮功能之控制。 針對照明器具81、83、85之控制資訊進行說明。以下,針對照明器具81之控制資訊進行說明。另,由於關於照明器具83、85亦成為與照明器具81相同之資訊,故省略關於照明器具83、85之控制資訊之說明。 第1情景之照明器具81之第1控制資訊係變更亮燈狀態之控制資訊。第1控制資訊係例如於第1資訊D1之動作指定資訊為將照明器具81自亮燈狀態設為熄燈狀態之控制之情形時,如隨著時間經過而照明器具81之光源之亮度逐漸變暗之控制資訊。該控制例如於將照明器具81之全亮燈狀態之亮度設為100%之情形時,係以照明器具81之光源之亮度每秒減少10%之方式進行設定。藉此,照明器具81之亮度不突然變化,而隨著時間經過逐漸變化,故對於設施H1內之人而言,不易產生照明器具81之亮度變更之違和感。 第1情景之照明器具81之第2控制資訊係亮燈狀態與熄燈狀態切換之控制資訊。第2控制資訊係亮燈狀態與熄燈狀態切換時,數次點亮熄滅照明器具81後切換亮燈狀態與熄燈狀態之控制。藉此,設施H1內之人可知曉已藉由終端裝置11切換照明器具81之亮燈狀態與熄燈狀態。 第1情景中,照明器具81之第3控制資訊係設施H1內有人存在之情形時,不將照明器具81自亮燈狀態設為熄燈狀態,而維持亮燈狀態之控制。尤其,即使房間P1內有人存在之情形時,第1控制部2取得包含將照明器具81自亮燈狀態設為熄燈狀態之指示動作資訊之第1資訊D1,於第1控制部2選擇第3控制資訊之情形時,亦維持照明器具81之亮燈狀態。藉此,房間P1內有人存在之情形時可避免以終端裝置11自設施H1外將照明器具81自亮燈狀態設為熄燈狀態。又,照明器具81之第3控制資訊亦可為避免照明器具81之調光位準之控制。例如,即使第1控制部2取得包含將照明器具81之調光位準自100%變更為50%之指示動作資訊之第1資訊D1,於第1控制部2選擇第3控制資訊之情形時,亦維持照明器具81之調光位準。 第1情景中,照明器具81之第4控制資訊係於設施H1內有人存在之情形時,用以不控制照明器具81之資訊。換言之,第4控制資訊係設施H1內有人存在之情形時,用以無法以終端裝置11自設施H1外控制空調81之資訊。 另,關於切換第1情景之照明器具81之亮燈狀態與熄燈狀態之控制,只要以第1~第4控制資訊中之一者與第1情景產生關聯之方式設定於第2資訊表即可。 第2情景中,照明器具81之第5控制資訊例如係如可以存在於房間P1內之終端裝置11操作存在於房間P1內之照明器具81之所有功能之控制。換言之,第5控制資訊係使終端裝置11作為照明器具81之遠端控制器發揮功能之控制。第5控制資訊中,對於使用者以存在於房間P2、P3內之終端裝置11操作存在於房間P2、P3內之照明器具83、85之情形亦相同。 第2情景中,照明器具81之第6控制資訊係以終端裝置11控制之照明器具81與終端裝置11不在相同房間內之情形之控制。第6控制資訊係與第1情景之照明器具81之第1~第4控制資訊之任一者相同之控制。 第3情景中,照明器具81之第7控制資訊與第1資訊D1之指示內容相同,但照明器具81變更動作之時序經定時器控制。 第4情景之照明器具81之第9控制資訊例如係設置有由第1資訊D1指定之照明器具81之區域(房間)與有終端裝置11之區域不同之情形之控制。照明器具81之第9控制資訊例如係如可藉存在於房間P1內之終端裝置11操作照明器具81之所有功能之控制。換言之,第9控制資訊係使終端裝置11作為照明器具81之遠端控制器發揮功能之控制。 但,對於對象機器8之各者,亦可不於第2資訊表中設定第1~第10控制資訊。例如,針對電磁調理器801之控制資訊,基於防災之觀點而言,有較佳為於設施H1內無人存在之情形時禁止電磁調理器801之控制之情形。又,針對百葉窗802之控制資訊,基於防災及防盜之觀點而言,除了有百葉窗802之房間P4內存在終端裝置11之情形外,有較佳為禁止以終端裝置11控制百葉窗802之情形。如此,關於對象機器8之電磁調理器801與百葉窗802之控制內容,由於與空調82、84、86及照明器具81、83、85成為不同之控制內容,故將電磁調理器801與百葉窗802特別地稱為「特定之機器」。 電磁調理器801中,第1情景之第4控制資訊、第2情景之第5、第6控制資訊、第3情景之第8控制資訊、及第4情景之第10控制資訊只要設定於第2資訊表即可。 第1情景之電磁調理器801之第4控制資訊不以自設施H1外之終端裝置11控制電磁調理器801。藉此,可能無法以自設施H1外之終端裝置11操作電磁調理器801。 第2情景中,電磁調理器801之第5控制資訊,可令使用者將終端裝置11作為電磁調理器801之遠端控制器進行操作。第2情景中,電磁調理器801之第6控制資訊係終端裝置11存在於與房間P1不同之房間P2~P4之情形之控制資訊。第6控制資訊與第1情景之電磁調理器801之第4控制資訊相同。 第3情景之第8控制資訊與第4情景之第10控制資訊例如係可將接通狀態之電磁調理器801設為斷開狀態,但加上不可將斷開狀態之電磁調理器801設為接通狀態之限制之控制。例如,使用者注意到忘記關電磁調理器801時,可自終端裝置11將接通狀態之電磁調理器801設為斷開狀態。另一方面,第3情景之第8控制資訊與第4情景之第10控制資訊不將斷開狀態之電磁調理器801設為接通狀態。藉此,與電磁調理器801相同之房間P1內不存在終端裝置11之情形時,限制電磁調理器801自斷開狀態變為接通狀態。 另,亦可替代第4控制資訊,於電磁調理器801之第1情景中,將第1控制資訊設定於第2資訊表。第1控制資訊例如係將接通狀態之電磁調理器801設為斷開狀態之控制,但加上不將斷開狀態之電磁調理器801設為接通狀態之限制之控制。藉由將第1控制資訊設定於第2資訊表,可藉由自設施H1外之終端裝置11將接通狀態之電磁調理器801設為斷開狀態,但相反地限制將電磁調理器801自斷開狀態變為接通狀態。 百葉窗802中,第4、第5、第8、第10控制資訊設定於第2資訊表。第1情景之百葉窗802之第4控制資訊不以自設施H1外之終端裝置11控制百葉窗802。藉此,可為無法以自設施H1外之終端裝置11操作百葉窗802。例如,百葉窗802為閉合狀態且百葉窗802之可動部為停止狀態之情形時,百葉窗802之可動部不自停止狀態變更。 第2情景中,百葉窗802之第5控制資訊係使用者以存在於房間P4之終端裝置11控制百葉窗802之資訊。使用者可將終端裝置11作為百葉窗802之遠端控制器進行操作。又,由於第2情景之百葉窗802之第6控制資訊未設定於第2資訊表,因此避免以房間P4以外之房間內之終端裝置11使房間P4之百葉窗802進行開閉動作。 第3情景之第8控制資訊與第4情景之第10控制資訊例如係限制使百葉窗802成打開狀態之動作,且限制使百葉窗802成閉合狀態之動作之控制。換言之,第3情景之第8控制資訊與第4情景之第10控制資訊係維持百葉窗802之可動部之停止狀態之控制資訊。藉此,與百葉窗802相同之房間P4內不存在終端裝置11之情形時,避免使百葉窗802開閉。 但,第1~第4情景中,由終端裝置11變更對象機器8之動作時,對於對象機器8之各者進行報知動作之控制內容亦可包含於第1~第10控制資訊之各者中。報知動作係報知對象機器8之動作變更之動作。該情形時,對象機器8之各者於進行報知動作後進行第1~第10控制資訊之動作。藉此,設施H1內之人可於對象機器8之動作變化前知曉對象機器8之動作狀態將變化,因此對於對象機器8之動作變更不易驚訝。 如上說明,本實施形態之機器控制系統1具備第1通信部5(通信部)與第1控制部2(控制部)。第1通信部5指定設置於設施H1之至少1個對象機器8,且接收用以指定對象機器8之動作內容之第1資訊D1。第1控制部2產生與對象機器8之控制相關之第2資訊D2。第1控制部2根據發送第1資訊D1之終端裝置11存在於設施H1外及設施H1內之哪一者,及設施H1內是否有人存在,而產生基於第1資訊D1之第2資訊D2。 根據上述構成,機器控制系統1基於發送第1資訊D1之終端裝置11是否存在於設施H1外之第1條件,及設施H1內是否有人存在之第2條件,產生與對象機器8之控制相關之第2資訊D2。第2資訊D2作為一例,包含用以控制對象機器8之動作之控制資訊。機器控制系統1對應於該第1、第2條件,可產生基於指定對象機器8之動作之第1資訊D1之第2資訊D2。換言之,機器控制系統1可根據設施H1之狀況,變更可通過外部網路NW1控制之對象機器8之種類及控制內容。 機器控制系統1中,第1判定部3(判定部)較佳為基於設施H1之位置與終端裝置11之位置,判定終端裝置11存在於上述設施H1外及上述設施H1內之哪一者。根據上述構成,第1判定部3可根據設施H1與終端裝置11之位置關係,判定終端裝置11存在於上述設施H1外及上述設施H1內之哪一者。 機器控制系統1中,第2判定部4(控制部)較佳為取得與設施H1之消耗電力相關之電力資訊D3,基於電力資訊D3,判定設施H1內是否有人存在。藉此,機器控制系統1可不具備檢測設施H1之有否人存在之感測器等,而基於電力資訊D3判定設施H1內是否有人存在。 機器控制系統1中,較佳為終端裝置11存在於設施H1外,且設施H1內有人存在之情形時,第1控制部2(控制部)產生對由第1資訊D1指定之對象機器8之動作內容加入特定限制之第2資訊D2。藉此,以存在於設施H1外之終端裝置11控制對象機器8時,第1控制部2可產生變更由第1資訊D1所指定之對象機器8之動作內容之一部分的動作內容之第2資訊D2。 機器控制系統1中,較佳為終端裝置11存在於設施H1外,且設施H1內有人存在之情形時,第1控制部2(控制部)產生以下之第2資訊D2。該第2資訊D2係使由第1資訊D1指定之對象機器8之動作內容成為對應於第1資訊D1而預先規定之特定動作內容之第2資訊D2。藉此,以存在於設施H1外之終端裝置11控制對象機器8時,第1控制部2可產生將由第1資訊D1指定之對象機器8之動作內容變更為不同於該動作內容之特定動作內容之第2資訊D2。 機器控制系統1中,較佳為終端裝置11存在於設施H1外,且設施H1內有人存在之情形時,第1控制部2(控制部)產生以下之第2資訊D2。該第2資訊D2係如使對象機器8進行報知由第1資訊D1指定之對象機器8之動作變更之報知動作的第2資訊D2。藉此,以存在於設施H1外之終端裝置11控制對象機器8時,對象機器8進行報知動作後,對象機器8之動作才變化。因此,位於設施H1之人可在對象機器8之動作變化前,知曉對象機器8之動作將變化。 機器控制系統1中,至少1個對象機器8為複數個對象機器8,複數個對象機器8包含特定之機器(例如電磁調理器801、百葉窗802)。終端裝置11存在於設施H1外,且設施H1內有人存在之情形時,第1控制部2(控制部)較佳為不控制特定之機器。藉此,設施H1內有人存在之狀態下,可避免自存在於設施H1外之終端裝置11變更特定機器之動作。 機器控制系統1較佳為具備第1控制部(區域內判定部),其判定由第1資訊D1指定之對象機器8及終端裝置11是否存在於設定於設施H1內之複數個區域中之相同區域(例如房間P1)內。於終端裝置11存在於設施H1內,且設施H1內有人存在之情形時,第1控制部2藉由由第1資訊D1指定之對象機器8與終端裝置11是否存在於設施H1內之相同區域內,而變更第2資訊D2。藉此,第1控制部2(控制部)存在於設施H1內,且可產生對應於複數個對象機器8中由第1資訊D1指定之對象機器8與終端裝置11是否存在於設施H1內之相同區域內之個別的第2資訊D2。 機器控制系統1較佳為具備第1控制部2(區域內判定部),其判定由第1資訊D1指定之對象機器8及終端裝置11是否存在於設定於設施H1內之複數個區域中之相同區域(例如房間P1)內。於終端裝置11存在於設施H1內,設施H1內無人存在之情形,且由第1資訊D1指定之對象機器8與終端裝置11不存在於複數個區域中之相同區域內之情形時,第1控制部2(控制部)產生以下之第2資訊D2。該第2資訊D2係用以藉如由第1資訊D1指定之對象機器8之動作內容,控制對象機器8之第2資訊D2。根據上述構成,第1控制部2判定設施H1內無人存在之狀態下,由第1資訊D1指定之對象機器8與終端裝置11位於分開之區域(房間)之情形時,產生成為由第1資訊D1指定之對象機器8之動作內容之第2資訊D2。例如,有若終端裝置11之使用者位於設施H1之玄關等,則第2判定部4判定設施H1內無人存在之情形,而第1判定部3判定為終端裝置11存在於設施H1內。該情形時,使用者可將終端裝置11作為設置於房間P1~P4之對象機器8之遠端控制器操作。 機器控制系統1中,較佳為終端裝置11存在於設施H1外,且設施H1內有人存在之情形時,第1控制部2(控制部)如下構成。第1控制部2(控制部)較佳為以自由第1資訊D1指定之對象機器8接收第2資訊D2之時點起經過特定期間後成為由第1資訊D1指定之動作內容之方式,產生第2資訊D2。根據上述構成,第1控制部2可在與對象機器8接收第2資訊D2之時點不同的時點使對象機器8動作。對象機器8之動作內容係由第1資訊D1指定之動作內容。藉此,第1控制部2例如可定時器控制對象機器8。 本實施形態之機器控制方法具有如下步驟:指定設置於設施H1之至少1個對象機器8,且接收指定對象機器8之動作內容之第1資訊D1。又,機器控制方法具有如下步驟:根據發送第1資訊D1之終端裝置11存在於設施H1外及設施H1內之哪一者,及設施H1內是否有人存在,而產生與對象機器8之控制相關之第2資訊D2。藉此,本實施形態之機器控制方法可根據設施H1之狀況,變更可自設施H1外控制之對象機器8之種類及控制內容。 本實施形態之程式係使電腦執行如下步驟:指定設置於設施H1之至少1個對象機器8,且接收指定對象機器8之動作內容之第1資訊D1。又,本實施形態之程式執行如下步驟:對應於發送第1資訊D1之終端裝置11存在於設施H1外及設施H1內之哪一者,及設施H1內是否有人存在,而產生與對象機器8之控制相關之第2資訊D2。藉此,本實施形態之程式可根據設施H1之狀況,變更可自設施H1外控制之對象機器8之種類及控制內容。 然而,本實施形態之機器控制系統1中,第2判定部4基於對象機器8之消耗電力判定設施H1內是否有人存在,但不限於該構成。第2判定部4例如亦可基於設置於設施H1內之人檢測部之檢測結果,判定設施H1內有否人存在。人檢測部例如於房間P1~P4逐個配置,檢測每個房間P1~P4是否有人存在。人檢測部亦可構成為具備對於人體放射之熱線具有感度之焦電型紅外線檢測元件,檢測紅外線檢測元件是否可檢測到熱線、檢測區域內是否有人存在,而將檢測結果輸出至控制器12。第2判定部4可經由外部網路NW1、內部網路NW2、及控制器12,取得人檢測部之檢測結果。 配電盤70內之測定部71亦可構成為除房間P1~P4各者之消耗電力外,測定例如設施H1整體之消耗電力。第2判定部4亦可構成為可基於H1整體之消耗電力而判定設施H1內是否有人存在。又,於終端裝置11存在於設施H1內之情形時,第1判定部3亦可省略判定終端裝置11係存在於設施H1內之房間P1~P4之何處之功能。 終端裝置11之位置檢測部114不限於具有GPS接收機。例如,亦可構成為於設施H1之各房間P1~P4設置信標發送機,位置檢測部114接收自信標發送機發送之信標信號。信標信號中包含逐一分配於信標發送機之識別資訊。終端裝置11之第2控制部111將附加於信標信號之信標發送機之識別資訊替代終端裝置11之位置資訊,而產生第1資訊D1。通信裝置10之第1判定部3具有判定第1資訊D1中是否包含信標發送機之識別資訊之功能,第1記憶部21保持對應於信標發送機之識別資訊之房間資訊。若第1判定部3判定第1資訊D1中包含信標發送機之識別資訊,則判定對應於信標發送機之識別資訊之房間P1~P4內有終端裝置11。此外,例如亦可構成為終端裝置11之第2控制部111產生包含對應於信標發送機之識別資訊之房間資訊之第1資訊D1,第1判定部3基於該房間資訊判定終端裝置11之位置。 終端裝置11不限於如智慧型手機般之攜帶式終端,亦可為如個人電腦般之固定型終端。固定型終端例如可設置於房間P1~P4,亦可設置於設施H1外之設施。 第1資訊D1不限於包含1個對象機器8之識別資訊,亦可包含複數個對象機器8之識別資訊。該情形時,可藉由第1資訊D1變更複數個對象機器8之動作內容。 通信裝置10無需一定設置於設施H1外,亦可設置於設施H1內。又,通信裝置10亦可構成為設置於設施H1內,且具有控制器12之功能與第2通信部6之功能。 通信裝置10不限於具備第1控制部2、第1判定部3及第2判定部4,第1控制部2、第1判定部3、及第2判定部4之各者亦可以通信裝置10以外之裝置實現。 第2資訊表中,亦可每個對象機器8個別地設定第1~第10控制資訊。例如,亦可為設定為使第1控制部2對於特定之動作指定資訊設定為於照明器具81與照明器具83成為不同之控制資訊的第2資訊表。 對象機器8、配電盤70、第2通信部6與控制器12之通信方式除了有線通信以外,亦可為將電波及光作為媒介之無線通信。又,對象機器8自身亦可不具有與控制器12通信之功能。即使對象機器8自身不具有通信功能,亦只要構成為對象機器8可經由具有與控制器12通信之功能之控制機器與控制器12通信即可。 應用機器控制系統1之設施H1不限於住宅,可為商店等商用設施,亦可為辦公大樓等。該情形時,控制器12例如只要為與設施H1內之各對象機器8通信,控制各對象機器8之EMS(Energy Management Systems:能源管理系統)控制器即可。 本實施形態之機器控制系統1中,可省略第4情景。 (變化例1) 針對變化例1之機器控制系統進行說明。另,變化例1之機器控制系統中,對與實施形態之機器控制系統1相同之構成標附相同符號,並省略說明。又,亦可將與上述實施形態相同之機器控制方法應用於變化例1。亦可將與上述實施形態相同之程式應用於變化例1。 變化例1之機器控制系統中,通信裝置10不僅將第2資訊D2發送至控制器12,亦發送至終端裝置11之方面與實施形態之機器控制系統1不同。即,變化例1之機器控制系統中,第1控制部2產生之第2資訊D2至少包含用以控制對象機器8之動作之控制資訊。又,第2資訊D2亦可為發送至終端裝置11之資訊。 變化例1之機器控制系統之通信裝置10之第1控制部2進而具有將第2資訊D2自第1通信部5發送至終端裝置11之功能。若終端裝置11之第3通信部113接收第2資訊D2,則終端裝置11之第2控制部111於終端裝置11之操作部112顯示第2資訊D2之內容。要言之,變化例1之機器控制系統中,自通信裝置10發送至終端裝置11之第2資訊D2係用以將發送至控制器12之控制資訊之內容顯示於操作部112之資訊。 第2資訊D2亦可進而包含設施H1內是否有人存在之資訊。又,第2資訊D2亦可包含終端裝置11及由第1資訊D1指定之對象機器8於設施H1內是否存在於相同房間內之資訊。 以下,針對通信裝置10與終端裝置11之動作進行說明。 通信裝置10之第1控制部2於未變更第1資訊D1所含之動作指定資訊之情形時,產生包含其動作指定資訊之第2資訊D2。該情形時,第1控制部2藉由將第2資訊D2之內容顯示於終端裝置11之操作部112,而可將第1資訊D1所含之動作指定資訊顯示於終端裝置11之操作部112。終端裝置11之使用者藉由觀看操作部112之顯示內容,而可確認第1資訊D1所含之動作指定資訊。 通信裝置10之第1控制部2亦可進而具有如下功能:於將第2資訊D2自通信裝置10之第1通信部5發送至控制器12前,將第2資訊D2自第1通信部5發送至終端裝置11。終端裝置11之第2控制部111於第1控制部2將第2資訊D2自第1通信部5發送至控制器12前,於操作部112顯示如使使用者選擇是否由第1資訊D1之動作指定資訊控制對象機器8之內容。又,第2控制部111亦可於操作部112顯示第2資訊D2所含之設施H1內是否有人存在(或房間內是否有人存在)之資訊。藉此,終端裝置11之使用者可確認第1資訊D1之動作指定資訊之內容與設施H1內是否有人存在。若使用者以操作部112進行如容許顯示於操作部112之內容之操作,則通信裝置10之第1控制部2將第2資訊D2自通信裝置10之第1通信部5發送至控制器12。 但,通信裝置10之第1控制部2亦可進而具有如下功能:於變更第1資訊D1所含之動作指定資訊時,產生包含動作指定資訊之變更內容之第2資訊D2,將第2資訊D2自通信裝置10發送至終端裝置11。即,自通信裝置10發送至終端裝置11之第2資訊D2亦可為用以於操作部112顯示第2資訊D2相對於第1資訊D1之變更內容,及發送至控制器12之控制資訊之內容。終端裝置11之使用者藉由觀看顯示於操作部112之第2資訊D2之內容,而可確認第2資訊D2相對於第1資訊D1之變更內容。又,使用者可確認實際控制之對象機器8之動作內容。 通信裝置10之第1控制部2亦可進而具有如下功能:於將第2資訊D2自通信裝置10之第1通信部5發送至控制器12前,將第2資訊D2自第1通信部5發送至終端裝置11。終端裝置11之第2控制部111於第2資訊D2發送至控制器12前,於操作部112顯示如使使用者選擇是否以第2資訊D2之控制資訊控制對象機器8之內容。操作部112例如除第2資訊D2之內容以外,顯示使用者係選擇利用第2資訊D2之控制資訊之執行指示、取消、及變更動作指定資訊並再發送第1資訊D1之哪一者。又,操作部112亦可顯示第2資訊D2所含之設施H1內是否有人存在(或房間內是否有人存在)之資訊。使用者確認第2資訊D2之內容後,可藉操作部112選擇利用第2資訊D2之控制資訊之執行、取消、及變更動作指定資訊並再發送第1資訊D1之哪一者。若使用者以操作部112進行如以第2資訊D2之控制資訊執行指示之操作,則通信裝置10之第1控制部2將第2資訊D2自第1通信部5發送至控制器12。 但,變化例1之機器控制系統中,第2資訊D2並非係限定於發送至控制器12與終端裝置11之主旨。第2資訊D2例如可直接發送至對象機器8,亦可發送至控制器12以外之機器亦即可控制對象機器8之機器。又,第2資訊D2除了發送至發送第1資訊D1之終端裝置11外,亦可發送至不同於終端裝置11之終端裝置。 又,自通信裝置10發送至終端裝置11之第2資訊D2除第1資訊D1中動作指定資訊之變更內容以外,亦可包含第1資訊D1中對象機器8之識別資訊之變更內容。 (變化例2) 針對變化例2之機器控制系統進行說明。另,變化例2之機器控制系統中,對與實施形態之機器控制系統1相同之構成標附相同符號,並省略說明。又,亦可將與上述實施形態相同之機器控制方法應用於變化例2。亦可將與上述實施形態相同之程式應用於變化例2。 變化例2之機器控制系統中,終端裝置11之第2控制部111之動作、判定終端裝置11是否存在於設施H1外之第1判定部3之判定動作與實施形態之機器控制系統1不同。 變化例2之機器控制系統之終端裝置11之第2控制部111於產生第1資訊D1時,替代終端裝置11之位置資訊,產生包含連接有終端裝置11之網路資訊之第1資訊D1。所謂網路資訊,例如係與外部網路NW1及內部網路NW2之各者相關之識別資訊,例如係各網路之網關機器之IP位址(Internet Protocol address,網際網路位址)。第2控制部111連接於外部網路NW1及內部網路NW2之任一網路時,取得各網路之網關機器IP位址。第2控制部111將該IP位址作為網路資訊包含於第1資訊D1中,產生第1資訊D1。 通信裝置10之第1控制部2自第1通信部5取得第1資訊D1所含之網路資訊,並輸出至第1判定部3。通信裝置10之第1判定部3基於網路資訊,判定終端裝置11與第1通信部5之通信路徑中是否包含設施H1以外之通信路徑。第1判定部3例如於第1資訊D1所含之網路資訊之IP位址與保持於第1記憶部21之第2通信部6之IP位址不一致之情形時,判定終端裝置11與第1通信部5之通信路徑中包含設施H1外之通信路徑。換言之,第1判定部3在終端裝置11與第1通信部5之通信路徑中包含設施H1外之通信路徑之情形時,判定為終端裝置11存在於設施H1外。另一方面,在第1資訊D1所含之網路資訊之IP位址與第2通信部6之IP位址一致之情形時,第1判定部3判定為終端裝置11存在於設施H1內。 終端裝置11作為一例,構成為於可與第2通信部6直接通信之情形時,連接於內部網路NW2,於無法與第2通信部6直接通信之情形時,連接於外部網路NW1。此處,終端裝置11可與第2通信部6直接通信之距離為數m左右,該情形時,終端裝置11存在於設施H1內。另一方面,終端裝置11無法與第2通信部6直接通信之情形時,可推測終端裝置11存在於設施H1外。 但,網路資訊不限於IP位址,例如亦可為各網路之網關機器之MAC位址(Media Access Control address:媒體存取控制位址)等。 如上說明,變化例2之機器控制系統具備第1判定部3(判定部)。第1判定部3在表示於第1資訊D1中包含終端裝置11與第1通信部5(通信部)之通信路徑中包含設施H1外之通信路徑之網路資訊之情形時,判定終端裝置11存在於設施H1外。根據上述構成,第1判定部3可藉由終端裝置11與第1通信部5之通信路徑判定終端裝置11是否存在於設施H1外。藉此,第1判定部3不論終端裝置11與設施H1之位置關係為何,皆可判定終端裝置11是否存在於設施H1外。 變化例2之機器控制系統中,終端裝置11可不利用由GPS接收機所得之位置資訊而製作第1資訊D1。因此,變化例2之機器控制系統中,即使終端裝置11不具有GPS接收機,通信裝置10之第1判定部3亦可基於網路資訊判定終端裝置11是否存在於設施H1外。例如,較佳為如不具備GPS接收機之個人電腦之固定型終端亦可作為終端裝置11利用。 此處,終端裝置11之第2控制部111亦可構成為於可連接於內部網路NW2之情形時,亦可對應於使用者以操作部112之操作,而可連接於外部網路NW1。第2控制部111亦可具有如下功能:例如於可連接於內部網路NW2之情形時,將不經由內部網路NW2而連接於外部網路NW1之內容顯示於終端裝置11之操作部112。使用者於設施H1內操作終端裝置11之情形時,藉由以連接於外部網路NW1之方式操作操作部112,而可在終端裝置11與通信裝置10之第1通信部5之通信路徑中包含設施H1外之通信路徑。藉此,通信裝置10之第1判定部3判定終端裝置11存在於設施H1內,且終端裝置11存在於設施H1外。即,即使終端裝置11存在於設施H1內,通信裝置10之第1控制部2亦可選擇終端裝置11存在於設施H1外之情形之第1及第3情景之控制內容。 但,可對機器控制系統1應用變化例2之機器控制系統之構成。例如,機器控制系統1亦可構成為基於終端裝置11之地理上之位置資訊與網路資訊2個資訊,判定終端裝置11是否存在於設施H1外。 又,可對變化例2之機器控制系統應用變化例1之機器控制系統之構成。例如,變化例2之機器控制系統之通信裝置10之第1控制部2亦可具備對終端裝置11通知第2資訊D2之內容之功能等。Hereinafter, the machine control system 1 according to this embodiment will be described with reference to FIGS. 1 to 3. As shown in FIG. 1, the machine control system 1 controls, for example, the operation of a target machine 8 installed in a facility H1 such as a single-family house. The target device 8 is a device that can be controlled by the device control system 1 among the devices used in the facility H1. The target device 8 is, for example, an air conditioner, a lighting fixture, an electromagnetic conditioner, or an electric shutter. The operation control of the target device 8 may include output adjustment in addition to changing the operation state from the running state to the stopped state and the operation state from the stopped state to the running state. Output adjustment is to adjust the set temperature of the air conditioner and the light output of the lighting equipment. In addition, the facility H1 to which the machine control system 1 is applied is not limited to a single-family house, and may also be a dweller of a collective house. First, the outline of the machine control system 1 is demonstrated. The device control system 1 includes a controller 12 and a second communication unit 6 and a communication device 10 installed in the facility H1. The communication device 10 is configured to be able to communicate with other devices via at least one of an external network NW1 built outside the facility H1 and an internal network NW2 built inside the facility H1. The external network NW1 is, for example, a wide area communication network such as a mobile communication network. The internal network NW2 is, for example, a LAN (Local Area Network), a communication network constructed independently, and the like. The communication device 10 includes, for example, a server device on a network. The communication device 10 is configured such that a processor of a computer included in the communication device 10 executes a program held in the first memory unit 21 (see FIG. 2). The communication device 10 implements a program by a processor to implement the first determination unit 3 (determination unit), the second determination unit 4 (control unit), the first control unit 2 (control unit, in-region determination unit), and the first 1 Function of the communication section 5 (communication section). The communication device 10 generates control information of the operation of the control target device 8 based on whether the terminal device 11 exists outside the facility H1 and whether or not a person exists in the facility H1. The second communication unit 6 is, for example, a router. The second communication unit 6 is connected to the external network NW1 and the internal network NW2, and also functions as a gateway. In this embodiment, the communication device 10 is connected to the second communication unit 6 via the external network NW1. Each of the target devices 8 is connected to the internal network NW2. The second communication unit 6 communicates with the target device 8 in the internal network NW2 by at least one of a wireless communication method and a wired communication method. The wireless communication method of the internal network NW2 of the second communication unit 6 is, for example, Wi-Fi (registered trademark), Bluetooth (registered trademark), or the like. In FIG. 1, a communication path using wired communication is shown by a solid line, and a communication path using wireless communication is shown by a dotted line. In addition, in FIG. 1, the communication paths of the rooms P3 and P4 in the internal network NW2 are omitted. The controller 12 is connected to the second communication unit 6 via the internal network NW2. The controller 12 is a so-called HEMS (Home Energy Management Systems) controller. The controller 12 controls the target device 8 by communicating with the target device 8 via the internal network NW2. That is, the controller 12 controls the operation of the target device 8 by directly communicating with the target device 8 or communicating with the target device 8 via the second communication unit 6. The internal network NW2 may also include multiple networks with different protocols and communication methods. The controller 12 can directly communicate with the target device 8 based on a wireless communication method of specific small-power wireless communication, for example. The terminal device 11 is, for example, a mobile terminal used by a user such as a smart phone or a tablet terminal. The terminal device 11 may be a portable personal computer, for example. The terminal device 11 is configured to be able to communicate with the second communication unit 6 in the facility H1 and communicate with the communication device 10 via the internal network NW2 and the external network NW1. In addition, the terminal device 11 is connected to the external network NW1 using a wireless communication method such as a 3G line or an LTE (Long Term Evolution) line outside the facility H1 and communicates with the communication device 10. The structure in the facility H1 of the machine control system 1 is demonstrated. A second communication unit 6 and a controller 12 are arranged in the facility H1. In the facility H1, a switchboard 70, a plurality of target devices 8, a relay adapter 50, and communication adapters 91 to 93 are further disposed. The target device 8 in this embodiment is a plurality of air conditioners, a plurality of lighting fixtures, an electromagnetic conditioner, an electric shutter, and the like. Hereinafter, when a plurality of air conditioners of the target device 8 are distinguished, they are referred to as air conditioners 82, 84, and 86. When each of the plurality of lighting fixtures of the target device 8 is distinguished, they are referred to as lighting fixtures 81, 83, and 85. The target device 8 can receive the second information D2 via the controller 12. Here, there are four areas in the facility H1, and each of the four areas corresponds to the rooms P1 to P4. At least one target device 8 is arranged in each of the rooms P1 to P4. The rooms P1 to P4 are respectively used as a living room, a children's room, a bedroom, and a garage. A lighting device 81, an air conditioner 82, and an electromagnetic conditioner 801 are provided in the room P1. A lighting device 83 and an air conditioner 84 are provided in the room P2. A lighting device 85 and an air conditioner 86 are provided in the room P3. Blinds 802 are provided in room P4. In the target device 8, the air conditioners 82, 84, and 86 and the electromagnetic conditioner 801 have a communication function for communicating via the internal network NW2, and communicate with the controller 12 via the second communication section 6. On the other hand, the lighting fixtures 81, 83, and 85 do not have a communication function, but the communication adapters 91 to 93 have a function of performing wireless communication with the relay adapter 50. The lighting devices 81, 83, and 85 are configured to receive the dimming level indication from the communication adapters 91 to 93. The communication adapters 91 to 93 are configured to switch the lighting state and the lighting state of the lighting fixtures 81, 83, and 85 according to the communication content, respectively. The communication adapters 91 to 93 are further configured to indicate the dimming levels of the lighting fixtures 81, 83, and 85. Therefore, the controller 12 can control not only the on and off states of each of the lighting fixtures 81, 83, and 85, but also the dimming state. The switchboard 70 contains, for example, a main circuit breaker, a branch circuit breaker, and an associated circuit breaker. The primary side of the main circuit breaker of the switchboard 70 is connected to an AC power source 700 like a commercial AC power source. The secondary side of the main circuit breaker is connected to a plurality of branch circuit breakers. The target device 8 is electrically connected to the branch circuit branched by the branch circuit breaker, and the power distribution board 70 supplies power to the target device 8 electrically connected to the branch circuit. A distributed power source 701 is electrically connected to the associated circuit breaker. As the distributed power source 701, for example, a photovoltaic power generation system, a fuel cell system, or the like is selected. The power output from the distributed power source 701 is used in the target device 8 in the facility H1. In addition, the power output from the distributed power source 701 may cause a reverse flow to the power system. The switchboard 70 includes a measurement unit 71 (see FIG. 2) that measures the power supplied to the target device 8. The measurement unit 71 is installed in the switchboard 70, for example, and measures the power consumption of the target device 8 installed in each of the rooms P1 to P4. The measurement unit 71 can measure, for example, the power consumption of each of the plurality of branch circuit breakers corresponding to the rooms P1 to P4, and output information related to the power consumption of each of the rooms P1 to P4 (for example, power value or power) to the control器 12。 12. Here, the configuration of the terminal device 11 will be described with reference to FIG. 2. As shown in FIG. 2, the terminal device 11 used in this embodiment includes a second control unit 111, an operation unit 112, a third communication unit 113, a position detection unit 114, and a second memory unit 115. The operation unit 112 is, for example, a device combined with a liquid crystal display with backlight, a display device such as an EL (Electro Luminescence) display, and an input device such as a touch panel. The display content of the operation unit 112 is controlled by the second control unit 111. The input operation content is output to the second control unit 111 using the operation unit 112. The position detection unit 114 includes, for example, a GPS (Global Positioning System) receiver, and receives a signal transmitted from a GPS satellite to obtain geographic position information of the terminal device 11. The second control unit 111 includes a processor. The second control unit 111 is realized, for example, by the processor executing a program held in the second memory unit 115 and the like. This program is downloaded through the external network NW1 and stored in an application program (so-called APP) in the second memory 115. The second control unit 111 controls the operation of the third communication unit 113, the operation of the position detection unit 114, and the display content of the operation unit 112. The second control unit 111 generates first information D1. The first information D1 is information specifying the target device 8 and the operation content of the target device 8. The first information D1 includes position information of the terminal device 11, identification information of at least one target device 8, and operation specifying information specifying the operation content of the target device 8 corresponding to the identification information. When the user performs an operation to specify the operation content of the target device 8 by the operation unit 112, the second control unit 111 generates the first information D1 and sends it from the third communication unit 113 to the external network NW1. The third communication unit 113 is connected to the external network NW1 or the internal network NW2 and transmits the first information D1 to the communication device 10. The second memory unit 115 includes, for example, a non-volatile memory that can be overwritten, such as an EEPROM (Electrically Erasable Programmable Read-Only Memory). The second storage unit 115 holds a plurality of operation specifying information. Each of the plurality of action specifying information is different for each target device 8 corresponding to the identification information. The operation specifying information of each target device 8 will be described below. The operation specifying information corresponding to the air conditioners 82, 84, and 86 are, for example, switching between on and off states, change in the amount of air flow in the on state, change in temperature settings, instructions for notifying actions accompanying the change in actions, and the like. The instruction of the notification operation is, for example, an instruction to make a display lamp (for example, LED (Light Emitting Diode)) of the air conditioner 82 emit light, and a bee to the air conditioner 82, 84, 86. Instructions for beeping actions such as buzzers, or both. The operation specifying information corresponding to the lighting fixtures 81, 83, and 85 are, for example, switching between a lighting state and a lighting state, an instruction of a dimming level, and an instruction of a notification operation accompanying a change in operation. The instruction of the notification operation is, for example, an operation instruction of periodically changing the brightness (for example, every 0.5 seconds) several times, and periodically changing the light-on state and the light-off state several times. The operation specifying information corresponding to the electromagnetic conditioner 801 is, for example, switching between an on-state and an off-state, switching of a conditioning temperature, and an instruction of a notification operation accompanying a change in operation. The instruction of the notification operation is, for example, one or both of an operation instruction to cause a display lamp included in the electromagnetic conditioner 801 to emit light and an operation instruction to beep such as a buzzer included in the electromagnetic conditioner 801. The operation designation information corresponding to the shutter 802 is, for example, switching of the operation state and the stop state of the movable portion of the shutter 802, and a report operation instruction accompanying the operation change. The instruction of the notification operation is, for example, one or both of an operation instruction to make a display lamp included in the shutter 802 emit light, an operation instruction to cause a buzzer such as a buzzer included in the shutter 802, or both. Next, details of the communication device 10 will be described. The communication device 10 includes a first control unit 2, a first storage unit 21, a first determination unit 3, a second determination unit 4, and a first communication unit 5. The communication device 10 has a first function of receiving the first information D1 transmitted by the terminal device 11, and a second function of generating the second information D2 and transmitting it to the controller 12 provided in the facility H1. The second information D2 is information related to the control of the target device 8. The second information D2 includes control information for controlling the operation of the target device 8. The communication device 10 generates the second information D2 based on the first information D1 based on whether or not the terminal device 11 exists outside the facility H1 and whether there is any person in the facility H1. Corresponding to the above conditions, there are cases where the contents of the second information D2 and the first information D1 are substantially the same, and cases where the contents of the second information D2 and the first information D1 are different. That is, the second information D2 is information based on the first information D1, and the communication device 10 performs arbitrary processing on the first information D1 based on the first information D1, thereby generating the second information D2. However, according to the above conditions, the content of the second information D2 will also be substantially the same as the content of the first information D1. In this case, the communication device 10 generates the second information D2 without processing the first information D1. The details of the operation of generating the second information D2 for the communication device 10 will be described later. The first memory section 21 includes a rewritable nonvolatile memory such as an EEPROM. The first memory unit 21 holds room information corresponding to each of the rooms P1 to P4. Room information is information (such as room number) assigned to each room P1 to P4. The first storage unit 21 holds a first information table that associates room information with identification information of the target device 8 installed in each of the rooms P1 to P4. The first memory unit 21 holds position information of the facility H1. The location information of the facility H1 is, for example, geographical location information corresponding to the central position of the facility H1 in a plan view. The first memory unit 21 preferably holds position information of each of the rooms P1 to P4 in the facility H1 (for example, geographical position information equivalent to a central position of each room in a plan view). The first control unit 2 generates the second information D2 based on the first information D1 based on whether the terminal device 11 transmitting the first information D1 exists outside the facility H1 or inside the facility H1, and whether there is any person in the facility H1. . When the first communication unit 5 receives the first information D1, the first control unit 2 obtains the first information D1 from the first communication unit 5. The first control unit 2 obtains the position information of the terminal device 11, the identification information of the target device 8, and the operation specifying information corresponding to the identification information from the first information D1. The first control unit 2 outputs the position information of the terminal device 11 to the first determination unit 3, and outputs the identification information of the target device 8 to the second determination unit. The first determination unit 3 determines whether the terminal device 11 is outside the facility H1 and outputs a determination result to the first control unit 2. The first determination unit 3 obtains the location information of the facility H1 from the first storage unit 21, and determines whether the terminal device 11 exists in the facility H1 based on the location information of the terminal device 11 and the location information of the facility H1 output from the first control unit 2. outer. When the distance between the position of the terminal device 11 and the location of the facility H1 exceeds the first reference distance (for example, 20 m), the first determination unit 3 determines that the terminal device 11 is outside the facility H1. On the other hand, when the distance between the location of the terminal device 11 and the location of the facility H1 is equal to or less than the first reference distance, the first determination unit 3 determines that the terminal device 11 is within the facility H1. The first determination unit 3 further has a function of determining where the terminal device 11 exists in the rooms P1 to P4 in the facility H1 when the terminal device 11 is in the facility H1 and outputting a determination result to the first control unit 2. The first determination unit 3 determines where the terminal device 11 exists in the rooms P1 to P4 based on the position information of the terminal device 11 and the position information of each of the rooms P1 to P4. When the distance between the position of the terminal device 11 and the position of the room P1 is within the second reference distance (for example, 2 m), the first determination unit 3 determines that the terminal device 11 is located in the room P1. The first control unit 2 preferably has the following function: based on the location information of the terminal device 11 and the identification information of the target device 8 included in the first information D1, it determines the target device 8 and the terminal device whose action content is specified by the first information D1. Whether 11 exists in the same room. That is, the first control unit 2 preferably has a function as an in-area determination unit that determines whether the target device 8 and the terminal device 11 specified by the first information D1 exist in the plurality of devices set in the facility H1. Within the same area among the areas (rooms P1 to P4). The first control unit 2 obtains the first information D1 from the first communication unit 5 and determines whether the room provided with the target device 8 designated by the first information D1 and the room in which a person exists in the facility H1 are the same room. Thereby, the first control unit 2 can generate the second information D2 corresponding to the determination result of whether the terminal device 11 and the target device 8 designated by the first information D1 exist in the same room in the facility H1. After the first control unit 2 obtains the first information D1 from the first communication unit 5, the first control unit 2 refers to the first information table of the first memory unit 21 and specifies room information corresponding to the identification information included in the first information D1. The first control unit 2 generates a request signal for the control unit 12 to request information related to the power consumption of the room corresponding to the room information. The first communication unit 5 transmits a request signal to the controller 12 via the external network NW1. When the controller 12 receives the request signal, it generates information related to the power consumption of the rooms P1 to P4 specified by the request signal as the power information D3, and sends it to the first communication section 5 via the second communication section 6. The first control unit 2 obtains information related to the power consumption of the room corresponding to the room information from the power information D3 received by the first communication unit 5, and relates the room information to the power consumption of the room corresponding to the room information. The information is output to the second determination unit 4. The second control unit 4 determines whether a person exists in the room corresponding to the room information based on the room information output by the first control unit 2 and the power consumption of the room corresponding to the room information, and outputs a determination result to the first control unit 2 . The second determination unit 4 compares the power consumption of the room corresponding to the room information with the reference power. The reference power is set for each of the rooms P1 to P4 in advance so that the power becomes larger than the standby power of the target device 8 arranged in each of the rooms P1 to P4. For example, when the room corresponding to the room information is the room P1, if the power consumption of the room P1 exceeds the reference power for the room P1, the second determination unit 4 determines that there is someone in the room P1. On the other hand, if the power consumption of the room P1 is equal to or lower than the reference power, the second determination unit 4 determines that no one exists in the room P1. In the machine control system 1, the control information used to control each action of the target machine 8 differs according to four control scenarios. The four control scenarios, as shown in Table 1, include the first scenario to the fourth scenario defined by the combination of whether the terminal device 11 exists outside the facility H1 and whether there is any person in the facility H1. The control information of each of the first scenario to the fourth scenario is held in the first memory unit 21, for example. The first control unit 2 selects and controls the control information of the target device 8 designated by the first information D1 in accordance with the first scenario to the fourth scenario. The first control unit 2 further generates second information D2 including control information described below and identification information included in the first information D1. [Table 1] The control information of the first scenario is control information of the target device 8 in a case where the terminal device 11 exists outside the facility H1 and there are people in the facility H1. The control information of the target machine 8 in the first scenario is, for example, a change in the operation of the target machine 8 that was not intended by the person in the facility H1, or the control information of the operation of the target machine 8 is changed in a manner that does not easily cause a sense of conflict, or the target machine is not changed. Control information for 8 actions. The control information of the first scenario includes, for example, at least one of the following four control information. The control information of the first scenario includes the first control information that adds specific restrictions to the content of the motion designation information contained in the first information D1, and the second that changes the motion designation information in a manner that corresponds to the motion designation information to a specific action specified in advance. Control information. That is, the first control information is information that adds specific restrictions to the operation content of the target device 8 designated by the first information D1, and together with the identification information included in the first information D1, constitutes the second information D2. The second control information is information in which the operation content of the target device 8 designated by the first information D1 corresponds to the first information D1 and specified specific content, and constitutes the second information D2 together with the identification information contained in the first information D1. . In addition, the control information of the first scenario includes third control information for maintaining the operation state for the operation of the target device 8 specified by the first information D1 regardless of the operation designation information. The control information in the first scenario includes fourth control information that does not control the operation of the target device 8 specified by the first information D1. In addition, the fourth control information is information for convenience in explaining that the operation of the target device 8 designated by the first information D1 is not controlled, and the fourth control information may not include the control information. The control information of the second scenario is control information of the target device 8 in a case where the terminal device 11 exists in the facility H1 and there are people in the facility H1. The control information of the second scenario includes control information of at least one of the fifth control information and the sixth control information. The fifth control information is, for example, that the user exists in a specific room (here, room P1) in the facility H1, and is used to control and set in a specific room (room P1) by the terminal device 11 in the specific room (room P1). ) Of the target machine 8. The sixth control information is, for example, information used by a user to control the target device 8 installed in the rooms P2 to P4 by the terminal device 11 in the room P1. In other words, the sixth control information is control information in a case where the target device 8 controlled by the terminal device 11 and the terminal device 11 do not exist in the same room. The fifth control information is the same control information as the action designation information included in the first information D1. Therefore, the user can use the terminal device 11 as a target device 8 installed in the room P1 to function as a remote controller. The "function as a remote controller" herein means the same function as the remote controller dedicated to the target machine 8 for controlling the target machine 8 in the room where the target machine 8 is installed. On the other hand, the sixth control information is the same control information as the control information of the first scenario, and the control content differs according to the identification information and operation designation information of the target device 8 specified by the first information D1. The control information of the third scenario is control information of the target machine 8 in a case where the terminal device 11 exists outside the facility H1 and no one exists in the facility H1. The control information of the third scenario includes control information of at least one of the seventh control information and the eighth control information. The seventh control information is control information for controlling the target device 8 in such a manner as to become the action content specified by the action designation information after the target device 8 designated by the first information D1 passes a specific period from the time when the second information D2 is received. That is, the seventh control information is the information specified by the first information D1 as the target device 8 after receiving the second information D2 after a certain period of time, and becomes the operation content specified by the first information D1, and the first information D1 The included identification information together constitutes the second information D2. The specific period is included in the instruction content of the first information D1, for example. The specific period is not limited to the period specified by the elapsed time from the time when the target device 8 receives the second information D2. For example, the specific period may be designated by a "specific time" after the time when the second information D2 is received. And the required period. Hereinafter, the control using the seventh control information is also referred to as "timer control". In the timer control, the specific period may be set to approximately zero. The specific time controlled by the timer may be a plurality of times. The user can perform so-called schedule management on the target device 8 by timer control. The eighth control information is control information with specific restrictions added to the content of the action designation information contained in the first information D1. The control information of the fourth scenario is control information of the target device 8 in a case where the terminal device 11 exists in the facility H1 and no one exists in the facility H1. For example, if the user of the terminal device 11 is located at the entrance of the facility H1, the second determination unit 4 determines that no one exists in the facility H1, and the first determination unit 3 determines that the terminal device 11 exists in the facility H1. The control information of the fourth scenario includes control information of at least one of the ninth control information and the tenth control information. The ninth control information is control information in a case where the target device 8 controlled by the terminal device 11 and the terminal device 11 do not exist in the same room (for example, room P1). The ninth control information is the same control information as the operation designation information included in the first information D1, and the control content differs according to the identification information and operation designation information of the target device 8 specified by the first information D1. That is, the ninth control information is the operation content of the target device 8 specified by the first information D1, and the information for controlling the target device 8 constitutes the second information D2 together with the identification information contained in the first information D1. Based on the control content of the ninth control information, the user can use the terminal device 11 as a target device 8 installed in the room P1 to function as a remote controller. In addition, the ninth control information may include a timer control mode setting control content. The tenth control information is control information with specific restrictions added to the content of the action designation information contained in the first information D1. Table 2 is a table summarizing the relationship between the first to fourth scenarios and the first to tenth control information and the control content of each of the first to tenth control information. [Table 2] However, the first memory unit 21 holds the second information table. Information sheet 2, 4 control scenarios, 1st to 10th control information, Identification information contained in Information 1 D1, And the action designation information contained in the first information D1 is related to each other. The so-called 2nd information sheet, Based on 4 control scenarios, Identification information contained in Information 1 D1, And the action designation information contained in the first information D1, The information table is defined as one control information among the first to tenth control information. The first control unit 2 selects one of the four control scenarios, Based on the identification information and action designation information of the first information D1, And info sheet 2, Select one of the control information from 1st to 10th control information. The first control unit 2 generates second information D2 including control information selected from the first to tenth control information. Here, The details of the operation of the communication device 10 will be described with reference to FIG. 3. FIG. 3 shows a user operating the terminal device 11, A flowchart showing the operation of the communication device 10 after the first information D1 is sent to the external network NW1 (or the internal network NW2). The first control unit 2 obtains the first information D1 from the first communication unit 5. In other words, With the computer running the program, The step of receiving the first information D1 of the operation content of at least one target device 8 set in the facility H1 is realized. The first control unit 2 obtains the position information of the terminal device 11 included in the first information D1 (S1), This position information is output to the first determination unit 3. The first determination unit 3 is based on the location information of the terminal device 11 and the location information of the facility H1, The distance (L1) between the terminal device 11 and the facility H1 is obtained. If the distance L1 between the terminal device 11 and the facility H1 is greater than the first reference distance (S2: (Yes)), Then, the first determination unit 3 determines that the terminal device 11 exists outside the facility H1 (S3). If the distance L1 is below the reference distance (S2: No), The first determination unit 3 determines that the terminal device 11 exists in the facility H1 (S4). The first determination unit 3 outputs a determination result to the first control unit 2. The first control unit 2 generates a request signal requesting power information D3, The request signal is sent from the first communication unit 5 to the external network NW1. The first communication unit 5 receives the power information D3 transmitted from the controller 12. The first control unit 2 obtains the power information D3 from the first communication unit 5 (S5), This is output to the second determination unit 4. In the case where the power consumption of the room included in the power information D3 exceeds the reference power, the second determination unit 4 (S6: Yes), Judging that someone exists in facility H1, When the power consumption is below the reference power (S6: no), No one is found in facility H1. The second determination unit 4 outputs a determination result to the first control unit 2. When the first control unit 2 exists in the facility H1, Based on the determination result of the first determination unit 3, It is determined whether the terminal device 11 exists outside the facility H1 (S7). The first control unit 2 exists in the facility H1, When the terminal device 11 exists outside the facility H1 (S7: Yes), The first scenario in the control information corresponding to the identification information included in the first information D1 is selected (S8). The first control unit 2 exists in the facility H1, When the terminal device 11 exists in the facility H1 (S7: no), The second scenario in the control information corresponding to the identification information included in the first information D1 is selected (S9). When the first control unit 2 is not present in the facility H1, Based on the determination result of the first determination unit 3, It is determined whether the terminal device 11 exists outside the facility H1 (S10). The first control unit 2 is not present in the facility H1, When the terminal device 11 exists outside the facility H1 (S10: Yes), Select scenario 3 (S11). The first control unit 2 is not present in the facility H1, When the terminal device 11 exists in the facility H1 (S10: no), Select the fourth scenario (S12). The first control unit 2 is based on the first information D1, Choices 1 to 4 scenarios, And the second information sheet of the first memory section 21, Select any of the 1st to 10th control information, The second information D2 is generated (S13). In other words, With the computer running the program, The step of generating the second information D2 for controlling the target device 8 is realized. also, With the computer running the program, To achieve the following steps: Depending on whether the terminal device 11 transmitting the first information D1 exists outside the facility H1 or inside the facility H1, And whether anyone exists in facility H1, Generate the second information D2. Here, The control information of the target device 8 in each of the first to fourth scenarios will be described. another, The following description of control information is an example. The settings of the first to tenth control information for each of the target devices 8 can be appropriately changed. For air conditioning 82, 84, 86 control information will be described. the following, The control information of the air conditioner 82 will be described. another, As for air conditioning 84, 86 is also the same control information as air conditioner 82, Therefore, omission of air conditioners 84, Explanation of 86 control information. The first control information of the air conditioner 82 in the first scenario is control for limiting the temperature setting to a specific range. The so-called control to limit the temperature setting to a specific range, For example, in the case of heating, the upper limit of the set temperature is limited to 23 degrees, In the case of air-conditioning, the lower limit of the set temperature is limited to 25 degrees. E.g, In the information for specifying the operation of the air conditioner 82, Even if the heating set temperature is 23 degrees or more, In scenario 1, The control information for the air conditioner 82 also limits the set temperature of the heating to 23 degrees. Similarly, In the information for specifying the operation of the air conditioner 82, Even if the set temperature of the cold air is below 25 degrees, In scenario 1, The control information for the air conditioner 82 also limits the set temperature of the air conditioner to 25 degrees. With this, The set temperature of the air conditioner 82 is suppressed from exceeding a specific range (for example, a comfortable temperature range). In scenario 1, After the second control information of the air conditioner 82 is turned on, the air volume is gradually reduced every time a specific time (for example, 10 seconds) elapses. Eventually becomes disconnected control. With this, Regarding the operation specification information of the air conditioner 82, even if the air conditioner 82 is controlled from the on state to the off state, It is also possible to prevent the air conditioner 82 from suddenly turning off. In scenario 1, The third control information of the air conditioner 82 is when there is someone in the facility H1, Control is maintained without changing the air volume setting of the air conditioner 82 during operation. E.g, When a person is in room P1, Even if the first control unit 2 acquires the first information D1 including the instruction operation information of changing the air volume of the air conditioner 82 in the room P1, When the first control unit 2 selects the third control information, The air volume setting of the air conditioner 82 is also maintained without being changed. In scenario 1, When the fourth control information of the air conditioner 82 exists in the facility H1, Used to control the information of the air conditioner 82. In other words, When there is someone in the fourth control information facility H1, It is used for information that the terminal device 11 cannot control the air conditioner 82 from outside the facility H1. The fourth control information is set in relation to, for example, control other than the control for the user of the terminal device 11 other than the facility H1 to set the temperature in the facility H1 to a comfortable temperature. With this, When the terminal unit 11 outside the facility H1 controls the air conditioner 82, Avoid operations other than the operation of setting the comfort temperature in facility H1. In scenario 2, The fifth control information of the air conditioner 82 is, for example, control for operating all the functions of the air conditioner 82 existing in the room P1 if the terminal device 11 that can exist in the room P1 operates. In other words, The fifth control information is a control that causes the terminal device 11 to function as a remote controller of the air conditioner 82. In the fifth control information, For the user to exist in the room P2 Terminal device 11 in P3 operates in room P2. Air conditioner in P3 84, The same goes for 86. In scenario 2, The sixth control information of the air conditioner 82 is a control in a case where the air conditioner 82 controlled by the terminal device 11 and the terminal device 11 are not in the same room. The sixth control information is the same control as any one of the first to fourth control information. In scenario 3, The seventh control information of the air conditioner 82 is the same as that of the first information D1. However, the timing of changing the operation of the air conditioner 82 is controlled by a timer. The seventh control information is, for example, a user operating the terminal device 11 from outside the facility H1, One hour before the scheduled time for the user to arrive at facility H1, Timer control for operating the air conditioner 82. With this, Timer-controlled air conditioner 82, When the user arrives at the facility H1, the temperature of the room P1 is brought close to the comfortable temperature. The ninth control information of the air conditioner 82 in the fourth scenario is, for example, control in a case where the room P1 provided with the air conditioner 82 designated by the first information D1 is different from the room in which the terminal device 11 is installed. The ninth control information of the air conditioner 82 is, for example, if the air conditioner 84 can be operated by the terminal device 11 existing in the room P1, Control of all 86 functions. In other words, The ninth control information uses the terminal device 11 as an air conditioner 84 other than the air conditioner 82, The remote control of the 86 controls the function. For lighting equipment 81, 83, The control information of 85 will be explained. the following, The control information of the lighting fixture 81 will be described. another, As for lighting fixtures 83, 85 also becomes the same information as the lighting fixture 81, Therefore, about the lighting equipment 83, Explanation of 85 control information. The first control information of the lighting fixture 81 in the first scenario is control information for changing the lighting state. The first control information is, for example, a case where the action designation information of the first information D1 is a control for setting the lighting device 81 from the on state to the off state, Control information such as the brightness of the light source of the lighting fixture 81 gradually diminishes with time. This control is performed, for example, when the brightness of the full lighting state of the lighting fixture 81 is set to 100%. It is set such that the brightness of the light source of the lighting fixture 81 is reduced by 10% per second. With this, The brightness of the lighting fixture 81 does not change suddenly, And gradually change over time, So for those in facility H1, It is difficult to cause a sense of violation of the brightness change of the lighting fixture 81. The second control information of the lighting fixture 81 in the first scenario is control information for switching between the lighting state and the lighting state. When the second control information is switched on or off, After lighting the lighting fixture 81 several times, the lighting state and the lighting state are switched. With this, A person in the facility H1 can know that the lighting state and the lighting state of the lighting fixture 81 have been switched by the terminal device 11. In scenario 1, When the third control information of lighting device 81 exists in the facility H1, Do not set the self-lighting state of the lighting fixture 81 to the light-off state, And maintain the control of the lighting state. especially, Even if there is someone in room P1, The first control unit 2 obtains the first information D1 including instruction operation information for setting the lighting device 81 to turn off from the on state, When the first control unit 2 selects the third control information, The lighting state of the lighting fixture 81 is also maintained. With this, When there is a person in the room P1, it can be avoided that the terminal device 11 sets the self-lighting state of the lighting fixture 81 out of the facility H1 to the off state. also, The third control information of the lighting fixture 81 may also be a control for avoiding the dimming level of the lighting fixture 81. E.g, Even if the first control unit 2 obtains the first information D1 including the instruction operation information for changing the dimming level of the lighting device 81 from 100% to 50%, When the first control unit 2 selects the third control information, The dimming level of the lighting fixture 81 is also maintained. In scenario 1, When the fourth control information of the lighting fixture 81 is in the presence of someone in the facility H1, Used to control the information of the lighting fixture 81. In other words, When there is someone in the fourth control information facility H1, It is used for information that the terminal device 11 cannot control the air conditioner 81 from outside the facility H1. another, Regarding the control of switching the lighting state and the lighting state of the lighting fixture 81 in the first scenario, As long as one of the first to fourth control information is associated with the first scenario, it can be set in the second information table. In scenario 2, The fifth control information of the lighting fixture 81 is, for example, control for operating all functions of the lighting fixture 81 existing in the room P1, such as the terminal device 11 that can be present in the room P1. In other words, The fifth control information is control for causing the terminal device 11 to function as a remote controller of the lighting fixture 81. In the fifth control information, For the user to exist in the room P2 Terminal device 11 in P3 operates in room P2. Lighting appliances in P3 83, The same goes for 85. In scenario 2, The sixth control information of the lighting device 81 is a control in a case where the lighting device 81 controlled by the terminal device 11 and the terminal device 11 are not in the same room. The sixth control information is the same control as any one of the first to fourth control information of the lighting fixture 81 in the first scenario. In scenario 3, The seventh control information of the lighting device 81 is the same as that of the first information D1. However, the timing of changing the operation of the lighting fixture 81 is controlled by a timer. The ninth control information of the lighting fixture 81 in the fourth scenario is, for example, control in a case where the area (room) in which the lighting fixture 81 designated by the first information D1 is provided is different from the area where the terminal device 11 is installed. The ninth control information of the lighting fixture 81 is, for example, control for controlling all functions of the lighting fixture 81 by the terminal device 11 existing in the room P1. In other words, The ninth control information is control for causing the terminal device 11 to function as a remote controller of the lighting fixture 81. but, For each of the target devices 8, The first to tenth control information may not be set in the second information table. E.g, For the control information of the electromagnetic conditioner 801, From the perspective of disaster prevention, It is preferable to control the electromagnetic conditioner 801 when there is no one in the facility H1. also, For the control information of the blinds 802, From the standpoint of disaster prevention and theft prevention, Except for the case where the terminal device 11 exists in the room P4 with the shutters 802, In some cases, it is preferable to prohibit the shutter 802 from being controlled by the terminal device 11. in this way, Regarding the control content of the electromagnetic conditioner 801 and the shutter 802 of the target device 8, As with air conditioning 82, 84, 86 and lighting equipment 81, 83, 85 becomes different control content, Therefore, the electromagnetic conditioner 801 and the shutters 802 are specifically referred to as "specific machines". In the electromagnetic conditioner 801, 4th control information for scenario 1, Scenario 5 and 5. 6th control information, 8th control information of scenario 3, And the 10th control information of the 4th scenario can be set only in the 2nd information table. The fourth control information of the electromagnetic conditioner 801 in the first scenario does not control the electromagnetic conditioner 801 by the terminal device 11 outside the facility H1. With this, The electromagnetic conditioner 801 may not be operated with the terminal device 11 outside the facility H1. In scenario 2, The fifth control information of the electromagnetic conditioner 801, The user can operate the terminal device 11 as a remote controller of the electromagnetic conditioner 801. In scenario 2, The sixth control information of the electromagnetic conditioner 801 is control information in a case where the terminal device 11 exists in the rooms P2 to P4 different from the room P1. The sixth control information is the same as the fourth control information of the electromagnetic conditioner 801 in the first scenario. The eighth control information in the third scenario and the tenth control information in the fourth scenario are, for example, that the electromagnetic conditioner 801 in the on state can be set to the off state, However, the restriction that the electromagnetic conditioner 801 in the off state cannot be set to the on state is added. E.g, The user noticed that when he forgot to turn off the electromagnetic conditioner 801, The electromagnetic conditioner 801 in the ON state can be set to the OFF state from the terminal device 11. on the other hand, The eighth control information in the third scenario and the tenth control information in the fourth scenario do not set the electromagnetic conditioner 801 in the off state to the on state. With this, When the terminal device 11 does not exist in the same room P1 as the electromagnetic conditioner 801, The electromagnetic conditioner 801 is restricted from being turned off to being turned on. another, It can also replace the fourth control information, In the first scenario of the electromagnetic conditioner 801, The first control information is set in the second information table. The first control information is, for example, control for setting the electromagnetic conditioner 801 in the on state to the off state, However, the control that does not set the electromagnetic conditioner 801 in the off state to the on state is added. By setting the first control information to the second information table, The electromagnetic conditioner 801 in the ON state can be set to the OFF state by the terminal device 11 outside the facility H1, On the contrary, the electromagnetic conditioner 801 is restricted from being turned off to being turned on. Blinds 802, Article 4. number 5, number 8, The tenth control information is set in the second information table. The fourth control information of the shutter 802 of the first scenario does not control the shutter 802 by the terminal device 11 outside the facility H1. With this, The shutter 802 may not be operated with the terminal device 11 outside the facility H1. E.g, When the shutter 802 is closed and the movable part of the shutter 802 is stopped, The movable portion of the shutter 802 does not change from the stopped state. In scenario 2, The fifth control information of the louver 802 is information for the user to control the louver 802 by the terminal device 11 existing in the room P4. The user can operate the terminal device 11 as a remote controller of the shutter 802. also, Since the sixth control information of the shutter 802 of the second scenario is not set in the second information table, Therefore, the terminal device 11 in a room other than the room P4 is prevented from opening and closing the shutter 802 of the room P4. The eighth control information in the third scenario and the tenth control information in the fourth scenario are, for example, restrictions on the operation of opening the blinds 802, And the control of the action of closing the shutter 802 to a closed state is restricted. In other words, The eighth control information in the third scenario and the tenth control information in the fourth scenario are control information for maintaining the stopped state of the movable portion of the shutter 802. With this, When the terminal device 11 does not exist in the same room P4 as the blind 802, Avoid opening and closing blinds 802. but, In scenarios 1 to 4, When the operation of the target device 8 is changed by the terminal device 11, The control content for performing a notification operation for each of the target devices 8 may be included in each of the first to tenth control information. The notification operation is an operation of notifying the operation change of the target device 8. In this case, Each of the target devices 8 performs the operation of the first to tenth control information after performing the notification operation. With this, The person in the facility H1 can know that the operation state of the target machine 8 will change before the operation of the target machine 8 changes. Therefore, it is not surprising that the operation of the target device 8 is changed. As explained above, The machine control system 1 according to this embodiment includes a first communication unit 5 (communication unit) and a first control unit 2 (control unit). The first communication unit 5 designates at least one target device 8 installed in the facility H1, And it receives the first information D1 for specifying the operation content of the target device 8. The first control unit 2 generates second information D2 related to the control of the target device 8. The first control unit 2 depends on whether the terminal device 11 transmitting the first information D1 exists outside the facility H1 or inside the facility H1, And whether anyone exists in facility H1, The second information D2 based on the first information D1 is generated. According to the above configuration, The machine control system 1 is based on the first condition whether the terminal device 11 transmitting the first information D1 exists outside the facility H1, And the second condition for the existence of someone in facility H1, The second information D2 related to the control of the target device 8 is generated. The second information D2 is taken as an example, Contains control information for controlling the operation of the target device 8. The machine control system 1 corresponds to the first and first steps. Condition 2 The first information D1 and the second information D2 based on the operation of the designated target device 8 can be generated. In other words, Machine control system 1 can be based on the condition of facility H1, Change the type and control content of the target device 8 that can be controlled through the external network NW1. In machine control system 1, The first determination unit 3 (determination unit) is preferably based on the location of the facility H1 and the location of the terminal device 11, It is determined whether the terminal device 11 exists outside the facility H1 and inside the facility H1. According to the above configuration, The first determination unit 3 may determine the positional relationship between the facility H1 and the terminal device 11, It is determined whether the terminal device 11 exists outside the facility H1 and inside the facility H1. In machine control system 1, The second determination section 4 (control section) preferably acquires power information D3 related to the power consumption of the facility H1, Based on power information D3, It is determined whether anyone exists in the facility H1. With this, The machine control system 1 may not have a sensor or the like for detecting the presence of persons in the facility H1, Based on the power information D3, it is determined whether there is anyone in the facility H1. In machine control system 1, Preferably, the terminal device 11 exists outside the facility H1, When there is someone in facility H1, The first control unit 2 (control unit) generates second information D2 that adds specific restrictions to the operation content of the target device 8 specified by the first information D1. With this, When the target device 8 is controlled by the terminal device 11 existing outside the facility H1, The first control unit 2 may generate second information D2 that changes the operation content of a part of the operation content of the target device 8 designated by the first information D1. In machine control system 1, Preferably, the terminal device 11 exists outside the facility H1, When there is someone in facility H1, The first control unit 2 (control unit) generates the following second information D2. The second information D2 is the second information D2 in which the operation content of the target device 8 designated by the first information D1 is a specific operation content that is specified in advance corresponding to the first information D1. With this, When the target device 8 is controlled by the terminal device 11 existing outside the facility H1, The first control unit 2 may generate second information D2 that changes the operation content of the target device 8 designated by the first information D1 to a specific operation content different from the operation content. In machine control system 1, Preferably, the terminal device 11 exists outside the facility H1, When there is someone in facility H1, The first control unit 2 (control unit) generates the following second information D2. The second information D2 is the second information D2 that causes the target device 8 to notify the operation of the target device 8 designated by the first information D1. With this, When the target device 8 is controlled by the terminal device 11 existing outside the facility H1, After the target device 8 performs a notification operation, The operation of the target device 8 changes. therefore, The person at the facility H1 can change the behavior of the target machine 8 before It is known that the operation of the target device 8 will change. In machine control system 1, At least one target device 8 is a plurality of target devices 8, The plurality of target devices 8 include specific devices (e.g., electromagnetic conditioner 801, Blinds 802). The terminal device 11 exists outside the facility H1, When there is someone in facility H1, The first control unit 2 (control unit) preferably does not control a specific device. With this, In the presence of someone in facility H1, It is possible to avoid changing the operation of a specific device from the terminal device 11 existing outside the facility H1. The machine control system 1 preferably includes a first control unit (intra-region determination unit), It determines whether the target device 8 and the terminal device 11 specified by the first information D1 exist in the same area (for example, the room P1) among the plurality of areas set in the facility H1. The terminal device 11 exists in the facility H1, When there is someone in facility H1, The first control unit 2 determines whether the target device 8 and the terminal device 11 specified in the first information D1 exist in the same area in the facility H1, The second information D2 is changed. With this, The first control unit 2 (control unit) exists in the facility H1, And, it is possible to generate individual second information D2 corresponding to whether the target device 8 and the terminal device 11 designated by the first information D1 among the plurality of target devices 8 exist in the same area in the facility H1. The machine control system 1 preferably includes a first control unit 2 (in-area determination unit), It determines whether the target device 8 and the terminal device 11 specified by the first information D1 exist in the same area (for example, the room P1) among the plurality of areas set in the facility H1. The terminal device 11 exists in the facility H1, When no one exists in facility H1, When the target device 8 and the terminal device 11 specified by the first information D1 do not exist in the same area among the plurality of areas, The first control unit 2 (control unit) generates the following second information D2. The second information D2 is used for the operation content of the target machine 8 specified by the first information D1, The second information D2 of the control target device 8. According to the above configuration, When the first control unit 2 determines that no one exists in the facility H1, When the target device 8 and the terminal device 11 specified by the first information D1 are located in a separate area (room), The second information D2 is generated as the operation content of the target device 8 designated by the first information D1. E.g, If the user of the terminal device 11 is located at the entrance of the facility H1, etc., Then the second judging unit 4 judges that no one exists in the facility H1, The first determination unit 3 determines that the terminal device 11 exists in the facility H1. In this case, The user can operate the terminal device 11 as a remote controller of the target device 8 installed in the rooms P1 to P4. In machine control system 1, Preferably, the terminal device 11 exists outside the facility H1, When there is someone in facility H1, The first control unit 2 (control unit) is configured as follows. The first control unit 2 (control unit) is preferably a method that becomes the action content specified by the first information D1 after a specific period of time has passed from the time when the target device 8 designated by the first information D1 receives the second information D2. Generate the second information D2. According to the above configuration, The first control unit 2 can operate the target device 8 at a time different from the time when the target device 8 receives the second information D2. The operation content of the target device 8 is the operation content designated by the first information D1. With this, The first control unit 2 can control the target device 8 with a timer, for example. The machine control method of this embodiment has the following steps: Designate at least one target device 8 installed in facility H1, The first information D1 of the operation content of the designated target device 8 is received. also, The machine control method has the following steps: Depending on whether the terminal device 11 transmitting the first information D1 exists outside the facility H1 or inside the facility H1, And whether anyone exists in facility H1, The second information D2 related to the control of the target device 8 is generated. With this, According to the condition of the facility H1, the machine control method of this embodiment may be Change the type and control content of the target equipment 8 that can be controlled from outside the facility H1. The program in this embodiment mode causes the computer to perform the following steps: Designate at least one target device 8 installed in facility H1, The first information D1 of the operation content of the designated target device 8 is received. also, The program of this embodiment performs the following steps: Corresponding to whether the terminal device 11 transmitting the first information D1 exists outside the facility H1 or inside the facility H1, And whether anyone exists in facility H1, The second information D2 related to the control of the target device 8 is generated. With this, The program of this embodiment can be based on the condition of facility H1. Change the type and control content of the target equipment 8 that can be controlled from outside the facility H1. however, In the machine control system 1 of this embodiment, The second determination unit 4 determines whether a person exists in the facility H1 based on the power consumption of the target device 8, It is not limited to this configuration. The second determination unit 4 may also be based on a detection result of a person detection unit provided in the facility H1, for example, It is determined whether anyone exists in the facility H1. The human detection unit is arranged one by one in the rooms P1 to P4, for example. Check whether there is someone in each room P1 ~ P4. The human detection unit may be configured as a pyroelectric infrared detection element having sensitivity to a heat ray emitted from a human body, Detect whether the infrared detection element can detect hot lines, Detect if someone exists in the area, The detection result is output to the controller 12. The second determination unit 4 can pass through the external network NW1, Intranet NW2, And controller 12, Obtain the detection result from the human detection department. The measurement section 71 in the switchboard 70 may be configured so that in addition to the power consumption of each of the rooms P1 to P4, For example, the power consumption of the entire facility H1 is measured. The second determination unit 4 may be configured to determine whether or not a person exists in the facility H1 based on the power consumption of the entire H1. also, When the terminal device 11 exists in the facility H1, The first determination unit 3 may omit the function of determining where the terminal device 11 is located in the rooms P1 to P4 in the facility H1. The position detection section 114 of the terminal device 11 is not limited to having a GPS receiver. E.g, It can also be configured to install a beacon transmitter in each room P1 to P4 of the facility H1, The position detection unit 114 receives a beacon signal transmitted from the beacon transmitter. The beacon signal contains identification information assigned to the beacon transmitter one by one. The second control unit 111 of the terminal device 11 replaces the position information of the terminal device 11 with the identification information of the beacon transmitter attached to the beacon signal. The first information D1 is generated. The first determination unit 3 of the communication device 10 has a function of determining whether or not the identification information of the beacon transmitter is included in the first information D1, The first storage unit 21 holds room information corresponding to the identification information of the beacon transmitter. If the first determination unit 3 determines that the identification information of the beacon transmitter is included in the first information D1, Then, it is determined that the terminal device 11 exists in the rooms P1 to P4 corresponding to the identification information of the beacon transmitter. In addition, For example, the second control unit 111 of the terminal device 11 may be configured to generate first information D1 including room information corresponding to the identification information of the beacon transmitter, The first determination unit 3 determines the position of the terminal device 11 based on the room information. The terminal device 11 is not limited to a portable terminal like a smart phone, It can also be a fixed terminal like a personal computer. The fixed terminal can be installed in rooms P1 to P4, for example. It can also be installed outside facilities H1. The first information D1 is not limited to including identification information of one target device 8, It may include identification information of a plurality of target devices 8. In this case, The operation information of the plurality of target devices 8 can be changed by the first information D1. The communication device 10 need not necessarily be installed outside the facility H1, It can also be installed in facility H1. also, The communication device 10 may be configured to be installed in the facility H1, It also has a function of the controller 12 and a function of the second communication section 6. The communication device 10 is not limited to having the first control unit 2 The first determination unit 3 and the second determination unit 4, First control unit 2, First determination section 3, Each of the second determination unit 4 may be implemented by a device other than the communication device 10. Information sheet 2, The first to tenth control information may be individually set for each target device 8. E.g, The second information table may be set so that the first control unit 2 sets specific operation specifying information to be different control information between the lighting fixture 81 and the lighting fixture 83. Target equipment 8. Switchboard 70, The communication method between the second communication unit 6 and the controller 12 is other than wired communication. It can also be wireless communication using radio waves and light as a medium. also, The target device 8 itself may not have a function of communicating with the controller 12. Even if the target device 8 itself does not have a communication function, It is only required that the target device 8 can communicate with the controller 12 through a control device having a function of communicating with the controller 12. The facility H1 to which the machine control system 1 is applied is not limited to a house, Commercial facilities such as shops, It can also be an office building. In this case, The controller 12 may communicate with each target device 8 in the facility H1, for example, EMS (Energy Management Systems: Energy management system) controller. In the machine control system 1 of this embodiment, The fourth scenario can be omitted. (Modification 1) A machine control system according to Modification 1 will be described. another, In the machine control system of the modification 1, The same components as those of the machine control system 1 of the embodiment are marked with the same symbols, The description is omitted. also, The same machine control method as the above-mentioned embodiment can also be applied to the first modification. The same formula as that of the above embodiment can also be applied to Modification 1. In the machine control system of the modification 1, The communication device 10 not only sends the second information D2 to the controller 12, The point which is also transmitted to the terminal device 11 is different from the machine control system 1 of the embodiment. which is, In the machine control system of the modification 1, The second information D2 generated by the first control unit 2 includes at least control information for controlling the operation of the target device 8. also, The second information D2 may also be information sent to the terminal device 11. The first control unit 2 of the communication device 10 of the machine control system of the modified example 1 further has a function of transmitting the second information D2 from the first communication unit 5 to the terminal device 11. When the third communication unit 113 of the terminal device 11 receives the second information D2, Then, the second control section 111 of the terminal device 11 displays the content of the second information D2 on the operation section 112 of the terminal device 11. In a word, In the machine control system of the modification 1, The second information D2 sent from the communication device 10 to the terminal device 11 is information for displaying the content of the control information sent to the controller 12 on the operation section 112. The second information D2 may further include information on whether someone exists in the facility H1. also, The second information D2 may also include information on whether the terminal device 11 and the target device 8 designated by the first information D1 exist in the same room in the facility H1. the following, The operations of the communication device 10 and the terminal device 11 will be described. When the first control unit 2 of the communication device 10 has not changed the operation designation information included in the first information D1, Generates the second information D2 containing the action-specific information. In this case, The first control unit 2 displays the content of the second information D2 on the operation unit 112 of the terminal device 11, The operation specifying information included in the first information D1 may be displayed on the operation unit 112 of the terminal device 11. The user of the terminal device 11 watches the display content of the operation unit 112, And the action designation information contained in the first information D1 can be confirmed. The first control unit 2 of the communication device 10 may further have the following functions: Before sending the second information D2 from the first communication unit 5 of the communication device 10 to the controller 12, The second information D2 is transmitted from the first communication unit 5 to the terminal device 11. Before the second control unit 111 of the terminal device 11 sends the second information D2 from the first communication unit 5 to the controller 12 before the first control unit 2, The content of the information control target device 8 is displayed on the operation unit 112 when the user selects whether to designate the information control target device 8 by the operation of the first information D1. also, The second control unit 111 may also display, on the operation unit 112, information as to whether or not someone exists in the facility H1 included in the second information D2 (or whether there is someone in the room). With this, The user of the terminal device 11 can confirm whether the content of the operation specifying information of the first information D1 and the presence of someone in the facility H1 exist. If the user uses the operation section 112 to perform operations such as allowing the content displayed on the operation section 112, Then, the first control unit 2 of the communication device 10 sends the second information D2 from the first communication unit 5 of the communication device 10 to the controller 12. but, The first control unit 2 of the communication device 10 may further have the following functions: When changing the action designation information included in the first information D1, Generates second information D2 containing changes to the action-specific information, The second information D2 is transmitted from the communication device 10 to the terminal device 11. which is, The second information D2 sent from the communication device 10 to the terminal device 11 may also be used to display the changed content of the second information D2 relative to the first information D1 on the operation unit 112. And the content of the control information sent to the controller 12. The user of the terminal device 11 watches the content of the second information D2 displayed on the operation unit 112, It can be confirmed that the second information D2 is changed from the first information D1. also, The user can confirm the operation content of the target device 8 actually controlled. The first control unit 2 of the communication device 10 may further have the following functions: Before sending the second information D2 from the first communication unit 5 of the communication device 10 to the controller 12, The second information D2 is transmitted from the first communication unit 5 to the terminal device 11. Before the second control unit 111 of the terminal device 11 sends the second information D2 to the controller 12, The operation unit 112 displays the content of the target device 8 if the user selects whether to control the target device 8 with the control information of the second information D2. The operation unit 112 includes, for example, the content of the second information D2, The display user selects the execution instruction of the control information of the second information D2, cancel, And change the action designation information and resend which of the first information D1. also, The operation unit 112 may also display information on whether someone exists in the facility H1 included in the second information D2 (or whether there is someone in the room). After the user confirms the content of the second information D2, The operation section 112 can be used to select the execution of the control information using the second information D2, cancel, And change the action designation information and resend which of the first information D1. If the user uses the operation section 112 to perform an operation such as performing an instruction with the control information of the second information D2, Then, the first control unit 2 of the communication device 10 sends the second information D2 from the first communication unit 5 to the controller 12. but, In the machine control system of the modification 1, The second information D2 is not limited to the purpose of transmitting to the controller 12 and the terminal device 11. The second information D2 can be directly sent to the target device 8, for example, It can also be sent to a device other than the controller 12 to control the target device 8. also, The second information D2 is sent to the terminal device 11 that sent the first information D1, It may also be transmitted to a terminal device different from the terminal device 11. also, The second information D2 sent from the communication device 10 to the terminal device 11 is in addition to the content of the change of the action designation information in the first information D1. The content of the identification information of the target device 8 in the first information D1 may be included. (Modification 2) A machine control system according to Modification 2 will be described. another, In the machine control system of modification 2, The same components as those of the machine control system 1 of the embodiment are marked with the same symbols, The description is omitted. also, The same machine control method as the above-mentioned embodiment can also be applied to the second modification. The same formula as that of the above embodiment can be applied to the second modification. In the machine control system of modification 2, Operation of the second control unit 111 of the terminal device 11, The determination operation of the first determination unit 3 for determining whether the terminal device 11 exists outside the facility H1 is different from the machine control system 1 of the embodiment. When the second control unit 111 of the terminal device 11 of the machine control system of the modified example 2 generates the first information D1, Instead of the location information of the terminal device 11, The first information D1 including the network information to which the terminal device 11 is connected is generated. The so-called network information, For example, identification information related to each of the external network NW1 and the internal network NW2, For example, the IP address (Internet Protocol address, Internet address). When the second control unit 111 is connected to any of the external network NW1 and the internal network NW2, Obtain the gateway machine IP address of each network. The second control unit 111 includes the IP address as network information in the first information D1, Generate the first information D1. The first control unit 2 of the communication device 10 obtains the network information included in the first information D1 from the first communication unit 5, This is output to the first determination unit 3. The first determination unit 3 of the communication device 10 is based on network information, It is determined whether the communication path between the terminal device 11 and the first communication unit 5 includes a communication path other than the facility H1. The first determination unit 3, for example, when the IP address of the network information included in the first information D1 does not match the IP address of the second communication unit 6 held in the first memory 21 It is determined that the communication path between the terminal device 11 and the first communication unit 5 includes a communication path other than the facility H1. In other words, When the first determination section 3 includes a communication path other than the facility H1 in the communication path between the terminal device 11 and the first communication section 5, It is determined that the terminal device 11 exists outside the facility H1. on the other hand, When the IP address of the network information included in the first information D1 is the same as the IP address of the second communication section 6, The first determination unit 3 determines that the terminal device 11 exists in the facility H1. The terminal device 11 is taken as an example, In a case where it is possible to directly communicate with the second communication unit 6, Connected to the internal network NW2, In the case where direct communication with the second communication unit 6 is not possible, Connect to external network NW1. Here, The distance that the terminal device 11 can directly communicate with the second communication unit 6 is about several meters, In this case, The terminal device 11 exists in the facility H1. on the other hand, When the terminal device 11 cannot directly communicate with the second communication unit 6, It is presumed that the terminal device 11 exists outside the facility H1. but, Network information is not limited to IP addresses. For example, the MAC address (Media Access Control address: Media Access Control Address). As explained above, The machine control system of the second modification includes a first determination unit 3 (a determination unit). When the first determination unit 3 includes the network information of the communication path other than the facility H1 in the communication path between the terminal device 11 and the first communication unit 5 (communication unit) in the first information D1, It is determined that the terminal device 11 exists outside the facility H1. According to the above configuration, The first determination section 3 can determine whether the terminal device 11 exists outside the facility H1 through the communication path between the terminal device 11 and the first communication section 5. With this, Regardless of the positional relationship between the terminal device 11 and the facility H1, the first determination unit 3, It can be determined whether the terminal device 11 exists outside the facility H1. In the machine control system of modification 2, The terminal device 11 can create the first information D1 without using the position information obtained by the GPS receiver. therefore, In the machine control system of modification 2, Even if the terminal device 11 does not have a GPS receiver, The first determination unit 3 of the communication device 10 may also determine whether the terminal device 11 exists outside the facility H1 based on the network information. E.g, Preferably, a fixed terminal such as a personal computer without a GPS receiver can also be used as the terminal device 11. Here, The second control unit 111 of the terminal device 11 may be configured to be connectable to the internal network NW2. It can also correspond to the operation of the user with the operation section 112, It can be connected to the external network NW1. The second control unit 111 may also have the following functions: For example, when it can be connected to the internal network NW2, The content connected to the external network NW1 without going through the internal network NW2 is displayed on the operation unit 112 of the terminal device 11. When the user operates the terminal device 11 in the facility H1, By operating the operation section 112 by being connected to the external network NW1, The communication path between the terminal device 11 and the first communication unit 5 of the communication device 10 may include a communication path other than the facility H1. With this, The first determination unit 3 of the communication device 10 determines that the terminal device 11 exists in the facility H1, And the terminal device 11 exists outside the facility H1. which is, Even if the terminal device 11 exists in the facility H1, The first control unit 2 of the communication device 10 may also select the control content of the first and third scenarios where the terminal device 11 exists outside the facility H1. but, The structure of the machine control system of the modification 2 can be applied to the machine control system 1. E.g, The machine control system 1 may also be configured based on the geographic location information and network information of the terminal device 11, It is determined whether the terminal device 11 exists outside the facility H1. also, The configuration of the machine control system of the first modification can be applied to the machine control system of the second modification. E.g, The first control unit 2 of the communication device 10 of the machine control system of the modification 2 may also have a function of notifying the terminal device 11 of the content of the second information D2.

1‧‧‧機器控制系統1‧‧‧machine control system

2‧‧‧第1控制部(控制部、區域內判定部)2‧‧‧ the first control unit (control unit, area determination unit)

3‧‧‧第1判定部(判定部)3‧‧‧The first judgment section (judgment section)

4‧‧‧第2判定部(控制部)4‧‧‧Second determination unit (control unit)

5‧‧‧第1通信部(通信部)5‧‧‧The first communication department (communication department)

6‧‧‧第2通信部6‧‧‧The second communication department

8‧‧‧對象機器8‧‧‧Target equipment

10‧‧‧通信裝置10‧‧‧ communication device

11‧‧‧終端裝置11‧‧‧Terminal device

12‧‧‧控制器12‧‧‧ Controller

21‧‧‧第1記憶部21‧‧‧The first memory department

50‧‧‧中繼轉接器50‧‧‧ relay adapter

70‧‧‧配電盤70‧‧‧ switchboard

71‧‧‧測定部71‧‧‧Measurement Department

8(81)‧‧‧照明器具8 (81) ‧‧‧Lighting equipment

8(82)‧‧‧空調8 (82) ‧‧‧Air conditioning

8(83)‧‧‧照明器具8 (83) ‧‧‧Lighting equipment

8(84)‧‧‧空調8 (84) ‧‧‧Air conditioning

8(85)‧‧‧照明器具8 (85) ‧‧‧Lighting Equipment

8(86)‧‧‧空調8 (86) ‧‧‧Air conditioning

91~93‧‧‧通信轉接器91 ~ 93‧‧‧communication adapter

111‧‧‧第2控制部111‧‧‧ 2nd Control Department

112‧‧‧操作部112‧‧‧Operation Department

113‧‧‧第3通信部113‧‧‧3rd Ministry of Communications

114‧‧‧位置檢測部114‧‧‧Position detection section

115‧‧‧第2記憶部115‧‧‧Second Memory

700‧‧‧交流電源700‧‧‧ AC power

701‧‧‧分散電源701‧‧‧ Distributed Power

8(801)‧‧‧電磁調理器8 (801) ‧‧‧Electromagnetic conditioner

8(802)‧‧‧百葉窗8 (802) ‧‧‧blinds

D1‧‧‧第1資訊D1‧‧‧Part 1

D2‧‧‧第2資訊D2‧‧‧No. 2

D3‧‧‧第3資訊D3‧‧‧No. 3

H1‧‧‧設施H1‧‧‧ facilities

NW1‧‧‧外部網路NW1‧‧‧External Network

NW2‧‧‧內部網路NW2‧‧‧ Intranet

P1‧‧‧起居室P1‧‧‧Living room

P2‧‧‧兒童房P2‧‧‧Children's Room

P3‧‧‧寢室P3‧‧‧Bedroom

P4‧‧‧車庫P4‧‧‧Garage

S1~S13‧‧‧步驟S1 ~ S13‧‧‧‧Steps

圖1係本發明之實施形態之機器控制系統之系統構成圖。 圖2係同上之機器控制系統之方塊圖。 圖3係說明同上之機器控制系統之機器控制方法之流程圖。FIG. 1 is a system configuration diagram of a machine control system according to an embodiment of the present invention. Figure 2 is a block diagram of the same machine control system. FIG. 3 is a flowchart illustrating a machine control method of the same machine control system.

Claims (13)

一種機器控制系統,其特徵在於具備: 通信部,其接收用以指定設置於設施之至少1個對象機器,且指定上述對象機器之動作內容之第1資訊;及 控制部,其產生與上述對象機器之控制相關之第2資訊,且 上述控制部根據發送上述第1資訊之終端裝置係存在於上述設施外及上述設施內之哪一者,及上述設施內是否有人存在,而產生基於上述第1資訊之上述第2資訊。A machine control system, comprising: a communication unit that receives first information for designating at least one target machine installed in a facility and specifies the operation content of the target machine; and a control unit that generates the same information as the target The second information related to the control of the machine is generated by the control unit based on whether the terminal device transmitting the first information exists outside the facility or inside the facility, and whether there is someone in the facility. 1 information above the second information. 如請求項1之機器控制系統,其中 進而具備判定部,其基於上述設施之位置與上述終端裝置之位置,判定上述終端裝置存在於上述設施外及上述設施內之哪一者。For example, the machine control system of claim 1 further includes a determination unit that determines whether the terminal device exists outside the facility or inside the facility based on the location of the facility and the location of the terminal device. 如請求項1之機器控制系統,其中 進而具備判定部,其於上述第1資訊中包含表示上述終端裝置與上述通信部之通信路徑中包含上述設施外之通信路徑之網路資訊之情形時,判定上述終端裝置存在於上述設施外。For example, if the device control system of claim 1 further includes a determination section, the first information includes a case where the communication path between the terminal device and the communication section includes network information outside the facility, It is determined that the terminal device exists outside the facility. 如請求項1之機器控制系統,其中 上述控制部取得與上述設施之消耗電力相關之電力資訊,基於上述電力資訊,判定上述設施內是否有人存在。For example, the machine control system of claim 1, wherein the control unit obtains power information related to the power consumption of the facility, and determines whether there is someone in the facility based on the power information. 如請求項1至4中任一項之機器控制系統,其中 上述終端裝置存在於上述設施外,且上述設施內存在人之情形時,上述控制部產生對由上述第1資訊指定之上述對象機器之上述動作內容加入特定限制之上述第2資訊。If the equipment control system of any one of items 1 to 4, wherein the terminal device exists outside the facility and there is a person in the facility, the control unit generates the target equipment designated by the first information. The above-mentioned action content adds the above-mentioned second information with specific restrictions. 如請求項1至4中任一項之機器控制系統,其中 上述終端裝置存在於上述設施外,且上述設施內存在人之情形時,上述控制部以由上述第1資訊指定之上述對象機器之上述動作內容成為對應於上述第1資訊預先規定之特定內容之方式,產生上述第2資訊。If the machine control system of any one of items 1 to 4 in which the terminal device exists outside the facility and there is a person in the facility, the control unit uses the equipment of the target machine designated by the first information. The above-mentioned action content is a method corresponding to the specific content specified in advance by the first information, and the second information is generated. 如請求項1至4中任一項之機器控制系統,其中 上述終端裝置存在於上述設施外,且上述設施內存在人之情形時,上述控制部以使上述對象機器進行報知由上述第1資訊指定之上述對象機器之動作變更的報知動作之方式,產生上述第2資訊。If the device control system according to any one of items 1 to 4, wherein the terminal device exists outside the facility and there are humans in the facility, the control unit reports the target device to the first information. The designated notification method of the operation change of the target device generates the above-mentioned second information. 如請求項1至4中任一項之機器控制系統,其中 上述至少1個對象機器為複數個對象機器, 上述複數個對象機器包含特定之機器, 上述終端裝置存在於上述設施外,且上述設施內存在人之情形時,上述控制部不控制上述特定之機器。For example, the machine control system of any one of claims 1 to 4, wherein the at least one target machine is a plurality of target machines, the plurality of target machines include a specific machine, the terminal device exists outside the facility, and the facility When there is a person, the control unit does not control the specific machine. 如請求項1至4中任一項之機器控制系統,其中 進而具備區域內判定部,其判定由上述第1資訊指定之上述對象機器及上述終端裝置是否存在於設定於上述設施內之複數個區域中之相同區域內, 於上述終端裝置存在於上述設施內,且上述設施內存在人之情形時,上述控制部根據上述第1資訊指定之上述對象機器與上述終端裝置是否存在於上述設施內之相同區域內,而變更上述第2資訊。The device control system according to any one of claims 1 to 4, further comprising an in-area determination unit that determines whether the target device and the terminal device designated by the first information exist in a plurality of devices set in the facility. In the same area of the area, if the terminal device exists in the facility and there are people in the facility, whether the target device and the terminal device designated by the control unit according to the first information exist in the facility In the same area, the second information described above is changed. 如請求項1至4中任一項之機器控制系統,其中 進而具備區域內判定部,其判定由上述第1資訊指定之上述對象機器及上述終端裝置是否存在於設定於上述設施內之複數個區域中之相同區域內, 於上述終端裝置存在於上述設施內,上述設施內不存在人之情形時,且由上述第1資訊指定之上述對象機器與上述終端裝置不存在於上述複數個區域中之相同區域內之情形時,上述控制部產生如由上述第1資訊指定之上述對象機器之上述動作內容般,用以控制上述對象機器之上述第2資訊。The device control system according to any one of claims 1 to 4, further comprising an in-area determination unit that determines whether the target device and the terminal device designated by the first information exist in a plurality of devices set in the facility. In the same area of the area, when the terminal device exists in the facility and there is no person in the facility, and the target device and the terminal device designated by the first information do not exist in the plurality of areas In the case of the same area, the control unit generates the second information for controlling the target device as the above-mentioned operation content of the target device specified by the first information. 如請求項1至4中任一項之機器控制系統,其中 於上述終端裝置存在於上述設施外,且上述設施內不存在人之情形時,上述控制部以自以上述第1資訊指定之上述對象機器接收到上述第2資訊之時點起經過特定期間後成為由上述第1資訊指定之上述動作內容之方式,產生上述第2資訊。If the machine control system according to any one of claims 1 to 4, wherein when the terminal device exists outside the facility and no person exists in the facility, the control unit may use the above-mentioned designated by the first information. When the target device receives the second information, a specific period of time elapses and the content becomes the action content specified by the first information, and the second information is generated. 一種機器控制方法,其特徵在於具有: 接收指定設置於設施之至少1個對象機器,且指定上述對象機器之動作內容之第1資訊之步驟;及 根據發送上述第1資訊之終端裝置存在於上述設施外及上述設施內之哪一者,及上述設施內是否有人存在,而產生與上述對象機器之控制相關之第2資訊之步驟。A machine control method, comprising: a step of receiving first information specifying at least one target device installed in a facility, and specifying operation content of the target device; and a terminal device transmitting the first information exists in the above. The step of generating the second information related to the control of the above-mentioned target equipment, which one is outside the facility and which is inside the facility, and whether there is any person in the facility. 一種程式,其用以使電腦執行如下步驟: 接收指定設置於設施之至少1個對象機器,且指定上述對象機器之動作內容之第1資訊;及 根據發送上述第1資訊之終端裝置存在於上述設施外及上述設施內之哪一者,及上述設施內是否有人存在,而產生與上述對象機器之控制相關之第2資訊。A program for causing a computer to execute the following steps: receiving at least one target device designated to be installed in a facility, and first information specifying the operation content of the target device; and a terminal device that sends the first information exists in the above The second information related to the control of the above-mentioned target equipment is generated outside the facility and in which of the above facilities, and whether there is any person in the above facilities.
TW106132905A 2016-09-30 2017-09-26 Device control system, device control method, and program TW201817246A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016194687A JP6767703B2 (en) 2016-09-30 2016-09-30 Equipment control system, equipment control method, and program
JP??2016-194687 2016-09-30

Publications (1)

Publication Number Publication Date
TW201817246A true TW201817246A (en) 2018-05-01

Family

ID=61763418

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106132905A TW201817246A (en) 2016-09-30 2017-09-26 Device control system, device control method, and program

Country Status (3)

Country Link
JP (1) JP6767703B2 (en)
TW (1) TW201817246A (en)
WO (1) WO2018062223A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7096728B2 (en) * 2018-07-26 2022-07-06 シャープ株式会社 Lighting system, control method of lighting system
JP7289741B2 (en) * 2019-07-01 2023-06-12 文化シヤッター株式会社 Opening/closing control system, opening/closing control method, application for remote control device, and mobile communication terminal device
JP7316879B2 (en) 2019-08-23 2023-07-28 リンナイ株式会社 Heat source device and cooling device
JP2021164197A (en) * 2020-03-30 2021-10-11 東京瓦斯株式会社 Operation plan information management system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008035435A (en) * 2006-07-31 2008-02-14 Sanyo Electric Co Ltd Server device
JP2013229668A (en) * 2012-04-24 2013-11-07 Sharp Corp Communication device and television receiver
JP5653409B2 (en) * 2012-08-30 2015-01-14 三菱電機株式会社 Device control apparatus, device control method, and program
JP5758942B2 (en) * 2013-03-29 2015-08-05 三菱電機株式会社 Remote control system, electrical equipment, and controller
JP5562468B1 (en) * 2013-04-26 2014-07-30 三菱電機株式会社 Controller, energy management system, remote control method, and program
JP2015154419A (en) * 2014-02-18 2015-08-24 富士通株式会社 Control device, control program, control method, and control system
JP6263818B2 (en) * 2014-04-15 2018-01-24 パナソニックIpマネジメント株式会社 Controller and device state determination system using the same

Also Published As

Publication number Publication date
JP6767703B2 (en) 2020-10-14
WO2018062223A1 (en) 2018-04-05
JP2018057245A (en) 2018-04-05

Similar Documents

Publication Publication Date Title
TW201817246A (en) Device control system, device control method, and program
US10001790B2 (en) Security system with integrated HVAC control
JP6440064B2 (en) Device control apparatus and program
US10012965B2 (en) Window air conditioning apparatus and controller
JP4706976B2 (en) Air conditioning control system
WO2016109493A1 (en) Path light feedback compensation
US10042342B1 (en) Monitoring and measuring power usage and temperature
ES2727401T3 (en) Motion detection system and method and secondary measurements
US11125460B2 (en) Control system, scene control execution method, and recording medium
WO2018193855A1 (en) Display method, program and display system
JP2011247515A (en) Environment control system, system controller, and environment control method
KR100924578B1 (en) One body switch for lighting and heating
JP7144515B2 (en) Device status notification control device, device status notification system, device status notification method and program
JP2013064537A (en) Whole building air conditioning system
KR102509992B1 (en) Air-conditioner and the controlling method for the same
WO2019049363A1 (en) Air conditioner and air conditioner control method
ES2836210T3 (en) Room control using smartphone sensors
JP2020057942A (en) Control system
WO2019148928A1 (en) Alarming method for air conditioner, and air conditioner
US11561665B2 (en) Display method, recording medium, and display system
JP2019129345A (en) Display method, program, and display system
KR20180076060A (en) Home control system using Internet Of Things
JP2013156193A (en) Emergency power shutoff system