mwarning / trigger

Android app to lock/unlock/ring doors. Supports generic HTTPS/SSH/Bluetooth/MQTT and Nuki Smartlock.
GNU General Public License v3.0
130 stars 22 forks source link

serial support #81

Open eadmaster opened 1 month ago

eadmaster commented 1 month ago

Add the ability to send serial commands to devices connected via usb using https://github.com/felHR85/UsbSerial

my see case: control an ir blaster without using wifi/bt

mwarning commented 1 month ago

I have not encountered a mobile phone with a serial interface. Could you explain the use case?

eadmaster commented 1 month ago

I meant serial/uart over usb like the flipperzero supports: https://www.reddit.com/r/flipperzero/comments/wepbbg/you_can_use_flipper_on_the_go_on_anroid_with/

mwarning commented 1 month ago

OK, but Trigger only allows "open", "close" and "ring" operations. This does not sound usefull at all for the FlipperZero.

eadmaster commented 1 month ago

see the commands you can send via the CLI for IR here: https://docs.flipper.net/development/cli/#FEjwz

you could use fixed args to turn appliances on and off

another example i've tested recently:

https://espeasy.readthedocs.io/en/latest/Plugin/P035.html#p035-page

eadmaster commented 3 weeks ago

just found this app that can do just that, and also supports intents for scripting: https://github.com/delletenebre/SerialManager2