• 1 Post
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle















  • Five of them failed and I had to throw them out. I’ve still got some that are working fine but I’m not buying any more.

    I’ve actually replaced most of them with Shelly 1L smart relays so I can control the lights regardless of the switch status. This way it doesn’t matter whether I use smart globes or not I can still turn the lights on/off from my Home Assistant dashboard.



  • This is such an open ended question that nobody can give you an accurate answer as there are so many factors that need to be considered.

    How big is the site? How much data is being stored? What is the DB backend? How does it handle failover between DB servers in the event the primary goes down? Is it being hosted in a cloud service, your own DC or a cupboard? Does the location it is being hosted already have redundant power and internet connectivity? Are they diverse, so if one provider fails the other one will remain online? You’d need to maintain separate sites in case one location goes down due to a major event like an earthquake, so you need to replicate data in real-time to your DR location.

    There are so many factors to consider and I haven’t named them all. Regardless of what your answer is, it would be very expensive to maintain any server at 6 9’s level of availability. For a marketplace website with only 1000 visitors a day there is no need for that level of availability because there would be times in the day that nobody would be on it. Only a marketplace the size of Amazon would consider that level of availability.


  • I built a pool water temp sensor using an ESP32 and a DS18B20. I drilled a hole in the pump intake pipe, installed it and now I always know the temp of the pool.

    I cant find the original page I used to build it but it wasnt hard and there are similar guides online. Here is the code I am using on the ESP32

    esphome: name: esp-pool-temp

    esp8266: board: esp01_1m

    Enable logging

    logger:

    Enable Home Assistant API

    api:

    ota: password: “fa053faa36e5d6600a5613086aaca3ca”

    wifi: ssid: <SSID> password: <password> fast_connect: true

    Enable fallback hotspot (captive portal) in case wifi connection fails

    ap:

    ssid: “Pool-Espboard Fallback Hotspot”

    password: “MCueN8HiEEvS”

    captive_portal:

    Example configuration entry

    dallas:

    • pin: GPIO4

    Individual sensors

    sensor:

    • platform: dallas address: 0xE93C01D607349D28 name: “Pool Temperature”
    • platform: wifi_signal name: “WiFi Signal” update_interval: 60s