MrOstling / cat-box

Alternate main board of Litter Robot 3
MIT License
0 stars 1 forks source link

Small "how to" #2

Open jiripaskov opened 3 months ago

jiripaskov commented 3 months ago

Hello @MrOstling. Please could I ask you to create small manual concerning what to expect from sensitivity setting, if it is possible to set sifting delay (from cat detection) or some examples how to work with setting over API?

It would be great.

THANK YOU

jiripaskov commented 3 months ago

Hello :)

MrOstling commented 3 months ago

The readme has been updated.

jiripaskov commented 3 months ago

Thank you for more info...

Regarding to sensitivity. The higher is th enumber the more sensitive system is?

Because now when the toilet is with use with cats it has a problem. Can´t detect my cats. I tried to turn the wheel on the back to be in firmly touch with ground etc. I have to literally push the toilet to detect cat now.

Maybe I forgot to add 2K resistor to cat sensor (resistor). Will try to inspect...

Also try to change setting using JSON. I use postman which creates command like this: http://192.168.1.44/settings?bin_full_cycles=5 with POST but it returns: Not found int opostman and nothing is changed. If I use PATCH it shows Internal server error. Do I something wrong?

MrOstling commented 3 months ago

Smaller sensitivity value will trigger with less weight in the box. In other words the the bigger the number the less sensitive it is. The sensitivity value is a threshold number. Each time the box cycles (and when it is reset) it re-calibrates the cat sensor to account for shifting litter. The sensitivity value is added to the calibrated value and compared with the current measurement to detect if a cat is in the box.

It looks like you are using query parameters. You need to send a json body. Something like Screenshot from 2024-07-20 17-47-14

curl --location --request PATCH '192.168.1.44' \
--header 'Content-Type: application/json' \
--data '{
    "bin_full_cycles": 5
}'
jiripaskov commented 3 months ago

Thank you. I have yet another question. When the globe returns back, it goes over a bit to level the litter. I need to continue few centimeters in this direction to level properly. Is there some way how to set this?

And also I need the globe to wait a few second before it goes to the final (end) position. My litter is bigger so it will help to level the litter properly to make a small (2 seconds) pause betweeb those 2 movements.

Is there some way how to edit files via wifi (or only via USB)? (let´s say to translate html etc.)?

Thank you.

MrOstling commented 3 months ago

You can adjust the cycle overshoot using the settings api.

On Tue, Jul 23, 2024, 13:28 jiripaskov @.***> wrote:

Thank you. I have yet another question. When the globe returns back, it goes over a bit to level the litter. I need to continue few centimeters in this direction to level properly. Is there some way how to set this?

And also I need the globe to wait a few second before it goes to the final (end) position. My litter is bigger so it will help to level the litter properly to make a small (2 seconds) pause betweeb those 2 movements.

Is there some way how to edit files via wifi (or only via USB)? (let´s say to translate html etc.)?

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/MrOstling/cat-box/issues/2#issuecomment-2245830384, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGVMQUNP7E2QZ2T3J67P3TZN2HDRAVCNFSM6AAAAABKZJNRUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVHAZTAMZYGQ . You are receiving this because you were mentioned.Message ID: @.***>

Dudeistpriest4 commented 2 months ago

how does one flash this to the esp32 ?