-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
HASS bridge emits incorrectly formatted time #1904
Comments
We already have an option for that: |
The only thing I wonder is, do we not want the bridge script to work "as out of the box" as possible? As is, it seems like remembering to set |
Ah yes, |
What's the status? It seems obvious to me that rtl_433 with just -F json piped to the scripts should just work, and not need args to ask for it -- which I view as a workaround. I am not sure we are there yet. |
I agree that setting this when using JSON output makes the most sense. |
So it seems we have consensus that the code should be enhanced as described above, to be always 8601 in json, and we are waiting a PR. |
However, we are not seeing reports of problems with up-to-date code. So I'm going to assume this is fixed. Please comment if that's wrong and we can re-open. |
The latest Home Assistant 2021.12 release has made time parsing stricter, and now the bridge is throwing errors for time fields:
pbkhrv/rtl_433-hass-addons#35
Since the timestamp is generated from the receiver, and not generally as a part of the sensor, I think we should include the timezone based on the system's location.
It would be great to get any fixes in before the next release, but I won't likely have time in the next day or two to work on it myself.
The text was updated successfully, but these errors were encountered: