You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this is rather limited right now. But making it more generic might also is a UI problem. How to device that that specific value is present? Maybe a regex. But that might be rather complex to type.
@stikonas I have added two settings that default to LOCKED and UNLOCKED. They can be regular expressions as well. The code is not test yet.
I think it is ok, since the main target are DIY door systems. In use, someone needs to figure out the parameters and then can exchange the setup via QR-Code. :]
@stikonas I have added two settings that default to LOCKED and UNLOCKED. They can be regular expressions as well. The code is not test yet.
I think it is ok, since the main target are DIY door systems. In use, someone needs to figure out the parameters and then can exchange the setup via QR-Code. :]
Thanks. It should work. I reviewed the commit, and it looks good to me (I don't really code in Java but it's readable anyway :)).
Activity
[-]Use Fragments instead of Preference class mashup[/-][+]ToDo List[/+]stikonas commentedon Jun 21, 2020
This would make app useful for other purposes too, e.g. turning lights on/off. Now LOCKED/UNLOCKED is expected in return data...
mwarning commentedon Jun 21, 2020
Yes, this is rather limited right now. But making it more generic might also is a UI problem.
How to device that that specific value is present?Maybe a regex. But that might be rather complex to type.stikonas commentedon Jun 21, 2020
Regex is probably an overkill. Maybe it's easier to type exact message (similarly to open/close commands).
Regarding UI, that's unfortunately true :(. There are already quite a few fields in that MQTT dialog.
mwarning commentedon Jun 21, 2020
@stikonas I have added two settings that default to LOCKED and UNLOCKED. They can be regular expressions as well. The code is not test yet.
I think it is ok, since the main target are DIY door systems. In use, someone needs to figure out the parameters and then can exchange the setup via QR-Code. :]
stikonas commentedon Jun 21, 2020
Thanks. It should work. I reviewed the commit, and it looks good to me (I don't really code in Java but it's readable anyway :)).