Hello everyone,
I feel like I’m advancing with Openhab and my home automation as well, but at several points I fear I’m just missing too much knowledge.
Here is what I was trying to do for the last few days:
- Get my openhab to sound an alarm if the doorbell rings
- Add a button to open the door
- Popup of the video from the door camer in the OH3 visu
and I’m failing at step 1:
First try was the helios binding → It’s not working with OH3; the bug is reported (over a year ago), but no solution is in sight.
Second try: Send the info from the IP Verso to the Rest-API (I don’t really know what I’m doing there, so I startet with trying to send a plain text):
thing: (want it on the knx as well so this should do):
string-control : EG_WF_IPVerso_Klingel_string "Klingel Erdgeschoss String" [ ga="23/5/51"]
item:
String EGWFIPVersoKlingelString "Klingel erdgeschoss string" {channel="knx:device:bridge:allg_virtual:EG_WF_IPVerso_Klingel_string"}
The Rest-Api for the item seems to be working
link "http://192.168.178.42:80…EGWFIPVersoKlingelString"
state "NULL"
stateDescription {…}
editable false
type "String"
name "EGWFIPVersoKlingelString"
label "Klingel erdgeschoss string"
tags []
groupNames []
The automation within the verso does look like this (url is the one from the Rest-API, doesnt show the full path):
If I’m hitting the button on the bell I’m running into this error:
2021-11-30 20:34:04.575 [WARN ] [s.impl.WebApplicationExceptionMapper] - javax.ws.rs.ClientErrorException: HTTP 415 Unsupported Media Type
Any Ideas whats wrong?
The second step would be to send the json and get a switch status out of it - in which kind of item am I putting this? String?
If thats all not working, it should be possible to get the call status via the http-binding, but then I would have to pull the status every some seconds.
Regards
Alex
PS: If anyone has another working solution with OH3 I’m interested