-
Notifications
You must be signed in to change notification settings - Fork 1
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
新的智能開關 #5
Comments
Need switch parameter. |
Does these help? The model is WTYGF-540207H. |
Please help to test the latest commit. |
I'm having an issue while installing the latest commit.
|
2024-11-11 22:36:23 Traceback (most recent call last): |
Found an other issue that once integration loaded. The switch will be appeared as offline in Panasonic APP. The only way to fix is remove and add it again. |
Can you try to comment #400 - #408 file "/panasonic_ems2/core/const.py"? |
Line 401 "LIGHT_OPERATION_STATE" caused the issue. |
What entities did you get after removed LIGHT_OPERATION_STATE? |
Is the status unavailable? Is the switch is single channel? |
It is available in Panasonic APP but not in HA. |
Can you update to the latest commit and check the entities of HA panasonic switch? |
The latest commit show no deices or entities. And caused the swtich offline. |
Strange. I didn't change the query commands. Can you help to remove #401-#408 of const.py? |
Or please help to check the logs of HA if any logs related to. Panasonic_ems2 |
I move the query commands of switch to cloud.py (#439 - #444) depends on different switch mode. |
Work? You mean that you can control the switch but it did not show the state? The state of query command was not removed, so the state of the switch shall be reported. |
Yes, I commented #401 - #408. I could control the switch but did not show the state. |
我也嘗試安裝了,一樣的問題,無法取得狀態。 |
Share the device is best way to speed up the debugging process. |
(Removed) |
I could also share my switch with you tonight when I back home. |
Thanks. |
I fix the issue that the state of the switch type is not update. Please help to test. |
Test report from my side with 二迴路開關 |
Removed |
Ok, thanks |
I test the switch. |
Your two channels and three channels switch are offline. You need to restart it. |
Checking |
@chc919 @846637834 |
Restarted. |
After guessed the logic of switches for several times, the state and control of the switches shall be ok now. |
Restarted. |
After several tests, the control works properly. The only thing not change real time is 全迴路運轉狀態. However, it will change after a while. Is there any limitation? (By the way, is the status shown as binary to decimal?) |
Do you mean the state of this entity? These entities "timer to on" and "timer to off" are disabled because I think that you can use HA automation to do the same job. |
Yes, it show as 3 when both circuits are on. And 1 or 2 for single on. I guess they are binary logic? Sure, automation do the same thing, just want to make sure it is as it expected. |
Binary logic. options=["All Off", "Channel 1 On", "Channel 2 On", "Channel 1, 2 On", "Channel 3 On", "Channel 1, 3 On", "Channel 2, 3 On", "All On"], |
Thanks! The test result from my side suggest this issue could be close. Maybe we can wait for @846637834 's report while he/she has more switched on line. |
I test it, and the singal as what the binary logic showed. |
I had one issue regarding to automation for switchs. |
The API query limitation. This integration is using polling to query the status of the devices and the maximal API access is 150 per hour. |
請問之後有機會支援新的智能開關嗎
The text was updated successfully, but these errors were encountered: