Questions tagged [openhab]

openHAB aims at providing a universal integration platform for all things around home automation. It is a pure Java solution, fully based on OSGi. This software is completely vendor and hardware agnostic and runs on all devices with JDK.

openHAB aims at providing a universal integration platform for all things around home automation. It is a pure Java solution, fully based on OSGi. This software is completely vendor and hardware agnostic and runs on all devices with JDK.

96 questions
0
votes
1 answer

Redirect/Rewrite after basic authentication

First sorry for my bad English. So I have an Openhab system on my raspberry PI with Apache. I have A basic authentication with two groups Admin and Users and I want to redirect Users the open the Landing page to redirect after Loggin with the Basic…
Tyr
  • 13
  • 4
0
votes
2 answers

Posting API request to Openhab2 and Swift

I am trying to post a request to my Openhab system from a custom Swift iOS application I am developing however I can't seem to get a response. I'm using the below but can't get the sensor to…
user1020496
  • 99
  • 1
  • 9
0
votes
1 answer

OpenHAB Missing Binding

I installed mosquitto on my Raspberry Pi. I installed the MQTT Binding, MQTT Binding (1.x) using PaperUI. I created an item: Number mqtt_kitchen_gas "Gas Level [%.1f]" {mqtt="<[mosquitto:Home/Floor1/Kitchen/Gas_Sensor:state:default]"} I opened a…
PeteC
  • 129
  • 1
  • 11
0
votes
2 answers

How to add devices using openHAB REST API

I am looking for a way to discover a USB zstick "/dev/ttyACM0" using OpenHab command line interface as I am not going to be using a GUI and I need to create a script to automate few things. In their website here and here OpenHab have some…
user9409752
0
votes
1 answer

How do I allow only read access to Switch item in Openhab?

I stumbled across this post while playing around with Openhab 2.4.0. I was trying to display the state of the switch item (for Hue Bulb) with only read access in the control tab of Paper UI. A simple solution would be to have a different item type…
Sunil
  • 541
  • 2
  • 8
  • 17
0
votes
1 answer

How do i get the Roborock Vacuum cleaner token for the Xioami Mi IO Binding

I want to add my Xiaomi RoboRock vacuum cleaner to the openHab. After installing the Xiaomi Mi Io Binding, it asks for a token in the configuration. After seaching the internet they say you need to install a old version on the app, do a…
R.A
  • 1,813
  • 21
  • 29
0
votes
1 answer

What you need to buy to communicate with ZigBee and Z-Wave devices?

I have raspberry pi 3b+, i want to manage an apartment with OpenHab Support is needed for xiaomi, ikea, philips (lamps), TV and washing machine (most likely from Samsung or LG). What you need to buy to be able to communicate and control ZigBee and…
0
votes
0 answers

Eclipse IDE external library setup/changes

First of all, new to Java / Eclipse IDE, so please bear with me. So, I have created my own project, and I have an external library (class files contained in jar files) in a "lib" folder of my project/workspace. I have created build path, and have…
0
votes
0 answers

How to fix python module error when using openHAB

I am trying to use python with my Raspberry Pi 3 to toggle some LED lights I have using openHAB. The problem is when I try to run the python code I get an error and can't figure out what the cause it. My python is from openhab import…
Dan
  • 1,100
  • 2
  • 13
  • 36
0
votes
1 answer

Unique ID of Thing openHAB

I just started working in openHAB and was wondering if there was an API to get the MAC-address of an item or some other unique ID that will not change if I for example disconnect/delete the device and reconnect it. I want the unique ID so that I…
0
votes
0 answers

eclipse ide doesn't update changes

When i want to run my programm eclipse runs old code. I cleaned the project and build it again but eclipse show me the old code when i want to debug it. I my editor window i see the new code, but in the debug window there is old code. This is the…
otto
  • 1,815
  • 7
  • 37
  • 63
0
votes
0 answers

MySQL combining one query into another to use for Grafana

Im running an Openhab2 instance and collect data aswell as timestamps for important changes in datacollection. Inside my table item45 I store 2 colums Time and Value witch looks like this. TABLE (item45) Design Screenshot 1 Screenshot 2 Time…
jan b
  • 29
  • 7
0
votes
1 answer

Control relay with contact button on Openhab problem

Hy, I want to control a relay with a button in openHab, and i want to create a rule to check if state is ON or OFF and after that to do a thing. I am new in codding and i don't know what I've done wrong. I need some help, please. This si the code…
0
votes
1 answer

Error while connecting from openHAB-cloud to mongodb: MongoError: Authentication failed

my mongodb auth is false but it getting error my mongodb.conf file have no authenication # Turn on/off security. Off is currently the default #noauth = true #auth = true my mongodb user conf file "mongodb": { "hosts": ["127.0.0.1"], …
bhupathi turaga
  • 297
  • 2
  • 16
0
votes
1 answer

Nginx redirects to first Subdomain when accessing second

So here's my situation: I have a Nextcloud and OpenHAB set up on my server and want to access both from outside my local network. I use Nginx as my reverse proxy to access my nextcloud on cloud.foo.bar and my openHAB on home.foo.bar. This works for…
lars250698
  • 33
  • 3
  • 9