[RELEASE] Petsafe Smart Feeder Integration

getting this error now, anyone seen this?

dev:2292020-11-05 04:48:52.851 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.833 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.822 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.814 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.811 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.682 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.679 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.628 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.550 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 04:48:52.454 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

What were you doing? Some details on what was going on when this happened would be helpful. It looks like button presses. What is calling push()?

The innovelli switch is calling push,

this is just a test, so running it from "bedroom" as that's the location of the switch. "Cali" is the petfeeder.

dev:2292020-11-05 07:36:41.417 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 07:36:41.412 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 07:36:41.408 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

dev:2292020-11-05 07:36:41.383 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.332 pm infoAction: Push button 1 on cali

app:622020-11-05 07:36:41.322 pm infoAction: Push button 1 on cali

dev:2292020-11-05 07:36:41.310 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.305 pm infoAction: Push button 1 on cali

app:622020-11-05 07:36:41.300 pm infoAction: Push button 1 on cali

dev:2292020-11-05 07:36:41.295 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.281 pm infoBedroom: Bedroom Switch pushed 2

app:622020-11-05 07:36:41.268 pm infoBedroom: Bedroom Switch pushed 2

dev:2292020-11-05 07:36:41.241 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.236 pm infoBedroom: Bedroom Switch pushed 2

app:622020-11-05 07:36:41.230 pm infoBedroom: Bedroom Switch pushed 2

dev:2292020-11-05 07:36:41.172 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.152 pm infoAction: Push button 1 on cali

dev:2292020-11-05 07:36:41.142 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.135 pm infoAction: Push button 1 on cali

app:622020-11-05 07:36:41.098 pm infoBedroom: Bedroom Switch pushed 2

app:622020-11-05 07:36:41.065 pm infoBedroom: Bedroom Switch pushed 2

dev:2292020-11-05 07:36:41.036 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_dcm_petsafe_PetSafe_Feeder_422.push() is applicable for argument types: (java.lang.Long) values: [1] Possible solutions: push(), use([Ljava.lang.Object;), run(), run(), dump(), wait(long) (push)

app:622020-11-05 07:36:41.023 pm infoAction: Push button 1 on cali

app:622020-11-05 07:36:41.010 pm infoAction: Push button 1 on cali

app:622020-11-05 07:36:40.943 pm infoAction: Push button 1 on cali

dev:652020-11-05 07:36:40.937 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

app:622020-11-05 07:36:40.906 pm infoBedroom: Bedroom Switch pushed 2

app:622020-11-05 07:36:40.904 pm infoBedroom: Bedroom Switch pushed 2

dev:652020-11-05 07:36:40.874 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

app:622020-11-05 07:36:40.845 pm infoAction: Push button 1 on cali

dev:652020-11-05 07:36:40.801 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

app:622020-11-05 07:36:40.798 pm infoBedroom: Bedroom Switch pushed 2

dev:652020-11-05 07:36:40.745 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

app:622020-11-05 07:36:40.732 pm infoBedroom: Bedroom Switch pushed 2

dev:652020-11-05 07:36:40.721 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

dev:652020-11-05 07:36:40.689 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

dev:652020-11-05 07:36:40.616 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

dev:652020-11-05 07:36:40.605 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

dev:652020-11-05 07:36:40.588 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

dev:652020-11-05 07:36:40.578 pm debugBedroom Switch: CentralSceneNotification(keyAttributes:3, sceneNumber:2, sequenceNumber:108)

I just pushed an update, can you try that again and let me know?

Yep,

worked! Huge Thanks! This is amazing!

1 Like

Thanks for making this! I submitted a PR to fix a scheduling issue.

However - how do I integrate it with RuleMachine (or any automation) so that I can set weekend schedules and weekday schedules? For example, on Friday I'd like to set the schedule for weekends to be 9:30am as opposed to weekday schedule at 9am. I've tried using Run Custom Action but the petsafe device is not listed under any capability.

Thanks!

Is anybody having issues with the PetSafe cloud, as of late?

The Smartfeed app appeared to be having issues connecting to my feeder, and I have not been receiving notifications to the PetSafe Integration either.

I switched to the My PetSafe app and I can see my feeder now and appears to work without issue, other than a scheduling error that I have contacted support about.

I am still not getting notifications pushed to HE. I just reinstalled/updated the integration and tried logging out of the app and can't log back in again (error 429). Perhaps the same code issue I was having above?

Does anybody know what's happening atm?


429 is throttling. Sounds like they’re blocking you. This is an unofficial integration. Perhaps they’re trying to block it. I’ll see what I can figure out.

1 Like

The company rewrote their API and broke everything. I'll have to see if it's worth salvaging. It will be a ton of work

Oh no!

Not saying it won’t be possible but the type of authentication used is going to be a big challenge to write since Hubitat doesn’t give me an easy way to perform aws cognito authentication. Correct me if I’m wrong @gopher.ny but I’m assuming no cognito apis are bundled/whitelisted, right?

Correct, and given that we use Cognito for our account authentication that drives hub permissions, I don't like the idea of opening it to apps/drivers in general. There's a sizable chance of opening some unforeseen security hole.

Fair enough though not sure how that’s a security risk. I mean I’m just going to implement cognito using the rest calls directly…

good news - a lot of the API remains the same
good news - they even seem to have added support for MQTT realtime notifications
bad news - this is probably an 80-100 hour project to figure out and even then, it may not be possible depending on some of the encryption/signature stuff needed to do the Cognito authentication handshakes by hand :frowning:

2 Likes

Got things about 80% figured out. Just had to dig out my old iphone 6 to jailbreak!

2 Likes

Have everything working except the battery levels. They seem to have changed the calculations so I'm working on that.

New version published this morning. I've been running it for a week and seems to be working fine for me.

1 Like

I've updated also, and been running this version for about a week with no issue. Thanks so much for your work on this @dman2306

When I switched Android apps, I contacted PetSafe support.
They just got back to me today with this reply:

I've yet to notice any issues with the integration, but I'm sure I will.

Anyway this can be ported to work with Wopet pet feeder?