Comments (16)
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.
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.
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.
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.
More stock hopefully end of the week, reopen this issue if you find any more.
from esp32-faikin.
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.
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.
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.
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.
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.
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.
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.
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.
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.
-
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
-
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.
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.
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)
- [BUG] Fan Speed "Indoor quiet" cannot be activated HOT 1
- [BUG] thermostat breaks hysteresis HOT 11
- [BUG] Daikin-target temp too low in auto-mode HOT 36
- [BUG] comfort fan mode equals 0.35 ? HOT 1
- [BUG] HOT 20
- New variation of CN_WIRED HOT 7
- [BUG] Fan mode "Night" ans "Auto" is not taken over if set in App/Cloud HOT 9
- [FEATURE] Support for more BLE temperature sensors HOT 17
- [BUG] ECO-mode toggle does not remain active HOT 5
- CN-WIRED ongoing work. HOT 18
- [BUG] Unable to set target temperature via Home Assistant when Faikin Auto mode enabled HOT 7
- Connecting to KRP928B2S HOT 1
- Cant access local page HOT 1
- [BUG] System is off line on FTXF60D2V1B HOT 5
- Controlling temperature does not work as expected (too hot, too many on/off cycles) HOT 12
- [BUG] night fan mode HOT 3
- [FEATURE] Separate Min/Max setting for heating and cooling HOT 8
- [BUG] Firmware upgrade button gone?! HOT 2
- I have bougt two units but one of them worked 2 days the other one works[BUG] HOT 4
- [FEATURE] Switching off depends on outside temperature HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-faikin.