-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update 0.1.4 to 0.2.3 or 0.3.2 need help with nodeJS14 #37
Comments
Same here TypeError: Cannot read properties of undefined (reading 'get_discovered_characteristic') |
Good to see that I'm not alone. But sad as well. We can only hope that @oyooyo take notice and can help. |
Sorry, I've recently been quite busy with other things. As I currently do not personally use keyble anyway, I wasn't really motivated to invest time into keyble. But since v14 is the current LTS version and the version that I'm currently using as well, I will try to look into this issue in the near future and release a new version that hopefully works fine with v14. |
Thanks for the reply. Hopefully you'll find time and a solution. ;-) |
@oyooyo I'm afraid you haven't found the time yet, but would appreciated. |
Would also like to see an update |
@Diginix Any progress with your implementation? Have you successfully tested the esp32 fork? |
Unfortunately no. I don't have an ESP32 atm and never found out how to flash the fork on it. I have asked in the mikrocontroller forum but never got an answer. If I had a clear plan what software is necessary for flashing the ESP32 with the keyble fork, I would buy an ESP and try it. |
Thanks for the quick answer! Maybe I'll try the esp32 version next month. As the Raspberry Pi will still be the central control unit receiving the commands my plan is to connect the esp32 wired to the Raspberry Pi. So I'll probably break down the esp32 fork, remove the mqtt stuff and implement some logic to send commands directly to the esp32 via spi or sth similar. |
Sure! |
Hi Joachim,
seit Jahren nutze ich keyble erfolgreich mit iobroker, aber ohne Adapter, nur per EXEC in Skripten. Vielen Dank schon mal für deine geniale Arbeit!
Nun habe ich mein System von nodeJS 12 auf 14 aktualisiert und seit dem bekam ich bei 9 von 10 keyble Aufrufen folgenden Fehler:
Bisher war keyble 0.1.4 installiert. Nun sah ich, dass du bereits bei 0.3.2 bist und habe dies mittels
sudo npm install --update --global --unsafe-perm [email protected]
installiert. Liegt weiterhin unter /usr/lib/node_modules/keyble/Anders wollte er die 0.1.4 nicht aktualisieren.
Aber nun funktioniert der Aufruf gar nicht mehr:
keyble-sendcommand: command not found
bzw.
bash: /usr/bin/keyble-sendcommand: No such file or directory
keyble-cli scheint es noch nicht zu geben?
Not Found - GET https://registry.npmjs.org/keyble-cli - Not found
Hab nun mal 0.2.3 installiert. Diese wirft aber auch recht oft Fehler:
oder:
Alle 7-8 Versuche bekomme ich dann den Status. Prinzipiell funktioniert keyble 0.1.4 oder 0.2.3 weiterhin. Aber unter nodeJS 12 lief 1/10 der Kommandos schief (timeout oder auch noble warning), aber nun sind es eher 9/10.
Was kann ich machen damit es stabiler wird?
Und wie kann man die 0.3.2 z.B. mit iobroker javascript exec nutzen?
Proxmox VM mit Ubuntu 20.04.3 LTS
nodeJS 14.18.1 (/usr/bin/nodejs)
npm 6.14.15 (/usr/bin/npm)
The text was updated successfully, but these errors were encountered: