nebhead / PiFire

PiFire is a Smart WiFi enabled controller for your pellet smoker / grill.
https://nebhead.github.io/PiFire-Pages
MIT License
82 stars 31 forks source link

Update SocketIO timer implementation, Update Firebase Notifications, Add u_min/max settings Add Hopper check to SocketIO #46

Closed weberbox closed 3 years ago

weberbox commented 3 years ago

Update SocketIO timer function to support more local operation on Android client this will allow hh:mm or mm:ss without the server needing to send updated data every second. Implement function to send notify_data to Android client and clear flags in control.py once triggered. This will support showing a flag icon on the Android client when a time or temp shutdown option is selected. Add notification channel and sound to Firebase to support custom sounds per notification type. Added u_min and u_max to settings in WebUI and SocketIO. Add option to force a hopper level check to SocketIO (not sure how I missed that before). Added a versions to settings. This will help with showing or hiding new features in Android client based upon the server or android version. (note the server version is currently unused but since it is nested in versions adding it later would be manual so better to add now) This update will break the timer operation on Android app versions lower than 1.2.0-rc1.