Uppy file uploader and proxy = headache

Robert Andresen Programming Leave a Comment

While testing the Uppy.io file uploader I struggled with some CORS-errors. Almost the whole day was wasted troubleshooting and debugging. Trying different headers, debugging network-traffic and reading stack overflow. The browser returned a CORS-error and Uppy itself returned a network traffic error. 99% of all issues and google-results pointed to an api/server issue with my headers. The weird part was …

Docker proxy with self-signed certificates for local development

Robert Andresen Programming Leave a Comment

Found some great docker-images to use in local projects. It’s well documentet in github here: https://github.com/sebastienheyd/docker-self-signed-proxy-companion Here is an example of docker-compose from the github repo: This guide can help you to add the certificate in Chrome: https://www.pico.net/kb/how-do-you-get-chrome-to-accept-a-self-signed-certificate/

Home Assistant: Garage door status with Aqara Vibration Sensor

Robert Andresen Home Assistant, Internet of things, Tutorials Leave a Comment

For almost two years ago, I wrote an article about controlling by garagedoor with the Qubino Flush 1D Relay. I always had a plan to add some status-sensor to the garage door. I started with a 433MHz sensor, but it was never a success. It was hard to place a magnet-sensor and 433MHz is not the best option – so …

Home Assistant – Leaf-MQTT

Robert Andresen Home Assistant, Internet of things, Tutorials Leave a Comment

For some reason the Leaf-component in Home Assistant has not been working for some time. Since November 2020 according to the community forum. UPDATE: Before you read any futher… Home Assistant bumped pycarwings2 to 2.10 in the last 2020.12.2 release. I actually found this out just when I was going to add the data from the solution below, into HA. …

Sonos and UniFi

Robert Andresen Internet of things, Tutorials Leave a Comment

After using two workdays to configure four Sonos speakers for a youth club at work, I found that Sonos has big issues with their onboarding. There are several of forums with problems around Sonos and UniFi-network, but I think this is more a Sonos- or timing-issue, than a network issue. I gave up the Sonos Beam the first day, after …

Housegard Note – An update

Robert Andresen Internet of things, Reviews Leave a Comment

It is about 5 months since i wrote Housegard Note – Smokealarm (it works, kinda). I can happily say that we have had no fire in the house since I started to test these – but there have not been any false alarms either. I bought this for testing when we started renovating an apartment in the basement. As the …