-
Notifications
You must be signed in to change notification settings - Fork 0
More measurememts
I also had a barometric pressure sensor on hand. For initial testing, I wired it up to a second D1 Mini and tried out the sensor library that appears to support this device. Seems to work, but I haven't tried the conversion to inches or any sort of calibration yet.
The other thing I started looking into was the support for https transactions for this board. The libraries have some limited support, but I've been getting some errors when I try to use them, so I still have some more work to do. The limitation of recording a fixed cert "signature" to use for verification seems awfully fragile, but I understand that it's too much to expect that the device carry a full chain of authority. I wonder if there's a way to use a trusted local server (one that I have adequate control over) to act as a partner in the verification.
Added the BMP180 barometric pressure sensor, which also reports temperature.
POST requests receive no response from wunderground.com, so that seems to be a dead end.
Switched to using HTTPS for requests, using the signature method of verification mentioned above.