Monitors salt levels and updates the extension icon in real-time based on API data (high, medium, low, or error status).

Latest Version

Version
1.0
Update
December 12, 2024
Size
26.18KiB
Developer
Category
Users
1
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Alarms
ActiveTab
See more

Water Softener Salt Monitor Extension

This Chrome extension continuously monitors and updates an icon based on the status of a sensor system. It periodically fetches sensor data from an API and updates the extension's icon to reflect the current sensor level. The icon represents different states based on the salt level detected by the sensor: high, medium, or low.


Key Features:

Real-time Icon Updates: The extension fetches sensor data every minute and updates the extension icon to show the current status. The icon changes depending on the salt level: high (below 8 inches), medium (8-12 inches), or low (above 12 inches).

API Health Monitoring: Before fetching data, the extension checks the health of the connected API. If the API is down, the extension will show an error icon.

Timestamp Validation: The extension ensures the sensor data timestamp is valid and within the last two minutes. If the timestamp is outdated, a warning icon will be displayed.

Periodic Refresh: The extension sets up an alarm that triggers every minute, fetching fresh data and updating the icon accordingly.


The extension is ideal for monitoring systems where real-time updates on salt levels or similar metrics are required. The icon's dynamic state helps users easily understand the system's current status without having to open the extension.

--

Icons by Icon8 (https://icons8.com/) is licensed under Creative Commons BY 3.0 (https://creativecommons.org/licenses/by/3.0/).
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Water Softener Salt Monitor", "description": "Monitors salt levels and updates the extension icon in real-time based on API data (high, medium, low, or error status).", "version": "1.0", "permissions": ["alarms", "activeTab"], "host_permissions": ["http://ws-sensor.yellick.me:5000/*"], "background": { "service_worker": "background.js" }, "action": { "default_icon": "icons/icon-high.png" }, "icons": { "16": "icons/icon-high.png", "48": "icons/icon-high.png", "128": "icons/icon-high.png" } } "
Read more

Similar Extensions

icon

Auto Refresh Page - reload page Extension · Productivity 1 324 ★ 171KiB

icon

Meta Pixel Validator Extension · Productivity 1 6 ★ 274KiB

icon

TAGLAB - Analytics & Datalayer Console Viewer Extension · Developer Tools 1 8 ★ 1000KiB

icon

Consent Mode Inspector by InfoTrust Extension · Productivity 1 19 ★ 304KiB

icon

LeetCode Timer Extension · Developer Tools 1 20 ★ 279KiB

icon

Screener Smart Analyzer Extension · Productivity 1 54 ★ 305KiB

icon

JavaScript Errors Notifier Extension · Developer Tools 1 5 ★ 931KiB

icon

Google Calendar Event Checker Extension · Productivity 1 33 ★ 45.96KiB

icon

Auto Refresh Pro | Web Monitor Extension · Productivity 1 22 ★ 1.08MiB

icon

Page Monitor & Auto Refresh Page Extension · Productivity 1 7 ★ 259KiB

icon

ZoomInfo Chrome Extension Extension · Productivity 1 263 ★ 1.02MiB

icon

DexScreener Plus Extension · Productivity 1 2 ★ 835KiB

icon

Weatherly (Weather Forecast) Extension · News & Weather 1 184 ★ 509KiB

icon

Looker Studio Auto Refresh Extension · Productivity 1 51 ★ 229KiB

icon

Battery Status Extension · Productivity 1 35 ★ 146KiB

icon

AI Image Generation Extension · Photos 1 2 ★ 159KiB

icon

System Info Extension · Productivity 1 0 ★ 87.68KiB

icon

NHL Score Tracker Extension · Fun 1 9 ★ 685KiB

icon

DOTLAN ESI Radar Extension · Productivity 1 5 ★ 60.36KiB

icon

AI Image Detector & Fake Picture Check Online Extension · Productivity 1 0 ★ 128KiB

icon

Last Update Checker Extension · Productivity 1 0 ★ 434KiB

icon

Icon Clock: tidiest toolbar time! Extension · Productivity 1 3 ★ 318KiB

icon

Detector APIs Extension Extension · Developer Tools 1 3 ★ 53.53KiB

icon

Looker Studio Companion Extension · Developer Tools 1 4 ★ 3.02MiB