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
radar 2.0 crashes #35
Comments
same problem here after update node.js to 12.16.3 and npm to 6.14.4 |
As listed in readme, you need to rerun the scripts after updating node or even after updating system with some new versions of BT or other drivers because the new versions do not have authority! |
what do you mean with rerun scripts? |
In the readme of the adapter you find installation section where you are asked to do this: and below need to be run whenever you update nodejs!sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f You need to rerun the commands below the second line! |
Hi Frank, ok. I'll try this. Thanks!! thank you in advance best regards |
I tested this on one of my VMs without BT and it works if you switch noble off (use hcitool instead of noble) for me. Did you test this? |
Hi, it works both (without bluetooth and after nodejs update). Thank you very much!! best regards |
Hi, First I copied the above setcap lines but there were some missing " ' ". Then I switched from noble to hcitool in the radar2 config and now radar2 works fine. My BananaPI M3 has BT onboard, but this BT is not supported with raspbian on the bananapi. Thanks for your help |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. |
radar 2.0 does not work any more. It becomes shortly green, then it went to red.
There are some debug messages von radar 2.0
Thanks for your help
adar2.0 2020-02-23 14:19:27.010 info (17800) radar2 set to scan every 20 seconds and printers every 720 minutes.
radar2.0 2020-02-23 14:19:27.008 info (17800) arp-scan will use the following interfaces: [ 'br0' ]
radar2.0 2020-02-23 14:19:27.005 info (17800) Remove name end for host names: .fritz.box
radar2.0 2020-02-23 14:19:27.003 info (17800) use known IP list: [ '1.1.1.1' ]
radar2.0 2020-02-23 14:19:27.000 info (17800) use known BT list: [ '01:12:23:34:45:56' ]
radar2.0 2020-02-23 14:19:26.995 info (17800) radar2 set to flag items away if they are not seen for 2 minutes
radar2.0 2020-02-23 14:19:26.993 info (17800) found 'node-bluetooth'
radar2.0 2020-02-23 14:19:26.961 info (17800) found '@abandonware/noble'
radar2.0 2020-02-23 14:19:26.425 info (17800) Adapter disconnected and stopped with dostop(false) and callback(true)
radar2.0 2020-02-23 14:19:26.419 error at process._tickCallback (internal/process/next_tick.js:63:19)
radar2.0 2020-02-23 14:19:26.419 error at state.handle.lookup (dgram.js:242:18)
radar2.0 2020-02-23 14:19:26.419 error (17800) Error: bind EACCES 0.0.0.0:67
radar2.0 2020-02-23 14:19:26.417 error (17800) uncaught exception: bind EACCES 0.0.0.0:67
radar2.0 2020-02-23 14:19:25.829 info (17800) net-ping not available! Will try to use normal ping!
radar2.0 2020-02-23 14:19:25.797 info (17800) radar2 initialization started...
radar2.0 2020-02-23 14:19:25.583 info (17800) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v10.19.0
The text was updated successfully, but these errors were encountered: