Closed freekeys closed 6 years ago
This error message tells you, that you're missing a ":" in line 12 of your config file.
Can you please check if this really is a valid yaml file? Or post it here so that we can have a look?
@freekeys looking at the template, I just notices there was one ":" too much in the example MAC address. But that should not have triggered the error message above...
Hello, thanks for the reply. I’m using exactly the template (with that MAC address typo fixed) and still getting the error... any idea what it is?
Would you mind sharing your config for me to try?
Hello, I’ve sorted this now, it was something to do with the way the text was copying over from GitHub..
Now that I have it set up I’m getting this error, could this just be that the sensors are out of range?
could not read data from xx:xx:xx:xx:xx:xx (PlantA) with reason:
Error from Bluetooth stack (comerr)
Could not get data from 2sensor(s): PlantA, PlantB.
commerr
looks weird, I haven't seen that issue.
Does your bluetooth dongle work properly? Do you see your sensors when you do a sudo hcitool -i hci0 lescan
? It should return something like this:
LE Scan ...
C4:7C:8D:xx:xx:xx Flower mate
C4:7C:8D:yy:yy:yy Flower care
Is and other application using your Bluetooth dongle?
Hi Christian, I’m using a Pi Zero so using the built in Bluetooth... nothing else is using it yet - am I missing some sort of setup for that do you think? I thought that would work out of the box..
Does this help? https://github.com/IanHarvey/bluepy/issues/22
@freekeys hmm, that seems to be an old bug ticket from a few years ago. I'm not sure what's causing this. I also have a Pi Zero W running plantgateway, there it's working fine.
Did you try the hcitool (see my last comment)?
closing old ticket...
Hi,
I’ve set this up on a RPi3 but am getting this error when I run it from terminal, even when my .plantgw.yaml file is just the template from the original repo.
Any thoughts? Thank you!