Configuring web API on the esphome device allows you to access it via port 80 using its IP on a browser. Try it and if nothing appears, then you’d need to add ir to your esphome yaml configuration and flash it again.
Memory consumption by web server is on the esp itself, not on the HA server.
If you move the esphome dashboard to another server, you can copy the esphome config folder from HA to the corresponding folder in the new machine and you won’t need to reflash anything.
Tbe esphome dashboard is only required to change config and flash, not for the normal esphome functioning.
If i use the Tuya integration, would i be able to control all these things as with Tasmota?
Also, the favour here seems to be towards ESPhome. What’s the advantage over just Tasmota?
In order to convert to buttons, a few changes need to be made. First, internalize the gpio switch by removing its name from the config and remove any scripting from the GPIO and move it to your new button (optional) and reassign your physical button (sensor) to use the button instead of the switch (if you moved the scripting to the button instead of GPIO switch). The reset switch can be changed to a button just by moving it to your button section and changing on_turn_on to on_press like below.
My button conversion looks like this:
# Binary sensor to activate feed cycle when physical button is pressed
binary_sensor:
- platform: gpio
id: push_button
pin:
number: GPIO4
mode:
input: true
pullup: true
inverted: true
name: '${name} Button'
on_press:
- button.press: feed_cycle
switch:
# GPIO switch to activate relay
- platform: gpio
id: relay
pin: GPIO14
restore_mode: ALWAYS_OFF
button:
# Button to activate feed cycle
# One feed cycle is: turn on relay and LED, pause 3 seconds, turn off relay and LED
- platform: template
name: '${name}'
id: feed_cycle
on_press:
then:
- switch.turn_on: relay
- light.turn_on: led
- delay: 3s
- switch.turn_off: relay
- light.turn_off: led
# Button to reset pulse counter
- platform: template
name: '${name} Counter Reset'
entity_category: config
on_press:
- pulse_meter.set_total_pulses:
id: pulse_count
value: '0'
Is there something wrong with the way the counter’s “unit of measurement” is set?
I get a warning like this:
The unit of sensor.fishfeeder_counter (times) cannot be converted to the unit of previously compiled statistics (time(s)). Generation of long term statistics will be suppressed unless the unit changes back to time(s) or a compatible unit.
I bought the gen2 feeder off Amazon and it looks like it is the same chip. Going to try this once I do some more reading to understand how to do this. Thanks everyone for the thread here.
My ilonda fishfeeder died it seems ? ESPhome is not able to make it do anything anymore, but i’m not sure it’s ESP’s fault. When i press the button it also doesn’t rotate anymore so maybe a hardware fault ?
Any tips from anyone how to get this thing back alive ?
ESPHome has partial support for this module via LibreTiny, you can flash it and the fish feeder functions work as expected, but there’s no OTA and as far as I know, removing the module from the main PCB is the only way to flash it (it’s done using the pins located under the module.)