When I SSH to these pPi's and type the corresponding command that relates to the mac address of my phone:
- Code: Select all
sudo hcitool cc 38:C9:86:DA:34:4C && hcitool rssi 38:C9:86:DA:34:4C
I get an expected result, e.g. RSSI return value: -21
Everything working so far.
However, I'm unable to kick-off the piBeacon plugin from instigating this command by selecting the option: Request new data from rPi
This fails on all 3 rPi's in that nothing gets updated even though I put devices right next to the rPi's as a test. However, rPi's do detect these devices normally through the loop cycle.
I have also tried the following code which runs without error but fails to do anything:
- Code: Select all
plug = indigo.server.getPlugin("com.karlwachs.piBeacon")
plug.executeAction("newMessage" ,
props={
"piServerNumber" :"1"
,"typeId": "BLEconnect"
}
)
Please help