Closed hansij66 closed 1 year ago
I have released 0.3.2. Please try. Thank you for the report.
Not resolved yet:
sudo /root/.local/bin/nibe-mqtt -c config.yaml
2023-02-14 19:56:45,449 - INFO - Running Nibe MQTT 0.3.2 service with Nibe 1.6.0 lib
2023-02-14 19:56:45,493 - WARNING - MQTT connected
2023-02-14 19:56:50,486 - INFO - Polling coil current-outdoor-temperature-bt1-30002: last_update = None
2023-02-14 19:56:50,515 - INFO - current-outdoor-temperature-bt1-30002: 9.8
2023-02-14 19:56:50,515 - ERROR - name 'conf' is not defined
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/nibe/event_server.py", line 17, in notify_event_listeners
listener(*args, **kwargs)
File "/root/.local/lib/python3.9/site-packages/nibe_mqtt/service.py", line 127, in on_coil_update
self.mqtt_client.publish_discovery(coil, self._get_device_info())
File "/root/.local/lib/python3.9/site-packages/nibe_mqtt/service.py", line 64, in _get_device_info
if "nibegw" in conf["nibe"]:
NameError: name 'conf' is not defined
I think it is now fixed :)
Fixed. Thanks
Thank you , I will give it a go.
Nibe library works fine for me (S2125, TCP modbus) Nibe-mqtt does not work for me
Environment:
I get error below:
My config.yaml