Giter VIP home page Giter VIP logo

Comments (14)

CylMaddhatta avatar CylMaddhatta commented on August 17, 2024 1

Good news Noachh, I got it to work!

I'm on Mac OS 11.6

There are a couple of things you need to do in addition to following the normal instructions.

1). I did this on the latest version of Node.js (16.13.2) so install that.

2). Noble is no longer being developed. It has been picked up by @abandonware/noble. Run the following

npm i @abandonware/noble

3). Navigate to the fluffd folder in your command line and run npm rebuild

4). As laid out by @hartos in https://github.com/Jeija/bluefluff/issues/20
Changes:

file::package.json

in the section "dependencies": {
change
"noble": "1.9.1",
to
"@abandonware/noble": "^1.9.2-15",
and
Also change "winston": "3.1.0",
to
"winston": "3.1.0"
Because JS will yell at you about syntax if you don't remove the comma

in
file::fluffd.js
change
const noble = require("noble");
to
const noble = require("@abandonware/noble");

Your Furby will automatically connect. The UI is browser based using the index.htlm file.

I have not attempted uploading flashed DLC yet. I plan to do a full 2022 install guide once I get this working.

from bluefluff.

Jeija avatar Jeija commented on August 17, 2024 1

@CylMaddhatta That is great to hear 👍 ! Feel free to open a pull request to get your changes upstream if you'd like to!

from bluefluff.

Jeija avatar Jeija commented on August 17, 2024

It is possible to get this code working, but it is not compatible with the latest node.js version. Also, noble appears to be somewhat discontinued it seems? Any help in updating this project is appreaciated, but unfortunately, I don't have the time for it.

from bluefluff.

Noachh avatar Noachh commented on August 17, 2024

I wish i could help but don't know anything about coding (planning to learn in the future). I wish someone would update this who has the knowledge and time to do so at least. Well thanks for the quick reponse tho! I really appreciate it :)

from bluefluff.

CylMaddhatta avatar CylMaddhatta commented on August 17, 2024

Noachh, what OS are you using? I'm currently trying to get this working so if I have any success I'll let you know.

from bluefluff.

Noachh avatar Noachh commented on August 17, 2024

Hey CylMaddhatta, i use both Kali Linux and Windows 11, so either will work. Good luck with it! I hope you can get it to work.

from bluefluff.

Noachh avatar Noachh commented on August 17, 2024

Awesome work! Really appreciate the work you're doing 👍

Yeah i always wanted to upload my own DLC but i never succeeded, hope you can find a way to make it work! I'm gonna try the things u said above.

from bluefluff.

Noachh avatar Noachh commented on August 17, 2024

So i just tried uploading my own audio file into the furby with a lot of trial and error. As you can see in the image i got it acivated but when i tried action 75.0.2.6 no sound came out. Only movements, maybe when you try you could find out why this happens? Because i got no clue what's wrong if i'm honest haha

Edit: there is a chance i just did something wrong while making the audio file because i had a hard time understanding some instructions.

20220128_201253

from bluefluff.

CylMaddhatta avatar CylMaddhatta commented on August 17, 2024

You got yours to flash?

I'm getting 2405 notifications at the start of the upload. It's dropping connection as well.

Fortunately I found that the FurBLE project works for flashing but I'm not sure how to upload custom DLC to that yet. Was just about to start seeing if I could use that as a work around.

from bluefluff.

Noachh avatar Noachh commented on August 17, 2024

I've tried using FurBLE as work around too, i think you need to start a local server with the files from FurBLE and then add your own dlc in the list to choose from, idk how to explain it better. I'll see if i can do it tommorow again it's been a while since i did it

from bluefluff.

CylMaddhatta avatar CylMaddhatta commented on August 17, 2024

I spun up a discord server to scream into: https://discord.gg/ta33H7PjRb

from bluefluff.

MikeDBloke avatar MikeDBloke commented on August 17, 2024

Still stuck on this. After following what @CylMaddhatta posted and doing what the main page says
Im on Ubuntu
~$ node fluffd.js
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module '/home/dbloke/fluffd.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
The fluffd.js isnt in the main folder but is in another one where it was installed to /fluffd/fluffd,
Im assuming its not finding something, I moved to teh folder with the js file and now I get

~/bluefluff/fluffd$ node fluffd.js
/home/dbloke/node_modules/@abandonware/noble/lib/hci-socket/hci.js:121
this._socket.bindRaw(this._deviceId);
^

Error: ENODEV, No such device
at Hci.init (/home/dbloke/node_modules/@abandonware/noble/lib/hci-socket/hci.js:121:20)
at NobleBindings.init (/home/dbloke/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:93:13)
at /home/dbloke/node_modules/@abandonware/noble/lib/noble.js:61:24
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
errno: 19,
code: 'ENODEV',
syscall: 'bind'
}

from bluefluff.

CylMaddhatta avatar CylMaddhatta commented on August 17, 2024

@MikeDBloke seems like @Abandonware/noble isn't happy. I updated the discord link in case it was broken. I have a write up pinned for how to get the DLC loaded.

from bluefluff.

MikeDBloke avatar MikeDBloke commented on August 17, 2024

@CylMaddhatta Cheers ill give it a look when I next feel like fiddling with it

from bluefluff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.