Open Sawtaytoes opened 6 months ago
I just remembered something. I recently updated all my Raspberry Pis from Bullseye to Bookworm. It's possible this new OS version came with a new Node.js version.
If that's the case, what can we do to fix this? Do we need to patch the Flic Node.js library?
It's an IPv6 thing. I have no clue why ::1:5551
doesn't work, but changing it from localhost
to 127.0.0.1
fixed the issue in newscanwizard
.
Is this something we should hardcode, or can we update flicd
to listen on IPv6 interfaces too?
Mabye Node did something that changed localhost
to default to IPv6 rather than IPv4. I'll see what I can do. Either making it work on IPv6 or just change the node script.
Error when doing
new FlicClient
on the latest version I pulled down today:Not sure when this broke, but I re-added my Flic buttons at least a year ago, so it was working back then provided I updated the SDK at that time too.
These are the commands I use to start the
flicd
server and add buttons:Starting
flicd
and scanningI know it's running, just not why it won't connect all of a sudden. I'm listening on
0.0.0.0
, so that should cover all interfaces. Also, I can connect to this service from another device just fine withnew FlicClient
. It's only when running the scanner that it has issues.Am I missing something or forgetting how this worked? Did something change since I ran this command last?
What are the steps I should be doing to add new devices?