Very happy! Omega2p Reading tweets through Node-Red :-)
-
Ha,
Lazy Sunday? No such thing! Got Node-Red running great now on the Omega2+ reading tweets
-
For those interested here is the (simple) node-red flow, just using a template and exec node
-
Nice! I just got my NodeRed running as well, and am looking to try and get the output from the GPS Expansion to show on the OLED, but cannot, for the life of me, figure out how to get the GPS info formatted and into a variable or file for the oled to display. My coding expertise is pretty close to nil. I am trying to find some examples of these, but nothing is clicking yet.
You would not be able to put that up on Hackster.io or something like that?
-
Hi Brad,
Well just reading through: https://docs.onion.io/omega2-docs/using-gps-expansion.html#using-gps-expansion Reading through that it would be fairly simple to use an exec node for displaying the gps info as well. Luck has it I have a GPS expansion as well but was taking the one step at a time aproach so haven't even unpackaged it yet Let me give that a go and will let you know via this thread if I succeeded
Below are the contents of my Template and Exec nodes for your information so you might even get the gps info on the OLed before I do
Tweet Template Node:
Tweet Exec Node:
So I am basically just using the Template node to setup the command line for oled-exp commandline tool to write out to the Oled.
greetz,
Leo
-
@Brad-Buskey Darn seems my GPS Expansion is working just fine but can't for the life of it get a fix inside my house. Used extension cables and moved it close to windows etc etc no fix..
Will keep tryin Brad and there should be any reason you couldnt get the output of: ubus call gps info into Node-Red using an Exec node.
Give it a try Once I get a fix that will be route I will take unless someone comes up with a script library/api which is callable directly from Node-Red.
regards,
Leo
-
@Leo-de-Blaauw I got it. I will be putting the project up in a bit. Ended up cheating and using SH and Python.
-
@Brad-Buskey said in Very happy! Omega2p Reading tweets through Node-Red :
@Leo-de-Blaauw I got it. I will be putting the project up in a bit. Ended up cheating and using SH and Python.
Cool stuff !