Closed apexskier closed 10 months ago
Nice catch!
If you edit the Plugin Config and change "station_id": 0
, to "station_id": 12345,
the error will go away.
Will need to update the plugin to check for a 0
entry which is the case when you install the plugin and directly use local mode.
Great catch, thank you. I'll work on a patch release soon.
@chasenicholl, I submitted a 4.0.1 pull request to address this issue.
@apexskier thanks for the bug ticket. This has been addressed by @DMBlakeley in a just published patch release v4.0.1
Thank you everyone.
I'm seeing this in a just-installed v4.0.2:
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Initial local broadcast recieved.
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Adding new accessory: Temperature
[Temperature@@Serial Number] [Serial Number] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory, ignoring new value
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Adding new accessory: Feels Like
[Feels Like@@Serial Number] [Serial Number] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory, ignoring new value
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Adding new accessory: Humidity
[Humidity@@Serial Number] [Serial Number] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory, ignoring new value
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Adding new accessory: Wind
[Wind@@Serial Number] [Serial Number] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory, ignoring new value
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Adding new accessory: Brightness
[Brightness@@Serial Number] [Serial Number] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory, ignoring new value
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] Adding new accessory: Rain
[Rain@@Serial Number] [Serial Number] characteristic must have a length of more than 1 character otherwise HomeKit will reject this accessory, ignoring new value
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] discoverDevices completed
[10/16/2024, 7:40:21 AM] [WeatherFlow Tempest Platform] removeDevices completed
Believe the problem is that you may have created the config.json file manually rather than use the Plugin Config option and the "Name" field is missing or is blank.
If this is not the issue, would be best if you shared your JSON config file. Redact your station number.
I configured the plugin using the UI right after installing it. Then I manually edited the config.json
to add my station_id
and the warning went away.
Thanks for submitting! Manually adding the station_id
pointed at the problem. On initial configuration with Local mode, station_id
is null which produces the error that you saw. Will push an update to @chasenicholl for review and release.
Describe The Bug: Plugin still works, but there's an error in the logs
To Reproduce: Just happens on startup
Expected behavior: No error in logs
Logs:
Plugin Config:
Environment: