-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reading tags from Daemon tcp://127.0.0.1:12345 Connection refused #2
Comments
The Plugin has a daemon which ist delivered together with the plugin. What happens of you start this command line by hand? (Usually you should have no prompt and the Port 12345 should be LISTEN.)
|
Ab Version 0.7 ist es möglich, den Dämon mit der folgenden Kommandozeile zu testen. |
Please send me the output of
|
Thanks for the fast response. I guess the device is not supported. Here is what I tried on the command Do you have any Idea? May an old libary? Br 2016-09-18 20:59 GMT+02:00 Wörsty notifications@github.com:
|
loxberry@loxberry:~ $ (echo "KEEPALIVE";sleep 1)|telnet localhost 12345 2016-09-18 21:19 GMT+02:00 Wörsty notifications@github.com:
|
What version of the LoxBerry is used? (because telnet is not installed) By the way you must be root to use I'm tired 😴 - cu tomorrow... |
I´m using the newest Version, downloaded today. root@loxberry:~# hciconfig hci0 up 2016-09-18 21:32 GMT+02:00 Wörsty notifications@github.com:
|
Mmmh. Seems incompatible. Can not yet tell you how to fix this. |
With the LogiLink BT0015 adapter it worked, but the service needs to be started manually after each boot. Nevertheless great job! |
Starts the script in background so it isn´t killed when the ssh session is closed! |
Usually the script is automatically started by the loxberry initscript. |
Yes, it was plugged in. Should I try to reinstall the plug-in? This is how I setup the Tag as virtual input [image: Inline-Bild 1] The scan is a virtual output triggered by a switch [image: Inline-Bild 2] [image: Inline-Bild 3] 2016-09-23 18:37 GMT+02:00 Wörsty notifications@github.com:
|
You are right, I had not yet time to describe the settings in the Loxone Config. You have to create a Virtual Input with BLE and the MAC. To trigger the sending, create an Virtual Output I trigger this Virtual Output using my motion detectors and the door contact. |
Not sure. Give it a try. |
Ok. The reinstallation fixed the issue with the automatic start. I´m on But my TAGs are still not updated in Loxone. I guess the command should Most likely the problem is caused by the two if-statements that are both Somehow only the last if-statement is executed, which just writes to the Where do I find the index.php in the filesystem? 2016-09-23 23:54 GMT+02:00 Wörsty notifications@github.com:
|
LoL sure ble_scanner of course. |
Ok, for debug reasons I added an output of the $LoxURL string (line 218) to 192.168.XXX.XXX:80/dev/sps/io/BLE_01_AC_78_E6_XX_XX/0 Probably the error is in line 166 2016-09-24 9:41 GMT+02:00 Wörsty notifications@github.com:
|
Have found the problem. Will release v0.8 with a fix soon. |
Solved with v0.8 6347e69 |
Thanks a lot, now it works! Great job. |
When searching for bluetooth tags the error message is shown: Error reading tags from Daemon tcp://127.0.0.1:12345 Connection refused
When using the link: http://loxberry/plugins/ble_scanner/?mode=normal
the following error message is shown:
{"error":"Error reading tags from Daemon tcp://127.0.0.1:12345","result":"Connection refused"}
In the boot screen I can see that the bluetooth stick is recognized. I´m using a rasperry 2.
The text was updated successfully, but these errors were encountered: