Fully Kiosk, Node RED, Domoticz

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Fully Kiosk, Node RED, Domoticz

Post by zabinskiwojciech »

Hello.
You will help me to read the battery status from the tablet in which I have FullyKiosk installed. I have Mqtt running on it.
The MqttExplorer shows the data from the tablet. I read fully/deviceInfo/1cc86641-fc19cd14/# from NodeRed and I get the message:
{"deviceId":"1cc86641-fc19cd14","batteryLevel":96,"isPlugged":true,"SSID":"\"QAD-OC199-2G\"","Mac":"48:81:CA:E9:1B:AE","ip4":"192.168.1.127","ip6":"FE80::4A88:CAFF:FEA9:1BCE","host":"192.168.1.127","screenOrientation":90,"screenBrightness":37,"screenLocked":false,"screenOn":true,"foreground":"de.ozerov.fully","locale":"pl_PL","serial":"AA0MVZCX","version":"1.36.1","versionCode":641,"build":"TB2-X30F_S000113_160816_ROW","model":"Lenovo TB2-X30F","manufacturer":"LENOVO","androidVersion":"6.0.1","SDK":23,"webviewUA":"Mozilla\/5.0 (Linux; Android 6.0.1; Lenovo TB2-X30F Build\/LenovoTB2-X30F; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/50.0.2661.86 Safari\/537.36","motionDetectorStatus":2,"isDeviceOwner":false,"internalStorageFreeSpace":8912547840,"internalStorageTotalSpace":11950501888,"ramFreeMemory":391131136,"ramTotalMemory":2009018368,"appFreeMemory":122573288,"appTotalMemory":134217728,"topFragmentTag":"","appStartTime":"21.05.2022 9:46:40 PM","isRooted":false,"is...
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Fully Kiosk, Node RED, Domoticz

Post by zabinskiwojciech »

Hello again, flow is done and it works.
It works in the form of a Text device and I would prefer it to be a percentage if I had a graph of it as well.
How to transform such a flow ?
msg.payload = {"command":"udevice","idx":448,"svalue":"batteryLevel: "+ msg.payload.batteryLevel.toString() + "\n"};
return msg
zabinskiwojciech
Posts: 79
Joined: Thursday 16 May 2019 16:23
Target OS: Linux
Domoticz version: 4.10776
Location: Warszawa
Contact:

Re: Fully Kiosk, Node RED, Domoticz

Post by zabinskiwojciech »

I found such a description of the switches but I do not know how to adjust it in my case ?

https://piandmore.wordpress.com/2019/02 ... -domoticz/
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest