Ruuvi Tags

haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Ruuvi Tags

Post by haimoo112 »

Karl,
Got my first pi_0 up and running. I can set GPIO pins on/off - great. PI's Bluetooth sees my 2 Ruuv's ( another great Finnish gadget!),
but nothing appears in pibeacon folder neither does those units update to indigo. I have my mac address correct. Indigos plugin log don't report any errors.
Is that because I have the latest v 2xx software ? I do see my ruuvi's whit mac address in my iPhone.
Any Ideas?

// Jari

P.S I also noticed that many of my PSU's made pibeacon to report under voltage errors - so it should be stated to use only genuine RSPi psu's?
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Ruuvi Tags

Post by kw123 »

1 yes use good power supplies. under voltage is very bad for rpis ssd they die after some time.

2 did you set accept new beacons? In menu

Karl


Sent from my iPhone using Tapatalk
haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Re: Ruuvi Tags

Post by haimoo112 »

Yes, I am accepting new beacons, not rejecting any and I even got DS20 temp working yesterday. Started plain image and same thing no ruuvis visible.
// Jari
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

What gave you set accept new beacons to?
There are 2 options
- accept a certain type
- accept beacons w signal > x


Sent from my iPhone using Tapatalk
haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Re: Ruuvi Tags

Post by haimoo112 »

All Std Beacons Accepted
accept ALL (=signal)

also, only reboot time variable seems to update...
// Jari
Attachments
Screen Shot 2020-11-01 at 15.48.28.png
Screen Shot 2020-11-01 at 15.48.28.png (86.42 KiB) Viewed 4722 times
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

It is either or not or

You have set to accept only std ibeacons
That is a certain format of the payload

the ruuvitags do not send ibeacons packages
They send temp hum pressure acceleration and count as payload and that package is changing at every package

[edit] actually i am wrong, there is a bug..
Sent from my iPhone using Tapatalk
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

posted v .463. thats should fix it ..

was a string vs integer
the property as a string, the value from the beacon was an integer -66 > "-999" is apparently false
that happened after i moved get accept new beacons from config to menu.


Karl

ps it is not an either or it is an or if rssi > cut of or type is accepted
haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Re: Ruuvi Tags

Post by haimoo112 »

Great News,
I started to question myself:)
I installed new version, do I have to do something else - delete props?
it still shows 0 in indigo ( after 10 mins)
// Jari

I was just thinking could it be mac localisation: in scandinavia we use decimal comma and US uses decimal point.
So if thing is a string there is no problem, but if it was number converted to string it may cause problems.
I think that my locale in RPI is eu/gb and mac is Finnish?
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

Could you do
Open terminal
ssh pi@ipnumberofpi
cd pibeacon
tail -F /temp/messageSend

W capital F
After 2 minutes ctrl c

Then
cat parameters


Post the output. And blank your userid and password fields before posting.

Karl


Sent from my iPhone using Tapatalk
haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Re: Ruuvi Tags

Post by haimoo112 »

Looks like this:

