Commit graph

844 commits

Author SHA1 Message Date
Tomaae
e70dcc196d
Updated workflows
Some checks failed
Check for PR merge conflicts / Check for PR merge conflicts (push) Has been cancelled
HACS Action / HACS Action (push) Has been cancelled
SonarCloud / SonarCloud (push) Has been cancelled
CI / Python Code Format Check (push) Has been cancelled
CI / Python Tests (push) Has been cancelled
CI / Security check - Bandit (push) Has been cancelled
CI / Check hassfest (push) Has been cancelled
2025-05-01 14:54:55 +02:00
Tomaae
242f8142d2
Added dhcp client ip to interfaces, ref #321 2025-05-01 14:36:34 +02:00
Tomaae
f9edb6c1fe
Added ip and mac detection for bonds, ref #321 2025-05-01 14:26:10 +02:00
Tomaae
332b1a6657
Added wireless host signal information, fixes #413 2025-05-01 13:19:52 +02:00
Tomaae
477c68cf55
Workaround for 7.17 missing /system/health in some devices, fixes #392 2025-05-01 13:10:17 +02:00
Tomaae
6905bcb6b5
Fixed crash during slow reboot 2025-05-01 12:33:00 +02:00
Tomaae
b15940fc8e
Added more health sensors, fixes #320 2025-05-01 12:11:15 +02:00
Tomaae
a1b2851193
Fixed reboot check, fixes #389 2025-05-01 11:59:18 +02:00
Tomaae
fc51c71323
Update hacs.json 2025-05-01 11:58:23 +02:00
Tomaae
a8547b71dd
Merge remote-tracking branch 'origin/master' 2025-05-01 11:25:19 +02:00
Tomaae
1eefaa89c4
Update hacs.json 2025-05-01 11:25:05 +02:00
Tomaae
6487398741
Reworked scripts to buttons only, fixes #414 2025-05-01 11:21:10 +02:00
Tomaae
ee886e0365
Fixed invalid escape sequence, fixes #401 2025-05-01 10:48:35 +02:00
Tomaae
6f888a5c08
Added config entry migration for SSL Verify option 2025-05-01 10:37:45 +02:00
Tomaae
af01e48c05
Merge pull request #417 from tomaae/lokalise-2025-04-30_13-53-25
Some checks are pending
CI / Check hassfest (push) Blocked by required conditions
CI / Python Code Format Check (push) Waiting to run
CI / Python Tests (push) Waiting to run
CI / Security check - Bandit (push) Blocked by required conditions
Check for PR merge conflicts / Check for PR merge conflicts (push) Waiting to run
HACS Action / HACS Action (push) Waiting to run
SonarCloud / SonarCloud (push) Waiting to run
Lokalise: Translations update
2025-04-30 13:54:47 +02:00
Tomaae
81dc2d8f73 Lokalise: updates 2025-04-30 13:53:37 +02:00
Tomaae
8e68931e57
Added SSL Verify option 2025-04-30 13:35:45 +02:00
Tomaae
955fa33bca
Merge pull request #416 from mvdwetering/fix_invalid_escape_warning
Fix invalid escape sequence warning
2025-04-30 09:05:59 +02:00
Michel van de Wetering
013f946681 Fix wrong typehint 2025-04-25 22:06:20 +02:00
Michel van de Wetering
c26817bd25 Remove codecov, it has been pulled from PyPi and has been completely deprecated it seems 2025-04-25 22:00:18 +02:00
Michel van de Wetering
5650d7f5ca Format with black 2025-04-25 21:49:43 +02:00
Michel van de Wetering
44fe6a626b Use raw string for regex 2025-04-25 21:08:08 +02:00
Tomaae
07f81b887e
Updated librouteros requirement to 3.4.1 2025-02-02 05:16:09 +01:00
Tomaae
339b01dda3
Merge pull request #377 from arfoll/patch-2
Update sensor_types.py: Add system poe out
2025-01-08 01:00:51 +01:00
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
6de1a940ed
Update sensor_types.py: Add system poe out
Add POE total power consumption - at least on CRS328-24P
2024-10-04 16:03:33 +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