posted v 7-60-103
added/fixed:
- log files are now in the system ram disk /run/user/1000/pibeacon/" -- created by op-sys automatically. No need for enabling ram disk for log files anymore. You can still use a ram disk for var/log/ for the system log files if you like.
sensor i2c OPT3001 works well now. It delivers visible light Lux 0.1 .. 85k Lux equivalent to the human eye. works very well, highly recommended. ( it had the high and low byte flipped.. took me some time to figure that out)
sensor i2c LSM 303 magnetic direction and acceleration works fine now.
Both can be bought on eBay for a few $. Amazon cost 2-3 times as much
added some functionality to PULSE input.
- now we have simple CONT of pulses and BURSTS They both can be tuned:
count: min time delta between pulse, ignore frequent up/down/up if you have a non 100% digital signal (typical range: 0.01secs ...1 sec)
Burst min time delta between pulses and min pulses in timewindow to make a burst event, e.g. min tim delta = 0.05 secs and min # of pulses=5 in 3 seconds. would get suppress any one off pulses and also some flicking of sensor.
- in addition burst can initiate a local action on the RPI directly w/o going back to indigo, like other GPIO input sensors.
This works extremely well with a microwave motion sensor. It is insensitive to light or temperature. very fast, little noise or wrong positives. range some meters .. 12 meters depending on sensorr and settings. both together (PULEs sensor in burst mode) gives a very good motion sensor.
A new SSD image is posted: v 2017-06-7. This supports also the rPi zeroW. ;pi zero with wifi and BLE on board and has the latest program versions already installed.
Karl
will post some more details on all the sensors in the coming days ..