I am working on something!

FrameXX

Well-known member
So I saw a macro of guy in MD template store that made a simple website to control MacroDroid. I thought it was a good idea and althought I don't have much experience with programming yet I already adopted well the html css and javascript trio so I gave it a try.

Currently it's far from done (and it will take long time till it's done), but I am planning few cool features (if I will ever done it).

The main feature is the ability to get responses from MacroDroid back on website. I am working on static html website so it does not support receiving POST requests or handling them or whatsoever, but I use ntfy as a proxy between MacroDroid and my websites which fetches the ntfy every 4 seconds to check for response. It's little slower, but still very weel working.

Here's the website in it's current state (you can also download companion macro from there). I would be glad for ANY kind of feedback although I understand the site currently isn't much attractive as it only allows to manage devices.

 

Endercraft

Moderator (& bug finder :D)
So I saw a macro of guy in MD template store that made a simple website to control MacroDroid. I thought it was a good idea and althought I don't have much experience with programming yet I already adopted well the html css and javascript trio so I gave it a try.

Currently it's far from done (and it will take long time till it's done), but I am planning few cool features (if I will ever done it).

The main feature is the ability to get responses from MacroDroid back on website. I am working on static html website so it does not support receiving POST requests or handling them or whatsoever, but I use ntfy as a proxy between MacroDroid and my websites which fetches the ntfy every 4 seconds to check for response. It's little slower, but still very weel working.

Here's the website in it's current state (you can also download companion macro from there). I would be glad for ANY kind of feedback although I understand the site currently isn't much attractive as it only allows to manage devices.

I tested it, and the website looks great ! But I can't configure any quick actions...
A suggestion, be able to directly send webhooks through the website. I have different webhooks links to do different things but the thing is that it's not easy to manually change the variables in the urls.
For now without taking in count the quick actions I would rate the website a 7 out of 10. The UI can be improved and you could add languages ; if you need help for languages you can add something like Macrodroid translations on Onesky. But even if it can be improved, it's a great project that I would like to see the day(English..?).
 

Endercraft

Moderator (& bug finder :D)
Also clicking the request sent to 'device name' and got response from device 'device name' will show "undefined" and will disappear very shortly after.
 

FrameXX

Well-known member
@Endercraft As I stated the website is far from done in current state and I added the buttons for action types just today. Sorry if this is disappointing. Thank you for your feedback. Make the website multi language is a good point however that would mean a separate html file for every language and if I make some change the change needs to apply to every of that html file. This is surely possible, but I don't have any experiences with it and currently I am just focusing on making the website to work.

About your bug report the pop up messages that appear on top of the screen are just informational and if you click them they hide themselves. I made it so, that if the message obscures part of website and is annoying you can quickly hide it by tapping on it. I fixed the bug with showing the "undefined" text.
 

Qarboz

Well-known member
So I saw a macro of guy in MD template store that made a simple website to control MacroDroid. I thought it was a good idea and althought I don't have much experience with programming yet I already adopted well the html css and javascript trio so I gave it a try.

Currently it's far from done (and it will take long time till it's done), but I am planning few cool features (if I will ever done it).

The main feature is the ability to get responses from MacroDroid back on website. I am working on static html website so it does not support receiving POST requests or handling them or whatsoever, but I use ntfy as a proxy between MacroDroid and my websites which fetches the ntfy every 4 seconds to check for response. It's little slower, but still very weel working.

Here's the website in it's current state (you can also download companion macro from there). I would be glad for ANY kind of feedback although I understand the site currently isn't much attractive as it only allows to manage devices.

Compliments, a good idea ;)

I report a little "bug"
In the page "Add MDRC companion macro to your macro list." the macro id is missing, it says "id=xxxxxx"
 

FrameXX

Well-known member
In the page "Add MDRC companion macro to your macro list." the macro id is missing, it says "id=xxxxxx"
The macro currently isn't uploaded to MacroDroid template store, so I don't know it's id and used xxxxx as a placeholder. Once I upload the companion macro I will correct the id.
 

Endercraft

Moderator (& bug finder :D)
So I saw a macro of guy in MD template store that made a simple website to control MacroDroid. I thought it was a good idea and althought I don't have much experience with programming yet I already adopted well the html css and javascript trio so I gave it a try.

Currently it's far from done (and it will take long time till it's done), but I am planning few cool features (if I will ever done it).

The main feature is the ability to get responses from MacroDroid back on website. I am working on static html website so it does not support receiving POST requests or handling them or whatsoever, but I use ntfy as a proxy between MacroDroid and my websites which fetches the ntfy every 4 seconds to check for response. It's little slower, but still very weel working.

Here's the website in it's current state (you can also download companion macro from there). I would be glad for ANY kind of feedback although I understand the site currently isn't much attractive as it only allows to manage devices.

I went back to the website to check, and I got saved by an ad 😂
IMG_20220920_201133.jpg
 

FrameXX

Well-known member
I went back to the website to check, and I got saved by an ad 😂
View attachment 3426

To be honest, I am currently not working on the website. If I ever was about to continue I would propably start from scretch or make some huge redone in the background. I am learning with every thing I make. The website might look clean on top, but the code in the background is sometimes messy and unordered and the codenames aren't logical and operations too. I am just not happy with what I did and I recently took some experiences from the book called Clean Code. The code might work now, but as I would add on more and more features it would be hard to maintain and work with.

Also I attend school which sucks a lot of my time, so that's also a thing.

I am sorry for disappointment. Here you can try little game I made meanwhile: http://jirkakral978.sweb.cz/2n.html
 
Top