Petoneer Smart dot add-on

I’ve just published my first add-on!
It integrates Petoneer’s Smart Dot with Home Assistant so to be able to play with my cats from remote, or even automate it.
Here’s the repo with the install instructions

2 Likes

Fantastic. Do those things work with small dogs?

I don’t have any dog available, I don’t know if their protocol is supported. I integrated it with two cats and they both love it.

1 Like

I don’t have a cat. My dogs are presently self-configured as visitor sensors.

3 Likes

It’s easily discoverable: if they play with a common laser, they’ll love this.

i did install according the read.md, but how to connect and play with the smart dot?

you should also follow the instructions in the “Automation” section https://github.com/marcomow/hass-addons/tree/master/hass-addon-petoneer-smartdot#automation

Hi,

I can’t connect to Smart Dot
Logs:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
> [email protected] start
> NODE_ENV=production node src/index.js
Petoneer addon started!
poweredOn
unknown peripheral 5051a9751e6a, fff0, fff4 read!
TypeError: Cannot read property 'discoverCharacteristicsAsync' of undefined
    at /app/src/BluetoothController.js:45:63
unknown peripheral 5051a9751e6a, fff0, fff4 read!

Could you please help?

Hi, I see this message only now. Does it always show this error, also after restarting the add-on?

Can I kindly ask you to try multiple time to restart both the add-on and the Smart Dot?

Also I am aware of different versions of the Smart Dot, and the log makes me think probably you have a different version.

Hi,
What is needed to communicate with Smart Dot? Do I need to have any type of Bluetooth gateway?

Yes a bluetooth adapter is required, my implementation is tested with a Raspberry Pi 4 that has a built-in bluetooth adapter

I’m gonna use bluetooth on board ( HA installed on laptop) or USB dongle but I can’t get clear information how to get it to work.
Pasted in configuration.yaml

device_tracker:
  - platform: bluetooth_tracker
    interval_seconds: 10
    new_device_defaults:
      track_new_devices: false

Unfortunately, only thing listed in known_devices file is my TV.
Can You suggest a way to connect Smart Dot to HA?
Thank You in the advance

please read and follow the instructions, nowhere was stated to set up a device tracker https://github.com/marcomow/hass-addons/tree/master/hass-addon-petoneer-smartdot

I did it but had no luck. It’s not working.
I’m not sure if bluetooth is set up correctly.
image

can you please enter the add-on, in the log section, and report what you have there?

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
> [email protected] start
> NODE_ENV=production node src/index.js
Petoneer addon started!
poweredOn
no peripheral available
no peripheral available
no peripheral available
no peripheral available
no peripheral available
no peripheral available

I’m assuming that’s not detecting any device?

are you currently connected to the smartdot through a smartphone (using the app) ? smartdot can connect only to one device at a time.

also can you please check what is the advertised name of the smartdot? It should be “PetCat” or “TY”

Same here. My phone can discover device with name: “TY” but Raspbeery pi not

It’s discoverable by name “TY”.
I have uninstalled the Petoneer app.

Try to restart both the smartdot and the addon (maybe even the raspberrypi)

Sorry guys but it’s a bit of a guesswork with this implementation

BUT I plan to create a proper homeassistant integration in the future, as soon as I will have time. Please be patient and stay tuned