Git Product home page Git Product logo

Comments (16)

revk avatar revk commented on July 17, 2024

If you do a setting of debug, e.g. MQTT setting/GuestAC/debug 1 you will get logs on MQTT showing the response to the S21 messages.

If you do that, and then enable the feature, see if any of the responses change.

That will give some clues so we could perhaps add this.

Set debug back to 0 afterwards.

The issue is there is no proper documentation of the S21 protocol so it is reverse engineered.

from esp32-faikin.

damige avatar damige commented on July 17, 2024

Thanks for the quick response. This setting is only available through the app, and not through the remote. Does the app still work with this project?

from esp32-faikin.

revk avatar revk commented on July 17, 2024

Depends how the app works - might not be able to connect at the same time as the Faikin which may make it difficult. If you can, then at least we may see the "status" side of it and perhaps can guess the command side.

from esp32-faikin.

damige avatar damige commented on July 17, 2024

Alright, i will try to get 3 of these devices to the Netherlands for this experimentation.

edit: Seems like only 1 was in stock, so ordered that. :)

from esp32-faikin.

revk avatar revk commented on July 17, 2024

More stock hopefully end of the week, reopen this issue if you find any more.

from esp32-faikin.

apos-t avatar apos-t commented on July 17, 2024

Hi,
I'm also interested in power limiting and made the following observation on my FTXM20R2V1B (FTXM-R) Prefera unit.

It looks to me, that the Powerlimit is controlled by the field Econo there is for example the value 0.52 in the Econo field when I activate the Econo mode. In this case I assume it means 52% powerlimit. I also saw already values like 0.32 or 0.40 in this field.

MQTT Logs attached:

{"protocol":"S21¬Tx","ts":"2023-07-29T10:05:00Z","online":true,"home":21.50,"heat":false,"fanrpm":[340,349,350],"comp":140,"outside":[22.00,22.17,22.50],"liquid":10.00,"power":true,"mode":"D","temp":22.00,"fan":"A","swingh":false,"swingv":false,"econo":0.53,"powerful":false}

in the next log it switches to true:

{"protocol":"S21¬Tx","ts":"2023-07-29T10:06:00Z","online":true,"home":21.50,"heat":false,"fanrpm":[340,349,350],"comp":140,"outside":[22.50,22.68,23.00],"liquid":10.00,"power":true,"mode":"D","temp":22.00,"fan":"A","swingh":false,"swingv":false,"econo":true,"powerful":false}

from esp32-faikin.

revk avatar revk commented on July 17, 2024

The reporting for boolean is indeed the proportion of the time (usually last whole minute) that was true. So sounds like econo is indeed being changed. But the S21 will be just on/off.

Were you changing econo during the minute?

from esp32-faikin.

apos-t avatar apos-t commented on July 17, 2024

I've changed it in the faikin gui. Ok then it has nothing to do with the power limit, I will try to debug the change of the power limit. Any idea which data I should monitor?

from esp32-faikin.

revk avatar revk commented on July 17, 2024

The S21 code is all reverse engineered. You can enabled debug more which reports what we get from a load of queries, and see if they change when you change settings on a remote control.

from esp32-faikin.

apos-t avatar apos-t commented on July 17, 2024

I've try to debug the change of the power limit, but honestly didn't see a change - while I change it from 40% to off then back to automatic 50% and 40%. This is the log I get:

info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"522+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}
info/klima_wohnzimmer/s21 {"G1":"13HA","G2":"=;\u0000?","G3":"000\u0000","G4":"0\u0000?0","G5":"00:?","G6":"p004","G7":"02MH","G8":"0200","GA":"D320","GB":"0330","GC":"BF21","GG":"0000","GK":"q{51","GM":"FC40","GN":"0000","GP":"2A00","GQ":"BB00","GS":"4000","GT":"4000","SH":"522+","SI":"022+","Sa":"532+","SL":"000","Sd":"000","SN":"180+","SX":"542+","SD":"000"}

from esp32-faikin.

revk avatar revk commented on July 17, 2024

Nothing obvious in there is there... It could be possible that it is a code we do not know/try. If ever either of us find the code, it would be easy to add. But for now, sorry.

from esp32-faikin.

apos-t avatar apos-t commented on July 17, 2024

ok thank you, would be great as it helps to deal with the on / off intervals when heating with low demand and a multi split.

from esp32-faikin.

revk avatar revk commented on July 17, 2024

There are some automated controls you can set up, which include automatically controlling on/off. They work over periods of 15 minutes or so if I recall.

from esp32-faikin.

apos-t avatar apos-t commented on July 17, 2024

My UseCase looks like this:

I have a multi split with 4 indoor units and 1 outdoor unit. I try to stretch the on / off intervals of the outdoor unit with the following logic.

  1. demand control - always start with the lowest max. demand 40% and wait if it's enough to get the target temp. If not increase the max. demand by 10%. When the target temp is reached - set demand to the lowest value and s.o

  2. If the lowest demand is still too much and the outdoor unit starts with the on/off intervals (monitored by a power meter for the outdoor unit) I set the target temp. of all indoor units to a low temp. (17 degrees) for 30 minutes. The outside unit stays off for this period. After the 30 min I set the indoor units back to 21 degrees and s.o.

Maybe there is a better way for my UseCase

from esp32-faikin.

revk avatar revk commented on July 17, 2024

Sounds complicated, sorry. I don't really have a multiple indoor unit management solution. I do have 4 indoor units on a single outside unit, but don't have any issues with demand, it is a nice large outside unit.

But you can use MQTT with the Faikin to control the target temperatures and mode of all of the indoor units using some code/scripts you write yourself I expect.

from esp32-faikin.

apos-t avatar apos-t commented on July 17, 2024

I'm using home assistant for the multiple indoor management, just missing the power limit control feature in faikin. But I can use the wifi Controller and Daikin cloud to control the power limit (In my post I meant power control not demand, sorry) in the moment. But my goal is to completely shutdown the wifi Controller and the Daikin cloud...

from esp32-faikin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.