Hi jakaskerl
The first one is also a script node. I tried to use the public broker broker.emqx.io
for the second error, yes the logs comes when the device is standalone.
Hi jakaskerl
The first one is also a script node. I tried to use the public broker broker.emqx.io
for the second error, yes the logs comes when the device is standalone.
Hello Jakka,
Thanks for the response.
I tried logging but I've tried and I encountered error such as
Error Exist: [Errno 8] getaddrinfo failed
and
[1970-01-01 00:00:06.998] [Script(5)] [critical] ModuleNotFoundError: No module named 'urlparse'
At:
/usr/lib/python3.9/importlib/_bootstrap.py(984): _find_and_load_unlocked
/usr/lib/python3.9/importlib/_bootstrap.py(1007): _find_and_load
<script>(55): <module>
for other device.
Do you know have any idea with this errors?
Hello I've noticed that the date and time of my device is not real-time. I would like to ask how to change it to the current date and time. Since it is very essential in our development.
Thanks.
Hello I tried to flash a MQTT pipeline in my device. and it flashed successfully but I didn't received any payload in my broker.
But if I run the pipeline using host device, it's good.
Here's the sample of the code I run to make it standalone:
https://github.com/luxonis/depthai-experiments/tree/master/gen2-poe-mqtt
I just change this part of the main.py
with dai.Device(pipeline) as device:
print('Connected to OAK')
while not device.isClosed():
time.sleep(1)
to
(f, bl) = dai.DeviceBootloader.getFirstAvailableDevice()
bootloader = dai.DeviceBootloader(bl)
progress = lambda p : print(f'Flashing progress: {p*100:.1f}%')
bootloader.flash(progress, pipeline, compress=True)
I have the same problem in flashing the pipeline. The pipeline works fine with running in host PC but when I tried to make it standalone it successfully flashed but no result. I used the mqtt script in repo but changed the
with dai.Device(pipeline) as device:
print('Connected to OAK')
while not device.isClosed():
time.sleep(1)
to
(f, bl) = dai.DeviceBootloader.getFirstAvailableDevice()
bootloader = dai.DeviceBootloader(bl)
progress = lambda p : print(f'Flashing progress: {p*100:.1f}%')
bootloader.flash(progress, pipeline, compress=True)
I didn't recieved any payload