Git Product home page Git Product logo

Comments (17)

revk avatar revk commented on July 17, 2024 1

As you have an issue with MQTT, I am just working on adding timeline to the "settings" page. Bear with me.

from esp32-faikin.

revk avatar revk commented on July 17, 2024 1

The unit turns on and off on time if the times are set.

The separate Auto times on/off based on temperature, if it is way outside target and off, or stable within target for a long time and on.

I'll look at the manual and add more detail.

from esp32-faikin.

revk avatar revk commented on July 17, 2024 1

I should have timezone setting in "settings" soon, bear with me.

from esp32-faikin.

revk avatar revk commented on July 17, 2024 1

Yes, well, in theory, the automated local controls can work without the BLE. Basically give it a try.

I'll look at the time being turned on/off. It gets to be a feature creep. People will want day of week as well, and so on. So not sure best approach yet.

from esp32-faikin.

revk avatar revk commented on July 17, 2024 1

OK, new code issues, and manuals upgraded explaining the auto stuff in much more detail.

from esp32-faikin.

revk avatar revk commented on July 17, 2024

It is only supposed to do that if the automatic controls are set. Can you confirm what settings you have done?

I can obviously check to confirm this is not happening otherwise.

from esp32-faikin.

revk avatar revk commented on July 17, 2024

I just looked at the code, there is an "Auto" setting that has to be switched on to allow it to automatically turn on or off.

Or the time settings for auto on/off would need to be set.

if you have any means to log MQTT messages covering when this happens, that would provide a lot more details. Messages starting info/ and the device name.

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

I did mess with them at some point, but I tried to disable them afterwards.

Here's the current local control page:
Screenshot_20230606-093758-590

Maybe there's an issue here, with the Auto being green even though it says "Off"? Pressing it doesn't change anything.
Note that it's set turn on at 7:50 it it's on, and it turned on at 2:50 this morning, which is 7:50 UK time. Maybe it's a time zone thing?

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

I just looked at the code, there is an "Auto" setting that has to be switched on to allow it to automatically turn on or off.

Or the time settings for auto on/off would need to be set.

if you have any means to log MQTT messages covering when this happens, that would provide a lot more details. Messages starting info/ and the device name.

How do I send/log commands with MQTT? Pointers welcome.
Otherwise, how can I turn off the automated local controls? I can't set the times to "None", only an actual time, and I can't seem to make the "Auto" button not green.

from esp32-faikin.

revk avatar revk commented on July 17, 2024

For MQTT you will need some tool to connect to your MQTT server. Does HomeAssistant have any sort of MQTT console? I don't know?

Setting times to 00:00 is "off", I thought there was a tool tip or the manual to say that.

I see you have 7:50, and it turns on at 2:50. I suspect it does not have the right timezone, there is an MQTT setting for that. The default is UK, i.e. GMT+0BST,M3.5.0,M10.5.0. What country are you in?

The first Auto is actually a choice of Off, which is selected, hence green, or ±½℃, ±1℃, or ±2℃, but the spacing seems off, so I'll look at that.

The second Auto which is not selected, is the one I assumed, but the fact you have times set at all sounds like most likely. I'll add something to confirm what time it thinks it is at present to highlight if a timezone issue.

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

I'm in Canada, the timezone is Eastern Daylight Time (EDT) which is GMT-4.

I can not set the times to 00:00 through the web interface on my phone (android), it complains that it's an invalid time.
Should I do 12:00 AM (or PM?) instead?

from esp32-faikin.

revk avatar revk commented on July 17, 2024

Ok this site has a list of time zone strings, you need to send MQTT like setting/nameofac/tz GMT+0BST,M3.5.0,M10.5.0 but with the setting for where you are from the list.

https://gist.github.com/alwynallan/24d96091655391107939

00:00 is a valid time, your phone must be a tad weird, but 00:00 is 12:00 AM. It should have been that when you started. Setting that for on and off would disable. However, I am also making it so setting both the same also disables.

Update to latest code, and go to Settings and it will show the current local time, so you can see.

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

Could the "Auto" button on the right of that line also control if the unit will turn on or off?
Otherwise, what does it do exactly?

I'll test the timezone setting and update later today when I'm home, it's a little tedious to do remotely.

Thank you for your quick support!

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

I just updated and I see that it was indeed using the BST timezone. I'll try to set it to the proper one tonight. I also set both times to 12:00AM so we'll see if that fixes all of my issues.

If it might add a request/suggestion, a On/Off toggle for the auto on/off times would be great, as one could turn it off without changing the times, but turn it on again easily. E.g. when there's a few cold days during the summer or a hot period in winter.

A last question, do the automated local controls with a target temp and buffer also work without the BLE device? Does it uses the internal temp then?

Thank you again for the quick support.

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

I understand that. But maybe you simply redirect people to Home Assistant or similar for fancier control? What's nice with your web config page is that most basic user needs are covered by it.

As is, it was not very clear from the webpage itself how to turn off the time-based control IMHO. But I'm happy with the current state of things, especially if the manual is updated.

from esp32-faikin.

revk avatar revk commented on July 17, 2024

There are tool tips, honest, but I'll see what I can do.

Right now, simply adding timezone setting is actually causing me to go down a rabbit hole of something else not working.

from esp32-faikin.

JeanOlivier avatar JeanOlivier commented on July 17, 2024

Right now, simply adding timezone setting is actually causing me to go down a rabbit hole of something else not working.

Sorry about that.

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.