lwitzani / homebridgeStatusWidget

MIT License
371 stars 143 forks source link

[Enhancement] custom notifications #12

Closed sw33tT closed 3 years ago

sw33tT commented 3 years ago

Is it possible to add the status notifications to the configuration mechanism and save the β€žcustomβ€œ notifications to the JSON file for easy restore or update.

'Homebridge Status changed:' 'Your Homebridge instance stopped 😱' 'Your Homebridge instance is back online 😁' 'Update available for Homebridge 😎' 'Homebridge is now up to date ✌️' 'Update available for one of your Plugins 😎' 'Plugins are now up to date ✌️' 'Update available for Node.js 😎' 'Node.js is now up to date ✌️'

This would make it more easy to change text or language for custom notifications.

Thanks

lwitzani commented 3 years ago

Yeah thanks for the proposal πŸ‘πŸ» Can do it

sw33tT commented 3 years ago

thanks for your work on that really great scriptaple-widget

lwitzani commented 3 years ago

hey, can you get the newest code and check if everything is working? You config that you currently have will be removed and a new one created (because structure changed). Now you can set basically everything :D even color etc

sw33tT commented 3 years ago

It worked like a charm for me: i created the new JSON file and it loading without any issues.

The JSON file has all edits i made.

lwitzani commented 3 years ago

Nice πŸ‘πŸ»