Git Product home page Git Product logo

Comments (24)

revk avatar revk commented on July 18, 2024

I agree, more "disable" options need to be sorted I think

And thanks for finding the S21 messages, should be an easy one to add.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Do we need high/low/off or is on/off OK?

from esp32-faikin.

revk avatar revk commented on July 18, 2024

I have issued a beta with a load of no... settings to turn off features. I'll have to then look to add the LED.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

Thanks! I've tested the beta, worked nicely for comfort and sensor mode.
So far I've only used off or left it at high. It might be useful to have low (at least on MQTT), if someone wants to use the AC at night but sill wants to have an indication the AC is on. With floor warming on and the LED off you wouldn't know that the AC is on otherwise. But low would also be the sensor mode ON value, so one could just use that.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

I should be able to sort LED.

I think I'll do as on/off switch. But off can be dim or proper off maybe based on dark mode?

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Ok for now, I'll add a setting to set the 4 value called LED. In advanced settings you can turn off the noled setting to enable it.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

I just tried it, unfortunately changing the switch doesn't do anything, even in MQTT I don't see info/hostname/tx changing. It does react to setting High and Low on the remote though. Changing dark mode has no effect it only reacts to low.

Could you maybe also tell me how I would send the S21 command through MQTT command/hostname/send? As described above for some reason (probably encoding), this doesn't even work for the D60°08 which is the same text (0°08) as shown in tx when activating sensor mode and is working there. Then I (and someone else reading this) could probably integrate High, Low, Off manually in OpenHAB.

Also do you have any other ideas then watching the debug S21 messages (info/hostname/s21) on how to find the S21 command for the floor heating (last paragraph above)?

Btw. the new advanced settings are great :)

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Maybe try just 0008 as the unicode will go wrong.

I'll look again. Yes, not done dark mode.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

Thanks! Ok, sending 0008, 0004 and 000< works, although it also changes the received G6 message to these values, which I'm not so sure is good, because maybe the first part is doing something else we don't know?

from esp32-faikin.

revk avatar revk commented on July 18, 2024

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Ok I think this beta will allow it to be set, not using dark mode as yet, just setting the '4' value part.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

Thanks, worked when Sensor Mode was disabled, then turning the LED on sent 0°04 which set the brightness to high. Deactivating LED has sent 0°00 which did nothing, 0°0< would be the correct code for off. Weirdly I noticed this is send, when sensor mode and led was both set to on. Is this on purpose?

from esp32-faikin.

revk avatar revk commented on July 18, 2024

I need to work out a "sensor mode disabled" version. Thanks for testing.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

So I have an "led" setting (on and off). I also have a separate "dark" setting which is to stop the Faikin LED (unless it is unhappy).

There are three possible states (when sensor mode disabled). So these two should cover it.

Can you think of most logical way to do these? Eg should dark make led do off and dim, but not-dark make led do dim and on? Or should that be off and bright.

Once we have a sensible logic it will be easy to code.

Also what is LED state for that last digit for each of 0, 4, 8, and < please. Ie all 4 combinations of those two bits.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

OK, this is what I am going for...

  • LED off is off
  • LED on is dim if dark, or bright is not dark

Issuing beta now.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

Thanks a lot, I've just tested it and it works as you described it :) I probably would have preferred ON always being high (4) and Off being low or off depending on the dark mode setting, as high is (at least on my ac) what you would normally want during the day. But also works the way you have done it.

Since you haven't answered to my question about finding the S21 command for floor heating, I'm trying again. Any ideas on how I could find the S21 command for it? So far I've gone through the alphabet issuing R<some letter> and F<some letter> commands, seeing if anything in the response changes when changing floor heating. So far I've only found RM which responds with SM. And seams to show the angle of the swing/air outlet in some weird number, but was consistent so far. Could we maybe add this in the debug polling and if we are sure what those numbers mean adding it to the status?

Unfortunately sending RM<some value from the results> didn't change anything, so I guess it's read only and I'm still looking for the actual floor heating command, but am slowly loosing hope right now. I also guess tapping into the wires of the existing module (like I've read in another issue) only works if it's also connected to S21, not S801, right?

Still if SM is what I think it is it would be helpful for some automation, where I could send an IR command through some other controller.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

S801 may be same protocol, no idea, worth finding out, but careful as some of these things are mains voltage.

Yes, tapping the data, if S21 or X50 format, is best way.

If you can document the SM/RM you have seen I could add simply as a status.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

Ok, maybe I will try it in a few weeks, when I have more spare time and feeling adventures...

For SM/RM, I'm getting results like this:

Received `{"protocol":"S21","dump":"02534D3034302B5F03","SM":"040+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3034302B5F03","SM":"040+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3034302B5F03","SM":"040+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3034302B5F03","SM":"040+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3034302B5F03","SM":"040+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3831302B6403","SM":"810+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3831302B6403","SM":"810+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3831302B6403","SM":"810+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3433302B6203","SM":"430+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3433302B6203","SM":"430+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3132302B5E03","SM":"120+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3132302B5E03","SM":"120+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3935302D6B03","SM":"950-"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3637302B6803","SM":"670+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3034302B5F03","SM":"040+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic
Received `{"protocol":"S21","dump":"02534D3331302B5F03","SM":"310+"}` from `info/faikin0/rx` topic

With 310+ being the upmost postion in swing mode, 040+ being the lowest. During swing it's changing between those two values. When holding swing, it can return another value in between. 670+ is the value for the lid being closed, so lowest position all in all, this is floor heating. I can also get negative values when in the first swing cycle (those values don't make sense anymore). After that the values seam to be consistent.

Now for the question what unit those values have, I'm not completely sure. What makes the most sense to me from measuring the lid:
310+ = 13 degrees
040+ = 40 degrees
670+ = 76 degrees

But it could also think it to be:
310+ = 0.13 radiant => 7.4 degrees
040+ = 0.4 radiant => 22.9 degrees
670+ = 0.76 radiant => 43.5 degrees

But measuring between 670+ and 310+ gives me an angle around 60 degrees from the pivot point (with some uncertainty), so I think degrees make more sense. Although it could also be something completely different of course. The only thing I'm pretty sure of now, is that it's somehow reporting the position of the (vertical) swing on my AC.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Simple, and yes you read the digits right to left like that. My guess would be degrees.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

Yes, I think so too. Also I've just noticed, SN seam to have the same values.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Try new beta, it may start logging anglev

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

I'm having SM in the S21 debug now, but no anglev in the status messages.

from esp32-faikin.

revk avatar revk commented on July 18, 2024

Damn, missed a bit, one moment.

from esp32-faikin.

sam-m7 avatar sam-m7 commented on July 18, 2024

No problem :)

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.