twam / fritzbox2mqtt Goto Github PK
View Code? Open in Web Editor NEWFritz!Box to MQTT gateway
Fritz!Box to MQTT gateway
Hello,
if I try to execute fritzbox2mqtt.py with the example configuration, I'm getting the following error:
python3 fritzbox2mqtt.py -c config.yaml -v
2018-12-27 09:45:19,089 [MainThread ] INFO Connecting to MQTT server localhost:1883 ...
Traceback (most recent call last):
File "fritzbox2mqtt.py", line 119, in <module>
2018-12-27 09:45:19,097 [mqttLoop ] INFO Connected to MQTT server localhost:1883.
main()
File "fritzbox2mqtt.py", line 26, in main
run(args)
File "fritzbox2mqtt.py", line 88, in run
f = fritzbox.Fritzbox(config)
File "/home/pi/fritzbox2mqtt/fritzbox.py", line 38, in __init__
self._parseServiceConfig(fritzboxConfig.get("services", []))
File "/home/pi/fritzbox2mqtt/fritzbox.py", line 66, in _parseServiceConfig
if matches['id'] == None:
TypeError: '_sre.SRE_Match' object is not subscriptable
Is the example configuration not valid?
Kind regards,
Nico
Hello i have a error message:
Python v 3.9
python3 fritzbox2mqtt.py -c config.yaml
2024-04-25 10:40:57,187 [MainThread ] ERROR Failure while reading configuration file 'config.yaml': ScannerError('while parsing a tag', <yaml.error.Mark object at 0x7fbde02e20>, "expected URI, but found '\n'", <yaml.error.Mark object at 0x7fbde02eb0>)
Please help me
Hi!
I've installed all mentioned requirements from requirements.txt. If I try to execute fritzbox2mqtt.py I get the following error message:
python fritzbox2mqtt.py
Traceback (most recent call last):
File "fritzbox2mqtt.py", line 12, in <module>
import fritzbox
ImportError: No module named fritzbox
Is the file fritzbox.py missing in the repository?
Kind regards,
Nico Wallmeier
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.