hzeller / txtempus

A DCF77, WWVB, JJY and MSF clock LF-band signal transmitter using the Raspberry Pi
GNU General Public License v3.0
415 stars 67 forks source link

DCF77 weather protocol #28

Closed VasylSamoilov closed 1 year ago

VasylSamoilov commented 1 year ago

Can weather bits be added to DCF77 transmitter? Specification can be found here: https://web.archive.org/web/20091229063350/http://www.hkw-elektronik.de/pdf/DB%20W-Protokoll-V%201.pdf

JDat commented 1 year ago

No, because it works differently. More info on https://www.mikrocontroller.net/articles/DCF77_Wetterinformationen

hzeller commented 1 year ago

@VasylSamoilov Just from the documentation, it looks like you can add the bits if you have the weather information available from somewhere . You would add them then in the DCF77 bit encoding - looks like they are encoded in the first 15 bits.

@JDat that is a somewhat generic URL (from a site that does not exist; typo ?) Do you have a direct link to a forum article that explains what you mean ?

JDat commented 1 year ago

Sorry, web link updated. Data for weather information are encrypted. There was some unclear and mysterious hints on internet regarding encrypting/decrypting, but no actual code because it seriously break Meteotime company's copyrights.

VasylSamoilov commented 1 year ago

encoding and decoding algorithm (DES) is described here: https://arduino-projects4u.com/meteotime/

but I do agree that weather data is encoded and decoding lacks open-source implementation to serve as a reference. Description itself may not be sufficient to implement a decoder. I can close the issue, if there is no objections.