• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AdHoc network with different senders
#4
My test-results:
Only one PI should be configured as a 433Mhz-sender. If you use 2 PIs, each with a 433Mhz-sender (one master, one slave configuration), then maybe some switch-commands will be working sometimes, sometimes not, due to interferences. You can observe the same behaviour, if you use 2 standard senders at the same time pushing the same code on each sender, because the receiver gets frames from 2 sources at the same time and runs therfore out-of-sync (it cannot interpret the codes).

Even if you use uuid in the config file, the master pilight will send the command to each slave (it's also the case when on the slave is no hardware present). I hope a new version will honor the uuid in the config-file also for 433-devices, so that the switch-command are only sent to the pi with the given uuid.

I had some connection problems with ad-hoc network. The slaves didn't connect to master in most cases (no ssdp connection). I think this was due to multicasting network.

With the following startup-procedure (in /etc/rc.local), i don't have any problems so far:
- master: service pilight restart
- slave(s): pilight-daemon -S <ip-of master> -P <ip-port of master, normally 5001>
One issue: Initially the master has to be started and running, before any slave is started. But after that, the slaves reconnect without any problems after stopping/starting the master again.

On my slaves: I have USB-webcams, DHT22-temperature-sensors..., and some scripts/programs to start/stop devices like Philips Hue...

I am very happy to say that pilight is a very good and clean installation. My only problem is the REST API. In the meantime I use standard pilight-send (what is not as elegant as http).
 
Reply
  


Messages In This Thread
RE: AdHoc network with different senders - by joho - 12-11-2015, 04:14 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Issue send actions over Socket API in AdHoc network ggtrts 10 1,924 03-13-2019, 06:32 AM
Last Post: curlymo
  AdHoc network with 2 Raspberry and 2 GPIO transmitter not working webdandy 29 9,646 09-06-2017, 02:39 PM
Last Post: wseifert
  BUG: BMP180 in AdHoc Network Alex 5 2,089 06-19-2016, 02:24 PM
Last Post: Alex
  cannot bind to the ssdp multicast network wo_rasp 1 3,231 09-22-2015, 12:10 PM
Last Post: curlymo
  Disable adhoc network? heikoh81 5 4,066 09-17-2015, 09:01 PM
Last Post: heikoh81
  Sending with 2 transmitters (AdHoc) tobid 11 5,743 08-23-2015, 05:12 PM
Last Post: curlymo
  AdHoc - Defining MainDaemon tobid 18 9,985 08-12-2015, 07:41 AM
Last Post: gregnau
  AdHoc bug with 3 or 4 raspberries causch 18 6,638 07-20-2015, 03:39 PM
Last Post: causch
Question More than one pilight-server in one network TiefDruckGebiet 1 2,110 02-25-2015, 09:47 AM
Last Post: pilino1234

Forum Jump:


Browsing: 1 Guest(s)