I have just received the Weather Hat from Pimoroni.
I have been battling to get the weather.py or any other code to run. I have started with a fresh install and tried on various Raspberry Pi 3’s. I keep getting the following error:
RuntimeError: Failed to add edge detection.
I am starting to think that the Hat is faulty, any help please?
Thanks. Just seems a shame that more than one person has this issue and the conversation suddenly stopped.
I’ll email and post back here with what emerges.
This sounds somewhat like your error - might be worth checking that you don’t have anything else trying to use BCM 4 (or 1 wire enabled in sudo raspi-config)?: