Closed murmelbahn closed 5 years ago
Is some other process using the Bluetooth dongle? Does it work, if you move the Miflora sensor closer to Bluetooth dongle? You can try setting the logging to debug, maybe this will give a hint on what's going on.
Am Di., 6. Aug. 2019 um 08:48 Uhr schrieb murmelbahn < notifications@github.com>:
Hi,
I try to get this working on a raspberry pi 3. When i run plantgateway I get the following error:
could not read data from 11:22:33:44:55:66 (bla) with reason: [Errno 111] Connection refused
At first i was thinking it is a permission error but when i run it as root i got the same error. Im using the correct bluetooth device and the mac adress is also fine. Can you give me a hint?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChristianKuehnel/plantgateway/issues/36?email_source=notifications&email_token=AEYJMCDQHHUWUSCF75JXJZLQDENCXA5CNFSM4IJTBRY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDRP7OA, or mute the thread https://github.com/notifications/unsubscribe-auth/AEYJMCG3NRZ7I4BS3VGZWTLQDENCXANCNFSM4IJTBRYQ .
Hi Christian,
I‘ve attached a debug log. I‘ve commented out the debug entry hopefully it is now a debug log.
I don‘t think another process is using the bluetooth device, I can run a scan without issues. The Pi is a fresh install, the only things I installed are the one from the readme.
The error is coming from the MQTT library, not from the Bluetooth library. So can you check, if the address/username/password for the MQTT server are correct?
Am Di., 6. Aug. 2019 um 10:20 Uhr schrieb murmelbahn < notifications@github.com>:
Hi Christian,
I‘ve attached a debug log. I‘ve commented out the debug entry hopefully it is now a debug log.
I don‘t think another process is using the bluetooth device, I can run a scan without issues. The Pi is a fresh install, the only things I installed are the one from the readme.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ChristianKuehnel/plantgateway/issues/36?email_source=notifications&email_token=AEYJMCCZGF6FMWZJBJGNIDDQDEX6BA5CNFSM4IJTBRY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UKROA#issuecomment-518564024, or mute the thread https://github.com/notifications/unsubscribe-auth/AEYJMCCHA47BMMVEHL32MLTQDEX6BANCNFSM4IJTBRYQ .
You was right. I have to change the port to 1883 instead of 8883. Hass.io was using this port. Thanks for your help.
Hi,
I try to get this working on a raspberry pi 3. When i run plantgateway I get the following error:
could not read data from 11:22:33:44:55:66 (bla) with reason: [Errno 111] Connection refused
At first i was thinking it is a permission error but when i run it as root i got the same error. Im using the correct bluetooth device and the mac adress is also fine. Can you give me a hint?
Edit: Here is the debug log: