DALI-Ethernet Gateway DeeBridgeの固定IP設定方法

DeeBridgeの固定IP設定方法です。

Node-REDのフロー

[{"id":"4f1aa7e17d77e61d","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"120","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"*3,admin,","payloadType":"str","x":750,"y":80,"wires":[["d157615d81b83236"]]},{"id":"5f105dfbfb0fbc22","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DW:255,5","payloadType":"str","x":260,"y":860,"wires":[["d157615d81b83236"]]},{"id":"d157615d81b83236","type":"tcp request","z":"3714523dbeaeaddc","name":"DeeBridge","server":"192.168.1.126","port":"8421","out":"sit","ret":"buffer","splitc":" ","newline":"","tls":"","x":870,"y":420,"wires":[["0948fc1706e21142"]]},{"id":"f65031f4c9ef3411","type":"debug","z":"3714523dbeaeaddc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1070,"y":580,"wires":[]},{"id":"0948fc1706e21142","type":"function","z":"3714523dbeaeaddc","name":"Decode","func":"var response = msg.payload;\nresponse = response.toString();\n\nmsg.payload = response;\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":960,"y":500,"wires":[["f65031f4c9ef3411"]]},{"id":"94c05c2721be8bea","type":"inject","z":"3714523dbeaeaddc","name":"接続保持","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"120","crontab":"","once":true,"onceDelay":"10","topic":"","payload":"#FW","payloadType":"str","x":730,"y":120,"wires":[[]]},{"id":"645b9c776cab99c1","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DW:255,01","payloadType":"str","x":270,"y":900,"wires":[["d157615d81b83236"]]},{"id":"2b5d9e644bfdc5ca","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DR:01,160","payloadType":"str","x":270,"y":940,"wires":[["d157615d81b83236"]]},{"id":"871e277261cb6bbd","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#GET_ETH_SETT","payloadType":"str","x":350,"y":140,"wires":[["d157615d81b83236"]]},{"id":"e1d48f2589c82d98","type":"inject","z":"3714523dbeaeaddc","name":"#SET_STATIC_IP:192,168,1,126","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#SET_STATIC_IP:192,168,1,126","payloadType":"str","x":390,"y":180,"wires":[["d157615d81b83236"]]},{"id":"9b19cecbebf2fc9e","type":"inject","z":"3714523dbeaeaddc","name":"#SAVE_ETH_SETT","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#SAVE_ETH_SETT","payloadType":"str","x":350,"y":300,"wires":[["d157615d81b83236"]]},{"id":"0497c4d57bf8a5a8","type":"comment","z":"3714523dbeaeaddc","name":"起動","info":"","x":710,"y":40,"wires":[]},{"id":"0164899de725f461","type":"inject","z":"3714523dbeaeaddc","name":"#SET_STATIC_GW:192,168,1,1","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#SET_STATIC_GW:192,168,1,1","payloadType":"str","x":390,"y":220,"wires":[["d157615d81b83236"]]},{"id":"1438e3e3eeda292d","type":"comment","z":"3714523dbeaeaddc","name":"IP Configuration","info":"","x":340,"y":100,"wires":[]},{"id":"e5b078762b6621a8","type":"inject","z":"3714523dbeaeaddc","name":"#SET_STATIC_MASK:255,255,255,0","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#SET_STATIC_MASK:255,255,255,0","payloadType":"str","x":410,"y":260,"wires":[["d157615d81b83236"]]},{"id":"4342e6aa615e3e4c","type":"comment","z":"3714523dbeaeaddc","name":"DALI COMMAND解説","info":"DALIコマンド調査方法\n\nMasterConfiguratorのCommand Administratorで\nDALIコマンド確認\n\n左下に16進数データで表示される\n\n16進数から10進数に変換しInjectNodeの文字列で送信\n\n例:全部の器具にDAPで100%点灯\n\nHEX : FEFE\nDIC : 254,254\n\nDeeBridge : #DW:254,254\n\n例:グループ1でシーン1を呼び出す\n\n\nHEX : 8311\nDIC : 131,17\n\nDeeBridge : #DW:131,17\n","x":280,"y":660,"wires":[]},{"id":"8e6bd747753cb399","type":"comment","z":"3714523dbeaeaddc","name":"DeeBridge初期化方法","info":"本体スイッチを10秒長押し。\nSTATUSランプが点滅を始めるので、点滅が終わり、緑点灯になったらスイッチを話すことで初期化される。\n","x":1040,"y":120,"wires":[]},{"id":"e5183d3627b1c74d","type":"comment","z":"3714523dbeaeaddc","name":"DHCPに戻す","info":"","x":310,"y":360,"wires":[]},{"id":"f7d8a96547a5b2c4","type":"inject","z":"3714523dbeaeaddc","name":"(例)FEFE","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DW:254,254","payloadType":"str","x":270,"y":700,"wires":[["d157615d81b83236"]]},{"id":"630a6548f4ce26dd","type":"inject","z":"3714523dbeaeaddc","name":"(例)8311","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DW:131,17","payloadType":"str","x":270,"y":740,"wires":[["d157615d81b83236"]]},{"id":"823b74c1bee4b312","type":"comment","z":"3714523dbeaeaddc","name":"DALI COMMAND","info":"\n","x":240,"y":820,"wires":[]},{"id":"a0867137aff7e419","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DHCP_ENABLE:1","payloadType":"str","x":330,"y":400,"wires":[["d157615d81b83236"]]},{"id":"9811ba150410010f","type":"comment","z":"3714523dbeaeaddc","name":"STATICに戻す","info":"\n","x":310,"y":440,"wires":[]},{"id":"2de26c1fdf59759c","type":"inject","z":"3714523dbeaeaddc","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"#DHCP_ENABLE:0","payloadType":"str","x":330,"y":480,"wires":[["d157615d81b83236"]]}]

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です