Fully Kiosk Browser integration

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

Hi. i ve the same problem. i ve try your url but it’s not the solution. can you check and help me about openhab3 and fullykiosk? thank you so much

Having the same issue on an Amazon Fire 7. After migration to OH3, cannot get the device to display my working Habpanel from Fully Kiosk. Displays fine from my desktop PC.

hi harpo, i ve istalled webview from playstore and solve for me.

hope this may help.

davide

Hi all,

is it possible to enter a specific text label of the sitemap via http-command?
I tried to identify the correct URL by the “current page” information which is given in the Remote Admin Menu. Unfortunately it does not work.

Does anyone have an idea?

My current approach which does not work:

Switch		EG_Tablet_URL_Door			"URL Switch to Door"			<settings>	(gEG)	{ http=">[ON:POST:http://192.168.0.21:2323/?cmd=loadUrl&url=http://192.168.0.20:8080/basicui/app?w=0001&sitemap=default&password=openhabian] >[OFF:POST:http://192.168.0.21:2323/?cmd=loadStartUrl&password=openhabian]" }

Hi Sebastian,
Does HTTPbinding need special settings before use of your items?
I tried your item with switch on/off
// Switch Display ON & OFF
Switch eg_flur_tablet_display
“Tablet Display”
(gEgTablet)
{ http=“>[ON:POST:http://192.168.23.140:2323/?cmd=screenOn&password=password] >[OFF:POST:http://192.168.23.140:2323/?cmd=screenOff&password=password]” }

But nothing happening. If copy/paste to webbrowser works fine but no action while switch in oh3 activated.
Maybe some .things should be prepared before?