Newbie looking for guidance

Well the pilight documentation would be a good place to start :wink:

But to send a command use ā€¦

pilight-send -p kaku_switch_old -u 1 -i 5 -t -S 192.168.1.7 -P 5000
where -p is the protocol -u is the unit code -i is the id code -t means turn on (-f is turn off) -S is the server addr (usually the PI ip addr) -P is the port

and

pilight-receive -S 192.168.1.7 -P 5000
does what is says on the tinā€¦

Thanks for the note. I did read through the wiki, I guess I am just confused on how things work.

If I only want to receive signals, then I dont need to use the pilight-send command, right?

Also, it seems that the daemon isnt running on my installation of archlinuxā€¦not sure why, I will have to investigate a bit more.

Not really pilight-receive is only used to get the data to put in the json config file and to use as a quick way of seeing whats being received. So you only have remotes and sensors? No switches/lights?

The pilight-send command is very useful for testing your switches and lights.

Useful commandsā€¦

pilight-daemon -D in the terminal to spot config issues

To Edit pilight config
sudo nano /etc/pilight/config.json

To manually start pilight
sudo pilight-daemon -S 192.168.1.7 -P 5000

And to stop/restart pilight
sudo service pilight stop
sudo service pilight restart

Thanks Keithh666

looks like the daemon has some issues. Here is what I see, I am searching online for a solution.

Looks like my kernel may be to blame:

Linux alarmpi 4.9.30-1-ARCH #1 SMP Sat May 27 02:06:28 UTC 2017 armv6l GNU/Linux

Yep I had the same problem and had to downgrade the kernel.

OK I have debian jessie installed an I can confirm that the following example works:

https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=82906
(I hooked up one of my senders to test)

So now I realize that what I have been wanting to do is communicate between an arduino running virtualwire and the raspberrypi running pilight. I have posted in the pilight forum in hopes of getting help:

Why do you need an Arduino at all, is it that you already have PIR sensors that are not 433Mhz but are connected to your Arduino? Why not buy 433Mhz PIR/Temp sensors etc.

Yes you guess correctly. my PIR sensors are literally just the PIR part, and the RF are the modules I linked above.

You do make a good point though, I certainly could purchase a couple of PIR sensors with 433mHz built in.

Home Assistant Question:
Its possible to setup a second raspberry Pi#1 as a nodeā€¦correct? Example: I hook up the PIR and 433mHz transmitter to Pi#1, then use Pi#2 as the gateway/host?

That would seem overkill to me and quite expensive, wouldnā€™t you need a PI for every PIR. If I get what you are trying to do it amounts to a PIR attached to a PI and then sending data via 433 to the HA PI thatā€™s elsewhere?

If I was going the DIY route Iā€™d use a

Wemos D1 Mini (https://www.aliexpress.com/item/ESP8266-ESP12-ESP-12-WeMos-D1-Mini-WIFI-Dev-Kit-Development-Board-NodeMCU-Lua/32653918483.html)

a PIR (https://www.aliexpress.com/item/New-Arrival-Mini-IR-Pyroelectric-Infrared-PIR-Motion-Human-Sensor-Automatic-Detector-Module-high-reliability-12mm/32749804501.html?spm=2114.13010608.0.0.kT6GvF)

and MQTT to the HA PI