Closed JohanLeirnes closed 7 years ago
Maybe it is due to the baudrate or other serial settings being slightly off causing invalid data. Could you try using the python-rflink library directly to see if the same error occurs?
For the problem of devices not being added. From the logging I can see new devices are recognized. Maybe the error causes them to not be added as the task is broken? Otherwise could you reduce the config to the minimum required to run Rflink, test it and post the complete config and results?
I found a small bug because of this (https://github.com/home-assistant/home-assistant/pull/7492). The change might not solve your problem at the core but at least it should prevent the code which caused the exception to be called.
If you copy this (https://raw.githubusercontent.com/aequitas/home-assistant/56c0a45a658ac441ee56224515dad10518148575/homeassistant/components/rflink.py) file into your custom_components
you should be able to test it.
@aequitas I also noticed a lot of UnicodeEncodeError recently. I can confirm that the new rflink.py file works. No errors anymore.
Will the fix be part of the next HASS release?
It has been accepted into the dev branch so I expect it will be in the next release.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
): 0.42.4Python release (
python3 --version
): Python 3.6.1Component/platform: RFlink/HASS running on Imac with macOS Sierra
Description of problem:
Getting errors on some sensors, and the auto add function does not work.
Expected:
Problem-relevant
configuration.yaml
entries and steps to reproduce:Connect RFLink device (homemade Arduino Mega 2560 with FS1000A) to Imac Add RFLink settings to configuration.yaml Check log
Traceback (if applicable):
Additional info: