wildcs / oh3_compiled-addons

OpenHab3 Compile Addons by wildcs
14 stars 1 forks source link

TAPO P110M #10

Open Wilhelm1Daniel opened 11 months ago

Wilhelm1Daniel commented 11 months ago

Good evening to all,

After the solution for the P300, I've another problem with a different device of TAPO.

I use several P110M... with the auto-discovery of OH it works very well, without any log-warnings

When I config the P110M via thing-file, the P110M works also good, but there are many log entries (every 30 seconds) that the config of the P110M isn't correct...

2023-11-27 20:51:06.166 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P110:myTapoBridge:WKDryDaniel' changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): found type:'P110M' with mac:'xx-xx-xx-xx-xx-xx'. Check IP-Address 2023-11-27 20:51:06.169 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P110:myTapoBridge:WKDryDaniel' changed from OFFLINE (CONFIGURATION_ERROR): found type:'P110M' with mac:'xx-xx-xx-xx-xx-xx'. Check IP-Address to ONLINE

Regards

Daniel

wildcs commented 11 months ago

Mhh. Yes the 'P110M' seems to be a new device-type. The normal Thing-Type is just 'P110'. So but you said it's working normally. So i have to integrate a new type or look how to ignore this (maybe using wildcard in types)..... So but currently i'm a bit busy. So this can take a while.

Wilhelm1Daniel commented 11 months ago

This is my working configuration file.... pherhaps it will help you

Bridge tapocontrol:bridge:myTapoBridge "TAPO-Login" [ username="@@@@", password="@@@@" ] { Thing tapocontrol:P300:myTapoBridge:SZTisch "SZ P300" @ "Schlafzimmer" [ ipAddress="xxx.xxxx.xxx.xxx", pollingInterval=30, protocol="KLAP" ] Thing tapocontrol:P110:myTapoBridge:WKDryDaniel "Trockner" @ "Keller" [ ipAddress="xxx.xxx.xxx.xxx", pollingInterval=30, protocol="AES" ] }

wildcs commented 11 months ago

Hi, can you please post a trace log from the query_device_data oif this device? Thx

Wilhelm1Daniel commented 11 months ago

Hi, can you please post a trace log from the query_device_data oif this device? Thx

Yes I can do, when you Tell me how ;-)

Edit... I'll hope this will be the correct one

