Announcement

Collapse
No announcement yet.

Comfort / Intelligent eye setting for Daikin AC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I tried again changing the comfort/intelligent eye settings. As you said before, it does not seem the api can see this. As it also not possible to change or see these settings via the app, I guess until they might change that it will not be possible to see or change these settings via the PI.
    It would be nice if we could have the econo/powerful settings though.

    Comment


      #17
      I added the streamer and the powermode to http://mcsSprinklers.com/mcsMQTT_5_3_1_0.zip HSPI_MCSMQTT.exe goes in HS folder and mcsMQTT_2020.dll goes in \bin\mcsMQTT folder.

      Let me know how it works. I am expecting the "adv" parameter to be 2, 12, or blank for the three powermode values. I can only look at the streamer status following a command it it also should return the status as blank or 13 for the two states.

      I can added polling updates for the two new devices if there is a way to poll. You can do a test to see if "get_special_mode" returns anything. This is just a guess based upon the control being "set_special_mode"

      ‚Äč

      Comment


        #18
        I copied the 2 files as you said. (I did not copy any of ther other files in the zip). It has created 2 new child devices. Streamer with on/off (not sure what the streamer does). I can switch that on and off, but it does not do anything. The Powermode child device I cannot change at all.

        Code:
        http://192.168.0.100/aircon/get_special_mode
        returns
        ret=PARAM NG,msg=404 Not Found

        We also need to separate the econo. That button cycles through nothing, econo, quiet outside, econo + quiet outside back to nothing. I think the powerful would probably be best in the fan speed or in a separate child device.
        When I have time maybe tomorrow evening , I do the get mode dance again for the econo quiet modes and post results

        Comment


          #19
          The three modes I found documentation about are Powerful, Economy, and Regular using the three commands in the function below. set_spmode needs to be 1 for Economy and Powerful. spmode_kind needs to be 1 or 2 for Powerful and Economy respectively. If you have another variant then you will need to experiment with http://192.168.0.100//aircon/set_spe...&spmode_kind=1 as an example. Perhaps kind=3 is a different mode that you have.

          In my prior upload I had set_spmode=0 for all 3 so it was not functional. I fixed that in http://mcsSprinklers.com/mcsMQTT_5_3_3_1.zip

          Code:
          Private Function GetPowerModeCommmand() As String
              If iPowerMode = PowerModes.Powerful Then
                  Return "set_spmode=1&spmode_kind=1"
              ElseIf iPowerMode = PowerModes.Economy Then
                  Return "set_spmode=1&spmode_kind=2"
              End If
              Return "set_spmode=0"
          End Function
          For device organization I want to keep the standard modes separate from the special modes so will keep the PowerMode as a device and not try to integrate it with Fan.

          Streamer is described at https://www.daikin.co.nz/faq/what-da...mer-technology

          Comment


            #20
            The streamer function does not exist on my AC's, so cannot test that.
            The powerful button works, but, the child device does not reflect thr right state. The child device shows Economy. Selecting economy from powerful works, but it shows none in the child device. The none button does nothing, so will not turn off powerful or economy.
            Changing the AC in the app, powerful or eceonomy will not change the child devive in the PI to reflect the right state of the AC. AC set to powerful, will show as Economy in the PI, setting to Economy will show as none in the PI.

            Comment


              #21
              The plugin debug log shows the communications with the Daikin. Can you enabled it from General tab and go through a test sequence to see what the data exchange is. The set_special_function is new to the plugin and I am making several assumptions of how it will work.

              Comment


                #22
                Here is the debug, i have done powerful, then economy, then none. I cannot post it, its too big. IIt zipped now so hope it works


                Attached Files

                Comment


                  #23
                  Update at http://mcsSprinklers.com/mcsMQTT_5_3_3_2.zip. This adds a kind=1 parameter for the normal/none mode and updates HS devices as part of the command when the response provides an updated to adv parameter.

                  Analysis of debug below with everything as I assumed expect the NG return for normal/none mode. I'm guesssing a kind=1 parameter is needed.

                  Code:
                  Normal
                  26/06/2020 16:28:13 13922879 | SubGet URL http://192.168.0.49/aircon/get_control_info
                  26/06/2020 16:28:13 13923004 | SubGet Return ret=OK,pow=1,mode=3,adv=,stemp=18.0,shum=50,dt1=25.0,dt2=M,d t3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=50,dh 4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=50,al ert=255,f_rate=6,f_dir=0,b_f_rate=6,b_f_dir=0,dfr1=5,dfr2=5, dfr3=6,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3 =0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0
                  
                  Powerful
                  26/06/2020 16:28:16 13925284 | SetIOMulti DaikinDictionary.Count 2, Source=Daikin/192.168.0.49:PowerMode
                  26/06/2020 16:28:16 13925284 | SubGet URL http://192.168.0.49/aircon/set_special_mode?set_spmode=1&spmode_kind=1
                  26/06/2020 16:28:16 13925806 | SubGet Return ret=OK,adv=2
                  26/06/2020 16:28:28 13938138 | SubGet URL http://192.168.0.49/aircon/get_control_info
                  :
                  26/06/2020 16:28:29 13938320 | SubGet Return ret=OK,pow=1,mode=3,adv=2,stemp=18.0,shum=50,dt1=25.0,dt2=M, dt3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=50,d h4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=50,a lert=255,f_rate=6,f_dir=0,b_f_rate=6,b_f_dir=0,dfr1=5,dfr2=5 ,dfr3=6,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd 3=0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand= 0
                  
                  Economy
                  26/06/2020 16:28:39 13949152 | SetIOMulti DaikinDictionary.Count 2, Source=Daikin/192.168.0.49:PowerMode
                  26/06/2020 16:28:39 13949152 | SubGet URL http://192.168.0.49/aircon/set_special_mode?set_spmode=1&spmode_kind=2
                  26/06/2020 16:28:40    13949262    | SubGet Return ret=OK,adv=12  
                  :
                  26/06/2020 16:28:44 13953471 | SubGet URL http://192.168.0.49/aircon/get_control_info
                  26/06/2020 16:28:44 13953626 | SubGet Return ret=OK,pow=1,mode=3,adv=12,stemp=18.0,shum=50,dt1=25.0,dt2=M ,dt3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=50, dh4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=50, alert=255,f_rate=6,f_dir=0,b_f_rate=6,b_f_dir=0,dfr1=5,dfr2= 5,dfr3=6,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,df d3=0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand =0
                  
                  
                  None
                  26/06/2020 16:28:52 13961260 | SetIOMulti DaikinDictionary.Count 2, Source=Daikin/192.168.0.49:PowerMode
                  26/06/2020 16:28:52 13961260 | SubGet URL http://192.168.0.49/aircon/set_special_mode?set_spmode=0
                  26/06/2020 16:28:52 13961394 | SubGet Return ret=PARAM NG
                  :
                  26/06/2020 16:28:59 13968761 | SubGet URL http://192.168.0.49/aircon/get_control_info
                  26/06/2020 16:28:59 13968872 | SubGet Return ret=OK,pow=1,mode=3,adv=12,stemp=18.0,shum=0,dt1=25.0,dt2=M, dt3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh 4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,ale rt=255,f_rate=6,f_dir=0,b_f_rate=6,b_f_dir=0,dfr1=5,dfr2=5,d fr3=6,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3= 0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0

                  Comment


                    #24
                    Still not right. Selecting the modes in teh PI seems to work ok, none, powerful and economy all seem to work fine. The state displayed in the child device is still wrong. none is none, but powerful still shows as economy and economy shows as none.

                    Attached Files

                    Comment


                      #25
                      When commanded to None the unit continues to report previous modes which in the case below is Economy. In the second attempt to set it to None then it did change the status to None. I do not know why the difference. I believe I have the status logic corrected based upon the returned adv parameter in http://mcsSprinklres.com/mcsMQTT_5_3_3_3.zip

                      Do you have a smartphone App that can control the Comfort/Intelligent Eye mode. If so then it is possible to wireshark the command. Is there any difference in behavior if the motion sensor is covered?

                      [code]
                      [/27/06/2020 15:00:15 175547 | SubGet URL http://192.168.0.64/aircon/get_control_info
                      27/06/2020 15:00:16 175705 | SubGet Return ret=OK,pow=1,mode=3,adv=12,stemp=18.0,shum=0,dt1=25.0,dt2=M, dt3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh 4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,ale rt=255,f_rate=3,f_dir=0,b_f_rate=3,b_f_dir=0,dfr1=5,dfr2=5,d fr3=3,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3= 0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0

                      27/06/2020 15:00:16 175899 | SubGet URL http://192.168.0.64/aircon/set_special_mode?set_spmode=0&spmode_kind=1
                      27/06/2020 15:00:16 176063 | SubGet Return ret=OK,adv=12

                      27/06/2020 15:00:31 190897 | SubGet URL http://192.168.0.64/aircon/get_control_info
                      27/06/2020 15:00:31 191411 | SubGet Return ret=OK,pow=1,mode=3,adv=12,stemp=18.0,shum=0,dt1=25.0,dt2=M, dt3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh 4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,ale rt=255,f_rate=3,f_dir=0,b_f_rate=3,b_f_dir=0,dfr1=5,dfr2=5,d fr3=3,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3= 0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0

                      27/06/2020 15:00:47 206696 | SubGet URL http://192.168.0.64/aircon/get_control_info
                      27/06/2020 15:00:47 206874 | SubGet Return ret=OK,pow=1,mode=3,adv=12,stemp=18.0,shum=0,dt1=25.0,dt2=M, dt3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh 4=0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,ale rt=255,f_rate=3,f_dir=0,b_f_rate=3,b_f_dir=0,dfr1=5,dfr2=5,d fr3=3,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3= 0,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0

                      27/06/2020 15:01:03 222717 | SubGet URL http://192.168.0.64/aircon/set_special_mode?set_spmode=1&spmode_kind=1
                      27/06/2020 15:01:03 222830 | SubGet Return ret=OK,adv=2

                      27/06/2020 15:01:18 237707 | SubGet URL http://192.168.0.64/aircon/get_control_info
                      27/06/2020 15:01:18 237819 | SubGet Return ret=OK,pow=1,mode=3,adv=2,stemp=18.0,shum=0,dt1=25.0,dt2=M,d t3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh4 =0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,aler t=255,f_rate=3,f_dir=0,b_f_rate=3,b_f_dir=0,dfr1=5,dfr2=5,df r3=3,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3=0 ,dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0


                      27/06/2020 15:01:28 247937 | SubGet URL http://192.168.0.64/aircon/set_special_mode?set_spmode=0&spmode_kind=1
                      27/06/2020 15:01:28 248461 | SubGet Return ret=OK,adv=

                      27/06/2020 15:01:33 252946 | SubGet URL http://192.168.0.64/aircon/get_control_info
                      27/06/2020 15:01:33 253106 | SubGet Return ret=OK,pow=1,mode=3,adv=,stemp=18.0,shum=0,dt1=25.0,dt2=M,dt 3=18.0,dt4=25.0,dt5=25.0,dt7=25.0,dh1=AUTO,dh2=50,dh3=0,dh4= 0,dh5=0,dh7=AUTO,dhh=50,b_mode=3,b_stemp=18.0,b_shum=0,alert =255,f_rate=3,f_dir=0,b_f_rate=3,b_f_dir=0,dfr1=5,dfr2=5,dfr 3=3,dfr4=5,dfr5=5,dfr6=5,dfr7=5,dfrh=5,dfd1=0,dfd2=0,dfd3=0, dfd4=0,dfd5=0,dfd6=0,dfd7=0,dfdh=0,dmnd_run=0,en_demand=0
                      [code]

                      Comment


                        #26
                        Now none is none and shows as none in the PI, powerful is powerful and shows as powerful in the PI. Economy does nothing, and shows as none in the PI.

                        Comment


                          #27
                          Copy/Paste typo. http://mcsSprinklers.com/mcsMQTT_5_3_3_4.zip

                          Comment


                            #28
                            I only had time for a quick test over the weekend, but everything seems to be working as it should now. Great.

                            Comment

                            Working...
                            X