Fix Gadgetbridge WeatherSpec (Timestamp and temperature) #3

Closed
ashimokawa wants to merge 2 commits from <deleted>:fix-gadgetbridge-weatherspec into master
Collaborator
  • Temperature must be Kelvin
  • Timestamp has to be devided by 1000 BEFORE casting to int

This is not tested because the current git version does not seem to send anything to Gadgetbridge even if the feature is enabled

- Temperature must be Kelvin - Timestamp has to be devided by 1000 BEFORE casting to int This is not tested because the current git version does not seem to send anything to Gadgetbridge even if the feature is enabled
Poster
Collaborator

I tested these commits on top of 0.20 beta, which works. master is broken since the Alarm changes.

Feel free to squash+rebase.

I tested these commits on top of 0.20 beta, which works. master is broken since the Alarm changes. Feel free to squash+rebase.
Owner

Thanks for this, but the changes are already incorporated in main :-), so no need to merge and pull, as I aleady did the same yesterday :-)

There are three more bugs corrected regarding the API:

  • fixed wind direction always 0°
  • fixed supplied weather conditions were not always compatible with the lineageos standard
  • fixed current weather condition: now displays current condition instead of day forecast

I will test the alarm stuff and come back shortly!

Thanks for this, but the changes are already incorporated in main :-), so no need to merge and pull, as I aleady did the same yesterday :-) There are three more bugs corrected regarding the API: - fixed wind direction always 0° - fixed supplied weather conditions were not always compatible with the lineageos standard - fixed current weather condition: now displays current condition instead of day forecast I will test the alarm stuff and come back shortly!
Poster
Collaborator

I do not see a main branch, only master, I pulled master and do not see your changes. Thats why I did the PR

I do not see a main branch, only master, I pulled master and do not see your changes. Thats why I did the PR
Owner

Sorry. My fault. Fogot to commit yesterday night.

There still is something wrong with the alarms, they do not get fired like expected. I will try to solve this today or tomorrow.

Again, sorry for this!

Sorry. My fault. Fogot to commit yesterday night. There still is something wrong with the alarms, they do not get fired like expected. I will try to solve this today or tomorrow. Again, sorry for this!
ashimokawa closed this pull request 3 years ago
ashimokawa deleted branch fix-gadgetbridge-weatherspec 3 years ago
This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Starfish/TinyWeatherForecastGermany#3
Loading…
There is no content yet.