Would you be able to tell me exactly what this sensor is supposed to contain? Does it keep increasing over time, does it reset after some time? Does it reset on reboot (I suppose yes).
I suppose this is the equivalent to a pulse counter in esphome (with total), but not sure. If that’s the case, this additional sensor would do the job:
Thanks a lot
When i used it in tasmota there was a extra sensor ( counter ) which was updated each time the feeder had fed the fish .
Just have put your extra counter sensor in the config file, and yep it works like a charm, it gets updated each time the fish get fed.
if i reboot the counter starts with zero again
The handy thing is if you take note how many feeds it does before the food container is empty
you can write a automation to warn you when to fill it up again.
I actually made another addition , i have connected a DS18b20 (waterproof temp sensor) to
GPIO13 of the fishfeeder, so i get the watertemp also :
That was also my understanding, but maybe it makes sense to also add it to an input number in HA, in order not to lose it at all even if you reboot.
I need to find the time to put this into the esphome cookbook, as I had to try it all from scratch, solely based on the tasmota template and on the pin description in the above link from OpenHab forum
First of all thanks to everyone who participated in this thread as I got some very useful information here.
I hope my reply here will help anyone down the line.
I was finally able to purchase this feeder a week ago. I then tried my luck and found that this feeder is actually flashable via Tuya-convert, so NO HARDWARE TINKERING!
I flashed the iLonda feeder using tuya convert and everything seems to have worked fine. I’m able to connect to it on my network and can enter various configurations.
However, how do I get it connected to esphome? I’ve got the sketch setup in esphome, is it treated like any other esp device where you connect it via usb and upload the sketch? Need to do anything different since it was flashed with tuya convert?
Reason I ask is because when plugged in, esphome does not recognize that there is something plugged in to the USB port.
I had used Tuya convert OS and while it was flashing I do recall seeing some sort of .bin file used as the firmware …
Thanks for the note! Took a little while to figure out, but I think I’ve found where to get esphome to compile and then download a .bin file. Much appreciated!
Unfortunately esphome crashes my HA instance any time I try to do anything now (due to high memory use) don’t see a fix yet so far … Will report back whenever that gets fixed …
I’m not sure I completely follow, but I think you’re saying that the esphome add-on allows you to configure so that you can access it via [[IP Address]] @ Port 6052 ?? I’m guessing it has to do with this? I can’t seem to find how to do this …
However, since my esphome is on the same RPi as HA, would it not still consume a lot of memory too regardless of whether it’s frontend is through HA or if it’s through the web? In the link above, it also mentions that this uses up a good bit of memory.
Edit: I had another thought and I think I’m going off topic further and further, but I wasn’t sure how it would play out. Let’s say I run esphome in docker on another machine, would I have to reflash all my existing devices via usb?
Just wanted to post back to say thanks to @pplucky for the suggestion to flash firmware compiled from esphome. It was successfully picked up by the esphome integration and now subsequent updates can be done through esphome.
I had to restore my instance back to a December backup to fix memory issue in order to get esphome to function.
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?