pi@raspberrypi:~/pibeacon $ cat parameters
{
"BLEconnectMode": "commandLine",
"BLEconnectUseHCINo": "-1",
"BLEserial": "sequential",
"BeaconUseHCINo": "-1",
"GPIONumberAfterBoot1": "-1",
"GPIONumberAfterBoot2": "-1",
"GPIOTypeAfterBoot1": "off",
"GPIOTypeAfterBoot2": "off",
"GPIOpwm": "1",
"IPnumberOfRPI": "192.168.x.xxx”,
"IndigoOrSocket": "socket",
"acceptNewTagiBeacons": "ruuviTag",
"acceptNewiBeacons": 999,
"addNewOneWireSensors": "0",
"authentication": "digest",
"batteryUPSshutdownEnable": 0,
"clearHostsFile": "0",
"compressRPItoPlugin": 999999999,
"configured": "2020-11-02 15:02:41",
"debugRPI": 0,
"deltaChangedSensor": 5,
"distanceUnits": "1.0",
"enableMuxI2C": "0",
"enableRebootCheck": "restartLoop",
"enableiBeacons": "1",
"fanEnable": "-",
"fanGPIOPin": "-1",
"fanTempDevId": "0",
"fanTempOffAtTempValue": "4",
"fanTempOnAtTempValue": "40",
"ifNetworkChanges": "restartMaster",
"indigoInputPORT": 12087,
"ipOfServer": "192.168.x.xxx”,
"maxSizeOfLogfileOnRPI": 10000000,
"myPiNumber": "0",
"networkType": "fullIndigo",
"output": {
"OUTPUTgpio-1-ONoff": {
"17398118": [
{
"gpio": "21",
"initialValue": "-",
"outType": "0"
}
]
}
},
"passwordOfServer": “xxxxxxxxx”,
"portOfServer": "8176",
"pressureUnits": "mBar",
"rPiCommandPORT": "9999",
"rPiRestartCommand": "",
"rebootCommand": "sudo killall -9 python;sleep 6;sudo reboot now",
"rebootHour": 1,
"rebootIfNoMessagesSeconds": "99999999999999",
"rebootWatchDogTime": "-1",
"restartBLEifNoConnect": true,
"rpiDataAcquistionMethod": "hcidump",
"sendToIndigoSecs": 90,
"sensorList": "Wire18B20*1855860138*118,BLERuuviTag*715548911,BLERuuviTag*1577650504,",
"sensorRefreshSecs": 90.0,
"sensors": {
"BLERuuviTag": {
"1577650504": {
"isBLESensorDevice": true,
"mac": "db:ec:dc:59:b4:bd",
"minSendDelta": "4",
"offsetHum": "0",
"offsetPress": "0",
"offsetTemp": "0",
"type": "RuuviTag",
"updateIndigoDeltaAccelVector": "50",
"updateIndigoDeltaMaxXYZ": "50",
"updateIndigoDeltaTemp": "0.5",
"updateIndigoTiming": "60"
},
"715548911": {
"isBLESensorDevice": true,
"mac": "E3:EC:99:B6:D4:E6",
"minSendDelta": "4",
"offsetHum": "0",
"offsetPress": "0",
"offsetTemp": "0",
"type": "RuuviTag",
"updateIndigoDeltaAccelVector": "50",
"updateIndigoDeltaMaxXYZ": "50",
"updateIndigoDeltaTemp": "0.5",
"updateIndigoTiming": "60"
}
},
"Wire18B20": {
"1855860138": {
"displayEnable": "0",
"offsetHum": "0",
"offsetPress": "0",
"offsetTemp": "0",
"serialNumber": "28-3c01d6074729",
"useMuxChannel": "-1"
}
}
},
"shutDownPinEnable": 0,
"simpleBatteryBackupEnable": 0,
"sleepAfterBoot": "0",
"startWebServerINPUT": 0,
"startWebServerSTATUS": 0,
"startXonPi": "leaveAlone",
"tempUnits": "Celsius",
"timeStamp": "2020-11-02-15:02:41",
"timeZone": "2 /Europe/Helsinki",
"typeForPWM": "GPIO",
"useRTC": "0",
"useRamDiskForLogfiles": "0",
"userIdOfServer": “zzzzzzz”,
"wifiEth": {
"eth0": {
"on": "off",
"useIP": "doNotUse"
},
"wlan0": {
"on": "on",
"useIP": "use"
}
}
}pi@raspberrypi:~/pibeacon $

// Jari
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

and the

tail -F temp/messageSend

?
haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Re: Ruuvi Tags

Post by haimoo112 »

}pi@raspberrypi:~/pibeacon $ tail -F temp/messageSend
02-15:54:25 msg send --- Wire18B20: {"pi":"0","sensors":{"Wire18B20":{"1855860138":{"temp":[{"28-3c01d6074729":22.7}]}}},"program":"Wire18B20","ipAddress":"192.168.x.xxx”,”ts":{"tz":"EEST","time":1604325265.02}}
// Jari
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

I need several Minutes of tail -F


Sent from my iPhone using Tapatalk
haimoo112
Posts: 15
Joined: Sat Feb 16, 2019 10:04 am
Location: Haimoo, FINLAND

Re: Ruuvi Tags

Post by haimoo112 »

