Sending commands to Raspberry PI on the same LAN via Indigo

Posted on
Tue Feb 12, 2019 1:21 pm
mollynittany offline
Posts: 6
Joined: Mar 30, 2017

Sending commands to Raspberry PI on the same LAN via Indigo

Using latest Indigo version. Want to send various commands to a Raspberry Pi v3, via actions / action groups. RPi is on the same LAN as the Indigo server (v 7.x)

Any suggestions? Sorry if a stupid / noob question.

Thanks,

Posted on
Tue Feb 12, 2019 1:51 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Sending commands to Raspberry PI on the same LAN via Indigo

Are u using pibeacon?

It comes build in with that function

Otherwise you will need to program yourself


Sent from my iPhone using Tapatalk
Last edited by kw123 on Tue Feb 12, 2019 2:13 pm, edited 1 time in total.

Posted on
Tue Feb 12, 2019 2:00 pm
mollynittany offline
Posts: 6
Joined: Mar 30, 2017

Re: Sending commands to Raspberry PI on the same LAN via In

No, I want to login into the PI and send commands via the CLI to tell it to send commands to a bluetooth receiver, not a beacon, that is nearby.

Posted on
Tue Feb 12, 2019 2:01 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: Sending commands to Raspberry PI on the same LAN via In

Yes pibeacon can do that
Can send any command to an rpi


Sent from my iPhone using Tapatalk

Posted on
Tue Feb 12, 2019 2:08 pm
mollynittany offline
Posts: 6
Joined: Mar 30, 2017

Re: Sending commands to Raspberry PI on the same LAN via In

Thanks, I'll give it a try.

Posted on
Tue Feb 12, 2019 2:10 pm
jay (support) offline
Site Admin
User avatar
Posts: 18212
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Sending commands to Raspberry PI on the same LAN via In

kw123 wrote:
Otherwise you will tomptogrM yourself


:?: :?: :lol:

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Feb 12, 2019 2:13 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: Sending commands to Raspberry PI on the same LAN via In

I hate auto spell checker


Sent from my iPhone using Tapatalk

Posted on
Sun May 24, 2020 7:35 pm
rustyhodge offline
Posts: 54
Joined: Nov 11, 2016

Re: Sending commands to Raspberry PI on the same LAN via In

I'm late to the game here, but you could use SSH, with a ssh key created without a passphrase, then you can just ssh pi@x.x.x.x command option etc

to generate a key on the Mac, go into terminal and:

sshkeygen -t rsa -b 2048

hit return to accept all the defaults.

Then copy the contents of the id_rsa.pub file to the pi's .ssh/ directory in a file called authorized_keys and you can connect without a password.

You'll possibly need to create the .ssh directory in your home on the Rpi.

If it doesn't work then the permissions on the file or the .ssh directory are wrong.

Sometimes I shortcut by creating a ssh key on the Pi as well, which will create a directory with the proper permissions.

Posted on
Mon Jul 20, 2020 3:42 pm
mundmc offline
User avatar
Posts: 1060
Joined: Sep 14, 2012

Re: Sending commands to Raspberry PI on the same LAN via In

rustyhodge wrote:
I'm late to the game here, but you could use SSH, with a ssh key created without a passphrase, then you can just ssh pi@x.x.x.x command option etc

to generate a key on the Mac, go into terminal and:

sshkeygen -t rsa -b 2048

hit return to accept all the defaults.

Then copy the contents of the id_rsa.pub file to the pi's .ssh/ directory in a file called authorized_keys and you can connect without a password.

You'll possibly need to create the .ssh directory in your home on the Rpi.

If it doesn't work then the permissions on the file or the .ssh directory are wrong.

Sometimes I shortcut by creating a ssh key on the Pi as well, which will create a directory with the proper permissions.
This was exactly what worked for me. Hardest part was learning about keys.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest