Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Client' object has no attribute 'is_connected' #4

Open
hubgitbb opened this issue Jan 6, 2021 · 0 comments
Open

Comments

@hubgitbb
Copy link

hubgitbb commented Jan 6, 2021

Hi

i am doing some testing with a basic config.json and i get the folowing error:

root@pi:/home/pi/etrv2mqtt# etrv2mqtt config.json
2021-01-06 15:24:48.792 | INFO     | etrv2mqtt.cli:entrypoint:27 - /usr/local/bin/etrv2mqtt is starting
2021-01-06 15:24:48.825 | INFO     | etrv2mqtt.devices:__init__:72 - Adding device t1 MAC: 00:11:22:33:44:55 key: abcabcabcabcabcabcabcabcabc
2021-01-06 15:24:48.830 | INFO     | etrv2mqtt.devices:__init__:72 - Adding device t2 MAC: 00:11:22:33:44:66 key: cacacacacacacacacacacacacacaca
2021-01-06 15:24:48.837 | DEBUG    | etrv2mqtt.mqtt:__init__:32 - connecting to 192.168.1.100:1883
2021-01-06 15:24:49.732 | INFO     | etrv2mqtt.mqtt:_on_connect:49 - Connected to MQTT server
2021-01-06 15:24:50.849 | DEBUG    | etrv2mqtt.devices:poll:39 - Polling data from t1
2021-01-06 15:24:50.855 | DEBUG    | libetrv.device:connect:54 - Trying connect to 00:11:22:33:44:55
2021-01-06 15:25:01.972 | DEBUG    | libetrv.device:send_pin:87 - Write PIN to 00:11:22:33:44:55
2021-01-06 15:25:02.364 | DEBUG    | etrv2mqtt.devices:poll:45 - {"name": "eTRV", "battery": 58, "room_temp": 20.0, "set_point": 20.0, "last_update": "2021-01-06 15:25:02.363597"}
2021-01-06 15:25:02.369 | ERROR    | __main__:<module>:10 - An error has been caught in function '<module>', process 'MainProcess' (18169), thread 'MainThread' (3069663456):

AttributeError: 'Client' object has no attribute 'is_connected'

i have anon the MAC, KEY and IP.

how can i fix this?

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant