pi to pi data - Raspberry Pi Forums
hi,
have 2 pi's (or more) , want transfer data via wi-fi. nothing complicated word, number or temperature.
example, pi @ side of house , pi b @ of house. if pi senses movement via pir sends 'signal' pi b start recording 1 minute video.
possible solutions i've thought about!! shared file on network pi changes contents "record" , pi b keeps checking change in wording. not best solution there lot of disk access. or same idea network memory location on pi b ?
more easy ideas?
have 2 pi's (or more) , want transfer data via wi-fi. nothing complicated word, number or temperature.
example, pi @ side of house , pi b @ of house. if pi senses movement via pir sends 'signal' pi b start recording 1 minute video.
possible solutions i've thought about!! shared file on network pi changes contents "record" , pi b keeps checking change in wording. not best solution there lot of disk access. or same idea network memory location on pi b ?
more easy ideas?
you set simple network listener on tcp or udp port , have wait specific input.
set client send or broadcast message.
it's easier sounds. simple in python. i've done similar thing in c (and don't know c) 1 pi monitoring doorbell button , broadcasts "dingdong" across lan. various other linux systems listening , play audio file when receive it, can hear doorbell room in house. later hook camera takes picture of caller @ same time , can decide whether in or not
alternative, bit heavier, have web server running on pi b , pi sends request web page when event happens. pi b run php code associated web page parameters given.
there mqqt don't know about, seems on complicated simple message passing system.
set client send or broadcast message.
it's easier sounds. simple in python. i've done similar thing in c (and don't know c) 1 pi monitoring doorbell button , broadcasts "dingdong" across lan. various other linux systems listening , play audio file when receive it, can hear doorbell room in house. later hook camera takes picture of caller @ same time , can decide whether in or not

alternative, bit heavier, have web server running on pi b , pi sends request web page when event happens. pi b run php code associated web page parameters given.
there mqqt don't know about, seems on complicated simple message passing system.
raspberrypi
Comments
Post a Comment