corb555 / iot_bridge

Provides a bridge between the Robot Operating System - ROS and the OpenHAB Home-Automation system.
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

[enhance] Allow host/port for iot server via launch args. #8

Closed 130s closed 7 years ago

130s commented 7 years ago

tl;dr Opened a PR just for sharing purpose. This does not work and is not ideal thus should never be merged.

Motivation I thought if we could specify iot server's hostname and/or port via argument for a launch file as following for example, it'd be convenient eps. during development where frequently switching servers.

$ roslaunch iot_bridge openhab_bridge.launch oh_server_host:=130s-rpi2

Approach

Result