@kgoderis OK, in this way the keypressed and keyreleased channels work in my system too! I hadn’t understand that before.
The rule trigger when I use
Channel ‘helios:ipvario221:gate:keypressed’ triggered
works. I can see in the log file that these channels trigger the values %1, %2 and %3, depending on which button is pressed on the Helios (my device has three buttons); but if I want to know which button has been pressed and I set a rule like
Channel ‘helios:ipvario221:gate:keypressed’ triggered %1
the rule trigger doesn’t work. Is there any other way to use the log info to update the value of an item with the information about the number of the pressed button (sorry if I ask a basic question, but all this is really new for me)?
Moreover, I’ve noticed that in the log there is a lot more information, as showed in the log (e.g. the “peer” with whom the device is establishing a connection), and I think it could be really useful to add in the future the possibility to use this information into the system.
17-Feb-2018 11:54:59.093 [TRACE] [rg.openhab.binding.helios.handler.HeliosHandler221] - pullLog() Response: {“events”:[{“id”:761,“tzShift”:60,“utcTime”:1518864903,“upTime”:1531222,“event”:“CallStateChanged”,“params”:{“direction”:“outgoing”,“state”:“terminated”,“reason”:“normal”,“peer”:“sip:**610@192.168.9.1”,“session”:67,“call”:69}}]}
17-Feb-2018 11:54:59.093 [TRACE] [rg.openhab.binding.helios.handler.HeliosHandler221] - Successfully pulled log entries from the Helios IP Vario ‘helios:ipvario221:gate’
17-Feb-2018 11:54:59.095 [DEBUG] [rg.openhab.binding.helios.handler.HeliosHandler221] - Received the event for Helios IP Vario ‘helios:ipvario221:gate’ with ID ‘761’ of type ‘CallStateChanged’ on 1970-01-18T14:54:24
So, the issues those still remain unclear (at least those related to my system) are:
- the devicestate and devicestatestamp channels behaviour (they don’t work at all);
- the possibility to use the noise and noisestamp channel in my kind of device (without Gold license);
- the strange look of the timestamp in all the “stamp” channels (the strange timestamp appears in the log file).
But basically the binding works, and works good. Thank you very much. I guess that I’ll have too keep on using the jar you sent me, avoiding at least for the moment to download the one in the repository. Do you plan to modify in the future the downloadable repository binding in order to allow the use both for devices with and without Gold license?
p.s. I’ve seen that you’ve started to update the documentation: if they are trigger, I guess it would be good to delete from the example item file the “card” and the “code” channels too, as you did for the “keypressed” and the “keyreleased” channels