One more time: It lacks that directory?
pi@raspberrypi:~ $ cd pibeacon
pi@raspberrypi:~/pibeacon $ tail -F /temp/messageSend
tail: cannot open '/temp/messageSend' for reading: No such file or directory
WF
^C
pi@raspberrypi:~/pibeacon $ cat parameters
{
"BLEconnectMode": "commandLine",
"BLEconnectUseHCINo": "-1",
"BLEserial": "sequential",
"BeaconUseHCINo": "-1",
"GPIONumberAfterBoot1": "-1",
"GPIONumberAfterBoot2": "-1",
"GPIOTypeAfterBoot1": "off",
"GPIOTypeAfterBoot2": "off",
"GPIOpwm": "1",
"IPnumberOfRPI": "192.168.x.x",
"IndigoOrSocket": "socket",
"acceptNewTagiBeacons": "ruuviTag",
"acceptNewiBeacons": 999,
"addNewOneWireSensors": "0",
"authentication": "digest",
"batteryUPSshutdownEnable": 0,
"clearHostsFile": "0",
"compressRPItoPlugin": 999999999,
"configured": "2020-11-02 16:02:43",
"debugRPI": 0,
"deltaChangedSensor": 5,
"distanceUnits": "1.0",
"enableMuxI2C": "0",
"enableRebootCheck": "restartLoop",
"enableiBeacons": "1",
"fanEnable": "-",
"fanGPIOPin": "-1",
"fanTempDevId": "0",
"fanTempOffAtTempValue": "4",
"fanTempOnAtTempValue": "40",
"ifNetworkChanges": "restartMaster",
"indigoInputPORT": 12087,
"ipOfServer": "192.168.x.x",
"maxSizeOfLogfileOnRPI": 10000000,
"myPiNumber": "0",
"networkType": "fullIndigo",
"output": {
"OUTPUTgpio-1-ONoff": {
"17398118": [
{
"gpio": "21",
"initialValue": "-",
"outType": "0"
}
]
}
},
"passwordOfServer": "vvvvvvv",
"portOfServer": "8176",
"pressureUnits": "mBar",
"rPiCommandPORT": "9999",
"rPiRestartCommand": "",
"rebootCommand": "sudo killall -9 python;sleep 6;sudo reboot now",
"rebootHour": 1,
"rebootIfNoMessagesSeconds": "99999999999999",
"rebootWatchDogTime": "-1",
"restartBLEifNoConnect": true,
"rpiDataAcquistionMethod": "hcidump",
"sendToIndigoSecs": 90,
"sensorList": "Wire18B20*1855860138*118,BLERuuviTag*715548911,BLERuuviTag*1577650504,",
"sensorRefreshSecs": 90.0,
"sensors": {
"BLERuuviTag": {
"1577650504": {
"isBLESensorDevice": true,
"mac": "db:ec:dc:59:b4:bd",
"minSendDelta": "4",
"offsetHum": "0",
"offsetPress": "0",
"offsetTemp": "0",
"type": "RuuviTag",
"updateIndigoDeltaAccelVector": "50",
"updateIndigoDeltaMaxXYZ": "50",
"updateIndigoDeltaTemp": "0.5",
"updateIndigoTiming": "60"
},
"715548911": {
"isBLESensorDevice": true,
"mac": "E3:EC:99:B6:D4:E6",
"minSendDelta": "4",
"offsetHum": "0",
"offsetPress": "0",
"offsetTemp": "0",
"type": "RuuviTag",
"updateIndigoDeltaAccelVector": "50",
"updateIndigoDeltaMaxXYZ": "50",
"updateIndigoDeltaTemp": "0.5",
"updateIndigoTiming": "60"
}
},
"Wire18B20": {
"1855860138": {
"displayEnable": "0",
"offsetHum": "0",
"offsetPress": "0",
"offsetTemp": "0",
"serialNumber": "28-3c01d6074729",
"useMuxChannel": "-1"
}
}
},
"shutDownPinEnable": 0,
"simpleBatteryBackupEnable": 0,
"sleepAfterBoot": "0",
"startWebServerINPUT": 0,
"startWebServerSTATUS": 0,
"startXonPi": "leaveAlone",
"tempUnits": "Celsius",
"timeStamp": "2020-11-02-16:02:43",
"timeZone": "2 /Europe/Helsinki",
"typeForPWM": "GPIO",
"useRTC": "0",
"useRamDiskForLogfiles": "0",
"userIdOfServer": "cccccc",
"wifiEth": {
"eth0": {
"on": "off",
"useIP": "doNotUse"
},
"wlan0": {
"on": "on",
"useIP": "use"
}
}
}
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Ruuvi Tags

Post by kw123 »

tail -F temp/messgeSend
Not /temp...


Sent from my iPhone using Tapatalk
Post Reply

Return to “piBeacon”