Author Topic: Binding problem  (Read 1113 times)

Offline zeno

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Binding problem
« on: June 20, 2016, 09:54:50 am »
I have a vera lite UI5 and a raspberry with OpenHab

I can not receive data from true of openhab

where am I wrong?

I followed many guides but I can not fix the link vera --> openhab

I insered a file in /etc/openhab/configurations/transform

Thank

zeno

Offline zeno

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Binding problem
« Reply #1 on: June 20, 2016, 09:58:53 am »

Offline guessed

  • Moderator
  • Master Member
  • *****
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Binding problem
« Reply #2 on: June 21, 2016, 11:25:19 am »
Your config looks openhab.cfg looks correct:

Code: [Select]
mios:house.host=192.168.0.2
mios:house.port=3480
mios:house.timeout=30000

The last two settings are default, so they're not strictly required (although they won't hurt either).

Your items declarations look correct, but potentially using an older version of the Item Generator.  That should be fine. 

For reference, here are my old definitions, just before I stopped using MiOS Weather plugin:

Code: [Select]
Number   WeatherHumidityId "ID [%d]" {mios="unit:house,device:321/id"}
String   WeatherHumidityDeviceStatus "Device Status [MAP(miosDeviceStatusUI.map):%s]" {mios="unit:house,device:321/status"}
Number   WeatherHumidityCurrentLevel "Outside Humidity [%d] %" (GWeather,GMonitorHumidity) {mios="unit:house,device:321/service/HumiditySensor1/CurrentLevel"}


So, based upon the instructions here:
    https://github.com/openhab/openhab/wiki/MiOS-Binding

There are a few items that could be missing:
a) Installation of the MiOS Binding itself
If the binding is missing completely, then there will be radio silence in the openHAB log files, otherwise you'll see evidence of it starting.
If you're using Linux, and the apt-get install type, then that's:
Code: [Select]
sudo apt-get update
sudo apt-get install openhab-addon-binding-mios

b) Installation of the MiOS Binding transformations:
https://github.com/openhab/openhab/wiki/MiOS-Binding#mios-transformations

c) What's in the logs:
https://github.com/openhab/openhab/wiki/MiOS-Binding#logger
The binding will emit diagnostic information if components are missing, and/or having issues with connectivity.

Offline zeno

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Binding problem
« Reply #3 on: June 21, 2016, 03:51:16 pm »
 :) :) :) :) :) :) :) :)

with the commands

sudo apt-get update
sudo apt-get install openhab-addon-binding-mios

I managed to read the humidity sensor


Urrrrraaaaaaaaaaaaaaaa



Thank @guessed

Zeno