openwebnet / openwebnet-android

OpenWebNet Android client for My Home BTicino and Legrand home automation system
https://openwebnet.xyz
MIT License
34 stars 21 forks source link

Automation invalid WHERE value #103

Open niqdev opened 5 years ago

niqdev commented 5 years ago

Even if the allowed values for the Automation point WHERE field should be restricted from 11-99 as explained in the official documentation, a user raised an issue that in his configurations he has some automations with value 07 for example.

So the WHERE field should allow values from 00 to 99

niqdev commented 5 years ago

Another user reported that in is environment he is able to command the automations using for example *2*0*1005## where A=10 and PL=5, which is something that is not actually documented and shouldn't be allowed. The latest version prevent the user to properly command the automations.

As a temporary fix I suggest to create 3 custom Devices with the following requests

*2*0*1005## (STOP)
*2*1*1005## (UP)
*2*2*1005## (DOWN)

and ACK *#*1## as expected response