Problem with Enviro Weather Upload using IFTTT

Hi all,

I can get Enviro Weather to upload to adafruit, however, I don’t seem to be able to get it to send to IFTTT.

This is part of the redacted config.py script, I’m just wondering if it it correct?

where to upload to (“web_hook”, “mqtt”, “adafruit_io”)

destination = ‘web_hook’

how often to upload data (number of cached readings)

upload_frequency = 5

web hook settings

custom_http_url = ‘https://maker.ifttt.com/trigger/EVENTNAME/json/with/key/MYKEY
custom_http_username = ‘USERNAMEHERE’
custom_http_password = ‘PASSWORDHERE’

Log just gives this, but makes no attempt to connect to wifi so I suspect there is a problem in the script? Is ‘web_hook’ correct?

2022-12-31 11:34:35 [info / 105728] hey enviro, let’s go!
2022-12-31 11:34:35 [info / 104032] - --=-=-===-=-=-- -
2022-12-31 11:34:35 [info / 102432]
2022-12-31 11:34:35 [debug / 100816] > performing startup
2022-12-31 11:34:35 [debug / 99120] - hold vsys_en high
2022-12-31 11:34:35 [info / 97344] - wake reason: unknown
2022-12-31 11:34:35 [debug / 95616] - turn on activity led
2022-12-31 11:34:36 [debug / 126016] > 94 blocks free out of 212
2022-12-31 11:34:36 [info / 116272] > 6 cache files need uploading

Many thanks and a Happy New Year!

Simon

Are you using the latest version 0.0.9? There should be an “http” option not “Webhook”

I’ll check. re there any instructions for updating the firmware on the PicoW?

Thanks

Here is the link - enviro/upgrading-firmware.md at main · pimoroni/enviro · GitHub

Thanks Dave. Got the upload working through IFTTT, now have to work out how to send the data strong too…any ideas with that one?

Thanks again.

Not sure what you mean “data strong too”?

Sorry, I meant ‘work out how to send the data string’ (predictive text! ;) through IFTTT

Have not tried with ifttt but if you need to change the structure of the http request to send the data you are next to do it in enviro/http.py at main · pimoroni/enviro · GitHub