I have a Powermax alarm which i have successfully connected to openHabian via serial connection using the Powermax binding, and everything is working tickety-boo.
To better the security of my system, I would like to create a keypad (much like this one: Basic UI Keypad) to enter the pin number and then pass this into the binding configuration as a variable string.
I can see that the pin code is already in the json thing file stored in plain text in /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json.
Before i start creating items/rules etc, i just wanted to test the theory, and was wondering if it is possible to update the information stored within json file with information generated in the sitemap? So changing the relevant entry in the json file with a variable obtained via sitemap/rules?
The basic plan is that i click Arm on the sitemap, this brings up the keypad, i enter the code and confirm, and the confirm then completes the command and arms the system.
If it is possible, i would be grateful for any help in pointing me in the right direction.
Thanks in advance