Closed Wallmeier closed 5 years ago
Hi,
I'm currently not at home and can't have a look. My real configuration is
mqtt:
address: localhost
port: 1883
prefix: home/flur/fritzbox
fritzbox:
address: fritz.box
defaultPeriod: 5
password: top-secret
services:
WANCommonInterfaceConfig:
prefix: wan
actions:
GetTotalBytesSent:
values:
NewTotalBytesSent:
topic: totalBytesSent
type: int
GetTotalBytesReceived:
values:
NewTotalBytesReceived:
topic: totalBytesReceived
type: int
WLANConfiguration:[1-3]:
prefix: wifi{id}
actions:
GetTotalAssociations:
period: 30
values:
NewTotalAssociations:
topic: totalAssociations
type: int
Maybe that already helps, otherwise I can check after #35c3 :)
Hi,
even with your posted configuration I'm still getting the same error as above... Could it be possible, that the file fritzbox.py is not up to date in the repository?
Thanks for your help! Nico
Which version of python you're using? I guess this might need >= 3.6
After installing python 3.7 the error message disappeared :)
Hello,
if I try to execute fritzbox2mqtt.py with the example configuration, I'm getting the following error:
Is the example configuration not valid?
Kind regards, Nico