bremor / bonaire_myclimate

Reverse engineered implementation of the Bonaire MyClimate app.
19 stars 7 forks source link

Zones incorrect #21

Closed bremor closed 2 days ago

bremor commented 3 years ago

From: https://community.home-assistant.io/t/bonaire-myclimate-creating-a-custom-integration/195982/107

This is really great thread!I was so much disappointed with My climate app and was thinking that all the money went in drain. This thread really helped me. I have installed My climate integration and working ok except for the zones. I think there is common zone and for some reason application is parsing each letter as zone I.e. c o m m o n .

Is there anything I need to configure? I have 2 zones setup currently . Any help would be appreciated.

bremor commented 3 years ago

Can you please enable debugging and paste your logs here? Including the discovery/installation info?

logger:
  default: warn
  logs:
    custom_components.bonaire_myclimate: debug
boc-the-git commented 3 years ago

Just adding for consideration, would want to be sure not to undo the good work done here: https://github.com/bremor/bonaire_myclimate/pull/14 :)

bremor commented 3 years ago

Ha yes... I will make sure i'm not breaking everyone else's at the same time.

amitsubs commented 3 years ago

67CEA266-8671-446D-8FE2-DC55CD4609FD

here is the screen capture about issue

bremor commented 3 years ago

Yup, you have 3 zones, '1', '2' and 'Common'.

Paste the logs when you can.

amitsubs commented 3 years ago

Can you please enable debugging and paste your logs here? Including the discovery/installation info?

logger:
  default: warn
  logs:
    custom_components.bonaire_myclimate: debug

Where should I enable this configuration? Configuration.yaml??

bremor commented 3 years ago

Yup, pop it in configuration.yaml

amitsubs commented 3 years ago

Yup, pop it in configuration.yaml

Ok. I will provide logs in the evening.

amitsubs commented 3 years ago

Yup, pop it in configuration.yaml

Ok. I will provide logs in the evening. Btw. Will debug logs be created in default log file to will there be a custom log file for this component.

amitsubs commented 3 years ago

Yup, pop it in configuration.yaml

Ok. I will provide logs in the evening. Btw. Will debug logs be created in default log file to will there be a custom log file for this component.

Here are the logs:

2021-03-02 23:26:02 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery 2021-03-02 23:26:06 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module 2021-03-02 23:26:07 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: discovery192.168.1.10502-0173-8202851.2.310002router 2021-03-02 23:26:09 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: installationheat1,2,Commoncool1,2,Commonevap12Common

2021-03-02 23:26:09 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] {'heat': '1,2,Common', 'cool': '1,2,Common', 'evap': None} 2021-03-02 23:26:10 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: getzoneinfooffcool1,2fan4232320

2021-03-02 23:26:10 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool'] 2021-03-02 23:26:33 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: postzoneinfooffcool1,2fan4232320

2021-03-02 23:26:33 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool'] 2021-03-02 23:27:16 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: postzoneinfooffcool1,2fan4232320

2021-03-02 23:27:16 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool']

bremor commented 3 years ago

Are you able to repost using the code formatting? Otherwise it’s very hard to read and parts will disappear. like this using the button that looks like <>

amitsubs commented 3 years ago

Are you able to repost using the code formatting? Otherwise it’s very hard to read and parts will disappear. like this using the button that looks like <>

I copied from the log file. Should I look somewhere else? Sorry I am just a beginner:)

bremor commented 3 years ago

You copied from the correct place, it’s just that if you paste it directly in, a lot of important information disappears. You need to enclose it within these special quotes: `paste your logs here` and it will turn out like this: paste your logs here

amitsubs commented 3 years ago

here it is:

