Publishes Commands to openhab using a bridge between openHAB and ROS. These are just examples of how you need to proceed for each item type. You can test this by testing the openhab_static_examples. This package serves as a template for writing publishers for different item types.

In a minimal installation you need at least openhab_bridge and openhab_msgs.

Install the openhab_bridge_publisher

In the next step you have to install the openhab_bridge_publisher in your catkin workspace:

cd ~/catkin_ws/src
git clone --branch <branchname> https://github.com/Michdo93/openhab_bridge_publisher
cd ~/catkin_ws
catkin_make

Please replace <branchname> with your branch, as example kinetic-devel, melodic-devel or noetic-devel.

Usage

You can test it by using the openhab_static_examples. You can run each publisher like described in the following:

rosrun openhab_bridge_publisher ColorPublisher.py
rosrun openhab_bridge_publisher ContactPublisher.py
rosrun openhab_bridge_publisher DateTimePublisher.py
rosrun openhab_bridge_publisher DimmerPublisher.py
rosrun openhab_bridge_publisher ImagePublisher.py
rosrun openhab_bridge_publisher LocationPublisher.py
rosrun openhab_bridge_publisher NumberPublisher.py
rosrun openhab_bridge_publisher RollershutterPublisher.py
rosrun openhab_bridge_publisher StringPublisher.py
rosrun openhab_bridge_publisher SwitchPublisher.py

Wiki: openhab_bridge_publisher (last edited 2022-10-25 15:50:06 by Michdo93)