MQTT INTEGRATION.
Starting Fully Kiosk Browser 1.34 we support publishing device info and major device events to the MQTT broker. You can setup the broker URL and credentials in Other Settings.
The complete device info will be published every 60 seconds as /fully/deviceInfo/[deviceId] topic (retaining, QOS=1).
Events will be published as /fully/event/[eventId]/[deviceId] topic (non-retaining, QOS=1). Following events are implemented for now: screenOn, screenOff, pluggedAC, pluggedUSB, pluggedWireless, unplugged, networkReconnect, networkDisconnect, internetReconnect, internetDisconnect, powerOn, powerOff, showKeyboard, hideKeyboard, onMotion, onDarkness, onMovement, volumeUp, volumeDown, onQrScanCancelled, onBatteryLevelChanged.
and figured out the address to your broker needs to be in the format tcp://<address>:<port>
THANK YOU! Kept getting a message from Fully that the MQTT had failed and hadn’t a clue why. I was running until I installed Lineage the Fire specific version of Fully and I’m SURE this wasn’t a requirement on that version of Fully. Anyway. Working now. Thanks!
Anyone have luck getting MQTT auto discovery in HA to work with Fully Kiosk? It appears to publish to its own topic “fully” and I don’t see a way to change that setting. Side note, if anyone can share the yaml to add all Fully sensors to HA manually I’d appreciate it.
I am using these and you can probably figure out how to write templates for any others you want by using these. I took these from https://github.com/matt8707/hass-config
Thanks for the help - this worked well for me! Have to put in a feedback request on Fully to support auto discovery though, especially as often as I see their app mentioned in HA related forums.
Hm, strange.
I did copy/paste of your config and changed MyDeviceId only and none of sensors work.
FullyKioskBrowser device is apparently connected to mqtt broker.
You say FKB is “apparently” connected to your broker. How did you check this and is FKB posting messages to the broker with the topics you are using for your sensors?
@atomicpapa Just a note on your config above, I am new to MQTT so may be misunderstanding, but it seemed odd to me that your config was watching the onMotion message and then using that to report battery updates. I thought it may cause the battery level to not report changes unless there is motion detected. I am trying out the below instead and it seems to work regardless of motion:
Did you get an answer to this? I see a lot of posts about MQTT not connecting and throwing an error, but I’ve fixed that. It comes up in MQTT Explorer just fine. But no Devices or Entities show up in Home Assistant.
Fully Kiosk doesn’t implement HA’s autodiscovery so you have to configure it in HA yourself.
I use the following to make a simple battery sensor and put the full device info in the sensor’s attributes. Just replace <mqtt_topic> with the topic you configured in Fully Kiosk Browser.