Giter Site home page Giter Site logo

Comments (10)

davidusb-geek avatar davidusb-geek commented on June 30, 2024

Thanks for reporting this. Could you please tell me what version of emhass you are using?

from emhass.

davidusb-geek avatar davidusb-geek commented on June 30, 2024

And just to be sure, are you passing the secrets data yaml file when launching the container like this?:

docker run -it --restart always -p 5000:5000 -e "LOCAL_COSTFUN=profit" -v $(pwd)/config_emhass.yaml:/app/config_emhass.yaml -v $(pwd)/secrets_emhass.yaml:/app/secrets_emhass.yaml --name DockerEMHASS <REPOSITORY:TAG>

from emhass.

smitterer avatar smitterer commented on June 30, 2024

I'm using 0.3.25.
The containers are started via the Synology GUI but the files are mapped, yes. Also the deferrable sensor values from EMHASS to HA are correctly transferred so I gues this tells us that it reads the yaml files.

from emhass.

davidusb-geek avatar davidusb-geek commented on June 30, 2024

I cannot see in the code how if present in the yaml file the time zone would not be passed later to the computations.
The only thing I can see for now is the presence of time_zone: Europe/Paris respecting this format. Did you double check that?

from emhass.

smitterer avatar smitterer commented on June 30, 2024

time_zone: Europe/Vienna is my setting. I just installed the newest version of EMHASS and now do not have the problem, also after removing the TZ value from the parameters. So I guess something went wrong while running the previous one.

from emhass.

smitterer avatar smitterer commented on June 30, 2024

Ups sorry, just reloaded the page and time is wrong again. So the issue is still there.

from emhass.

davidusb-geek avatar davidusb-geek commented on June 30, 2024

Ok, there has been some modifications lately. Please upgrade to the latest v0.3.35 and see if there any improvements.

from emhass.

davidusb-geek avatar davidusb-geek commented on June 30, 2024

Hi, did you had the time to test this with the latest version?

from emhass.

davidusb-geek avatar davidusb-geek commented on June 30, 2024

Feel free to reopen if this wasn't solved with latest version.

from emhass.

brato avatar brato commented on June 30, 2024

I have a similar issue the time reported by the shell command is off by one hour compared to the homeassistance instance. I am however unsure wether i put the time_zone keyword in the right place as i am running homeassistant os on a raspberrypi and installed emhass using hacs. I added time_zone: Europe/Paris to the /homeassistant/secrets.yaml opposed to the emhass_secret.yaml file as i could not see any app folder.

Also i could not find any /homeassistant/custom_components/emhass to locate the config file.

However running the shell command still gets a date off by an hour and for the model-fit to create i have to set retrive_days to 6 as only 7 are saved by the recorder. However the model-predict fails now being unable to fetch old data.

from emhass.

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.