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

iot_bridge script incompatible with OpenHAB2 #6

Open 130s opened 7 years ago

130s commented 7 years ago

REST api has changed in OpenHAB2 (discussed in e.g. this thread.

E.g. I do not see members attribute at e.g. http://%MY_OPENHAB_SEVER%:8080/rest as opposed to what this line expects.

I'm working to add OpenHAB2 interface.

130s commented 7 years ago

E.g. I do not see members attribute at e.g. http://%MY_OPENHAB_SEVER%:8080/rest as opposed to what this line expects.

That may be my oversight since looking at rest api doc on OpenHAB2 server I still see members. scr_restapi_items

Also at https://community.openhab.org/t/wget-cmd-in-openhab2/12080/9, founder of OpenHAB says:

the official REST API of openHAB 2 is still compatible with openHAB 1.

I'm still new to OpenHAB, need to learn more. Will keep looking into this further.

corb555 commented 7 years ago

have you assigned some items to the ROS group? That may be necessary to see members.