Fully Kiosk Browser integration

Hey @Mario.o thanks for the hint. Finally I achieved it with unlocking the device.

However I must admit that I was really unhappy with fully kiosk browser and running habpanel in the browser; I had lags everytime, the page woulnd’t reload, the gauges and indicator were not update and and and; the device was running all time so this coulnd’t be the cause for it.

Does anyone have similar bad experiences with habpanel as smarthome center display system?

Cheers
Klim

Nope, running fine with FKB.

Very pleased with Fully Kiosk. I actually started with a cheap PoE 10 screen from hopestar (China) so I could have a video entry system to see whos at the door and talk to them if needed. I use a Ring Doorbell and Tasker opens the ring app fullscreen video if the doorbell is rung.

The remainder of the time I have screen motion turn on the screen and display Habpanel weather, thermostats and a few switches. I also have Habpanel display moode audio UI if I want to listen to radio.

Thanks for the contributions for working the REST API above… I think I will try these also.

Stuart

Hmm interesting, seems that only I experienced those problems. Any idea where I could start debugging?

Try filtering the items:

1 Like

Hi,

does anyone use the mqtt feature? I get it to connect to mosquitto but doesnt understand syntax how to publish topics e.g. screen off

Yes.

You can’t publish, it just monitors events from your device running FKB:

If you need to send events to your device you may use the REST Api:

Hi,
I want to have the Batteriestatus in openhab, but it don’t work.
I use openhab 2.5.1 and have fully browser with remote admin enabled also http binding installed.
here is my code:

// GET battery level from device
    Number tablet_bat
   "Tablet Battery [%s %%]"
   (Tablet)
   { http="<[http://192.168.1.214:2323/?cmd=deviceInfo&password=1234&type=json:30000:JSONPATH($.batteryLevel)]" }
  

the outcome is “Null”, so I am a little bit lost…

brgds
Frank

ok found the error…
I did not have Jasonpath installed as an add on.
now it works…

brgds

2 Likes

I can stringly recommend the habpanel-filter binding.
This enables you to just send specific (needed) item states to habpanel instead of ALL (several hundreds on my system):

I have a question though :wink:

Is there any feedback to the outside world (outside fully kiosk tablet) where motion is reported?
I can check if the motion detection is activate, but I don’t see a feedback if motion triggers Fully.

I am not using it but I think the

motionDetectorStatus

through MQTT is what your are looking for.

grafik

Thanks, that’s what I thought in the beginning as well (I use the json output though).
But motionDetectorState reflects the state if the Motion detection feature is enabled (2) or disabled (0).

I wonder what’s 1 then… but never saw 1

Got it!
The onMotion signal is just available on mqtt:
mqtt:broker:mosquitto:Xido_onMotion triggered {"type":"visual","deviceId":"xxx-xxx","event":"onMotion"}

1 Like

Since upgrading to OpenHab3 I’ve hit a problem with Fully-Kiosk and HabPanel which I’ve run out of ideas on.

In OH3 you need to auth to use HabPanel otherwise the message “Please auth in the Main UI to select a panel” - however for some reason going to http://192.168.0.3:8080/ (the URL for my OH3 instance) just displays a white screen.

I have a theory that because I’m using an old Samsung SM-T310 tablet the version of webkit included with Android doesn’t support the new OH3 interface. However, Chrome on the tablet will display the OH3 interface allowing me to log in.

Chrome doesn’t serve my purpose though - because I use a motion sensor the Fully-Kiosk API to turn off the tablet screen (via REST api) when no one is looking at the tablet. When the screen turns off - Chrome exits Full Screen mode.

So - I’m trying to find out a way to auth Fully-Kiosk somehow as Habpanel seems to work, just not the initial auth steps…

I had the same problem on my Android TouchUI’s with Fully and got it working by using a different url the first time.
I’m not sure anymore, it was 2 months ago but I think it was this:
http://openhab-srv-01:8080/#!/Profile/

1 Like

Hi,

on OH2.x I used the http command as written right at the top (2018)

http://192.168.23.140:2323/?cmd=deviceInfo&password=password&type=json:30000:JSONPATH($.batteryLevel)

Having installed OH3 from scratch I need help realizing the same with use of the UI.
I installed the http-Binding and the JSONPath-Transfromation.
I did create a new http-Thing called “FireBattery”.
In the “Base-Url” of the “FireBattery”-thing I inserted the

http://192.168.2.xx:2323/?cmd=deviceInfo&password=mypassword

I manually created a Channel “type=Number” called it “FireBatt” and under “Profile” I checked JSONPATH and then inserted in JSONPATH Expression:

$.batteryLevel

This doesn’t get me a BatteryLevel-Value.
The Log shows:

Could not transform state ‘UNDEF’ with function ‘batteryLevel’ and format ‘%s’

I appreciate help to get this working again and then I will be able to switch the corresponding power-plug depending on the battery-level of my FireTablet.
Thanks a lot!

Eckart

Try the following configuration:

    Thing http:url:Fire10HD       "Fire 10 HD"    [ baseURL="http://192.168.23.140:2323/", commandMethod="POST"] { 
    Channels:
        Type number : battery  [ stateExtension="?cmd=deviceInfo&password=XXXXXX&type=json", stateTransformation="JSONPATH:$.batteryLevel", mode="READONLY"] 
}
1 Like

Hi Chris,

I did transfer your configuration into my “HTTP-Thing” (with advanced options activated) and it works straight away!!!
Thanks a lot for your help!
The “Code” for it shows in the UI as the following:

UID: http:url:FireTablet
label: FireTablet
thingTypeUID: http:url
configuration:
authMode: BASIC
ignoreSSLErrors: false
baseURL: http://192.168.2.xxx:2323/
refresh: 30
commandMethod: POST
timeout: 3000
bufferSize: 2048
channels:

  • id: FireTabletBattery
    channelTypeUID: http:number
    label: FireTabletBattery
    description: “”
    configuration:
    mode: READONLY
    stateExtension: ?cmd=deviceInfo&password=mypassword&type=json
    stateTransformation: JSONPATH:$.batteryLevel

Eckart

1 Like