Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b2un0/fritz2mqtt
With this container, the REST interface of the FRITZ!Box, which is also used by the UI, can be controlled via mqtt
https://github.com/b2un0/fritz2mqtt
avm avm-fritz avm-platform container docker docker-image fritzbox fritzctl mqtt
Last synced: 28 days ago
JSON representation
With this container, the REST interface of the FRITZ!Box, which is also used by the UI, can be controlled via mqtt
- Host: GitHub
- URL: https://github.com/b2un0/fritz2mqtt
- Owner: b2un0
- License: mit
- Created: 2023-11-13T13:03:19.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T07:38:40.000Z (3 months ago)
- Last Synced: 2024-07-30T10:50:17.256Z (3 months ago)
- Topics: avm, avm-fritz, avm-platform, container, docker, docker-image, fritzbox, fritzctl, mqtt
- Language: JavaScript
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node.js fritz2mqtt
![](https://img.shields.io/github/license/b2un0/fritz2mqtt.svg)
![](https://img.shields.io/docker/pulls/b2un0/fritz2mqtt.svg)
![](https://img.shields.io/docker/stars/b2un0/fritz2mqtt.svg)
![](https://img.shields.io/docker/image-size/b2un0/fritz2mqtt.svg)
![](https://github.com/b2un0/fritz2mqtt/workflows/container/badge.svg)With this container, the REST interface of the FRITZ!Box, which is also used by the UI, can be controlled via mqtt
## Use case
In my case, I needed an easy way to turn a Wireguard VPN connection on or off via Home Assistant
see [home_assistant](./home_assistant) and [examples](./examples)
the response/status will be published to `$MQTT_TOPIC/$calledPaged`, eg. `fritz2mqtt/shareWireguard`
## Docker
```yaml
services:
fritz2mqtt:
image: b2un0/fritz2mqtt:latest
restart: always
container_name: fritz2mqtt
network_mode: bridge
environment:
FRITZ_HOST: http://192.168.178.1
FRITZ_USERNAME: ""
FRITZ_PASSWORD: ""
MQTT_HOST: mqtt://192.168.178.15:1883
MQTT_TOPIC: fritz2mqtt
```