Ah I see, polyglot 3 uses separate package repo for each node server - in this case /var/polyglot/pg3/ns/0021b9026038_7/.local/lib/python3.9/site-packages/bitstring.py is unique for LiFX install. I'll need to look around to see how to make it downgrade I'm still on PG2 myself
so original LiFX integration is based on LifxLAN python project that was abandoned for a few years, one of the libraries it depends on updated and broke it
you can work around that by doing something like this:
sudo -u polyglot bash
pip3 uninstall bitstring
pip3 install bitstring==3.1.9
I don't know if LifxLAN author is going to update their library...
so for motion - Hue hub is a "pull" thing, in other words - node server asks Hue hub for a status every short poll (I think it's 15 seconds by default). Even if you happen to catch motion reported - 15 seconds delay would be kinda weird. Same goes for other hue input devices - buttons, switches.
Sorry, I don't monitor forum normally. It's mostly for Sonoff device control, however people added their devices to the node server. Take it as a template and you can add any MQTT device you have.
Looks like you using older node server from my GitHub, I moved it to the UDI GitHub a while back. Just re-install the node server and you should get the one with SE3800A included.
@larryllix looks like you've set it to port 80 somehow? That is not allowed by FreeBSD. Drop the db (way to drop was mentioned before) and it will start.