Issue w Firewall Automation Filters to Enable/Disable via API

Started by digiwolf, June 19, 2024, 04:52:38 PM

Previous topic - Next topic
Hi All – I am aware that the API to access the Firewall rules is under development and that the alternative would be to create Automation Filters instead.

I re-created the existing LAN rules into Filters, disabled the 'old' LAN Rules under Rules > Lan, however they do not seem to work. I was meticulous enough to provide the right sequence to the filters to reflect the LAN Rules. My goal here is to activate/deactivate rules via Home Assistant with a toggle.

What do I miss here? Many thanks!

bonjour,
je suis coincé au même niveau que toi, j'ai publié un message concernant le même problème
la partie api pour le firewall a commencé à être développé depuis au moins le 2018, je ne comprends pas, car après toutes mes recherches api a l'air d'être suffisamment avancé pour lister les règles

Malheureusement, je ne sais ce que font les développeurs sur la partie doc api et développement api

Quote from: digiwolf on June 19, 2024, 04:52:38 PMHi All – I am aware that the API to access the Firewall rules is under development and that the alternative would be to create Automation Filters instead.

I re-created the existing LAN rules into Filters, disabled the 'old' LAN Rules under Rules > Lan, however they do not seem to work. I was meticulous enough to provide the right sequence to the filters to reflect the LAN Rules. My goal here is to activate/deactivate rules via Home Assistant with a toggle.

What do I miss here? Many thanks!

Were you able to get this working?

Your end goal is exactly the same thing I want to achieve, so I am glad I found this post before I started down the API road.