catfeeder icon indicating copy to clipboard operation
catfeeder copied to clipboard

Running on a PI4 ?

Open SanderM2 opened this issue 1 year ago • 4 comments

I'm trying to run the application on a raspberry pi 4. So I bought the PI4 click shield and the clickbee board. When running the application I see this:

#./CatFeeder -d -v Cannot open state file /var/lib/catfeeder/state.json, No such file or directory Timeout waiting for interrupt Timeout waiting for interrupt Timeout waiting for interrupt Timeout waiting for interrupt Timeout waiting for interrupt

Is this Timeout line normal behaviour or is there an issue with the fact that I'm using a PI4 and maybe I need to change pin numbers somewhere?

SanderM2 avatar Aug 01 '23 12:08 SanderM2

Tried with Pi3 and pi3 click shield. Same issue...

SanderM2 avatar Aug 03 '23 10:08 SanderM2

You need to edit the EUI_7 down to EUI_0 (in ConfigApp.h) with your hub mac (the zigbee one) to make it work.

CatFeeder will replace the hub so you need to power off the official one.

I didn't see paring code so i think you need to pair the device with the official hub.

Fyleo avatar Aug 03 '23 11:08 Fyleo

Thanks. Seems to work now. At least it's printing RX/TX bytes. Going to do some more testing now...

SanderM2 avatar Aug 03 '23 12:08 SanderM2

It's printing "RXDECODE:" followed by some bytes when the feeder opens/closes etc... But it's not publishing anything more on MQTT except the message/decoded message and battery

Any thoughts?

SanderM2 avatar Aug 03 '23 14:08 SanderM2