Closed MaLi812 closed 5 years ago
Looks like your Jablotron is configured a bit different way. My config comes with 3 sections where one of these supports partially armed state. Each section has one only keyboard assigned. I'd need your help to run modified config-helper.js tool to see what your Jablotron unit replies with when asked for keyboards Upon downloading rename attached file to config-helper.txt to config-helper.js. Copy it over to PI to pi user home. After that copy it to homebridge-jablotron plugin using:
sudo cp /home/pi/config-helper.js /usr/local/lib/node_modules/homebridge-jablotron/
Run config utility with output forwarded to the file using:
node config-helper.js username password > /home/pi/config-helper.log
Attach config-helper.log here please. Just make sure you remove service ID from it
I'm using Docker on my NAS, so it worked a little different, but it worked i think ;-) config-helper.log
Thanks for the output! That's interesting really - you have 2 keyboards assigned to STATE_1 section (section_1) - keyboard_2_3 and keyboard_2_5. I have never seen this before - can you briefly describe how you can control your house (segment Wohnhaus)? Do you have 1 or 2 segments for Wohnhaus mounted on Jablotron unit? Or some additional button/switch that can control Wohnhaus segment? Maybe a screenshot from Jablotron iOS/Android app or MyJablotron website would help as well
I just had a quick call with friend who is Jablotron partner and he confirmed you can have the same segment mounted twice where one allows you to partially arm it and the other one to arm it fully. He said it's not standard setup because this can be achieved using single segment where single press on arm button arms partially and double press arms fully - this is what I have set up at home. I'll wait for your confirmation and modify the config helper tool to be able to deal with your setup as well
@MaLi812 attached you can find modified version of config-helper.js that should be able to detect your config as well. I tested it offline with the response log you had sent before and it worked as expected. Please try it online using your Jablotron account - once tested I'll promote it in new version
Do the same you did before (rename to config-helper.js, copy to NAS etc)
Yes, you're right. I've two keyboards assigned to STATE_1: (bottom to top):
I didn't know till now, that you can press the fully arm button twice for partially arming (and i even don't know if my Jablotron partner does :-))
I tested your new config_helper file. This is the (correct) output:
Thx for your awesome work!
Merged and published. Thanks for your help!
Cool, thanks for quick turnaround and testing effort! The output is what it should look like and is, as you say, correct now Actually single press arms partially, double press arms fully. "Problem" with your setup is you paid extra money for something, 2nd Wohnhaus segment, you don't need really
This might be an issue with the config_helper file: The current version of config-helper gives back this keyboard-config: name = Wohnhaus
segment_id = STATE_1
segment_key = section_1
keyboard_key = keyboard_2_5
the last version (delivered with 1.1.0) showed: name = Wohnhaus
segment_id = STATE_1
segment_key = section_1
keyboard_key = keyboard_2_3
With keyboard_key = keyboard_2_5 I'm unable to partially arm the unit, no issues with keyboard_key = keyboard_2_3.
Kind regards MaLi