-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Different Notification Options #25
Comments
One thing i would like to add is that all of these notifications could be built with automations in homeassistant instead. And this may be the better way of then controlling it. So if you dont want to build this bit in, i 100% understand. |
Reviewing Features listed in request - let me know if I missed one
Approved for go ahead: The low battery notification and the power supply changed notification would be a nice addition. Let me know your thoughts @C4-Dimitri |
The only thing that these controls do is toggle the in app notifications. They arent a trigger you can use a get command on. I can see if i can dig around to find where it has a get version of power supply changed etc. Where you arent asking it to change whether to notify from the app or not. |
Ahh, gotcha 😄 |
Device model name
Most devices in general?
Device model number
Most devices in general?
Device type
Other
Feature name
Toggle Different Notifications
Describe the feature
Ability to toggle different notifications.
Some devices will probably have different specific notification toggles. if we are to build these in, we need it for each device type unfortunately. but some will surely be generic.
main notification toggle:
https://api.us.petlibro.com/device/setting/updateNoticeSetting
notice type refers to whether it is always allowed to send notifications, or whether only in a given time period (custom time).
1 = All day
2 = Custom Time.
here is the data for a request with custom times:
feeding notification toggle:
https://api.us.petlibro.com/device/setting/updateFeedingNoticeSetting
feeding plan notice time, can be a number from 0 - 5, this refers to mins before the feeding is scheduled it will remind the user.
here is a response for 5 mins instead.
enableFeedingPlanAdvanceNotice is what controls the actual toggle. cant find a switch for the enableFeedingPlanAllFinishNotice i dont have an option to control this individually in the app atleast.
low food notification toggle:
https://api.us.petlibro.com/device/setting/updateSurplusGrainNoticeSetting
low battery notification:
https://api.us.petlibro.com/device/setting/updateLowBatteryNoticeSetting
power supply changed notification toggle:
https://api.us.petlibro.com/device/setting/updatePowerChangeNoticeSetting
dessicant reminders notification toggle:
https://api.us.petlibro.com/device/setting/updateDesiccantNoticeSetting
network issues notification toggle:
https://api.us.petlibro.com/device/setting/updateOfflineNoticeSetting
noticetype 1 or 2 refers to whether repeat notifications for this is allowed within 1 hour or not.
1 = no repeat notifications in 1 hour.
2 = allowed to repeat within 1 hour.
food dispenser jammed notification toggle:
https://api.us.petlibro.com/device/setting/updateGrainOutletBlockedNoticeSetting
What problem does this feature solve?
More control from homeassistant rather than app.
Available to help with the feature development
The text was updated successfully, but these errors were encountered: