Commit graph

819 commits

Author SHA1 Message Date
Tomaae
7bada8570e
Merge pull request #376 from arfoll/patch-1
Update README.md - mention permissions for temp sensors
2025-01-08 00:59:51 +01:00
Tomaae
8ca38e19c0
Merge pull request #370 from lnicolas83/add_phy-temperature
Add health sensor phy-temperature
2025-01-08 00:59:30 +01:00
Tomaae
da2bffcf88
Merge pull request #378 from mvn23/support-713-wifi
Add wifi support for ROS 7.13+ devices without a physical wifi radio
2025-01-08 00:57:51 +01:00
mvn23
464ba7b768 Fix version check for devices without a physical wifi radio 2025-01-03 13:31:10 +01:00
mvn23
cf1b56c51e Add wifi (capsman) support for devices without a physical wifi radio running routeros 7.13+ 2024-10-09 14:02:05 +02:00
Brendan Le Foll
1f03cf55dc
Update README.md
Mention that at least on mikrotik 7.16 you need also reboot permissions in order for the health attributes to be shown. Unclear if this is a bug or not.
2024-10-04 15:51:45 +02:00
Nicolas Lisoski
b3aa0e3d90 Add sensor phy-temperature 2024-07-19 10:28:53 +02:00
Tomaae
de1ca6a6f6
Change board name for non mikrotik hardware #363 2024-07-06 15:23:57 +02:00
Tomaae
890dd11e8b
Merge pull request #354 from skrashevich/fix-changelog
Fix fetching changelogs
2024-04-25 10:20:07 +02:00
Tomaae
b2a77d2de3
Update hacs.json 2024-04-25 10:13:29 +02:00
Sergey Krashevich
502bebb766
fix(mikrotik_router): ensure proper spacing in combined changelogs 2024-04-19 20:45:21 +03:00
Sergey Krashevich
b9d87cd6aa
feat(mikrotik_router): fetch and concatenate changelogs for updates in reverse order 2024-04-16 18:31:35 +03:00
Sergey Krashevich
b6c89fb152
refactor(mikrotik_router): remove unused aiohttp import from update module 2024-04-16 18:03:00 +03:00
Sergey Krashevich
2aa2191334
refactor(mikrotik_router): use existing session for fetching release notes
Optimized the process of fetching release notes in the Mikrotik Router integration by utilizing the existing HTTP client session from Home Assistant's aiohttp_client. This change avoids creating a new session for each request, leading to more efficient resource usage and potentially reducing the likelihood of encountering issues related to session management.

By leveraging `async_get_clientsession`, the update component now aligns better with Home Assistant's recommended practices for external HTTP requests, ensuring consistency and reliability in how network calls are made within integrations.
2024-04-16 17:58:26 +03:00
Sergey Krashevich
ccc097c438
feat(mikrotik_router): switch to aiohttp for async release notes fetching
This commit replaces the synchronous requests library with aiohttp for asynchronous fetching of Mikrotik RouterOS update release notes. It introduces the use of Home Assistant's built-in `async_create_clientsession` to manage HTTP sessions, enhancing the integration's performance and reliability by leveraging asyncio for network operations.

The change aims to improve the responsiveness and efficiency of the Mikrotik Router integration within Home Assistant, particularly in retrieving release notes for updates. By moving to an asynchronous model, the integration can now fetch data without blocking the execution of other tasks, leading to a smoother user experience.

Additionally, the error handling has been updated to provide clearer messages in the log when the release notes cannot be fetched, either due to a network error or an exception. This improvement aids in troubleshooting and ensures that users are better informed about the status of their update checks.
2024-04-16 17:57:02 +03:00
Sergey Krashevich
8e8ff310c1
feat(mikrotik_router): format release notes for better readability
This commit updates the handling of MikroTik RouterOS update release notes within the custom component. Specifically, it modifies the formatting of the release notes text by replacing instances of "*) " with "- ", in addition to converting newline characters to "<br />" HTML tags. This change aims to improve the readability of the release notes when displayed in the UI, making it easier for users to understand the changes in each RouterOS update.
2024-04-16 17:57:01 +03:00
Sergey Krashevich
04b0987781
feat(update): update Mikrotik RouterOS changelog URL
This commit updates the URL used to fetch the Mikrotik RouterOS changelog. Previously, the integration fetched the changelog from a general Mikrotik changelogs page, which required specifying the version as a parameter. This approach has been changed to directly access the changelog from the CDN for the specific RouterOS version in question.

