campusvilla.blogg.se

L wopet automatic pet feeder
L wopet automatic pet feeder









  1. L wopet automatic pet feeder 720p#
  2. L wopet automatic pet feeder serial#
  3. L wopet automatic pet feeder code#

L wopet automatic pet feeder code#

If the LED remains flashing for more than 10 seconds, check the WIFI settings in the YAML code is correct for your network, modify, build, and reprogram as described above.

  • Flashing: Attempting to connect to WIFI.
  • You should see the red LED light up as follows: If ESPHome Flasher displays an error when trying to connect to the device, try swapping over TX and RX and try again.Īfter successful programming, disconnect and re-apply power. Once the board has started programming, and you see progress in the ESPHome Flasher application output window, you can (optionally) release the push button.
  • Keep holding the button, and start the programming process from ESPHome Flasher.
  • Press and hold the button on the PCB and at the same time, apply power to the board.
  • For my install, the output bin file is: \spf-1010-ty-pet-feeder\.pioenvs\spf-1010-ty-pet-feeder\firmware.bin This can be found by looking at the compile output (see photo).
  • Navigate to the output directory, and copy the *.bin file.
  • Once this has been done successfully, further future updates can be done wirelessly, Over the Air!

    L wopet automatic pet feeder serial#

    This is done with the USB to Serial converter. script.wait: flash_pos_switch_error # position sensor error takes priority over this script.

    l wopet automatic pet feeder

    The storage container can hold 6.5 pounds of dry food. It can dispense 6 meals a day that can be programmed with the help of the smartphone app.

    L wopet automatic pet feeder 720p#

    # Do nothing until the position switch turns off the motor. The Wopet smart pet feeder connects to Wifi and features an HD 720p camera that allows you to check up on your cat or dog when you are away from home. script.execute: motor_overrun_protection # Script will restart if it's already running. # If this script runs for > 4 secs, the motors will be stopped and a error logged. # This script will be stopped by the motor position switch. id: run_motor # A script that runs the motor. # Flash an error and log an error message.įormat: "Motor overrun!! Check motor position switch or clear jam!" # If the motor is still running, an error occurred (position switch faulty or jammed) id: motor_overrun_protection # A script to stop the motor if it runs too long # The position switch is ok, clear any error. switch.turn_off: motor_drive_a # Turn off motor.įormat: "Position switch released - stopping motor." script.execute: flash_motor_running_led switch.turn_on: motor_drive_a # Turn on motor.

    l wopet automatic pet feeder

    platform: gpio # Physical button on unitįormat: "sw_user_btn pressed. script.execute: run_motor # Run the motor. If( id(run_motor).is_running() ) Run even when jammed"įormat: "ha_run_even_when_jammed on_press. # Enable fallback hotspot (captive portal) in case wifi connection fails This will try to connect to the device over WIFI and will fail.

  • Īpi_pwd - only required if Home Assistant uses a password for ESPHome API access.Ĭompile the code by clicking the 'upload' button.
  • l wopet automatic pet feeder

  • ota_pwd - a password to protect OTA updates.
  • Remember to setup the following details in your secrets file: Paste in the YAML from the attached file, change the WIFI credentials and IP address to something suitable for your network. I called my project "spf-1010-ty-pet-feeder"











    L wopet automatic pet feeder