- Platform information:
- Hardware: x64
- OS: linux debian
- Java Runtime Environment: 17.0.8
- openHAB version: 4.0.2
I’ve been running Openhab2 for a long time, very simply setup - just enough to connect to my CBus lighting and control a handful of lights using the habpanel UI on my mobile. I’ve had a renewed enthusiasm and have upgraded to OH4 and am setting up my model properly.
I’m running OH on my linux server which runs a number of services that I expose via an apache2 reverse proxy, all using pretty much the same theme - either docker containers listing http on a non-80 port, or a local installed application listening on a non-80 port (this is what OH is). So https://openhab.mydomain.com
is handled by apache including SSL, and forwards the request to the local openhab port (8080).
I’ve connected the android app, specifying local address to be http://192.168.x.x:8080/ and specified my admin username and password. The app gives me a warning to say it’s not secure - not https, but everything works.
The remote server is https://openhab.mydomain.com
, same username and password, and when I turn off wifi, the app connects successfully.
If I turn wifi on and go to the Main UI and locations, I can control all my configured lights. Turn off wifi, app reconnects, and everything still works. Happy days.
Now for the problem … I’ve created a basic sitemap which is a single block with 2 controls - one dimmer and one fan speed control just to test. Connected to my local network, everything works fine. But if I turn off wifi and connect remotely, I can navigate the sitemap, and if I make changes to it, those changes are reflected almost immediately. But the controls don’t do anything. Nothing shows in the openhab.log
or the events.log
.
This is my sitemap:
sitemap home label="Home" {
Frame label="Upstairs" {
Text item=loc_master_bedroom label="Master" {
Slider switchSupport
item=Master_BR_Downlights_Level_Channel
label="Downlights"
Selection
item=Master_BR_Fan_Level_Channel
label="Ceiling Fan"
mappings=[0="Off", 33="Slow", 66="Medium", 100="Fast"]
}
}
}
Not sure where I should be looking to figure this out