![image](https://user-images.githubusercontent.com/76577154/109787220-1a035f80-7c62-11eb-87e8-9ee74ea9135d.png)

amitsubs commented 3 years ago

2021-03-03 20:34:44 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server connection lost
2021-03-03 20:34:46 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery
2021-03-03 20:34:49 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module
2021-03-03 20:34:51 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><response>discovery</response><ip>192.168.1.10</ip><serial>502-0173-820285</serial><version>1.2.3</version><port>10002</port><status>router</status></myclimate>
2021-03-03 20:34:52 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><response>installation</response><appliance><type>heat</type><zoneList>1,2,Common</zoneList></appliance><appliance><type>cool</type><zoneList>1,2,Common</zoneList></appliance><appliance><type>evap</type><zoneList></zoneList></appliance><zoneName id="1">1</zoneName><zoneName id="2">2</zoneName><zoneName id="Common">Common</zoneName></myclimate> 2021-03-03 20:34:52 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] {'heat': '1,2,Common', 'cool': '1,2,Common', 'evap': None}
2021-03-03 20:34:54 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><response>getzoneinfo</response><system>off</system><type>cool</type><zoneList>1,2</zoneList><mode>fan</mode><fanSpeed>4</fanSpeed><roomTemp id="1">23</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="Common">20</roomTemp></myclimate> 2021-03-03 20:34:54 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool']
2021-03-03 20:35:16 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><post>postzoneinfo</post><system>off</system><type>cool</type><zoneList>1,2</zoneList><mode>fan</mode><fanSpeed>4</fanSpeed><roomTemp id="1">23</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="Common">20</roomTemp></myclimate> 2021-03-03 20:35:16 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool']
2021-03-03 20:36:21 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><post>postzoneinfo</post><system>off</system><type>cool</type><zoneList>1,2</zoneList><mode>fan</mode><fanSpeed>4</fanSpeed><roomTemp id="1">23</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="Common">20</roomTemp></myclimate> 2021-03-03 20:36:21 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool']
2021-03-03 20:37:26 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><post>postzoneinfo</post><system>off</system><type>cool</type><zoneList>1,2</zoneList><mode>fan</mode><fanSpeed>4</fanSpeed><roomTemp id="1">23</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="Common">20</roomTemp></myclimate> 2021-03-03 20:37:26 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool']
2021-03-03 20:38:10 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><post>postzoneinfo</post><system>off</system><type>cool</type><zoneList>1,2</zoneList><mode>fan</mode><fanSpeed>4</fanSpeed><roomTemp id="1">23</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="Common">20</roomTemp></myclimate> 2021-03-03 20:38:10 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] ['off', 'fan_only', 'heat', 'cool']
2021-03-03 20:38:34 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server connection lost
2021-03-03 20:38:36 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Sending discovery
2021-03-03 20:38:39 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Connected to Wifi Module
2021-03-03 20:38:41 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><response>discovery</response><ip>192.168.1.10</ip><serial>502-0173-820285</serial><version>1.2.3</version><port>10002</port><status>router</status></myclimate>
2021-03-03 20:38:42 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><response>installation</response><appliance><type>heat</type><zoneList>1,2,Common</zoneList></appliance><appliance><type>cool</type><zoneList>1,2,Common</zoneList></appliance><appliance><type>evap</type><zoneList></zoneList></appliance><zoneName id="1">1</zoneName><zoneName id="2">2</zoneName><zoneName id="Common">Common</zoneName></myclimate> 2021-03-03 20:38:42 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] {'heat': '1,2,Common', 'cool': '1,2,Common', 'evap': None}
2021-03-03 20:38:44 DEBUG (MainThread) [custom_components.bonaire_myclimate.BonairePyClimate.bonairepyclimate] Server data received: <myclimate><response>getzoneinfo</response><system>off</system><type>cool</type><zoneList>1,2</zoneList><mode>fan</mode><fanSpeed>4</fanSpeed><roomTemp id="1">23</roomTemp><roomTemp id="2">24</roomTemp><roomTemp id="Common">20</roomTemp></myclimate>

amitsubs commented 3 years ago

is this the correct format?

bremor commented 3 years ago

That’ll do it. I will take a look over the next couple of days and see if I can figure out what’s going on.

amitsubs commented 3 years ago

That’ll do it. I will take a look over the next couple of days and see if I can figure out what’s going on.

Awesome!!!

amitsubs commented 3 years ago

That’ll do it. I will take a look over the next couple of days and see if I can figure out what’s going on.

Awesome!!!

@bremor , just wanted to check if you looked into this? Do you need any additional logs or information? No pressure just excited! 😊

bremor commented 3 years ago

Hey mate, I haven't forgotten, work and home life is pretty full on at the moment so haven't had a chance to look into it. I am sure I have enough info though when I do find some time.

amitsubs commented 3 years ago

Hey mate, I haven't forgotten, work and home life is pretty full on at the moment so haven't had a chance to look into it. I am sure I have enough info though when I do find some time.

No problem mate!!! I totally understand! 👍

bremor commented 3 years ago

