Hi Karl,
Have one rPi up and running since august and it's really reliable, I had some difficulties setting it up
Now It's time to expand with a few more rPi with a few sensors. But it seems i stumble into some problems with these aswell.
SSD img from 2016-11-22
Install works great, I'm connecting wifi, setting timezone, expand an PW (also wifi region, but not much more)
Then into the plugin and trying to setup pi servers with IP. ( I know I skip one step in your guide, connecting with ethernet but since wifi works??)
- Code: Select all
23:53:14 -pi= 1
23:53:14 -valuesDict= UiValuesDict : (dict)
MSG : Pi server configuration set (string)
beaconOrSensor : iBeacon rPi (string)
confirmPiServer : (string)
confirmPiServerConfig : (string)
enablePiEntries : false (bool)
enableRebootCheck : restartLoop,- (string)
infoLabel11 : (string)
ipNumberPi : 192.168.1.21 (string)
passwordPi : uioasx123 (string)
piOnOff : 1 (string)
piServerNumber : 1 (string)
rPiVersion : 0 (string)
userIdPi : pi (string)
23:53:14 -RPI= {u'ipNumberPiSendTo': u'192.168.1.21', u'sensorRefreshSecs': u'90.0', u'enableSPIpinsAsGpio': u'0', u'sensorList': '', u'ipNumberPi': u'192.168.1.21', u'piUpToDate': 0, u'piDevId': 0, u'piNumberReceived': u'', u'enableTXpinsAsGpio': u'0', u'output': {}, u'rPiVersion': 0, u'piOnOff': u'1', u'enableRebootCheck': u'restartLoop,-', u'passwordPi': u'uioasx123', u'input': {}, u'enableiBeacons': u'1', u'userIdPi': u'pi', u'piMAC': u''}
the trying to send config to rPi server
- Code: Select all
00:05:10 -updating pi server config for # 1
00:05:10 - ping return-code: 0
00:05:10 -updating pi server config for # 1 executing
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/update.exp' pi uioasx123 192.168.1.21 1 /Users/Anders/documents/piBeacon/ '/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/pi' 15
00:05:16 -setup Pi ok:
spawn sftp -o ConnectTimeout=15 pi@192.168.1.21
pi@192.168.1.21's password:
Connected to 192.168.1.21.
sftp> mkdir /home/pi/pibeacon
Couldn't create directory: Failure
sftp> mkdir /home/pi/pibeacon/fonts
Couldn't create directory: Failure
sftp> mkdir /home/pi/pibeacon/displayfiles
Coul
....
sftp> sftp> lcd '/Users/Anders/documents/piBeacon//rejected'
get /home/pi/pibeacon/rejects 'rejects.1'
sftp> File "/home/pi/pibeacon/rejects" not found.
sftp> rm /home/pi/pibeacon/reject*
Removing /home/pi/pibeacon/reject*
Couldn't delete file: No such file or directory
sftp> quit
But there it stops, after waiting and restarting i still don't get any new rPi, what I'm missing?
it's trying to communicate
- Code: Select all
WebServer access denied "http://192.168.1.10:8176/variables/pi_IN_12" from karlwachs @ 192.168.1.21
Looking at the logs i found some other info
- Code: Select all
00:05:04 -pi server # 1 ip# 192.168.1.21 has not send a message in the last 1480201504 seconds
00:05:08 -rPi sendConfig Files to pi 1
00:05:09 -updating pi server files
00:05:09 -in Line '6562' has error=''key not found in database''
00:05:09 -RPI:1 devid:address : B8:27:EB:8B:D5:61
The thing is that this touches another problem I have.
The device:address isn't correct - that's the same address the plugin have on rpi 0 which isn't correct either, that is (I think) eth mac on rpi0.
- Code: Select all
23:43:03 pi configuration-Parameters for each rPi
23:43:04 pi configuration- # R# 0/1 IP# Vers beacon-MAC indigoName Pos X,Y,Z indigoID UserID Password If-rPI-Hangs SensorAttached
23:43:04 pi configuration- 0 0 1 192.168.1.20 2,3,0 B8:27:EB:8B:D5:61 Pi-0-Entry ,, 842603009 pi uioasx123 restartLoop,-
23:43:04 pi configuration-
23:43:04 pi configuration-EXPERT parameters for each PI:----------
23:43:04 pi configuration-delete History after xSecs 86400
23:43:04 pi configuration-MaxCall BLE bfsend 900
23:43:04 pi configuration-Max Parse Seconds 1.0
23:43:04 pi configuration-ask BLE for x Msgs 20
23:43:04 pi configuration-colct x secs bf snd 60
23:43:04 pi configuration-reboot pi after xSecs 9999999999999
23:43:04 pi configuration-port# on rPi 4 GPIO commands 9999
23:43:04 pi configuration-
23:43:04 pi configuration-# defined beacons-------------
23:43:04 pi configuration-# Beacon MAC indigoName Status type txMin ignore sigDlt b-lvl LastUp[s] ExpTime updDelay created
23:43:04 pi configuration-1 00:EA:23:41:A4:84 b-GreenXY up other 999 0 999 100 136 90 0 2016-08-10 22:10:36
23:43:04 pi configuration-2 00:EA:23:28:AC:A4 b-BlackXY up other 999 0 999 100 136 90 0 2016-08-10 22:10:36
23:43:04 pi configuration-1 B8:27:EB:8B:D5:61 Pi-0-Entry up rPi 999 0 999 100 136 90 300 2016-08-10 22:10:36
23:43:04 pi configuration-1 00:EA:23:40:9D:74 b-WhiteXY expired other 999 0 999 100 43659 90 0 2016-08-10 22:10:36
23:43:04 pi configuration----------------------- Parameters END ----------------------
23:43:04 - path to plugin: /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/
23:43:04 -starting device: b-BlackXY 130232609
23:43:04 -starting device: b-GreenXY 1859901461
23:43:04 -starting device: b-WhiteXY 241852119
23:43:04 -starting device: Pi-0-Entry 842603009
23:43:04 -changed=true or force 00:EA:23:40:9D:74 expired
23:43:04 -changed=true or force 00:EA:23:41:A4:84 down
23:43:04 -changed=true or force B8:27:EB:8B:D5:61 down
23:43:04 -changed=true or force 00:EA:23:28:AC:A4 down
23:43:04 -updating pi server files
23:43:04 -in Line '6562' has error=''key not found in database''
23:43:04 -RPI:1 devid:address : B8:27:EB:8B:D5:61