Fully Kiosk Browser

same, this works (it does change the value in the UI),

So I can change the value manually in the UI, or launching the URL in the browser, but the brightness is not changed on the phone (phisically increase/decrease the brightness)

it works on my Chinese Android 5.1 devices, it maybe the vendor blocking that function… not sure… as other commands work.

Sounds like a tablet/phone specific hardware issue to me, or permissions perhaps? On the Android device, ya might want to make sure that the Fully app is listed as a local administrator (I think that’s what it’s called), and that it has all the proper permissions it needs. I think you’ll find that it doesn’t have permissions to adjust the brightness, somewhere. Without further investigation, that’s only a guess though. I’d start by digging around in the Android Settings…

1 Like

yes that was it, android permissions.

1 Like

@Hefford27

Hi, my tablet arrived. Curious about your solution for a wall mount, and how you deal with power charging

Hey man, I don’t want to answer for @Hefford27 but you might find some great resources in this post: Share your Floorplan

thanks @xstrex i am sure there are much clever ways to mount the tablet so have a look at that post, but my wife only let me mount the tablets if she didnt see cables what so ever, and they didnt stick out too much.

image1

As you can see you cant see cables and its basically flush to the wall.

I am using these tablets in replacement for light switches, so I removed the light switch from the wall and modded a USB power supply and wired it into the Light circuit as the power draw is minimal, this its in the hole in the wall with the tablet stuck with strong double sided tape.

dashpowersupply

I needed a way to make the power cable not to stick out as USB C plugs to so i modded a a wireless phone charger pad, and connected this to the power supply in the wall

dashpower

The look i think looks very clean

dashonwall2

Like i said I’m sure theres better ways, but the price for mounts are expensive and didnt fit the wife acceptance :slight_smile: and If we ever move and need to revert back, I can just put the light switch back in with no wall modifications to fix :slight_smile:

5 Likes

I purchased these with the right USB connector for my Tablets, cut off the plug and short stem, and soldered this to the main usb chargers, replacing the usb plug that came connected if that helps, see the 3rd pic above

https://www.ebay.co.uk/itm/Wireless-Qi-Charger-Receiver-Charging-Adapter-For-Micro-USB-Android-iPhone-Lot/302589009960?hash=item4673b5e028:m:maqzo0WZ5RC3c7OI9pO9KQQ

what about the height (at wall switch level), you satisfied? Or should be higher, if possible?

Before breaking walls, try to get the most info available from exissting users :slight_smile:

That height works for us and our little one can turn room lights on as its at the right height.

Place yours next to the switch and see, i think its just personal or wife view on if its right.

I think it’s a bit low, it can be solved by tilting the tablet a bit. Should not be difficult finding the right tool /piece of something

@Hefford27 if you can give me some details about the tablet you’re using, and the usb plug and wall switch; I could probably design an adapter of sorts, in cad, that would attach everything, and make it easier to tilt and probably look a little more professional. The resulting file could be 3D printed, and duplicated, as necessary.

I’ve been wanting to design something like this for a while actually! Send me a pm if you’re interested, we can work out the details.

Using these curl commands, would it be possible to launch an android app on the tablet that is running Fully Kiosk with remote privileges?

I’d really like to be able to use HADashboard and/or Floorplan for my front end on my tablet via fully kiosk, and then launch the MQTT Alarm Control Panel App. I could see this being useful for other applications as well.

I know Fully has an application launcher available but I’d like it to be seamless from the HADashboard/Floorplan front ends if possible.

I think I understand what you’re saying, and it sounds like an interesting idea. You should be able to do this with the curl commands above, just change the url a bit. You’ll probably need to do some research and some extermination to get this working the way you’d like.

On the Fully website, take a look at the following:

/?cmd=startApplication&package=[pkg]&password=[pass]
/?cmd=toForeground&password=[pass]

Though I’m not sure if you’ll be able to do anything like switching between apps, you’ll really just have to play with this, and see what you come up with.

If you do find a way, please post it here!

1 Like

That was exactly what I was looking for. So far, in my limited testing, it seems to work well. This probably is not the most elegant solution, so ways to make this more efficient, please let me know.

From my android tablet, I now have a button which launches the MQTT Alarm Control Panel App. From the MQTT Alarm panel app, I press the home button within android (not the home button within the app). It them brings me back to my dashboard.

Fully Kiosk Settings:

  • I have Fully Kiosk Browser running in Kiosk Mode.
  • Enabling Kiosk Mode (Plus) allows you to set the Fully Kiosk app as your launcher.
  • I’ve whitelisted the com.thanksmister.iot.mqtt.alarmpanel android application within Fully under Kiosk Mode.
  • I also turned off Load Start URL on Home Button under Web Browser Settings, but that may just be personal preference

Here are the snippets from my setup.

This switch runs the command to launch the application:

# switches.yaml
- platform: command_line
switches:
launchmqttalarmpanelapp:
command_on: !secret mqttalarmapplaunch
command_off: ""

I used the secrets yaml for the curl command:

# secrets.yaml
mqttalarmapplaunch: /usr/bin/curl -k "http://[IP_ADDRESS]:[PORT]/?cmd=startApplication&package=com.thanksmister.iot.mqtt.alarmpanel&password=[password]"

When I exited the Alarm App, I wanted the switch to be off, and ready to be pressed again. This was my solution:

# scripts.yaml
load_mqtt_alarm_panel:
sequence:
- condition: state
entity_id: switch.launchmqttalarmpanelapp
state: 'off'
- service: switch.turn_on
data:
entity_id: switch.launchmqttalarmpanelapp
- delay:
seconds: 1
- service: switch.turn_off
data:
entity_id: switch.launchmqttalarmpanelapp

This is the entry in my home.dash file.

# home.dash
alarm:
widget_type: script
state_text: 1
title: Alarm
icon_on: mdi-security-home
icon_off: mdi-security-home
entity: script.load_mqtt_alarm_panel

1 Like

Thank you. This opens up a number of possibilities. How does one go about determining the [pkg] portion of an android app to be launched?

I forgot to mention that. There are probably other ways, but the way I did it was I went to the remote website on my computer. In the Fully Kiosk App, if you enable Remote Administration, set an Admin password, and then also enable Remote Admin from Local network, there should an IP address and port you can visit. Something like http://192.168.x.xxx:2323. Enter that in the web browser and enter the password you created to log in.

On the tablet, go to the app you wish to find the pkg name for. Go back to the Fully Remote Admin website (http://192.168.x.xxx:2323.) You may need to refresh it once or twice. Scroll down to Foreground app and the application name should be there. I’ve only done this with the MQTT Alarm Control Panel app so far, but it worked for me.

1 Like

Slightly OT.

Do you guys use the webcam from Fully Kiosk? Which is the URL to access the video and/or still images? Can’t find it …

this is the link
http://IPaddress:2323/?cmd=getCamshot&password={pass}

1 Like

Almost wish there was a platform for Fully.

Sensors from the json.
Notify services for the TTS
camera from the motion cam.

1 Like