jimbobbennett / jimbobbennett/BusyLight

Errors & not connecting

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The script doesn't autorun on reboot. In my root's crontab, I see:

> @reboot /usr/bin/python3 /home/pi/BusyLight/app.py

But for some reason, it doesn't connect to Azure IoT.

`python3 --version`
> Python 3.7.3

`sudo python3 app.py`
> Traceback (most recent call last):
File "app.py", line 112, in
asyncio.run(main())
AttributeError: module 'asyncio' has no attribute 'run'

`sudo python3.7 app.py`

Allows the Pi to connect to Azure IoT

Not sure what the issue is.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.