I\'m using a Pi 3 with google IOT to operate some relays that control valves on an irrigation system. The system uses the internet to get a weather forecast to work how much
Simple. This means that the key on the Google Console that is associated with the IOT service is not matching the one stored locally on your Mac/Pi 3.
Just run:
keytool -list -v -keystore <your keystore> -storepass <your store password>
and copy the key under SHA1 or SHA256 to the Google Console.
You can create a keystore if none is present by keytool -genkeypair.
For other useful commands run keytool -h.