[urlhttps://www.dropbox.com/s/7hth6wxh7vpiuul/piBeacon-f-1-18-1.zip?dl=1][/url]
you can request via menu/ action/ python script new BLE-connect or sensor data
1. menu pibeacon/ request new message/ select rPi and BLEconnect or sensors
2. action pbeacon/ request new message/elect rPi and BLEconnect or sensors
3. via script:
- Code: Select all
plug = indigo.server.getPlugin("com.karlwachs.piBeacon")
plug.executeAction("newMessage" ,
props={
"piServerNumber" :"0" # for pi # 0, .."9" and up to "19" for sensor rPis
,"typeId": "BLEconnect" # or "sensors"
}
)
"BLEconenct" will only send new data(message) when there is "up" data, not when the iPhone is down. reaction time ~ 1-5 seconds depending on how fast the iPhone answers.
"sensors" will send data for all sensor connected. reaction time ~ 1-2 seconds
time to go to bed
Karl