Search results

  1. S

    Dahua day/night switch utility - DahuaSunriseSunset

    Just wanted to share my solution. I have linux machine that runs this script every day: #!/bin/bash sun_times=($( wget -qO- https://weather.com/weather/today/l/MDXX0005:1:MD | sed 's/ /\n/g' | sed -n '/p0-details-sunrise\|dp0-details-sunset/s/[^>]*>/p' )) # Extract sunrise and sunset times and...
Top