Closed laurentduboisopenhab closed 1 year ago
Hi Laurent, what you see in the log is the actual JSON payload sent with the climate turn-on service. Please paste here the two lines of the log for the two climate entities. Please, also paste here the name of the two entities, so I can create two entities with the same id in my test environment. Hope to solve this ASAP
Hello Arthur,
Thx for your quick feedback.
I will try to send you the more efficient info regarding my
Hello Arthur,
Thx for your quick feedback.
I will try to send you the more efficient info regarding my issue.
The screen shot of the OpenUI
The picture of the devices:
The log of the add-on:
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/turn_on {"entity_id":"climate.trv_z01_80_4"}
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/set_temperature {"entity_id":"climate.trv_z01_80_4","temperature":19}
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/turn_on {"entity_id":"climate.trv_zigbee"}
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/set_temperature {"entity_id":"climate.trv_zigbee","temperature":19}
I have to mention that the TRV which is not updated (the second one in the log - climate.trv.zigbee) is a new one, but having a firmware older and different that the other TRV (even if TUYA app is mentioning that both firmware are uptodate!!!). Model = Saswell SEA801 zigbee.
As mention as well, when I use the automation underneath, both devices are updated. Is that linked to a problem between the device id and the entity id? How to check with more detailed logs?
Thx again,
Kr,
Laurent
From: arthurdent75 @.> Sent: dimanche 18 septembre 2022 09:22 To: arthurdent75/SimpleScheduler @.> Cc: laurentduboisopenhab @.>; Author @.> Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Hi Laurent, what you see in the log is the actual JSON payload sent with the climate turn-on service. Please paste here the two lines of the log for the two climate entities. Please, also paste here the name of the two entities, so I can create two entities with the same id in my test environment. Hope to solve this ASAP
- Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1250 209595 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPA563HLUBQTHB4E7AQ3V6 27KXANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA54O2GWRCDU53ALPKTV627KXA5CNFS M6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS KQSXTW.gif Message ID: @. @.> >
Fyi, I have just tried "my" automation with the entiry_id instead of the device_id and both TRVs are updated as well...
From: @. @.> Sent: Sunday, September 18, 2022 12:43:57 PM To: arthurdent75/SimpleScheduler @.>; arthurdent75/SimpleScheduler @.> Subject: RE: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Hello Arthur,
Thx for your quick feedback.
I will try to send you the more efficient info regarding my
Hello Arthur,
Thx for your quick feedback.
I will try to send you the more efficient info regarding my issue.
@.***
@.***
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/turn_on {"entity_id":"climate.trv_z01_80_4"}
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/set_temperature {"entity_id":"climate.trv_z01_80_4","temperature":19}
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/turn_on {"entity_id":"climate.trv_zigbee"}
[Sat, 17 Sep 2022 17:30:01 +0200] SCHED: climate/set_temperature {"entity_id":"climate.trv_zigbee","temperature":19}
I have to mention that the TRV which is not updated (the second one in the log – climate.trv.zigbee) is a new one, but having a firmware older and different that the other TRV (even if TUYA app is mentioning that both firmware are uptodate!!!). Model = Saswell SEA801 zigbee.
As mention as well, when I use the automation underneath, both devices are updated. Is that linked to a problem between the device id and the entity id? How to check with more detailed logs?
@.***
Thx again,
Kr,
Laurent
From: arthurdent75 @.> Sent: dimanche 18 septembre 2022 09:22 To: arthurdent75/SimpleScheduler @.> Cc: laurentduboisopenhab @.>; Author @.> Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Hi Laurent, what you see in the log is the actual JSON payload sent with the climate turn-on service. Please paste here the two lines of the log for the two climate entities. Please, also paste here the name of the two entities, so I can create two entities with the same id in my test environment. Hope to solve this ASAP
— Reply to this email directly, view it on GitHubhttps://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1250209595, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIAFPA563HLUBQTHB4E7AQ3V627KXANCNFSM6AAAAAAQPCCYTI. You are receiving this because you authored the thread.Message ID: @.**@.>>
Can you please try this: go to Developer Tools -> Services -> Go to YAML mode Then paste this in the editable area :
service: climate.turn_on
data: {"entity_id":"climate.trv_zigbee"}
It should look like this:
Then push the CALL SERVICE button and see what happens.
After that, try again with this data:
service: climate.set_temperature
data: {"entity_id":"climate.trv_zigbee","temperature":19}
Hello,
Thx. I did follow your 2 steps:
Call Turn-on service: green check appeared in the right-hand bottom side – but nothing visible on the device
Call Tempearture det service: green check appeared in the right-hand bottom side – and temperature set at 19°C on the device
So, still no real explanation on my side.
Any idea?
Thx,
Laurent
From: arthurdent75 @.> Sent: lundi 19 septembre 2022 08:51 To: arthurdent75/SimpleScheduler @.> Cc: laurentduboisopenhab @.>; Author @.> Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Can you please try this: go to Developer Tools -> Services -> Go to YAML mode Then paste in the editable area this:
service: climate.turn_on data: {"entity_id":"climate.trv_zigbee"}
It should look like this: https://user-images.githubusercontent.com/60071192/190962787-3654a424-4440-453c-9ad9-16e7ea9e4782.png
Then push the CALL SERVICE button and see what happens.
After that, try again with this data:
service: climate.set_temperature data: {"entity_id":"climate.trv_zigbee","temperature":19}
— Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1250632668 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPA57BPE5VEI3SBPCERLV7AENTANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA42GNDSYAFMLLLI6V3V7AENTA5CNFSM6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKRMR5Y.gif Message ID: @. @.> >
Hello again,
Are there some specific logs that I could transfer to you?
Cheers,
Laurent
From: @. @.> Sent: lundi 19 septembre 2022 21:59 To: 'arthurdent75/SimpleScheduler' @.>; 'arthurdent75/SimpleScheduler' @.> Cc: 'Author' @.***> Subject: RE: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Hello,
Thx. I did follow your 2 steps:
Call Turn-on service: green check appeared in the right-hand bottom side – but nothing visible on the device
Call Tempearture det service: green check appeared in the right-hand bottom side – and temperature set at 19°C on the device
So, still no real explanation on my side.
Any idea?
Thx,
Laurent
From: arthurdent75 @. @.> > Sent: lundi 19 septembre 2022 08:51 To: arthurdent75/SimpleScheduler @. @.> > Cc: laurentduboisopenhab @. @.> >; Author @. @.> > Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Can you please try this: go to Developer Tools -> Services -> Go to YAML mode Then paste in the editable area this:
service: climate.turn_on data: {"entity_id":"climate.trv_zigbee"}
It should look like this: https://user-images.githubusercontent.com/60071192/190962787-3654a424-4440-453c-9ad9-16e7ea9e4782.png
Then push the CALL SERVICE button and see what happens.
After that, try again with this data:
service: climate.set_temperature data: {"entity_id":"climate.trv_zigbee","temperature":19}
— Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1250632668 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPA57BPE5VEI3SBPCERLV7AENTANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA42GNDSYAFMLLLI6V3V7AENTA5CNFSM6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKRMR5Y.gif Message ID: @. @.> >
The two service calls you made from the developer tools are exactly what the scheduler does. Also, the addon checks the result of the command 5 seconds after the execution: if the command wasn't successful it will be retried. So everything makes me think that there is something wrong with the device... Can you post the working automation you made?
Also, try to separate the schedule for the two climate: make one scheduler at 17:30 for _climate.trv_z01_804 and a second one at 17:31 for _climate.trvzigbee
Here is the automation – just checked --> working for updating both devices…
I have tried by separating schedule in the add-on: work for one (the classical one) and not for the other again. Constant in the “misfunctioning” on my side.
Any log available somewhere? Worth uninstall and reinstall the add-on?
Cheers,
Laurent
From: arthurdent75 @.> Sent: lundi 19 septembre 2022 22:30 To: arthurdent75/SimpleScheduler @.> Cc: laurentduboisopenhab @.>; Author @.> Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
The two service calls you made from the developer tools are exactly what the scheduler does. Also, the addon checks the result of the command 5 seconds after the execution: if the command wasn't successful it will be retried. So everything makes me think that there is something wrong with the device... Can you post the working automation you made?
Also, try to separate the schedule for the two climate: make one scheduler at 17:30 for climate.trv_z01_80_4 and a second one at 17:31 for climate.trv_zigbee
— Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1251516652 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPAZTNDUNYFBQJFZP4MDV7DEM5ANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA6ZH3KROUB7QH6JYQDV7DEM5A5CNFSM6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKTCQOY.gif Message ID: @. @.> >
Here is the automation
Sorry, can't see the automation... Nothing appears...
Call Turn-on service: green check appeared in the right-hand bottom side – but nothing visible on the device Call Tempearture det service: green check appeared in the right-hand bottom side – and temperature set at 19°C on the device
Correct me if I'm wrong: temperature is set correctly from developer tools, but not from the addon. Right?
Any log available somewhere?
No, the log you have already said everything we need: the command and the data that are sent and that the call was successful (because it is not retried)
Worth uninstall and reinstall the add-on?
I really don't think so...
Hello,
Sorry for my late reply!
I have put this time the automation as attachment. Hope this will work.
For the rest, very surprising indeed. I don’t see any track of explanation.
Again thx for your support,
Kr,
Laurent
From: arthurdent75 @.> Sent: lundi 19 septembre 2022 23:47 To: arthurdent75/SimpleScheduler @.> Cc: laurentduboisopenhab @.>; Author @.> Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Here is the automation
Sorry, can't see the automation... Nothing appears...
Call Turn-on service: green check appeared in the right-hand bottom side – but nothing visible on the device Call Tempearture det service: green check appeared in the right-hand bottom side – and temperature set at 19°C on the device
Correct me if I'm wrong: temperature is set correctly from developer tools, but not from the addon. Right?
Any log available somewhere?
No, the log you have already said everything we need: the command and the data that are sent and that the call was successful (because it is not retried)
Worth uninstall and reinstall the add-on?
I really don't think so...
— Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1251596092 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPA27CE6B6UJG2SOEY5DV7DNNFANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA2PPTTCBNIERR4EUM3V7DNNFA5CNFSM6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKTHLTY.gif Message ID: @. @.> >
I'm not able to see the image. I think you are using email to manage this issue. Please, use the website version of github
Hello,
I try via the website: png file
Just let me know if you have it.
Cheers,
Laurent
Hello,
I did it via the website.
Just let me know if OK.
Cheers,
Laurent
From: @. @.> Sent: jeudi 22 septembre 2022 13:21 To: 'arthurdent75/SimpleScheduler' @.>; 'arthurdent75/SimpleScheduler' @.> Cc: 'Author' @.***> Subject: RE: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Hello,
Sorry for my late reply!
I have put this time the automation as attachment. Hope this will work.
For the rest, very surprising indeed. I don’t see any track of explanation.
Again thx for your support,
Kr,
Laurent
From: arthurdent75 @. @.> > Sent: lundi 19 septembre 2022 23:47 To: arthurdent75/SimpleScheduler @. @.> > Cc: laurentduboisopenhab @. @.> >; Author @. @.> > Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Here is the automation
Sorry, can't see the automation... Nothing appears...
Call Turn-on service: green check appeared in the right-hand bottom side – but nothing visible on the device Call Tempearture det service: green check appeared in the right-hand bottom side – and temperature set at 19°C on the device
Correct me if I'm wrong: temperature is set correctly from developer tools, but not from the addon. Right?
Any log available somewhere?
No, the log you have already said everything we need: the command and the data that are sent and that the call was successful (because it is not retried)
Worth uninstall and reinstall the add-on?
I really don't think so...
— Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1251596092 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPA27CE6B6UJG2SOEY5DV7DNNFANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA2PPTTCBNIERR4EUM3V7DNNFA5CNFSM6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKTHLTY.gif Message ID: @. @.> >
Ok, now I see it. Please, do one more try. Try to use 22:41>TO15 instead of 22:41>T15 Also paste here the log of the action
Hello Arthur,
I have tried with TO but same result: no update.
But by the way, I have found a workaround: I have old EQ3 MAX CUBE thermostats that I used with old EQ3 MAX CUBE Radiator valves.
Your scheduler works fine with the MAX Thermostats and I have written an automation rule to replicate the Thermostat change (triggered by your scheduler) to my Radiator Vanne (Vanne New) and it works 😊
Thx and have a good day,
Laurent
From: arthurdent75 @.> Sent: mardi 27 septembre 2022 14:09 To: arthurdent75/SimpleScheduler @.> Cc: laurentduboisopenhab @.>; Author @.> Subject: Re: [arthurdent75/SimpleScheduler] Schedule with 2 climate, one is OK, the other is KO (Issue #82)
Ok, now I see it. Please, do one more try. Try to use 22:41>TO15 instead of 22:41>T15
— Reply to this email directly, view it on GitHub https://github.com/arthurdent75/SimpleScheduler/issues/82#issuecomment-1259411192 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAFPA66E3R3R5NECQFD4Z3WALPT7ANCNFSM6AAAAAAQPCCYTI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIAFPA26GKSBWZTLB2F3VKLWALPT7A5CNFSM6AAAAAAQPCCYTKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSLCELPQ.gif Message ID: @. @.> >
Hi @laurentduboisopenhab I really can't figure it out. As I said, the addon calls the HA API to set temperature. It is not something I wrote: I just call a service and also the call works on others climates.
If you solved it in another way, I would close the issue. Feel free to open it again or open a new one if you need.
Hello, thx for your great add-on. I have created 1 schedule for 2 climate devices. When "time is triggered" in the scheduler, I see well the 2 commands presented as OK in the add-on log, but just one climate device is really updated, the other not (no update of target temperature). But when I use the standard climate service (setup temperature) via an HA automation for example, both devices are updated successfully. I guess you use a call to the standard climate service as well in your code: do you see why I have this kind of discrepancy?
Happy to discuss if needed,
Thx and kr,
Laurent