Forum Replies Created

Viewing 6 posts - 26 through 31 (of 31 total)
  • Author
    Posts
  • in reply to: New Feature: Day of Week #26838

    iDoug
    Participant

    Thank you.

    in reply to: OSPi on BeagleBone Black #26835

    iDoug
    Participant

    Thank you. That worked.

    in reply to: Mobile Web App with Screenshots (Updated) #24320

    iDoug
    Participant

    Hello Michael,

    Won’t you need the Internet to set the time and weather?

    Granted setting the time should be a rare occurrence but the weather should be daily or hourly. I see these as two of the biggest advantages of OpenSprinkler over other systems. One advantage (or possible disadvantage) with the files being on the Internet would be to receive updated versions.

    Is there another reason these files need to be local?

    in reply to: NOOB needs help with RTC service #25859

    iDoug
    Participant

    Here is my addition to the /etc/rc.local file:

    #	Get date-time from Internet (Write to BeagleBone Black BBB).
    ntpdate -b -s -u pool.ntp.org
    # Write date-time to the RTC on OpenSprinkler OSBo.
    sudo hwclock -w

    # Write the date-time from the OSBo to BBB.
    # (Just in case the Internet is not available and the battery
    # is working.)
    echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
    sudo hwclock -s

    exit 0

    Please, let me know if you see any potential issues. This does seem to work, even on a OSBo that does not have the date-time initially.

    in reply to: NOOB needs help with RTC service #25857

    iDoug
    Participant

    I can set system time:

    ntpdate -b -s -u pool.ntp.org 

    Set the hardware clock from the current system time.

    sudo hwclock -w 

    Reading system time.

    date

    Reading hardware clock

    sudo hwclock -r

    Everything but enabling and starting the service.

    When I run:

    which systemctl

    there is no response. I am guessing systemctl is not a part of Ubuntu in the OSBo image.

    It does appear that systemctl is NOT a part of Ubuntu. Several people have told me that “upstart” has replaced it.
    http://upstart.ubuntu.com/cookbook/

    Anyone know a conversion from systemctl to upstart?

    in reply to: Ethernet Cable? #25787

    iDoug
    Participant

    Yes, I would like to exchange the covers, if it isn’t to much trouble.

    Thank You

Viewing 6 posts - 26 through 31 (of 31 total)