Just so I've got this clear in my head, you should have 7 possible zone combinations: 1 2 Common 1+2 1, Common 2, Common 1,2,Common

bremor commented 3 years ago

I have release a beta version, 0.6.3 for you to test. If you go to "Reinstall" the integration, you can opt in to see beta versions image

image

amitsubs commented 3 years ago

I think it should be 3, can’t confirm unless test: Zone 1Zone 2Common  (which I assume it is for both zones) The reason I said I have only 2 remotes supporting 2  zones.

Sent from Yahoo Mail for iPhone

On Friday, March 12, 2021, 1:57 pm, bremor @.***> wrote:

Just so I've got this clear in my head, you should have 6 possible zone combinations: 1 2 Common 1+2 1, Common 2, Common

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

amitsubs commented 3 years ago

Cool! I can try that.

Sent from Yahoo Mail for iPhone

On Friday, March 12, 2021, 2:49 pm, bremor @.***> wrote:

I have release a beta version, 0.6.3 for you to test. If you go to "Reinstall" the integration, you can opt in to see beta versions

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

amitsubs commented 3 years ago

Cool! I can try that. Sent from Yahoo Mail for iPhone On Friday, March 12, 2021, 2:49 pm, bremor @.***> wrote: I have release a beta version, 0.6.3 for you to test. If you go to "Reinstall" the integration, you can opt in to see beta versions — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

For some reasons I can see "Common" as "Commonommon"

image

Also, it is behaving little weird as the dashboard is showing system off but system is still running. I am reinstalling whole stuff to ensure I haven't messed up anything.

On another note, I only see two zones in the official "MyClimate App"

amitsubs commented 3 years ago

Cool! I can try that. Sent from Yahoo Mail for iPhone On Friday, March 12, 2021, 2:49 pm, bremor @.***> wrote: I have release a beta version, 0.6.3 for you to test. If you go to "Reinstall" the integration, you can opt in to see beta versions — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

For some reasons I can see "Common" as "Commonommon"

image

Also, it is behaving little weird as the dashboard is showing system off but system is still running. I am reinstalling whole stuff to ensure I haven't messed up anything.

On another note, I only see two zones in the official "MyClimate App"

I cleaned the old installation of MyClimate and created a new one. Similar experience. It showing "Commonommon" as a zone

When selecting zone 1 : Working good. When selecting zone 2: It starts the operations but then after a while it shows system is off but in fact system still running. I have to manually witch it off from the controller. Especially with zone 2, the controller also shows system is off. but on zone 1 controller it shows system is running.

image

Similar experience with when selecting zone 1,2 and Commonommon zone.

amitsubs commented 3 years ago

I just had an experience where I was unable to switch off the heater through app or navigator. Have to switch off the power.

amitsubs commented 3 years ago

I think it should be 3, can’t confirm unless test: Zone 1Zone 2Common  (which I assume it is for both zones) The reason I said I have only 2 remotes supporting 2  zones. Sent from Yahoo Mail for iPhone On Friday, March 12, 2021, 1:57 pm, bremor @.***> wrote: Just so I've got this clear in my head, you should have 6 possible zone combinations: 1 2 Common 1+2 1, Common 2, Common — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Based on my discussion with a technician, there are only 2 zone. So may be Common zone must be ignored ! that could be reason system went in the running mode.

amitsubs commented 3 years ago

@bremor , did you get any luck with removing common zone ?

amitsubs commented 3 years ago

LEt me know if you need any logs etc.

bremor commented 3 years ago

Sorry about taking so long on this.

This should hopefully be looking better for you in v1.0.0. If not, I am back working on this project so will help in a more timely manner.

mygithub2021007 commented 3 years ago

Sorry about taking so long on this.

This should hopefully be looking better for you in v1.0.0. If not, I am back working on this project so will help in a more timely manner. Thanks for looking into this and good to hear that you are back working on this project.

I installed version 1.0.0 via HACS. Yes it has fixed the problem. However, not sure why even it is showing Common, there are no Common zone defined.

boc-the-git commented 1 week ago

Hey friends! I've recently jumped on to help bremor with the maintenance of the integration moving forward.

Most of the open issues are 2+ years old and obviously the information on them is a bit stale. Can you please provide any update on this issue, giving as much detail as possible?

If this isn't confirmed to still be an issue, it'll be automatically closed in a week or two :heart:

Tagging the people I can see who have contributed to the issue over the years: @amitsubs