Ruuvi Tags

Posted on
Sat Oct 31, 2020 9:17 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Ruuvi Tags

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?

Posted on
Sat Oct 31, 2020 7:43 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Ruuvi Tags

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

Posted on
Sun Nov 01, 2020 2:44 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Re: Ruuvi Tags

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

Posted on
Sun Nov 01, 2020 7:22 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

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

Posted on
Sun Nov 01, 2020 7:55 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Re: Ruuvi Tags

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 3752 times

Posted on
Sun Nov 01, 2020 8:58 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

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

Posted on
Sun Nov 01, 2020 12:34 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

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

Posted on
Mon Nov 02, 2020 2:52 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Re: Ruuvi Tags

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?

Posted on
Mon Nov 02, 2020 5:25 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

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

Posted on
Mon Nov 02, 2020 7:34 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Re: Ruuvi Tags

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

Posted on
Mon Nov 02, 2020 7:37 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

and the

tail -F temp/messageSend

?

Posted on
Mon Nov 02, 2020 7:56 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Re: Ruuvi Tags

}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

Posted on
Mon Nov 02, 2020 8:02 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

I need several Minutes of tail -F


Sent from my iPhone using Tapatalk

Posted on
Mon Nov 02, 2020 8:12 am
haimoo112 offline
Posts: 15
Joined: Feb 16, 2019
Location: Haimoo, FINLAND

Re: Ruuvi Tags

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"
}
}
}

Posted on
Mon Nov 02, 2020 8:13 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Ruuvi Tags

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


Sent from my iPhone using Tapatalk

Who is online

Users browsing this forum: No registered users and 9 guests

cron