The change ensures that the integration directly accesses the relevant changelog file for the specified RouterOS version, potentially improving reliability and speed of access to these changelogs. This modification is particularly useful for environments where RouterOS updates are closely monitored, and up-to-date information is critical for maintaining system security and performance.
2024-04-16 17:55:55 +03:00
Tomaae
802c218bc9
Update stale.yml 2024-03-31 14:00:15 +02:00
Tomaae
c02162dfef
Update hacs.json 2024-02-17 00:20:31 +01:00
Tomaae
50abfe86b6
Update coordinator.py
Futureproof wifi module 7.13 change
2024-02-14 22:05:09 +01:00
Tomaae
5feb9ad3c2
Merge pull request #332 from slackr31337/ros-7.13
Fix for ros 7.13 wireless
2024-02-14 22:02:34 +01:00
Robert Dunmire III
6bc441558f Update coordinator.py 2023-12-27 09:28:17 -05:00
Robert Dunmire III
e828e0bf0a Fixes from code review 2023-12-16 12:57:01 -05:00
Robert Dunmire III
1bbedfaa8b Fix for ros 7.13 wireless 2023-12-08 10:30:15 -05:00
Tomaae
a61dfa5ff7
fixed uom for interfaces, fixes #325 2023-12-07 00:54:23 +01:00
Tomaae
80bae0c34d
black 2023-11-06 00:48:47 +01:00
Tomaae
593aca593b
Merge pull request #316 from L2jLiga/master
feat: netwatch binary sensor
2023-10-23 23:21:39 +02:00
Andrey Chalkin
13e765c10a
feat: netwatch binary sensor 2023-10-15 17:16:33 +02:00
Tomaae
2cdd645274
removed forgotten dev print 2023-10-06 02:07:51 +02:00
Tomaae
355d16ff4f
Merge remote-tracking branch 'origin/master' 2023-09-18 09:28:19 +02:00
Tomaae
e5f0e40832
Merge pull request #307 from tomaae/lokalise-2023-09-18_09-26-54
Lokalise: Translations update
2023-09-18 09:28:08 +02:00
Tomaae
5809d0aad9 Lokalise: updates 2023-09-18 09:27:03 +02:00
Tomaae
da894aa32a
Fixed MikrotikOS v6 system health sensor default values, ref #300 2023-09-18 09:19:07 +02:00
Tomaae
975f882416
Added query path into query error 2023-09-18 09:07:10 +02:00
Tomaae
715ead5458
Fixed diagnostics, fixes #303 2023-09-18 08:52:37 +02:00
Tomaae
4b610ba4e5
Fixed traffic sensor names, ref #306 2023-09-18 08:48:45 +02:00
Tomaae
6079affcfa
Fixed device tracker names 2023-09-12 12:00:42 +02:00
Tomaae
d3a2432eb7
Fixed entity names 2023-09-12 11:49:27 +02:00
Tomaae
2349584551
Do not process device tracker when tracking coordinator is disabled 2023-09-12 11:22:01 +02:00
Tomaae
4abf5b210d
added Callable definition 2023-09-12 11:13:53 +02:00
Tomaae
380884d60a
Merge pull request #296 from tomaae/coordinator
Coordinator
2023-08-31 02:54:27 +02:00
Tomaae
c8728238af
rebase 2023-08-31 02:53:34 +02:00
Tomaae
e1e9f61e08
cleanup 2023-08-10 02:21:16 +02:00
Tomaae
9c5a270b4f
cleanup 2023-08-10 02:03:11 +02:00
Tomaae
efe3de0c20
added coordinator for device tracker 2023-08-09 23:00:00 +02:00
Tomaae
ebee5a34e2
reverted to standard scan interval 2023-08-09 13:55:53 +02:00
Tomaae
ca58ee6007
fixed traffic uom 2023-08-09 13:55:31 +02:00
Tomaae
04e0d875cf
fixed client traffic sensors 2023-08-09 11:54:08 +02:00
Tomaae
51c9c62859
fixed "Ignoring invalid device info" error from 2023.8, fixes #292 2023-08-09 11:33:38 +02:00
Tomaae
5186956883
updated minimum ha version 2023-08-09 11:03:29 +02:00