Skip to content

Commit

Permalink
Add support for Ceres pet feeder.
Browse files Browse the repository at this point in the history
Issue #507
  • Loading branch information
make-all committed Aug 13, 2023
1 parent d0a5994 commit cc051de
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Further device support has been made with the assistance of users. Please consi
- [ssorgatem](https://github.com/ssorgatem) for contributing support for Ledlux thermostat and another variant of quad powerstrip with USB and timers.
- [remoteassist](https://github.com/remoteassist) for assisting with support for Lefant LS1 Pro vacuums.
- [csarmat](https://github.com/csarmat) for assisting with support for WDYK 2P63A energy meters.
- [nyok92](https://github.com/nyok92) for assisting with support for Duux Blizzard air conditioners and contributing later improvements for it.
- [nyok92](https://github.com/nyok92) for assisting with support for Duux Blizzard air conditioners and contributing later improvements for it, and Ceres Plus pet feeders.
- [mattbruman](https://github.com/mattbruman) for assisting with support for Atomi ceiling fans.
- [dh0llyw00d](https://github.com/dh0llyw00d) for assisting with support for Skyfan DC fans with light.
- [syepes](https://github.com/syepes) for contributing support for Klarstein DryFy Connect, which was merged into Shinco 30D config, and ZN-2C09 air quality monitor.
Expand Down
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ of device.
- Bresser smart 7-in-1 weather station
- Catit Pixi smart fountain
- Catit pet feeder (Pixi 2.2kg dispenser and 6 meal versions, and another non-Pixi branded single dispenser)
- Ceres Plus pet feeder with camera
- CO2-Box air quality monitor
- Emax EM3378 Weather Station (selling as Hiper P1 and other rebrands)
- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
Expand Down
205 changes: 205 additions & 0 deletions custom_components/tuya_local/devices/ceres_plus_petfeeder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
name: Pet feeder
products:
- id: 8zrzjldq07tlxnlv
name: Ceres Plus Momoschoice
primary_entity:
entity: sensor
name: Status
icon: "mdi:paw"
dps:
- id: 234
type: string
name: sensor
optional: true
- id: 237
type: string
name: feed_plan
optional: true
- id: 242
name: feeding_record
type: string
optional: true
- id: 244
type: string
name: planned_feed_report
optional: true
- id: 246
type: string
name: feed_report
optional: true
secondary_entities:
- entity: switch
name: Indicator
category: config
icon: "mdi:led-on"
dps:
- id: 101
type: boolean
name: switch
- entity: switch
name: Timestamp
icon: "mdi:clock-time-eight"
category: config
dps:
- id: 104
type: boolean
name: switch
optional: true
- entity: select
name: Nightvision
icon: "mdi:weather-night"
category: config
dps:
- id: 108
type: string
name: option
optional: true
mapping:
- dps_val: "0"
value: Auto
- dps_val: "1"
value: "Off"
- dps_val: "2"
value: "On"
- entity: button
name: Format SD card
icon: "mdi:micro-sd"
category: config
dps:
- id: 111
type: boolean
name: button
optional: true
- id: 110
type: integer
name: status
optional: true
mapping:
- dps_val: "1"
value: "Formatted"
- dps_val: "4"
value: "Formatting"
- id: 109
type: string
name: capacity
optional: true
- id: 117
type: integer
name: format_state
optional: true
- entity: switch
name: Record
icon: "mdi:record-rec"
category: config
dps:
- id: 150
type: boolean
name: switch
optional: true
- entity: select
name: Recording mode
icon: "mdi:video"
category: config
dps:
- id: 151
type: string
name: option
optional: true
mapping:
- dps_val: "1"
value: Event
- dps_val: "2"
value: Continuous
- entity: button
class: restart
category: config
dps:
- id: 111
type: boolean
name: button
optional: true
- entity: sensor
class: battery
icon: "mdi:battery"
category: diagnostic
dps:
- id: 238
type: string
name: sensor
optional: true
mapping:
- dps_val: high
value: 80
- dps_val: low
value: 20
- entity: sensor
name: Food bucket
icon: "mdi:fridge"
category: diagnostic
dps:
- id: 239
type: string
name: sensor
optional: true
- entity: binary_sensor
name: Food blockage
class: problem
category: diagnostic
dps:
- id: 240
type: string
name: sensor
optional: true
mapping:
- dps_val: null
value: false
- entity: binary_sensor
name: Dispenser stuck
class: problem
category: diagnostic
dps:
- id: 241
type: string
name: sensor
optional: true
mapping:
- dps_val: null
value: false
- entity: number
name: Manual feed
icon: "mdi:food-drumstick"
dps:
- id: 245
type: integer
name: value
unit: portions
optional: true
persist: false
range:
min: 0
max: 3
mapping:
- dps_val: 0
value: 0
- dps_val: 1
value: 1
- dps_val: 2
value: 2
- dps_val:
value: 3
- id: 243
type: string
name: report
optional: true
- entity: number
category: config
class: weight
dps:
- id: 232
type: integer
name: value
optional: true
unit: g
range:
min: 1
max: 255

0 comments on commit cc051de

Please sign in to comment.