2023-12-02 13:15:55.553 [TRACE] [l.devices.wifi.TapoBaseDeviceHandler] - (tapocontrol:P110:myTapoBridge:WKDryDaniel) schedulerAction 2023-12-02 13:15:55.557 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) sendAsync unencrypted request: '{"method":"multipleRequest","params":{"requests":[{"method":"get_device_info","requestTimeMils":1701519355555},{"method":"get_energy_usage","requestTimeMils":1701519355555}]},"requestTimeMils":1701519355555}' to 'http://xxx.xxx.xxx.xxx:80/app?token=xxxxxxxxxxxx' 2023-12-02 13:15:55.559 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) sending encrypted request to 'http://xxx.xxx.xxx.xxx:80/app?token=xxxxxxxxxxxx' with cookie 'TP_SESSIONID=BD90C2EA89394DC720A3C0C03A7747C6' 2023-12-02 13:15:55.644 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) asyncResponseReceived '{"error_code":0,"result":{"response":"UZhEx8BqRX0zRY4ab4TA+SO62IwKX6h3oOYqfv6uHrf1JwFm7yGgVyKBfx9vTLXT8fPRYU9M/3fkL6bejIeHL9C+Q62w+q985blDLPWO9Rtr5/EAn1yotap0ReXi/kwODTNnpLVL2rAHRa3ydf6P1v2FCy7itilBihX+gV/l5qVW6eoBiwS4E3JQBYHYNKvu6kcoIOaEvU074fWUUfhHOnat1XLhE4dX/W1H7O/WSQ2IgQKf+ckSP/pwYznmJXsWPYAZRcghLH48+v7ozH93MIKBwHyoit6smH2aWO0GcoaHwR8yRkVJhXeK8Lox+yazTzRPMjhBr5+RjKPf88X+XQn5V/a/MZf+1Py+F2HAv2ACk8CwTnyEeqz4MGOwcn5MSgZvY1N/CFzBJLWAWKZJRi39gTIuibRUnArZd+xmn1OTWGpG4f2TpG6OnW/0vHIjSp9GuOAhj+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:P110:myTapoBridge:WKDryDaniel / SecurePassthrough-Session) decrypted response '{"result":{"responses":[{"method":"get_device_info","result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596029,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"error_code":0},{"method":"get_energy_usage","result":{"today_runtime":795,"month_runtime":2235,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:15:54","electricity_charge":[0,560,0],"current_power":0},"error_code":0}]},"error_code":0}' 2023-12-02 13:15:55.660 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle multipleResponse '{"errorcode":0,"result":{"responses":[{"method":"get_device_info","result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596029,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"error_code":0},{"method":"get_energy_usage","result":{"today_runtime":795,"month_runtime":2235,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:15:54","electricity_charge":[0,560,0],"current_power":0},"error_code":0}]},"method":"","msg":""}' 2023-12-02 13:15:55.662 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle singleResponse from command 'get_device_info' 2023-12-02 13:15:55.666 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596029,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"method":"get_device_info","msg":""}' 2023-12-02 13:15:55.680 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle singleResponse from command 'get_energy_usage' 2023-12-02 13:15:55.688 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"today_runtime":795,"month_runtime":2235,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:15:54","electricity_charge":[0,560,0],"current_power":0},"method":"get_energy_usage","msg":""}' 2023-12-02 13:16:25.562 [TRACE] [l.devices.wifi.TapoBaseDeviceHandler] - (tapocontrol:P110:myTapoBridge:WKDryDaniel) schedulerAction 2023-12-02 13:16:25.563 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) sendAsync unencrypted request: '{"method":"multipleRequest","params":{"requests":[{"method":"get_device_info","requestTimeMils":1701519385563},{"method":"get_energy_usage","requestTimeMils":1701519385563}]},"requestTimeMils":1701519385563}' to 'http://xxx.xxx.xxx.xxx:80/app?token=xxxxxxxxxxxx' 2023-12-02 13:16:25.566 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) sending encrypted request to 'http://xxx.xxx.xxx.xxx:80/app?token=xxxxxxxxxxxx' with cookie 'TP_SESSIONID=BD90C2EA89394DC720A3C0C03A7747C6' 2023-12-02 13:16:25.683 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) asyncResponseReceived '{"error_code":0,"result":{"response":"UZhEx8BqRX0zRY4ab4TA+SO62IwKX6h3oOYqfv6uHrf1JwFm7yGgVyKBfx9vTLXT8fPRYU9M/3fkL6bejIeHL9C+Q62w+q985blDLPWO9Rtr5/EAn1yotap0ReXi/kwODTNnpLVL2rAHRa3ydf6P1v2FCy7itilBihX+gV/l5qVW6eoBiwS4E3JQBYHYNKvu6kcoIOaEvU074fWUUfhHOnat1XLhE4dX/W1H7O/WSQ2IgQKf+ckSP/pwYznmJXsWPYAZRcghLH48+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g13+5qvBYOkC/jubEoUDukrYJZgjaL7FVx0EH9XqVUQ3j9GH8ComL7yU2cRnDaH3IBvHrflvRZooh6w3E8XrVMOYySYuNebU43amDAjPLg0a0Aqgz0CzEa1nrT8d"}}' 2023-12-02 13:16:25.686 [TRACE] [Passthrough.SecurePassthroughSession] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / SecurePassthrough-Session) decrypted response '{"result":{"responses":[{"method":"get_device_info","result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596059,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"error_code":0},{"method":"get_energy_usage","result":{"today_runtime":796,"month_runtime":2236,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:24","electricity_charge":[0,560,0],"current_power":0},"error_code":0}]},"error_code":0}' 2023-12-02 13:16:25.708 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle multipleResponse '{"errorcode":0,"result":{"responses":[{"method":"get_device_info","result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596059,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"error_code":0},{"method":"get_energy_usage","result":{"today_runtime":796,"month_runtime":2236,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:24","electricity_charge":[0,560,0],"current_power":0},"error_code":0}]},"method":"","msg":""}' 2023-12-02 13:16:25.710 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle singleResponse from command 'get_device_info' 2023-12-02 13:16:25.714 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596059,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"method":"get_device_info","msg":""}' 2023-12-02 13:16:25.720 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle singleResponse from command 'get_energy_usage' 2023-12-02 13:16:25.724 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"today_runtime":796,"month_runtime":2236,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:24","electricity_charge":[0,560,0],"current_power":0},"method":"get_energy_usage","msg":""}' 2023-12-02 13:16:55.571 [TRACE] [l.devices.wifi.TapoBaseDeviceHandler] - (tapocontrol:P110:myTapoBridge:WKDryDaniel) schedulerAction 2023-12-02 13:16:55.574 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) sendAsync unencrypted request: '{"method":"multipleRequest","params":{"requests":[{"method":"get_device_info","requestTimeMils":1701519415573},{"method":"get_energy_usage","requestTimeMils":1701519415573}]},"requestTimeMils":1701519415573}' to 'http://xxx.xxx.xxx.xxx:80/app?token=xxxxxxxxxxxx' 2023-12-02 13:16:55.579 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) sending encrypted request to 'http://xxx.xxx.xxx.xxx:80/app?token=xxxxxxxxxxxx' with cookie 'TP_SESSIONID=BD90C2EA89394DC720A3C0C03A7747C6' 2023-12-02 13:16:55.670 [TRACE] [.securePassthrough.SecurePassthrough] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / HTTP-SecurePasstrhough) asyncResponseReceived '{"error_code":0,"result":{"response":"UZhEx8BqRX0zRY4ab4TA+SO62IwKX6h3oOYqfv6uHrf1JwFm7yGgVyKBfx9vTLXT8fPRYU9M/3fkL6bejIeHL9C+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Vl6KlHQylaoPF9NRsojTN1rJgZZi9LNbpp42ZT2ky/Pjsu4MdC1aUbBl1TzRH34m/LEmYnmTxtBwrzSOAGvxBsxSyQKLu1uCdyGZF/yuZ7TSxyEMiUTs01LHmA19bzlOvJhvdrAW7tCb0Jdiv8/3k5xwAtOqGuS79ZH9RgMTV1H2ALUS96eqDWfCnTD8fJxBEhzRCMQH6AhlG8VQPJ9SZbUTecIIzxHbPyVVduT4MQAh05fyXmGRXER1PLBM/88NXSsEPydFFeJhLESveSnee0PJnfIEmuLgUHqHpwi42Ef"}}' 2023-12-02 13:16:55.676 [TRACE] [Passthrough.SecurePassthroughSession] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / SecurePassthrough-Session) decrypted response '{"result":{"responses":[{"method":"get_device_info","result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596089,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"error_code":0},{"method":"get_energy_usage","result":{"today_runtime":796,"month_runtime":2236,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:54","electricity_charge":[0,560,0],"current_power":0},"error_code":0}]},"error_code":0}' 2023-12-02 13:16:55.680 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle multipleResponse '{"errorcode":0,"result":{"responses":[{"method":"get_device_info","result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596089,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"error_code":0},{"method":"get_energy_usage","result":{"today_runtime":796,"month_runtime":2236,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:54","electricity_charge":[0,560,0],"current_power":0},"error_code":0}]},"method":"","msg":""}' 2023-12-02 13:16:55.692 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle singleResponse from command 'get_device_info' 2023-12-02 13:16:55.694 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniela / DeviceConnector) handle singleResponse from command 'get_energy_usage' 2023-12-02 13:16:55.701 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"device_id":"80221CE48FE9BAD72C1D2511A5B0CF1C21790208","fw_ver":"1.0.4 Build 230825 Rel.115051","hw_ver":"1.0","type":"SMART.TAPOPLUG","model":"P110M","mac":"xx-xx-xx-xx-xx-xx","hw_id":"04E2D29EB34984CEFD2AA186FC9CE9D8","fw_id":"00000000000000000000000000000000","oem_id":"C6FCD6CB36F06930266DA843DDA18DEF","ip":"xxx.xxx.xxx.xxx","time_diff":60,"ssid":"VW5zZXIgTmV0eg==","rssi":-47,"signal_level":3,"auto_off_status":"off","auto_off_remain_time":0,"latitude":497269,"longitude":73024,"lang":"de_DE","avatar":"plug","region":"Europe/Berlin","specs":"","nickname":"VHJvY2tuZXIgRGFuaWVs","has_set_location_info":true,"device_on":true,"on_time":596089,"default_states":{"type":"last_states","state":null},"overheated":false,"power_protection_status":"normal","overcurrent_status":"normal"},"method":"get_device_info","msg":""}' 2023-12-02 13:16:55.701 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniela / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"today_runtime":199,"month_runtime":199,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:54","electricity_charge":[0,0,0],"current_power":0},"method":"get_energy_usage","msg":""}' 2023-12-02 13:16:55.711 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) handle singleResponse from command 'get_energy_usage' 2023-12-02 13:16:55.723 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:myTapoBridge:WKDryDaniel / DeviceConnector) queryResponse successfull '{"errorcode":0,"result":{"today_runtime":796,"month_runtime":2236,"today_energy":0,"month_energy":0,"local_time":"2023-12-02 13:16:54","electricity_charge":[0,560,0],"current_power":0},"method":"get_energy_usage","msg":""}'

wildcs commented 10 months ago

I uploaded a new snapshot for 4.2.0 with some fixes. This should fix it. version for 4.1.0 stable will follow next days. Happy new year

Yordan1976 commented 8 months ago

Hi, is it possible to use the P110M with openHAB 3.4? The scan doesn't find any devices.

Yordan1976 commented 8 months ago

I also tried to add it as a P110.

2024-02-27 22:57:42.446 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P110:26941f1d25:78d3705e62' changed from OFFLINE (COMMUNICATION_ERROR):  (1003) to UNKNOWN:  (1003)

2024-02-27 22:57:42.453 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tapocontrol:P110:26941f1d25:78d3705e62' changed from UNKNOWN:  (1003) to OFFLINE (COMMUNICATION_ERROR):  (1003)

==> /opt/openhab/userdata/logs/openhab.log <==

2024-02-27 22:58:12.448 [TRACE] [pocontrol.internal.device.TapoDevice] - (tapocontrol:P110:26941f1d25:78d3705e62) schedulerAction

2024-02-27 22:58:12.453 [TRACE] [ntrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P110:26941f1d25:78d3705e62) not logged in

2024-02-27 22:58:12.458 [DEBUG] [pocontrol.internal.device.TapoDevice] - (tapocontrol:P110:26941f1d25:78d3705e62) tried to query DeviceInfo but not loggedIn

2024-02-27 22:58:12.467 [TRACE] [rol.internal.api.TapoDeviceConnector] - (tapocontrol:P110:26941f1d25:78d3705e62) sending login to url 'http://192.168.0.101/app'

2024-02-27 22:58:12.472 [TRACE] [ntrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P110:26941f1d25:78d3705e62) create handhsake with payload: {"method":"handshake","params":{"key":"-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCCoVIcVLgFeBAv2tlXQXPZ6+lBAKPEWW3OdDm0\r\n9ol5PBPRwB7LgCrprIXBM0Zda3pwXdjzcwXiR1Fu9RQGJKDr4GgcekKt3s3zwy+GjrVtpsI2hVzK\r\naIk8obC1kE2R35+6Yg+YRbZIJkDU/KsXWjDx0kFnTU05GJ597r5JYrwCiQIDAQAB\n-----END PUBLIC KEY-----\n"},"requestTimeMils":1709071092471}

2024-02-27 22:58:12.478 [TRACE] [ntrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P110:26941f1d25:78d3705e62) sendRequest to 'http://192.168.0.101/app' with cookie ''

2024-02-27 22:58:12.495 [DEBUG] [ntrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P110:26941f1d25:78d3705e62) device returns errorcode '1003'

2024-02-27 22:58:12.502 [TRACE] [ntrol.internal.api.TapoDeviceHttpApi] - (tapocontrol:P110:26941f1d25:78d3705e62) not logged in