apart from the less than stellar sensor access, I ran this on a sony xperia xz premium and nodes installed just as quick as a raspberry pi, not to mention I had 100hz IMU data going through it with no lag. Not sure why its so slow on your end, it seems unreasonable even if the phone isn't top end
@AnotherMaker4 жыл бұрын
That phone was old and this was about a year ago, so I'm sure things have improved a bit.
@diegoteceletro4 жыл бұрын
man, you helped me so much. thank you!
@AnotherMaker4 жыл бұрын
Happy to help! Thanks for watching!
@ashishplatinum4 жыл бұрын
Hi, thanks for putting up your experience. One specific question regarding the phone sensors access. Did you find any of the two approaches - the app versus native install better in terms of response times and jitter from fast sensors like acceelerometer?
@AnotherMaker4 жыл бұрын
That's a really good question. I don't think I noticed any difference. Since neither approach uses root access, I would expect them to be pretty much the same.
@ashishplatinum4 жыл бұрын
@@AnotherMaker thanks ! I am building a project to use the phone as a gateway, to fetch readings from BLE sensors, so far haven't found a way. I tried installing BTLEWRAP and Bluez package but didnt work. Ever tried ?
@cardansan5 жыл бұрын
Hi, if you try the command for the camera from the exec node as they tell you a the API page it does the photo and you can find it at *cd* from Termux, although I haven't figured out yet how to display it.
@AnotherMaker5 жыл бұрын
Ohhhhh. Very cool. Thanks for sharing. I will give it a shot. It's kind of funny as a software developer exec is generally one of the most dangerous commands you can use and people try to avoid it at all costs
@cardansan5 жыл бұрын
@@AnotherMaker Sure, pal. That's funny, I've had to use it multiple times to acces specific things on Raspberrys but maybe since I always have backups of the images on PC or the flows with Projects I've lost the fear of it, plus I read they had used only exec nodes prior to the Termux API ones because they were made afterwards or something, and assumed it was safe.
@AnotherMaker5 жыл бұрын
@@cardansan Interesting. Yeah. In general I believe exec allows you to directly run commands at the permission level of the application. So that's why people freak if you do sudo node-red instead of node-red because of the vulnerabilities, etc. I use it from time to time though.
@milian59344 жыл бұрын
Very cool, I just bought the Loomo Segway, I would love to use Node Red to code it since it is Android base. Is there a place where I can learn how to add their SDK to Node Red? It will be great to have their SDK as nodes.
@AnotherMaker4 жыл бұрын
I'm not sure off the top of my head, but I'm working on that sort of thing. Currently turning a motorized wheelchair into a robot.
@ajaykattige57553 жыл бұрын
You can find the IP address of the phone by going to Settings -> About phone -> Status.
@AnotherMaker3 жыл бұрын
Good call! Thanks!
@squalazzo5 жыл бұрын
with Peter Scargill we adapted his script to run on a smartphone a couple of years ago, all details in next comment :)
@squalazzo5 жыл бұрын
tech.scargill.net/android-phone-as-a-server/
@AnotherMaker5 жыл бұрын
That is fantastic. I can't wait to check it out
@squalazzo5 жыл бұрын
@@AnotherMaker it was not updated since then, so don't know if that still works
@AnotherMaker5 жыл бұрын
@@squalazzo I'll give it a shot!
@cristimihai84725 жыл бұрын
How do i secure it?
@AnotherMaker5 жыл бұрын
The termux version should secure like any other NR install. nodered.org/docs/user-guide/runtime/securing-node-red
@testuser27092 жыл бұрын
Termux is proot - it’s always going to be slower than native