-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fauxmo issue with CommandLinePlugin object #52
Comments
`2024-10-20 17:03:58 asyncio:1771 ERROR Fatal error: protocol.data_received() call failed. protocol: <fauxmo.protocols.Fauxmo object at 0x7f97060b10> transport: <_SelectorSocketTransport fd=9 read=polling write=<idle, bufsize=0>> Traceback (most recent call last): File "/usr/lib/python3.11/asyncio/selector_events.py", line 1009, in _read_ready__data_received
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/protocols.py", line 70, in data_received
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/protocols.py", line 156, in handle_action
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/plugins/commandlineplugin.py", line 166, in get_state
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/plugins/init.py", line 98, in get_state
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/plugins/init.py", line 64, in getattribute
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/plugins/init.py", line 111, in latest_action
File "/alexa/venv/lib/python3.11/site-packages/fauxmo/plugins/init.py", line 64, in getattribute
AttributeError: 'CommandLinePlugin' object has no attribute '_latest_action'` |
Just as an update, I checked my Pi3 today and discovered that although the error messages above are still manifesting, the fauxmo package is actually working ok and I can control the beds in the bedroom using Alexa. I guess I just need to sort out how to stop /var/log/syslog from filling up the root filesystem now ..... but it would be nice to have a resolution to this instead of managing the symptoms .... |
Have you asked in fauxmo forums and GitHub repositories? The issue doesn't see directly related to the Infrared pHAT so I think fauxmo experts can give you some valuable guidelines how to fix these issues.
Have you considered using |
Hi,
I recently built a Raspberry Pi with Bookworm and installed an IR transmitter to control our lounge fire via Alexa. It works great!!
I decided to implement a similar setup to control our electric bed so we could raise and lower them when we want to watch TV. I had a spare Raspberry Pi 3 and loaded up Bookworm, installed lirc and fauxmo and thought this would be an easy job.
Hmm ....
Having all sorts of problems with Fauxmo. When I start up Fauxmo I am getting weird errors related to CommandLinePlugin that I've not seen before, and have never seen on my other pi.
"AttributeError: 'CommandLinePlugin' object has no attribute '_latest_action'
Could not understand what was going on, so performed a clean install of bookworm, and started from scratch. I was surprised when I completed the install that I was getting exactly the same errors reported while running fauxmo. Have you seen anything like this before, it happens even with a small test.json with only one device in it.
Thanks!
The text was updated successfully, but these errors were encountered: