Re: Python Plugin: LG Smart AC (SmartThinQ)
Posted: Monday 07 March 2022 17:51
Hello majki,
Due to a technical issue I had with one of my heat pumps module, one was replaced today. I used for the last 2 years the v1 api but once new module was added to my mobile phone application, it does not appear in my updated list of modules. So I made the assumption I may need v2 api for this new module.
I installed your plugin but I am facing an issue which apparently already happened to someone on this thread:
pi@Pie4B:~/domoticz/plugins/domoticz_lg_thinq_plugin $ python3 example.py -c FR -l fr-FR
2022-03-07 17:44:38 ERROR [wideq.example] No state file found (tried: '/home/pi/domoticz/plugins/domoticz_lg_thinq_plugin/wideq_state.json')
Traceback (most recent call last):
File "example.py", line 268, in example
with open(STATE_FILE) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'wideq_state.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "example.py", line 382, in <module>
main()
File "example.py", line 378, in main
ret = example(args.country, args.language, args.verbose, cmd=args.cmd, args=args.args)
File "example.py", line 273, in example
raise IOError
OSError
Obviously the file wideq_state.json does not exists yet so this error is sort of expected but when this last happened to someone you made a modification to your plugin.
Can you please assist me so I will be able to run example.py and check if my missing device appears with the V2 api ?
Many thanks in advance.
Regards.
Due to a technical issue I had with one of my heat pumps module, one was replaced today. I used for the last 2 years the v1 api but once new module was added to my mobile phone application, it does not appear in my updated list of modules. So I made the assumption I may need v2 api for this new module.
I installed your plugin but I am facing an issue which apparently already happened to someone on this thread:
pi@Pie4B:~/domoticz/plugins/domoticz_lg_thinq_plugin $ python3 example.py -c FR -l fr-FR
2022-03-07 17:44:38 ERROR [wideq.example] No state file found (tried: '/home/pi/domoticz/plugins/domoticz_lg_thinq_plugin/wideq_state.json')
Traceback (most recent call last):
File "example.py", line 268, in example
with open(STATE_FILE) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'wideq_state.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "example.py", line 382, in <module>
main()
File "example.py", line 378, in main
ret = example(args.country, args.language, args.verbose, cmd=args.cmd, args=args.args)
File "example.py", line 273, in example
raise IOError
OSError
Obviously the file wideq_state.json does not exists yet so this error is sort of expected but when this last happened to someone you made a modification to your plugin.
Can you please assist me so I will be able to run example.py and check if my missing device appears with the V2 api ?
Many thanks in advance.
Regards.