Doomsday Clock custom sensor

Here is a simple sensor I’ve built a few days ago, but whose concept is sadly in the news today: fetch the Doomsday Clock status from the Bulletin of the Atomic Scientists.

The Doomsday Clock is a once-a-year indicator of how close humanity is to a man-made global catastrophe, its own destruction if you will, either through nuclear war or climate change. Makes a great addition to your fallout shelter’s Home Assistant build!

Sensor state

Code and installation instructions are available on Github, enjoy! …or not, as it’s kind of a depressing sensor to look at actually. :cold_sweat:

2 Likes

Awesome! :smiley:

It’s funny…in a really depressing kind of way…:frowning_face:

1 Like

No, thanks!

1 Like

TheBulletin.org’s website has recently changed from Drupal to Wordpress, which meant that the Doomsday Clock sensor needed to be updated to find the right information again …and to be improved so as to fail gracefully whenever their website’s design changes again in the future. Done! :smiley:

Also, to keep things clean I’ve moved this sensor to its own dedicated repo here:

It’s still a pretty depressing sensor to look at however. :sob:

Version 2.0.1 is now available, featuring:

Version 2.1.0 is out! :smiley:

Latest changes:

Hey
i have this in HACS, however the state is always “unknown”

I had a bit of a dig the other day - the regex used by the sensor doesnt account for it being expressed as seconds - if I get a chance, I’ll see if i can find a fix

Shoot. Thanks for the heads-up! I’ll update the sensor asap, using the new Countdoom Python package that I’ve been working on lately and that handles seconds properly.

1 Like

thanks
can you update here once done please, as ive removed in the mean time

hey, is it working now?

still getting errors in the log on this