Hello,
I’m trying to install this, but it’s not working. I’m trying to install this on a Windows 10 laptop with openhab integretion.
First of al, I installed Mosquitto, normaly it’s running, then I installed Python. Everything is fine I guess.
Then I changed the config file. And try to run the script app.py
This gives me some errors.
What do I wrong?
‘C:\Program Files\mosquitto\govee2mqtt-master>python ./app.py -c ./
Traceback (most recent call last):
File “C:\Program Files\mosquitto\govee2mqtt-master\app.py”, line 23, in
config = yaml.load(file, Loader=yaml.FullLoader)
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml_init_.py”, line 114, in load
return loader.get_single_data()
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\constructor.py”, line 49, in get_single_data
node = self.get_single_node()
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\composer.py”, line 36, in get_single_node
document = self.compose_document()
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\composer.py”, line 55, in compose_document
node = self.compose_node(None, None)
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\composer.py”, line 84, in compose_node
node = self.compose_mapping_node(anchor)
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\composer.py”, line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\composer.py”, line 84, in compose_node
node = self.compose_mapping_node(anchor)
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\composer.py”, line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\parser.py”, line 98, in check_event
self.current_event = self.state()
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\parser.py”, line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\scanner.py”, line 116, in check_token
self.fetch_more_tokens()
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\scanner.py”, line 223, in fetch_more_tokens
return self.fetch_value()
File “C:\Users\piete\AppData\Local\Programs\Python\Python39-32\lib\site-packages\yaml\scanner.py”, line 577, in fetch_value
raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
in “./config.yaml”, line 2, column 28’