Waboodoo / HTTP-Shortcuts

Android app to create home screen shortcuts that trigger arbitrary HTTP requests
https://http-shortcuts.rmy.ch
MIT License
1.09k stars 109 forks source link

mqtt-shortcuts as a feature? #441

Open ouinouin opened 1 month ago

ouinouin commented 1 month ago

hi, first thanks for http-shortcuts , i use this daily with tasmota. i keep on looking everywhere to have something equivalent on mqtt, while being open-source. i just saw that you have an mqtt implementation to do actions on pre or post execution. would it take much effort to make mqtt:// requestd first class citizen on your software (equal to http:// posts) ? i m interrested by that, and ready to financially participate, i feel opensource android mqtt software is really lacking to create shortcuts or dashboards.

Waboodoo commented 1 month ago

I see where you're coming from, and I have considered this before. It would be a rather big change, though, and it would open the door for other types of shortcuts with different network protocols and capabilities (e.g. TCP, UDP, SSH, FTP, ...), thereby further generalizing the app and moving it away from its original goal and vision. At that point, I would essentially also need to rebrand it, as it would no longer just be about HTTP. That is why I'm a bit hesitant to move in this direction. I'm not opposed to it and I could see how the app goes there eventually, but given how much effort it would be and how little time I can dedicate to this project currently, I don't think this will happen anytime soon. For the time being, you'd have to make due with creating Scripting shortcuts and using the sendMQTTMessages function.

ouinouin commented 1 month ago

hi, thanks for clear answer, your vision goes even further than mine with things like ssh... at least i have a name for your soft in case you extends capabilities : anycuts :-) . for now , i tried to use the svripting method that works well, you just have to have something serving http around and answering for the script to then launch a mqtt query. a bit hacky but opensource :-). if financial contribution is a thing to implement some mqqt stuff, id be happy to contribute.